body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050816;
  color: #f9fafb;
}

.page {
  max-width: 900px;
  margin: 40px auto;
  padding: 24px;
  background: radial-gradient(circle at top, #1f2933 0, #020617 55%);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

header h1 {
  margin: 0;
  font-size: 28px;
}

.subtitle {
  margin-top: 8px;
  color: #cbd5f5;
}

.search-box {
  margin-top: 24px;
  padding: 16px 0;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.field-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

label {
  font-size: 14px;
  margin-bottom: 4px;
}

input[type="text"] {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #4b5563;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
}

input[type="text"]:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.5);
}

button {
  margin-top: 4px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
}

button:disabled {
  opacity: 0.6;
  cursor: default;
}

button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}

.legal {
  font-size: 12px;
  margin-top: 10px;
  color: #94a3b8;
}

.results {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.results.hidden {
  display: none;
}

#resultsInfo {
  font-size: 14px;
  margin-bottom: 12px;
  color: #e5e7eb;
}

#resultsList {
  list-style: none;
  padding: 0;
  margin: 0;
}

#resultsList li {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

#resultsList a {
  color: #4ade80;
  text-decoration: none;
  font-weight: 600;
}

#resultsList a:hover {
  text-decoration: underline;
}

#resultsList p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #cbd5f5;
}

.badge-source {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.4);
  color: #a5f3fc;
  margin-left: 8px;
}
