/* Standalone auth pages (forgot-password, reset-password, verify-email).
   Loaded AFTER styles.css, which holds the one token definition; this file is
   layout only (no colours of its own: every colour is a styles.css token).
   These pages run no core.js, so they show the DataTagLink defaults and follow
   the OS light/dark preference. Since v0.20.0 the markup uses the kit's
   classes (.d-card card, .d-field fields, .btn-primary) from styles.css. */
body.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: var(--s-5);
}
.auth-page .card { width: 100%; max-width: 440px; }
.auth-page h1 { font-size: 20px; margin: 0 0 10px; color: var(--ink-strong); }
.auth-page .detail { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0 0 14px; }
.auth-page .detail.error-text { color: var(--danger); }
.auth-page form { margin: 6px 0 0; display: grid; gap: var(--s-3); }
.auth-page form.resend { display: grid; gap: 10px; margin: 14px 0 0; }
.auth-page .btn {
  display: inline-block; width: 100%; text-align: center; text-decoration: none;
  background: var(--primary); color: var(--on-primary); border: 1px solid transparent;
  border-radius: var(--r-md); padding: 12px 18px; font-weight: 600; font-size: 15px;
  cursor: pointer; margin-top: var(--s-4);
}
.auth-page .btn:hover { background: var(--primary-hover); }
.auth-page .btn:disabled { opacity: .6; cursor: default; }
.auth-page .btn.inline { width: auto; margin-top: 0; }
.auth-page .actions { display: block; margin: 18px 0 0; }
.auth-page .back { display: inline-block; margin-top: var(--s-4); font-size: 13px; color: var(--link); }
/* .actions sets display, which would beat the UA's [hidden] rule. */
.auth-page [hidden] { display: none !important; }
