.login-page {
    --route-login-bg: #05080d;
    --route-login-surface: rgba(7, 15, 24, .84);
    --route-login-field: rgba(10, 17, 25, .78);
    --route-login-border: rgba(151, 177, 205, .27);
    --route-login-text: #f5f8ff;
    --route-login-muted: #b0becf;
    --route-login-blue: #167dff;
    --route-login-glow: rgba(0, 117, 255, .24);
    color-scheme: dark;
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    background: radial-gradient(ellipse at 90% 30%, #10283f, transparent 65%), var(--route-login-bg);
    color: var(--route-login-text);
    font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
.login-page *, .login-page *::before, .login-page *::after { box-sizing: border-box; }
.login-page [hidden] { display: none !important; }
.login-page svg { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.login-page button, .login-page input { font: inherit; }
.login-scene { position: fixed; inset: 0; pointer-events: none; z-index: -1; background: #05080d; }
.login-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.login-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 3, 8, .1), transparent 70%), linear-gradient(0deg, rgba(0, 3, 8, .3), transparent 55%); }
.login-shell { position: relative; isolation: isolate; width: min(100%, 1320px); margin: auto; padding: 64px 40px; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 532px); column-gap: clamp(56px, 6vw, 112px); align-items: center; }
.login-intro { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.login-brand { display: inline-flex; align-items: center; gap: 22px; color: var(--route-login-text); text-decoration: none; border-radius: 12px; }
.login-brand img { width: 80px; height: 80px; object-fit: contain; border-radius: 16px; }
.login-brand > span { font-size: 27px; font-weight: 500; letter-spacing: .2em; text-shadow: 0 1px 9px #9bb8cf55; }
.login-eyebrow { margin: 42px 0 14px; color: #51b4ff; font-size: 13px; font-weight: 500; letter-spacing: .16em; }
.login-intro h1 { max-width: 560px; margin: 0; font-size: clamp(34px, 2.9vw, 46px); line-height: 1.15; letter-spacing: -.045em; font-weight: 720; color: #f4f7fb; background: linear-gradient(#fff 30%, #d9e3f2); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.login-description { max-width: 490px; margin: 24px 0 0; color: var(--route-login-muted); font-size: 18px; line-height: 1.45; letter-spacing: -.015em; }
.login-features { list-style: none; display: grid; gap: 26px; margin: 40px 0 0; padding: 0; }
.login-features li { display: flex; gap: 24px; align-items: center; }
.login-feature-icon { display: grid; place-items: center; flex: 0 0 66px; height: 66px; border: 1px solid #6485a28c; border-radius: 16px; background: linear-gradient(145deg, #14223099, #03080dd9); box-shadow: inset 0 1px 1px #cfedff33, 0 5px 18px #0088ff14; color: #cde7ff; }
.login-feature-icon svg { width: 30px; height: 30px; filter: drop-shadow(0 2px 4px #168fff66); }
.login-features h2 { margin: 0 0 6px; font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.login-features p { max-width: 310px; margin: 0; color: var(--route-login-muted); font-size: 15px; line-height: 1.4; }
.login-intro-footer { display: flex; gap: 14px; align-items: center; margin: 64px 0 0; color: #bac9d9; font-size: 14px; line-height: 1.5; }
.login-status-dot { flex: 0 0 10px; height: 10px; border-radius: 50%; background: #329eff; box-shadow: 0 0 13px #008cff; }
.login-panel { min-width: 0; width: 100%; }
.login-card { width: 100%; padding: 40px 42px; border: 1px solid rgba(172, 198, 222, .62); border-radius: 22px; background: rgba(7, 15, 24, .95); box-shadow: inset 0 1px 1px #e1f4ff24, 0 18px 64px #0007, 0 0 25px #168fff0c; }
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    .login-card { background: var(--route-login-surface); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.login-card-header { margin-bottom: 24px; }
.login-card-kicker { display: inline-flex; padding: 5px 11px; border: 1px solid #0d77bf88; border-radius: 99px; background: #002a4b33; color: #45b0ff; font-size: 13px; line-height: 1.3; }
.login-card h2 { margin: 17px 0 9px; font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: -.04em; }
.login-card-header p { margin: 0; color: #c4d1df; font-size: 15px; line-height: 1.5; }
.login-form { display: grid; gap: 19px; }
.login-field { min-width: 0; }
.login-field label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 14px; font-weight: 500; }
.login-field small { color: var(--route-login-muted); font-size: 12px; font-weight: 400; }
.login-input-wrap { position: relative; }
.login-input-wrap > svg { position: absolute; top: 15px; left: 16px; width: 22px; height: 22px; pointer-events: none; color: #d4deea; }
.login-page .login-field input { display: block; width: 100%; min-width: 0; height: 54px; padding: 0 15px 0 50px; border: 1px solid var(--route-login-border); border-radius: 11px; background: var(--route-login-field); color: var(--route-login-text); outline: none; transition: border-color 140ms ease, box-shadow 140ms ease; }
.login-page #login-password { padding-right: 54px; }
.login-field input::placeholder { color: #98a4b3; opacity: 1; }
.login-field input:hover { border-color: #7691aa; }
.login-page .login-field input:focus { border-color: var(--route-login-blue); box-shadow: 0 0 0 1px #168dff55, 0 0 16px #007fff3d; }
.login-page .login-field input[aria-invalid="true"], .login-page .login-field input:user-invalid { border-color: #f298a0; }
.login-field input:disabled { opacity: .6; }
.login-password-toggle { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #c0cede; cursor: pointer; }
.login-password-toggle:hover { background: #a2d3ff14; color: white; }
.login-password-toggle svg { width: 21px; height: 21px; }
.login-page .login-submit { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 54px; margin-top: 8px; padding: 12px; border: 1px solid #359fff66; border-radius: 12px; color: #fff; background: linear-gradient(110deg, #328cf9, #0065f5); box-shadow: 0 6px 28px var(--route-login-glow); font-size: 18px; font-weight: 600; cursor: pointer; transition: filter 140ms ease, transform 140ms ease; }
.login-submit svg { width: 21px; height: 21px; }
.login-submit:hover:not(:disabled) { filter: brightness(1.12); }
.login-submit:active:not(:disabled) { transform: translateY(1px); }
.login-submit:disabled { opacity: .7; cursor: wait; }
.login-page :is(button, a):focus-visible { outline: 2px solid #72c4ff; outline-offset: 4px; }
.login-security-note { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 0; color: #b0c3d8; font-size: 13px; line-height: 1.55; }
.login-security-note svg { width: 19px; height: 19px; margin-top: 1px; }
.login-alert { padding: 12px 14px; margin-bottom: 20px; border: 1px solid; border-radius: 10px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.login-error { color: #ffd0d3; border-color: #ec7c8980; background: #491c2899; }
.login-success { color: #c5e2ff; border-color: #60acff80; background: #113353aa; }
.login-spinner { width: 20px; height: 20px; border: 2px solid #fff5; border-top-color: white; border-radius: 50%; animation: route-login-spin .8s linear infinite; }
.login-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
@keyframes route-login-spin { to { transform: rotate(360deg); } }
@media (min-width: 1024px) and (max-height: 850px) {
    .login-shell { padding-top: 36px; padding-bottom: 36px; }
    .login-brand img { width: 68px; height: 68px; }
    .login-eyebrow { margin-top: 30px; }
    .login-features { gap: 21px; margin-top: 30px; }
    .login-feature-icon { flex-basis: 58px; height: 58px; }
    .login-intro-footer { margin-top: 40px; }
}
@media (min-width: 1024px) and (max-width: 1366px) {
    .login-shell { padding-left: 48px; padding-right: 48px; column-gap: 54px; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
    .login-card { padding: 32px; }
    .login-intro h1 { font-size: clamp(32px, 3.2vw, 43px); }
    .login-description { font-size: 16px; }
    .login-features li { gap: 18px; }
}
@media (max-width: 1023px) {
    .login-shell { max-width: 600px; grid-template-columns: minmax(0, 1fr); gap: 28px; align-content: center; padding: 36px 28px; }
    .login-intro { align-items: center; }
    .login-brand { gap: 16px; }
    .login-brand img { width: 62px; height: 62px; }
    .login-brand > span { font-size: 24px; }
    .login-intro-copy { text-align: center; }
    .login-eyebrow { margin: 16px 0 0; font-size: 12px; }
    .login-intro h1, .login-description, .login-features, .login-intro-footer { display: none; }
    .login-scene img { object-position: 79% center; opacity: .7; }
    .login-scene::after { background: linear-gradient(0deg, #03080b66, #03080b33); }
}
@media (max-width: 767px) {
    .login-shell { padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); gap: 24px; }
    .login-card { padding: 28px 24px; border-radius: 20px; }
    .login-card h2 { font-size: 29px; }
    .login-card-header p { font-size: 14px; }
    .login-form { gap: 18px; }
    .login-security-note { font-size: 12px; gap: 10px; }
}
@media (max-width: 359px) {
    .login-card { padding: 24px 18px; }
    .login-card h2 { font-size: 27px; }
    .login-card-kicker { font-size: 12px; }
    .login-field label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .login-page *, .login-page *::before, .login-page *::after { animation: none !important; transition: none !important; }
}
