/* ===================================================================
   AUTH PAGES
   Shared styling for login, setup, and reset-password forms.
   =================================================================== */

.auth-shell {
  display: flex;
  justify-content: center;
  padding-top: var(--space-6);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background-color: var(--color-bg-panel);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  /* Panels are translucent, so blur what shows through them. */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: var(--space-6);
}

.auth-card__title {
  font-size: var(--fs-lg);
  text-transform: uppercase;
  color: var(--color-gold-bright);
  text-align: center;
  margin-bottom: var(--space-2);
}

.auth-card__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-5);
}

.auth-field {
  margin-bottom: var(--space-4);
}

.auth-field label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.auth-field input,
.auth-field select {
  width: 100%;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: var(--space-3);
}

.auth-field input:focus,
.auth-field select:focus {
  outline: none;
  border-color: var(--color-gold);
}

.auth-submit {
  width: 100%;
  background-color: var(--color-gold);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--color-on-gold);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--fs-sm);
  padding: var(--space-3);
  margin-top: var(--space-2);
}

.auth-submit:hover {
  background-color: var(--color-gold-bright);
}

.auth-submit:disabled {
  opacity: 0.5;
}

.auth-message {
  margin-top: var(--space-4);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  text-align: center;
  display: none;
}

.auth-message--error {
  display: block;
  background-color: var(--color-closed-soft);
  border: 1px solid var(--color-closed);
  color: var(--color-closed);
}

.auth-message--success {
  display: block;
  background-color: var(--color-open-soft);
  border: 1px solid var(--color-open);
  color: var(--color-open);
}

.auth-links {
  text-align: center;
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}
