:root { color-scheme: light; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #18243c; background: #f5f7fc; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #9b9ed4; outline-offset: 4px; }
.login-layout { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.login-story { position: relative; display: flex; flex-direction: column; padding: 46px clamp(32px, 5vw, 84px) 28px; background: radial-gradient(ellipse at 95% 85%, #59719870, transparent 55%), radial-gradient(ellipse at 0 0, #7f80c03b, transparent 60%), #29294c; color: #fff; overflow: hidden; }
.login-story::after { content: ""; position: absolute; height: 500px; width: 500px; border: 1px solid #ffffff0a; border-radius: 50%; right: -270px; top: -260px; pointer-events: none; }
.login-brand { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; font-size: 20px; font-weight: 800; letter-spacing: .07em; }
.login-brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #ffffff25; border-radius: 12px; background: #ffffff10; color: #c4d7ee; font-size: 19px; }
.login-brand small { display: block; margin-top: 5px; color: #b5b5d0; font-size: 8px; letter-spacing: .21em; font-weight: 500; }
.login-story-content { max-width: 510px; margin: auto 0; padding: 60px 0 45px; position: relative; z-index: 1; }
.login-eyebrow { display: flex; align-items: center; gap: 8px; color: #d0d0e5; font-size: 11px; font-weight: 500; }
.login-eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: #a5d8c9; box-shadow: 0 0 0 4px #a5d8c914; }
.login-story h1 { font-size: clamp(42px, 4.1vw, 68px); line-height: 1.09; letter-spacing: -.055em; font-weight: 600; margin: 24px 0 24px; }
.login-story h1 em { font-style: normal; color: #b7cde9; }
.login-story-content > p { max-width: 370px; color: #bdbed7; font-size: 14px; line-height: 1.8; margin: 0; }
.login-journey { position: relative; margin-top: 42px; }
.login-journey-card { position: relative; z-index: 1; border: 1px solid #ffffff25; border-radius: 16px; background: linear-gradient(120deg, #ffffff13, #ffffff08); box-shadow: 0 16px 40px #12132c20; backdrop-filter: blur(12px); transform: rotate(-2deg); }
.login-journey-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 20px; border-bottom: 1px solid #ffffff14; color: #d0d4e8; font-size: 9px; letter-spacing: .08em; }
.login-journey-heading i { margin-right: 6px; }
.login-journey-pill { color: #c2e0d8; background: #a5d8c910; padding: 5px 8px; border: 1px solid #a5d8c92a; border-radius: 20px; font-size: 9px; letter-spacing: 0; }
.login-journey-route { display: flex; align-items: center; gap: 20px; padding: 25px 20px; }
.login-journey-route > div:first-child, .login-journey-route > div:last-child { display: flex; flex-direction: column; gap: 5px; }
.login-journey-route > div:last-child { text-align: right; }
.login-journey-route strong { font-size: 24px; letter-spacing: -.03em; font-weight: 500; }
.login-journey-route span, .login-journey-route small { color: #b2b6d0; font-size: 10px; }
.login-journey-line { display: flex; align-items: center; gap: 10px; flex: 1; color: #b7cde9; }
.login-journey-line span { flex: 1; border-top: 1px dashed #b7cde960; }
.login-journey-line i { font-size: 18px; }
.login-journey-footer { display: flex; justify-content: space-between; padding: 15px 20px; border-top: 1px dashed #ffffff25; color: #c4c7df; font-size: 10px; }
.login-journey-footer i { margin-right: 5px; color: #aebdde; }
.login-orbit { position: absolute; border: 1px solid #ffffff0c; border-radius: 50%; pointer-events: none; }
.login-orbit-one { width: 420px; height: 420px; top: -70px; right: -100px; }
.login-orbit-two { width: 510px; height: 510px; top: -115px; right: -145px; }
.login-story-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #9c9ebd; font-size: 10px; }
.login-access { display: flex; flex-direction: column; padding: 46px clamp(24px, 5vw, 80px) 28px; background: radial-gradient(ellipse at 100% 0, #e4e7f970, transparent 50%), #fafbfe; }
.login-access-top, .login-access-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #929bb0; font-size: 10px; }
.login-access-top > span:first-child { display: flex; align-items: center; gap: 6px; border: 1px solid #e3e7f0; border-radius: 20px; padding: 7px 10px; color: #62628f; background: #fff; }
.login-card { width: 100%; max-width: 390px; margin: auto; padding: 48px 0; }
.login-welcome-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #e0e0ef; border-radius: 15px; background: linear-gradient(135deg, #eeedf7, #e9f2fb); color: #6e6faf; font-size: 21px; margin-bottom: 26px; }
.login-kicker { color: #8585ad; font-size: 9px; font-weight: 700; letter-spacing: .16em; margin: 0 0 10px; }
.login-card h2 { color: #29294f; font-size: 34px; font-weight: 600; letter-spacing: -.055em; margin: 0 0 12px; }
.login-description { color: #7c889b; font-size: 13px; line-height: 1.8; margin: 0 0 30px; }
.login-field { margin-bottom: 22px; }
.login-field label, .login-pin-field legend { display: block; color: #46516b; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.login-input-wrap { position: relative; }
.login-input-wrap > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #959ab6; font-size: 14px; pointer-events: none; }
.login-input-wrap input { width: 100%; height: 52px; padding: 12px 14px 12px 43px; border: 1px solid #e0e5ef; border-radius: 10px; color: #334155; background: #fff; font-size: 13px; transition: box-shadow .2s, border-color .2s; }
.login-input-wrap input::placeholder { color: #a0a8ba; }
.login-input-wrap input:focus, .pin-box:focus { outline: none; border-color: #8587bd; box-shadow: 0 0 0 4px #7779ba12; }
.login-input-wrap input[readonly] { background: #f1f3f8; color: #64748b; }
.login-input-wrap input[aria-invalid="true"] { border-color: #d78b9b; }
.login-field small { display: block; color: #929bb0; font-size: 11px; margin-top: 8px; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 52px; border: 1px solid #373763; border-radius: 10px; background: #373763; color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 5px 12px #37376314; transition: background .2s, transform .2s; }
.login-submit:hover { background: #494974; transform: translateY(-1px); }
.login-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.login-submit > i { font-size: 12px; }
.login-submit-status { display: block; color: #7c889b; text-align: center; font-size: 11px; }
.login-submit-status:not(:empty) { margin-top: 10px; }
.login-switch { display: flex; align-items: center; justify-content: center; gap: 8px; color: #7779ba; font-size: 12px; margin-top: 20px; }
.login-help { display: flex; align-items: flex-start; gap: 10px; padding-top: 25px; margin-top: 28px; border-top: 1px solid #e8ecf3; color: #929bb0; }
.login-help i { font-size: 15px; margin-top: 3px; }
.login-help p { margin: 0; font-size: 11px; line-height: 1.8; }
.login-help strong { color: #727e94; font-weight: 500; }
.login-alert { display: flex; align-items: flex-start; gap: 9px; border: 1px solid; padding: 12px; border-radius: 9px; font-size: 12px; line-height: 1.6; margin: 0 0 20px; }
.login-alert i { margin-top: 3px; }
.login-alert.is-error { color: #a74760; background: #fdf0f3; border-color: #f2dbe3; }
.login-alert.is-success { color: #3c846d; background: #edf7f1; border-color: #d9ece2; }
.login-pin-field { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.login-pin-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pin-box { width: 100%; min-width: 0; height: 64px; border: 1px solid #e0e5ef; border-radius: 12px; background: #fff; color: #373763; text-align: center; font-size: 28px; }
.login-spinner { width: 15px; height: 15px; border: 2px solid #ffffff50; border-top-color: #fff; border-radius: 50%; animation: login-spin .7s linear infinite; }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { .login-story, .login-access { padding-left: 32px; padding-right: 32px; } .login-journey-route { gap: 12px; } .login-journey-route small { font-size: 9px; } }
@media (max-width: 767px) {
    .login-layout { grid-template-columns: 1fr; }
    .login-story { padding: 24px; }
    .login-story-content { padding: 30px 0 6px; max-width: none; }
    .login-story h1 { font-size: 36px; margin: 14px 0 12px; }
    .login-story h1 br { display: none; }
    .login-story h1 br::after { content: " "; }
    .login-story-content > p { max-width: 440px; font-size: 12px; }
    .login-story-footer, .login-journey { display: none; }
    .login-brand { font-size: 17px; }
    .login-brand-mark { width: 36px; height: 36px; font-size: 16px; }
    .login-access { padding: 24px 24px 20px; }
    .login-card { padding: 28px 0 36px; }
    .login-welcome-icon { display: none; }
    .login-card h2 { font-size: 30px; }
    .login-input-wrap input { font-size: 16px; }
    .login-access-top > span:last-child { display: none; }
    .login-description { margin-bottom: 24px; }
    .login-eyebrow { font-size: 10px; }
}
@media (max-width: 380px) { .login-story h1 { font-size: 30px; } .login-access-footer { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
