/* ==========================================================================
   Auth pages (login / register / forgot / reset / verify)
   ========================================================================== */

.auth-page {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 40px 20px; gap: 28px;
  background: radial-gradient(1200px 600px at 50% -10%, var(--signal-tint), transparent 60%);
}
.auth-logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.lp-logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--signal-tint); }

.auth-card { width: 100%; max-width: 400px; padding: 36px; box-shadow: var(--shadow-md); }
.auth-card-wide { max-width: 460px; }
.auth-card h1 { font-size: 24px; margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }

.auth-alert { background: var(--danger-tint); color: var(--danger); padding: 11px 14px; border-radius: var(--radius-sm); font-size: 13.5px; margin-bottom: 18px; }

.auth-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-size: 13.5px; }
.auth-checkbox { display: flex; align-items: center; gap: 7px; color: var(--muted); cursor: pointer; }
.auth-link { color: var(--signal-ink); font-weight: 600; }
.auth-link:hover { text-decoration: underline; }
.auth-footer { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }

.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .auth-grid { grid-template-columns: 1fr; } }

.auth-avatar-picker { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 22px; }
.auth-avatar-preview {
  width: 76px; height: 76px; border-radius: 50%; background: var(--surface-alt);
  border: 2px dashed var(--border-strong); display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--faint); cursor: pointer; background-size: cover; background-position: center;
}
.auth-avatar-preview:hover { border-color: var(--signal); }

.consent-items { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; background: var(--surface-alt); }
.consent-item { font-size: 13px; }
.consent-item strong { display: block; color: var(--ink); margin-bottom: 2px; }
.consent-item span { color: var(--muted); line-height: 1.5; }

@media (max-width: 480px) {
  .auth-page { padding: 24px 16px; min-height: 100vh; min-height: 100dvh; gap: 18px; }
  .auth-card { padding: 24px 18px; border-radius: var(--radius-md); }
  .auth-card h1 { font-size: 21px; }
  .auth-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .auth-grid { grid-template-columns: 1fr; gap: 10px; }
}
