/* Auth shell shared by login.html / register.html / forgot-password.html. Load after
   dashboard.css (needs its tokens + .btn/.field system). */
body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; position: relative; overflow: hidden; }
body::before {
  content: ''; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 50% 30%, rgba(200,154,69,0.1) 0%, transparent 70%);
}
.auth-card { width: 100%; max-width: 420px; }
.auth-card.wide { max-width: 480px; }
.auth-logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; }
.auth-logo img { height: 56px; width: auto; margin-bottom: 14px; filter: drop-shadow(0 0 20px rgba(200,154,69,0.35)); }
.auth-logo .word { font-family: var(--font-serif); font-size: 20px; letter-spacing: 0.03em; }
.auth-logo .word em { color: var(--gold-light); font-style: italic; }
.auth-panel { background: var(--background-card); border: 1px solid var(--border-subtle); border-radius: 10px; padding: 34px 32px; }
.auth-title { font-size: 22px; margin-bottom: 6px; }
.auth-sub { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 26px; }
.auth-row-between { display: flex; justify-content: space-between; align-items: center; margin: -6px 0 18px; }
.auth-link { font-size: 12.5px; color: var(--gold-primary); text-decoration: none; background: none; border: none; padding: 0; }
.auth-link:hover { color: var(--gold-light); }
.auth-foot { text-align: center; font-size: 13.5px; color: var(--text-secondary); margin-top: 22px; }
.auth-foot a { color: var(--gold-light); text-decoration: none; font-weight: 600; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); text-decoration: none; margin-bottom: 22px; }
.auth-back:hover { color: var(--text-secondary); }
.auth-alert {
  display: flex; gap: 10px; align-items: flex-start; background: rgba(229,128,128,0.1);
  border: 1px solid rgba(229,128,128,0.35); border-radius: 6px; padding: 12px 14px;
  font-size: 12.5px; color: var(--bad); margin-bottom: 18px; display: none;
}
.auth-alert.show { display: flex; }
.auth-success {
  display: flex; gap: 10px; align-items: flex-start; background: var(--good-bg);
  border: 1px solid rgba(127,203,147,0.35); border-radius: 6px; padding: 12px 14px;
  font-size: 12.5px; color: var(--good); margin-bottom: 18px; display: none;
}
.auth-success.show { display: flex; }
.auth-step { display: none; }
.auth-step.active { display: block; }
.auth-progress-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 22px; }
.auth-progress-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--border-subtle); }
.auth-progress-dots span.active { background: var(--gold-primary); }
