/* ═══════════════════════════════════════════════════════════════
   THE ARCANE ARCHIVES — ACCOUNT PAGES (signup, login, reset)
   auth-theme.css | loaded after each page's own styles, re-skins
   them to the homepage system without touching any auth logic.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg-dark: #0B0A10; --bg-elevated: #0E0C14; --bg-card: #141218;
  --purple: #9B7BF7; --purple-dark: #6C4CE6; --purple-light: #C9B8FF;
  --gold: #F2C94C; --text: #FFFFFF; --text-dim: #9D97AE;
  --border: rgba(255,255,255,0.10); --red: #F87171; --green: #4ADE80;
  --aa-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --aa-mono: 'JetBrains Mono', ui-monospace, monospace;
}
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg-dark); flex-direction: column; padding: 32px 20px 48px; }

.back-link {
  position: static; align-self: center; width: 100%; max-width: 460px; margin: 0 0 20px; padding: 0;
  background: none; border: none; border-radius: 0; color: var(--text-dim); font-size: 14px; font-weight: 500;
}
.back-link:hover { color: var(--text); transform: none; border: none; }

.signup-container, .login-container, .reset-container {
  max-width: 460px; padding: 40px 36px; border-radius: 22px; border: 1px solid var(--border);
  background: var(--bg-card); box-shadow: none;
}
.signup-container::before, .login-container::before, .reset-container::before { display: none; }

.logo-section { margin-bottom: 28px; text-align: left; }
.logo-section img { width: 34px; height: 34px; margin: 0 0 22px; }
.logo-section h1 {
  font-family: var(--aa-display); font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  background: none; -webkit-text-fill-color: currentColor; color: var(--text); margin-bottom: 8px;
}
.logo-section h1 span { color: var(--purple-light); }
.logo-section p { color: var(--text-dim); font-size: 15px; line-height: 1.55; }

.form-group { margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 600; color: #C9C4D6; margin-bottom: 8px; }
.form-group input { padding: 14px 16px; border-radius: 12px; background: var(--bg-elevated); border: 1px solid var(--border); font-size: 16px; }
.form-group input:focus { border-color: rgba(155,123,247,0.6); box-shadow: 0 0 0 3px rgba(155,123,247,0.15); }
.form-group input::placeholder { color: #6E6880; }
.toggle-password { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; right: 8px; color: var(--text-dim); }
.toggle-password svg { width: 18px; height: 18px; }

.signup-btn, .login-btn, .reset-btn {
  padding: 16px; border-radius: 12px; background: var(--purple-dark); font-size: 16px; font-weight: 700; box-shadow: none;
}
.signup-btn:hover:not(:disabled), .login-btn:hover:not(:disabled), .reset-btn:hover:not(:disabled) { transform: none; box-shadow: none; background: #7A5CF0; }

.google-btn { border-radius: 12px; background: var(--bg-elevated); border: 1px solid var(--border); font-weight: 600; }
.google-btn:hover { border-color: rgba(255,255,255,0.2); transform: none; box-shadow: none; }
.divider span { font-size: 13px; }
.terms-checkbox label, .checkbox-wrapper label { color: var(--text-dim); }
.terms-checkbox input[type="checkbox"], .checkbox-wrapper input[type="checkbox"] { accent-color: var(--purple-dark); }
.login-prompt, .signup-prompt { color: var(--text-dim); }
.login-prompt a, .signup-prompt a, .forgot-link, .terms-checkbox a { color: var(--purple-light); }

/* Where-you-are tracker (shown when arriving from the assessment) */
.auth-steps { display: flex; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.auth-steps li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-family: var(--aa-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6E6880; }
.auth-steps li::before { content: ''; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.1); }
.auth-steps li.done { color: var(--text-dim); }
.auth-steps li.done::before { background: var(--purple); }
.auth-steps li.now { color: var(--purple-light); }
.auth-steps li.now::before { background: var(--purple-light); }
.auth-steps[hidden] { display: none; }

@media (max-width: 520px) {
  body { padding: 20px 16px 40px; justify-content: flex-start; }
  .signup-container, .login-container, .reset-container { padding: 28px 22px; border-radius: 18px; }
  .logo-section h1 { font-size: 30px; }
}
