:root {
  --brand: #8b5e3c;
  --border: #e5e7eb;
  --muted: #9ca3af;
  --danger: #e11d48;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.header {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header img {
  height: 58px;
}
.main-content {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}
.form-card {
  background: #fff;
  padding: 36px 40px;
  border-radius: 16px;
  box-shadow: 0 5px 20px #0000001a;
  width: 480px;
  text-align: left;
  overflow: hidden;
}
#errorContainer {
  color: var(--danger);
  text-align: center;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 20px;
}
label {
  display: block;
  margin: 0 15px 16px 15px;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}
.required {
  color: var(--danger);
}
input[type="text"] {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: Montserrat, sans-serif;
  text-align: center;
}
input::placeholder {
  color: var(--muted);
}
input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12);
}
.field {
  margin-bottom: 28px;
}
button {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: Montserrat, sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}
button:hover {
  filter: brightness(0.95);
}
button:disabled {
  background: #bca491;
  cursor: not-allowed;
}
button svg {
  width: 20px;
  height: 20px;
}
#successView {
  text-align: center;
}
.hidden {
  display: none;
}
.success-message {
  font-size: 1.1rem;
  font-weight: 500;
  color: #166534;
  margin-bottom: 20px;
}
#searchAgainLink {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--brand);
  cursor: pointer;
  font-weight: 500;
  display: inline-block;
}
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 600px) {
  .form-card {
    width: 92%;
    padding: 24px;
  }
  label{
      font-size: 1.1rem !important;
  }
}
