.aidat {
  max-width: 1040px;
}

.aidat-front {
  max-width: 1040px;
  margin: 32px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.aidat-home-injected {
  position: relative;
  z-index: 9999;
  background: #f6f7f7;
  border-bottom: 1px solid #dcdcde;
}

.aidat-front .button {
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  color: #fff;
  background: #2271b1;
  cursor: pointer;
  font-weight: 700;
}

.aidat-front .button:disabled {
  cursor: not-allowed;
  background: #9aa8b6;
}

.aidat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.aidat-drop {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 140px;
  padding: 18px;
  border: 1px dashed #9aa8b6;
  border-radius: 8px;
  background: #fff;
}

.aidat-drop strong {
  font-size: 16px;
}

.aidat-drop span {
  color: #137a4b;
  word-break: break-all;
}

.aidat-drop.dragover {
  border-color: #2271b1;
  box-shadow: 0 0 0 3px rgba(34, 113, 177, .12);
}

.aidat-options {
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.aidat-options label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.aidat-options input,
.aidat-options select {
  min-width: 150px;
}

#aidat-status {
  margin-left: 10px;
  color: #646970;
}

#aidat-status.error {
  color: #b32d2e;
}

.aidat-result {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  background: #fff;
}

.aidat-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.aidat-stats div {
  padding: 14px;
  border: 1px solid #dcdcde;
  border-radius: 7px;
}

.aidat-stats b {
  display: block;
  font-size: 24px;
}

.aidat-stats span {
  color: #646970;
}

@media (max-width: 760px) {
  .aidat-grid,
  .aidat-stats {
    grid-template-columns: 1fr;
  }
}
