/* Shared account access and legal pages. Loaded after Tailwind and the system tokens. */
body.se-auth-theme.se-auth-page { margin: 0; color: #18283f; background: radial-gradient(ellipse at 10% 0, #164e6359, transparent 55%), #0a1426 !important; font: 14px/1.6 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; }
.se-auth-page *, .se-auth-page *::before, .se-auth-page *::after { box-sizing: border-box; }
.se-auth-page [x-cloak] { display: none !important; }
.se-auth-root { min-height: 100vh; min-height: 100dvh; padding: 40px 24px; }
.se-auth-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); max-width: 1160px; min-height: calc(100dvh - 80px); margin: auto; overflow: hidden; background: #f5f8fc; border: 1px solid #ffffff16; border-radius: 24px; box-shadow: 0 28px 90px #03091352; }
.se-auth-aside { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; overflow: hidden; padding: 42px; background: radial-gradient(ellipse at 100% 50%, #0e749040, transparent 65%), linear-gradient(155deg, #162d4a, #0b182d); color: #fff; }
.se-auth-aside::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#ffffff04 1px, transparent 1px), linear-gradient(90deg, #ffffff04 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(180deg, transparent, #000 45%, transparent); }
.se-auth-aside > * { position: relative; }
.se-auth-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: inherit; }
.se-auth-brand svg { display: block; width: 42px; height: 42px; flex-shrink: 0; filter: drop-shadow(0 4px 12px #2563eb20); }
.se-auth-brand-copy { min-width: 0; }
.se-auth-brand strong { display: block; font-size: 16px; font-weight: 650; line-height: 1.4; letter-spacing: -.3px; overflow-wrap: anywhere; }
.se-auth-brand small { display: block; margin-top: 3px; font-size: 10px; color: #a5b9d5; letter-spacing: .3px; }
.se-auth-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #a5f3fc; font-size: 10px; font-weight: 650; letter-spacing: 1.8px; text-transform: uppercase; }
.se-auth-eyebrow::before { content: ''; width: 6px; height: 6px; background: #67e8f9; border-radius: 50%; box-shadow: 0 0 0 4px #22d3ee0d; }
.se-auth-aside h2 { margin: 19px 0 17px; color: #f0f6ff; font-size: clamp(32px, 3.4vw, 44px); font-weight: 650; line-height: 1.16; letter-spacing: -1.6px; }
.se-auth-aside h2 span { color: #67e8f9; }
.se-auth-aside p { max-width: 335px; margin: 0; color: #b1c3dd; font-size: 13px; line-height: 1.85; }
.se-auth-features { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.se-auth-features li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #ffffff10; border-radius: 10px; background: #ffffff04; }
.se-auth-feature-icon { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; color: #a5f3fc; background: #22d3ee0b; border: 1px solid #22d3ee1a; border-radius: 8px; font-size: 15px; }
.se-auth-feature-icon svg { width: 17px; height: 17px; }
.se-auth-features strong { display: block; color: #e4efff; font-size: 11px; font-weight: 600; }
.se-auth-features small { display: block; color: #9eb4d1; font-size: 10px; }
.se-auth-aside-foot { display: flex; align-items: center; gap: 9px; padding-top: 22px; border-top: 1px solid #ffffff10; font-size: 10px; color: #a5b9d5; }
.se-auth-aside-foot svg { width: 15px; height: 15px; color: #93c5fd; }
.se-auth-content { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 42px; }
.se-auth-mobile-brand { display: none; }
.se-auth-card { width: 100%; max-width: 430px; padding: 32px; border: 1px solid #e2e8f0; border-radius: 17px; background: #fff; box-shadow: 0 8px 30px #18283f06; }
.se-auth-card-symbol { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 23px; border: 1px solid #dbeafe; border-radius: 12px; background: linear-gradient(135deg, #eff6ff, #f0fdfa); color: #2563eb; }
.se-auth-card-symbol svg { width: 22px; height: 22px; }
.se-auth-card-kicker { color: #536b89; font-size: 9px; font-weight: 650; letter-spacing: 1.5px; text-transform: uppercase; }
.se-auth-card h1 { margin: 7px 0 10px; color: #18283f; font-size: 27px; font-weight: 650; line-height: 1.25; letter-spacing: -.8px; }
.se-auth-description { margin: 0 0 27px; color: #64748b; font-size: 12px; line-height: 1.8; }
.se-auth-form { min-width: 0; }
.se-auth-form label { display: block; font-size: 11px; font-weight: 600; color: #415570; }
.se-auth-form input:not([type=checkbox]):not([type=hidden]) { width: 100%; min-width: 0; height: 44px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fcfdff; color: #18283f; font: inherit; font-size: 13px; box-shadow: 0 1px 2px #18283f03; transition: border-color .15s, box-shadow .15s; }
.se-auth-form input::placeholder { color: #64748b; font-size: 12px; }
.se-auth-form input:focus { outline: none; border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 3px #2563eb12; }
.se-auth-form input[type=checkbox] { width: 16px; height: 16px; border: 1px solid #a3b3c8; border-radius: 4px; color: #2563eb; accent-color: #2563eb; }
.se-auth-form form > div + div, .se-auth-field + .se-auth-field { margin-top: 19px; }
.se-auth-form .se-auth-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 23px; }
.se-auth-form button[type=submit], .se-auth-form button.bg-gray-800 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 11px 17px; background: linear-gradient(110deg, #2563eb, #0369a1); color: #fff; border: 1px solid #2563eb; border-radius: 8px; font: inherit; font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; box-shadow: 0 4px 12px #2563eb14; cursor: pointer; }
.se-auth-form button[type=submit]:hover { background: linear-gradient(110deg, #1d4ed8, #075985); }
.se-auth-form button.underline[type=submit] { min-height: auto; padding: 4px 0; background: transparent; color: #536b89; border: 0; font-size: 11px; box-shadow: none; }
.se-auth-form .se-auth-submit { width: 100%; }
.se-auth-form a, .se-auth-form button[type=button]:not(.se-auth-password-toggle) { color: #1d4ed8; font-size: 11px; font-weight: 550; text-decoration: none; }
.se-auth-form a:hover, .se-auth-form button[type=button]:hover { text-decoration: underline; }
.se-auth-form .flex.items-center.justify-end { flex-wrap: wrap; gap: 12px; }
.se-auth-form .flex.items-center.justify-end > button { margin-left: 0; }
.se-auth-form .flex.items-center.justify-between { flex-wrap: wrap; gap: 16px; }
.se-auth-form .text-red-600, .se-auth-form .error { color: #ac2648; font-size: 12px; }
.se-auth-form .text-green-600, .se-auth-notice { padding: 12px 14px; border: 1px solid #bce8d8; border-radius: 8px; background: #e6f7f0; color: #06705c; font-size: 12px; line-height: 1.7; }
.se-auth-password-wrap { position: relative; }
.se-auth-form .se-auth-password-wrap input { padding-right: 61px !important; }
.se-auth-password-toggle { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); padding: 4px 5px; background: transparent; border: 0; border-radius: 4px; color: #1d4ed8; font: inherit; font-size: 10px; font-weight: 600; cursor: pointer; }
.se-auth-help { padding: 12px 14px; margin-bottom: 20px; border: 1px solid #dbe7f6; border-radius: 8px; color: #536b89; background: #f5f9ff; font-size: 11px; line-height: 1.8; }
.se-auth-back { margin-top: 22px; padding-top: 18px; border-top: 1px solid #edf1f6; color: #64748b; font-size: 11px; }
.se-auth-back a { display: inline-flex; align-items: center; gap: 6px; color: #536b89; text-decoration: none; }
.se-auth-back a:hover { color: #1d4ed8; }
.se-auth-credit { width: 100%; max-width: 430px; margin-top: 22px; text-align: center; color: #5c6f86; font-size: 9px; line-height: 1.9; }
.se-auth-credit span { display: block; }
.se-auth-credit strong { color: #52657e; font-weight: 550; }
.se-auth-page :is(a,button,input):focus-visible { outline: 3px solid #0284c7; outline-offset: 3px; }
.se-legal-shell { width: min(850px, 100%); margin: 0 auto; }
.se-legal-shell > .se-auth-brand { color: #fff; margin-bottom: 28px; }
.se-legal-card { padding: clamp(24px, 5vw, 56px); background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 20px 70px #0002; }
.se-legal-card h1 { font-size: 30px; font-weight: 650; letter-spacing: -.7px; }
.se-legal-card h2 { font-size: 20px; }
.se-legal-card a { color: #1d4ed8; }
.se-legal-card p, .se-legal-card li { color: #52657e; line-height: 1.9; }
.se-legal-shell > .se-auth-credit { max-width: none; color: #b1c3dd; }
.se-legal-shell > .se-auth-credit a { color: inherit; }
.se-error-shell { display: grid; align-content: center; justify-items: center; gap: 28px; min-height: calc(100dvh - 80px); }
.se-error-shell > .se-auth-brand { color: #eef5ff; }
.se-error-shell .se-auth-card { text-align: center; }
.se-error-code { display: block; color: #2563eb; font-size: 64px; font-weight: 650; line-height: 1.1; letter-spacing: -4px; }
.se-error-shell .se-auth-card h1 { margin-top: 18px; }
.se-error-home { display: inline-flex; padding: 11px 18px; border: 1px solid #2563eb; border-radius: 8px; background: #2563eb; color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
@media (min-width: 1600px) { .se-auth-root { display: grid; place-items: center; } .se-auth-shell { width: 1160px; min-height: 740px; } }
@media (max-width: 1000px) { .se-auth-aside { padding: 30px; } .se-auth-content { padding: 30px; } }
@media (max-width: 800px) {
    .se-auth-root { padding: 24px; }
    .se-auth-shell { display: block; max-width: 540px; min-height: calc(100dvh - 48px); border-color: #e2e8f0; border-radius: 20px; }
    .se-auth-aside { display: none; }
    .se-auth-content { padding: 35px 30px; min-height: calc(100dvh - 48px); }
    .se-auth-mobile-brand { display: block; width: 100%; max-width: 430px; margin-bottom: 28px; }
    .se-auth-mobile-brand .se-auth-brand { color: #18283f; }
    .se-auth-mobile-brand .se-auth-brand small { color: #64748b; }
}
@media (max-width: 480px) {
    body.se-auth-theme.se-auth-page { background: #f5f8fc !important; }
    .se-auth-root { padding: 0; }
    .se-auth-shell { border: 0; border-radius: 0; min-height: 100dvh; box-shadow: none; }
    .se-auth-content { padding: 28px 18px; min-height: 100dvh; }
    .se-auth-card { padding: 26px 23px; border-radius: 14px; }
    .se-auth-card h1 { font-size: 25px; }
    .se-legal-shell { padding: 24px 16px; }
    .se-legal-shell > .se-auth-brand { color: #18283f; }
    .se-legal-shell > .se-auth-brand small { color: #64748b; }
    .se-legal-shell > .se-auth-credit { color: #64748b; }
    .se-error-shell { padding: 30px 18px; min-height: 100dvh; }
    .se-error-shell > .se-auth-brand { color: #18283f; }
}
/* Compact sign-in and OTP cards share one logo and the same form width. */
.se-auth-login .se-auth-root { display: grid; align-items: center; }
.se-auth-login .se-auth-shell { display: block; width: 100%; max-width: 440px; min-height: 0; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.se-auth-login .se-auth-content { min-height: 0; padding: 0; }
.se-auth-login .se-auth-card { max-width: none; padding: 26px; }
.se-auth-login .se-auth-card-logo { width: 180px; max-width: 100%; margin: 0 auto 16px; }
.se-auth-login .se-auth-card-logo .se-auth-brand-wordmark { width: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.se-auth-login .se-auth-card h1 { margin: 6px 0 8px; }
.se-auth-login .se-auth-description { margin-bottom: 20px; line-height: 1.6; }
.se-auth-login .se-auth-form form > div + div { margin-top: 14px; }
.se-auth-login .se-auth-form .se-auth-actions { margin-top: 18px; }
.se-auth-login .se-auth-form button[type=submit] { min-height: 44px; }
.se-auth-login .se-auth-credit { margin-top: 16px; color: #b1c3dd; }
.se-auth-login .se-auth-credit strong { color: inherit; }
@media (max-width: 480px) {
    .se-auth-login .se-auth-root { padding: 24px 16px; }
    .se-auth-login .se-auth-card { padding: 22px; }
    .se-auth-login .se-auth-credit { color: #5c6f86; }
}
@media (prefers-reduced-motion: reduce) { .se-auth-page * { transition: none !important; animation: none !important; } }
