:root { color-scheme: dark; --bg: #070c16; --line: #22304f; --text: #edf2f7; --muted: #94a3b8; --accent: #62a8ff; --accent-strong: #3182f6; --danger: #fca5a5; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100dvh; background: var(--bg); color: var(--text); font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input { font: inherit; }
.login-shell { min-height: 100dvh; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(480px, 1.1fr); }
.brand-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(36px, 6vw, 84px); background: #0e1a30; border-right: 1px solid var(--line); }
.brand-panel::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(circle at 30% 38%, rgba(49,130,246,.22), transparent 27%), radial-gradient(circle at 72% 78%, rgba(91,178,255,.11), transparent 23%); pointer-events: none; }
.brand-panel > * { position: relative; }
.brand-mark { display: flex; align-items: center; height: 34px; gap: 5px; }
.brand-mark span { width: 4px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 18px rgba(98,168,255,.34); }
.brand-mark span:nth-child(1), .brand-mark span:nth-child(5) { height: 12px; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(4) { height: 24px; }
.brand-mark span:nth-child(3) { height: 34px; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.brand-panel h1 { margin: 0; max-width: 620px; font-size: clamp(42px, 5.8vw, 76px); line-height: 1.04; letter-spacing: -.055em; }
.brand-copy { max-width: 480px; margin: 28px 0 0; color: #b5c2d5; font-size: 16px; line-height: 1.8; }
.service-state { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: 13px; }
.service-state span { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 12px rgba(74,222,128,.65); }
.form-panel { display: grid; place-items: center; padding: 32px; background: linear-gradient(145deg, #070c16, #0a1120); }
.login-card { width: min(100%, 420px); }
.form-heading { margin-bottom: 36px; }
.form-heading h2 { margin: 0; font-size: 32px; letter-spacing: -.035em; }
.form-heading p:last-child { margin: 12px 0 0; color: var(--muted); line-height: 1.65; }
label { display: block; margin: 18px 0 8px; color: #cbd5e1; font-size: 13px; font-weight: 600; }
input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #0b1220; color: var(--text); transition: border-color .18s ease, box-shadow .18s ease; }
input:hover { border-color: #34466e; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(98,168,255,.14); }
.password-field { position: relative; }
.password-field input { padding-right: 66px; }
.text-button { position: absolute; right: 7px; top: 7px; height: 36px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: var(--accent); cursor: pointer; }
.text-button:hover { background: rgba(98,168,255,.09); }
.error { min-height: 21px; margin: 14px 0 4px; color: var(--danger); font-size: 13px; line-height: 1.6; }
.submit-button { width: 100%; height: 50px; margin-top: 8px; border: 0; border-radius: 10px; background: var(--accent-strong); color: white; font-weight: 700; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.submit-button:hover { background: #2175df; }
.submit-button:active { transform: translateY(1px); }
.submit-button:disabled { opacity: .58; cursor: wait; }
.session-note { margin: 16px 0 0; color: #64748b; font-size: 12px; text-align: center; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 820px) { .login-shell { grid-template-columns: 1fr; } .brand-panel { min-height: 280px; padding: 32px 24px; border-right: 0; border-bottom: 1px solid var(--line); } .brand-panel h1 { font-size: clamp(38px, 11vw, 58px); } .brand-copy { margin-top: 18px; } .form-panel { padding: 48px 24px; place-items: start center; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
