/* Standalone stylesheet for admin auth pages (sign in, sign up, reset password,
   choose password, signup complete, sign out). No dependency on the marketing style.css. */

body { margin: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { color: #4f46e5; text-decoration: none; }
a:hover { color: #4338ca; }
::selection { background: #e0e4ff; }
img { max-width: 100%; }

/* Auth screens */
/* Shared styles for admin auth pages: sign in, sign up, reset password,
   choose password, signup complete, sign out. Depends on style.css (fonts,
   .btn, .site-footer) already loaded on the page. */

.auth-page { min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; }

.auth-centered { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 24px 40px; box-sizing: border-box; background: linear-gradient(135deg,#312e81 0%,#1e1b4b 60%,#14152e 100%); }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; text-decoration: none; }
.auth-brand img { width: 34px; height: 34px; }
.auth-brand span { font: 800 19px 'Inter',sans-serif; color: #fff; letter-spacing: -0.01em; }

.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h1 { font: 800 clamp(26px,3.4vw,32px)/1.2 'Inter',sans-serif; letter-spacing: -0.01em; color: #fff; margin: 0; }
.auth-header p { font: 400 15px/1.6 'Inter',sans-serif; color: #c6c9e6; margin: 10px auto 0; max-width: 380px; }

.auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.45); padding: 36px; box-sizing: border-box; }
.auth-card.auth-card-pad-lg { padding: 44px 36px; text-align: center; }

.auth-label { display: block; font: 600 13.5px 'Inter',sans-serif; color: #0f1115; margin-bottom: 8px; }
.auth-input { width: 100%; box-sizing: border-box; font: 400 15px 'Inter',sans-serif; color: #0f1115; padding: 12px 14px; border: 1.5px solid #e7e9ec; border-radius: 10px; margin-bottom: 18px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.auth-input:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3.5px #e0e4ff; }
.auth-input:last-of-type { margin-bottom: 24px; }
.auth-forgot-row { text-align: right; margin-bottom: 24px; }
.auth-forgot-row a { font: 500 13.5px 'Inter',sans-serif; color: #565d66; cursor: pointer; text-decoration: none; }

.auth-cta { display: block; width: 100%; background: #4f46e5; color: #fff; font: 600 15px 'Inter',sans-serif; padding: 13px 0; border: none; border-radius: 999px; cursor: pointer; text-align: center; text-decoration: none; box-sizing: border-box; transition: background 0.15s ease; }
.auth-cta:hover { background: #4338ca; }

.auth-switch { text-align: center; margin-top: 24px; padding-top: 22px; border-top: 1px solid #e7e9ec; }
.auth-switch span { font: 400 14px 'Inter',sans-serif; color: #565d66; }
.auth-switch a { font: 600 14px 'Inter',sans-serif; color: #4f46e5; cursor: pointer; text-decoration: none; }
.auth-switch a:hover { color: #4338ca; }

.auth-icon-circle { width: 52px; height: 52px; border-radius: 50%; background: #eef1ff; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.auth-result-title { font: 700 17px 'Inter',sans-serif; color: #0f1115; margin-bottom: 8px; }
.auth-result-text { font: 400 14.5px/1.6 'Inter',sans-serif; color: #565d66; }

/* Signup complete (dark, no card) */
.auth-success-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(34,197,94,0.1); border: 2px solid rgba(34,197,94,0.35); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.auth-success-icon-inner { width: 52px; height: 52px; border-radius: 50%; background: #22c55e; display: flex; align-items: center; justify-content: center; }
.auth-success h1 { font: 800 24px/1.3 'Inter',sans-serif; letter-spacing: -0.01em; color: #fff; margin: 0 0 14px; }
.auth-success p { font: 400 15px/1.6 'Inter',sans-serif; color: #c6c9e6; margin: 0 0 10px; }
.auth-success a { color: #22c55e; font-weight: 600; text-decoration: none; }

/* Split-screen signup */
.auth-split { flex: 1; display: flex; min-height: 100vh; }
.auth-split-aside { flex: 1 1 42%; min-width: 280px; background: linear-gradient(160deg,#312e81 0%,#1e1b4b 65%,#14152e 100%); padding: 100px 48px 56px; display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; }
.auth-split-aside .auth-brand { margin-bottom: 0; }
.auth-split-aside .auth-brand img { width: 34px; height: 34px; }
.auth-split-aside .auth-brand span { font: 800 19px 'Inter',sans-serif; }
.auth-split-eyebrow { font: 700 12.5px 'Inter',sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #a5b0ff; margin-bottom: 12px; }
.auth-split-quote { font: 600 20px/1.5 'Inter',sans-serif; color: #fff; margin-bottom: 14px; }
.auth-split-attrib { font: 500 13.5px 'Inter',sans-serif; color: #c6c9e6; }
.auth-split-note { font: 400 13px 'Inter',sans-serif; color: #8f95c2; }
.auth-split-main { flex: 1 1 58%; min-width: 320px; display: flex; align-items: center; justify-content: center; padding: 50px; box-sizing: border-box; background: #fff; }
.auth-split-main-inner { width: 100%; max-width: 480px; }
.auth-split-main-inner h1 { font: 800 clamp(24px,3vw,30px)/1.2 'Inter',sans-serif; letter-spacing: -0.01em; color: #0f1115; margin: 0 0 8px; }
.auth-split-main-inner > p { font: 400 15px/1.6 'Inter',sans-serif; color: #565d66; margin: 0 0 28px; }
.auth-terms { font: 400 12.5px/1.5 'Inter',sans-serif; color: #9aa1a9; text-align: center; margin-top: 14px; }

@media (max-width: 720px) {
  .auth-split { flex-direction: column; }
  .auth-split-aside { flex: none; }
}


/* Page selector (dev/preview aid) */
.auth-page-selector { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 999999; font-family: 'Inter', sans-serif; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 32px); justify-content: center; background: rgba(255,255,255,0.9); backdrop-filter: blur(6px); padding: 8px; border-radius: 14px; box-shadow: 0 6px 20px -6px rgba(0,0,0,0.25); }
.auth-page-selector a { font: 600 12px 'Inter', sans-serif; color: #4f46e5; background: #eef1ff; border: 1.5px solid transparent; border-radius: 999px; padding: 7px 12px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.auth-page-selector a:hover { background: #e0e4ff; }
.auth-page-selector a.active { background: #4f46e5; color: #fff; }

.small-error { font: 600 13.5px 'Inter',sans-serif; color:#c0392b; }

