/* ============================================================================
   Axlura — Auth pages (login / register / forgot / reset / verify / resend)
   Requires axlura.css (tokens + .alert*). Light & clean.
   ========================================================================== */

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(600px 320px at 50% -60px, var(--brand-tint), transparent 70%),
    var(--bg);
}

.auth-wrapper { width: 100%; max-width: 420px; }

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.auth-logo { display: inline-flex; margin-bottom: 22px; text-decoration: none; }

.logo-wordmark {
  font-size: 22px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--text); line-height: 1; text-decoration: none;
  font-family: var(--font);
}
.logo-wordmark .logo-x {
  background: linear-gradient(140deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.auth-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.auth-subtitle { color: var(--text-2); font-size: 14.5px; margin-bottom: 26px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.form-group input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 15px; color: var(--text);
  font-family: var(--font);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-group input::placeholder { color: var(--text-4); }
.form-group input:focus { border-color: var(--brand); box-shadow: var(--ring); }

.forgot-link { font-size: 12.5px; font-weight: 600; color: var(--accent); }

.btn-submit {
  margin-top: 4px;
  width: 100%;
  background: var(--brand);
  color: var(--on-brand);
  border: none;
  border-radius: var(--r-sm);
  padding: 13px 20px;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background .18s, box-shadow .18s, transform .12s;
  box-shadow: var(--shadow-sm);
}
.btn-submit:hover { background: var(--brand-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }

.auth-switch { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--text-3); }
.auth-switch a { color: var(--accent); font-weight: 600; }

.auth-terms { font-size: 12px; color: var(--text-4); text-align: center; line-height: 1.6; }
.auth-terms a { color: var(--text-3); text-decoration: underline; }

/* register.php — plan selector */
.plan-selector { margin-top: 4px; }
.plan-selector-label { font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.plan-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-option {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  display: flex; flex-direction: column; gap: 3px;
}
.plan-option:hover { border-color: var(--text-4); }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option.selected { border-color: var(--brand); background: var(--brand-tint); }
.plan-option-name { font-size: 13px; font-weight: 700; color: var(--text); }
.plan-option-price { font-size: 11.5px; color: var(--text-3); }

/* Fixed theme toggle (top-right on auth pages) */
.auth-theme-toggle {
  position: fixed;
  top: 16px; right: 16px;
  z-index: 50;
}

/* alerts: base is in axlura.css; auth pages sometimes inline-style a warning */
.alert { margin-bottom: 4px; }
