:root {
    --auth-navy: #142642;
    --auth-blue: #315a8b;
    --bs-body-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bs-body-color: #23354d;
    --bs-primary-rgb: 49, 90, 139;
}
.auth-body { margin: 0; font-size: 14px; background: #fff; }
.auth-body a { color: #315a8b; text-decoration: none; }
.auth-body a:hover { color: #142642; }
.auth-page { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 48% 52%; }
.auth-story {
    background: radial-gradient(ellipse at 0% 100%, #234770 0, transparent 65%), #101f36;
    padding: 44px clamp(32px, 4vw, 72px) 28px;
    display: flex; flex-direction: column; position: relative; overflow: hidden; color: #fff;
}
.auth-story::after {
    content: ''; width: 480px; height: 480px; border: 1px solid #ffffff09;
    border-radius: 50%; position: absolute; right: -340px; top: 30%; pointer-events: none;
    box-shadow: 0 0 0 65px #ffffff02, 0 0 0 130px #ffffff02;
}
.auth-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 27px; font-weight: 750; letter-spacing: -1px; line-height: 1.2; }
.auth-story .auth-brand, .auth-story .auth-brand:hover { color: #fff; }
.auth-brand-icon { width: 43px; height: 43px; border: 1px solid #ffffff24; border-radius: 12px; display: grid; place-items: center; background: #ffffff09; color: #aac9f2; font-size: 24px; }
.auth-brand small { display: block; font-size: 8px; letter-spacing: 1.8px; font-weight: 500; color: #8ea3bf; margin-top: 6px; }
.auth-story-content { position: relative; z-index: 1; margin: auto 0; padding: 58px 0; max-width: 480px; }
.auth-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 600; letter-spacing: 1.6px; color: #b2c8e5; border: 1px solid #ffffff15; border-radius: 30px; padding: 8px 12px; margin-bottom: 26px; }
.auth-pill span { width: 5px; height: 5px; background: #88b6ec; border-radius: 50%; }
.auth-story h1 { font-size: clamp(34px, 3.3vw, 52px); font-weight: 650; letter-spacing: -1.8px; line-height: 1.2; margin-bottom: 22px; }
.auth-story h1 span { color: #9dbfe9; }
.auth-story-content > p { font-size: 13px; color: #9eafc8; line-height: 1.9; max-width: 355px; margin-bottom: 36px; }
.auth-preview { background: #fff; color: #243a56; border-radius: 13px; box-shadow: 0 25px 60px #030c1c35; transform: rotate(-2deg); max-width: 410px; }
.auth-preview-top { border-bottom: 1px solid #eef1f6; display: flex; align-items: center; justify-content: space-between; padding: 15px 19px; color: #8d9bb0; font-size: 9px; }
.auth-preview-body { padding: 21px; }
.auth-document { display: flex; gap: 11px; align-items: center; margin-bottom: 21px; }
.auth-document-icon { background: #edf3fb; border-radius: 9px; padding: 11px; color: #577aa5; font-size: 20px; }
.auth-document strong { display: block; font-size: 11px; }
.auth-document small { font-size: 9px; color: #8b99ac; }
.auth-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-preview-grid > div { border: 1px solid #edf1f6; border-radius: 9px; padding: 14px; }
.auth-preview-grid i { display: block; font-size: 16px; color: #6084b1; margin-bottom: 12px; }
.auth-preview-grid strong { display: block; font-size: 10px; margin-bottom: 4px; }
.auth-preview-grid span { color: #8a99ad; font-size: 8px; }
.auth-preview-footer { display: flex; align-items: center; gap: 9px; color: #8c9aaf; font-size: 8px; margin-top: 21px; }
.auth-avatar { width: 25px; height: 25px; display: grid; place-items: center; background: #eef3fa; border-radius: 50%; color: #46678f; font-size: 8px; font-weight: 700; }
.auth-story-note { color: #8ca3c0; font-size: 10px; display: flex; gap: 9px; margin-top: 28px; }
.auth-story-footer { font-size: 9px; color: #7189a9; display: flex; justify-content: space-between; gap: 12px; }
.auth-main { display: flex; align-items: center; justify-content: center; position: relative; padding: 65px 32px 80px; background: #fff; }
.auth-form { width: 100%; max-width: 390px; }
.auth-mobile-brand { margin-bottom: 35px; }
.auth-mobile-brand .auth-brand { color: #142642; font-size: 22px; }
.auth-mobile-brand .auth-brand-icon { background: #edf3fa; border-color: #e3ebf5; color: #315a8b; width: 37px; height: 37px; font-size: 20px; }
.auth-mobile-brand .auth-brand small { display: none; }
.auth-eyebrow { font-size: 9px; letter-spacing: 1.8px; font-weight: 700; color: #8a9ab0; margin-bottom: 11px; }
.auth-form h2 { font-size: 29px; font-weight: 700; letter-spacing: -.9px; color: #172d4c; margin-bottom: 10px; }
.auth-description { color: #8a97a9; font-size: 12px; line-height: 1.8; margin-bottom: 28px; }
.auth-form .form-label { font-size: 12px; font-weight: 600; color: #334862; margin-bottom: 8px; }
.auth-form .form-control { font-size: 12px; padding: 13px 14px; border: 1px solid #dfe6ef; border-radius: 8px; color: #263c58; background-color: #fff; }
.auth-form .form-control::placeholder { color: #a4afbf; }
.auth-form .form-control:focus { border-color: #86a4c8; box-shadow: 0 0 0 3px #315a8b0c; }
.auth-form .form-control.is-invalid { border-color: #dc3545; }
.auth-form .form-check-input:checked { background-color: #315a8b; border-color: #315a8b; }
.auth-form .form-check-label, .auth-form .auth-link { font-size: 11px; }
.auth-password { position: relative; }
.auth-password .form-control { padding-right: 48px; background-image: none; }
.auth-password-toggle { position: absolute; top: 1px; right: 1px; bottom: 1px; width: 44px; border: 0; border-radius: 0 8px 8px 0; background: transparent; color: #8b9aaf; font-size: 17px; }
.auth-password-toggle:hover { color: #234e84; background: #f5f8fc; }
.auth-form .btn { border-radius: 8px; font-size: 12px; font-weight: 600; padding: 13px 17px; }
.auth-form .btn-primary { --bs-btn-bg: #244d7f; --bs-btn-border-color: #244d7f; --bs-btn-hover-bg: #193c67; --bs-btn-hover-border-color: #193c67; --bs-btn-active-bg: #193c67; --bs-btn-disabled-bg: #52769f; --bs-btn-disabled-border-color: #52769f; box-shadow: 0 4px 9px #1426420c; }
.auth-form .alert { border-radius: 8px; font-size: 12px; line-height: 1.6; }
.auth-form .form-text { color: #8b99ad; font-size: 10px; }
.auth-switch { margin-top: 26px; font-size: 12px; color: #8b98aa; text-align: center; }
.auth-switch a { font-weight: 600; margin-left: 3px; }
.auth-form-footer { text-align: center; color: #a1adbc; font-size: 9px; margin-top: 38px; }
.auth-copyright { position: absolute; bottom: 25px; left: 0; right: 0; text-align: center; color: #b0bac8; font-size: 9px; }
.auth-feature-icon { background: #edf3fb; color: #315a8b; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; font-size: 23px; margin-bottom: 24px; }
.auth-body a:focus-visible, .auth-body button:focus-visible { outline: 3px solid #86a4c8; outline-offset: 3px; }
@media (min-width: 1500px) { .auth-main { padding-top: 80px; padding-bottom: 100px; } }
@media (max-width: 1199px) { .auth-story { padding-left: 32px; padding-right: 32px; } .auth-story-footer span { display: none; } }
@media (max-width: 991px) {
    .auth-page { grid-template-columns: 40% 60%; }
    .auth-story { padding: 35px 25px 25px; }
    .auth-story h1 { font-size: 34px; }
    .auth-preview { display: none; }
    .auth-story-content > p { font-size: 12px; }
    .auth-pill { font-size: 8px; letter-spacing: 1px; }
}
@media (max-width: 767px) {
    .auth-page { grid-template-columns: 1fr; }
    .auth-story { display: none; }
    .auth-main { min-height: 100vh; min-height: 100svh; padding: 38px 24px 75px; align-items: center; }
    .auth-mobile-brand { margin-bottom: 38px; }
    .auth-form h2 { font-size: 27px; }
}
@media (max-width: 359px) { .auth-main { padding-left: 18px; padding-right: 18px; } .auth-form h2 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
