:root { color-scheme: dark; --bg:#07131e; --line:#28414d; --accent:#64e3bd; --text:#e9f7fb; --muted:#94aebe; }
* { box-sizing:border-box; }
html,body { min-height:100%; }
body { margin:0; background:var(--bg); color:var(--text); font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
button,input { font:inherit; }
button { cursor:pointer; }
button:focus-visible,input:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.auth-layout { display:grid; grid-template-columns:minmax(460px,1.04fr) minmax(440px,.96fr); min-height:100vh; }
.auth-intro { background:radial-gradient(ellipse at 43% 44%, #173c42 0, #0b2530 35%, #081823 78%); border-right:1px solid #29414f; padding:40px clamp(35px,5.5vw,95px) 27px; display:flex; flex-direction:column; position:relative; isolation:isolate; overflow:hidden; }
.auth-intro::before { content:""; position:absolute; inset:0; z-index:-1; background-image:radial-gradient(#44748752 .8px,transparent .9px); background-size:25px 25px; mask-image:linear-gradient(to bottom,transparent 10%,#000 50%,transparent 92%); }
.brand { display:flex; align-items:center; gap:14px; }
.brand-symbol { font-size:28px; font-weight:800; letter-spacing:-3px; border:2px solid var(--accent); border-radius:12px; width:48px; height:48px; display:grid; place-items:center; color:var(--accent); position:relative; box-shadow:0 0 30px #3bffb819; }
.brand-symbol span { position:absolute; width:10px; height:10px; background:var(--accent); border:2px solid #0b2630; border-radius:50%; top:-6px; right:-6px; }
.brand-name strong { display:block; font-size:17px; font-weight:800; letter-spacing:1px; line-height:1.2; }
.brand-name strong span { color:var(--accent); margin-left:4px; }
.brand-name small { display:block; margin-top:3px; color:#7b9ca9; letter-spacing:1.7px; font-size:10px; font-weight:700; }
.intro-center { margin:auto 0; padding-top:30px; }
.eyebrow,.form-eyebrow { display:flex; align-items:center; gap:9px; letter-spacing:2px; color:var(--accent); font-size:10px; font-weight:800; }
.eyebrow-indicator { height:6px; width:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 5px #5fe7c01c; }
h1 { font-size:clamp(42px,4.5vw,64px); letter-spacing:-3px; line-height:1.1; margin:22px 0 24px; font-weight:800; }
h1 em { color:var(--accent); font-style:normal; }
.intro-center p { color:#9fb9c4; max-width:475px; font-size:16px; line-height:1.75; margin:0; }
.network-visual { height:250px; max-width:580px; margin:38px auto -2px; position:relative; }
.network-hub { position:absolute; left:50%; top:44%; transform:translate(-50%,-50%); width:153px; height:153px; border:1px solid #4d998a; background:radial-gradient(circle,#194b47,#112d37 69%); border-radius:50%; box-shadow:0 0 0 24px #48dabc0a,0 0 0 56px #48dabc06,0 0 90px #4af3bc25; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; z-index:3; }
.hub-icon { color:var(--accent); font-size:45px; letter-spacing:-5px; font-weight:800; line-height:1; }
.hub-label { color:#b7ebdb; font-size:9px; letter-spacing:1.4px; font-weight:800; }
.orb { position:absolute; z-index:4; padding:10px 13px; background:#142e3a; border:1px solid #3d5865; border-radius:11px; color:#9ec4cf; font-size:10px; font-weight:700; letter-spacing:.5px; display:flex; align-items:center; gap:8px; box-shadow:0 10px 22px #0003; }
.orb-symbol { color:var(--accent); font-size:17px; line-height:1; }
.orb-a { top:8%; left:2%; }.orb-b { top:13%; right:0; }.orb-c { bottom:8%; left:15%; }
.line { height:1px; position:absolute; z-index:1; background:linear-gradient(90deg,#416f78, #65d5b6); transform-origin:left; opacity:.7; }
.line-a { left:18%; top:23%; width:38%; transform:rotate(22deg); }.line-b { left:57%; top:41%; width:33%; transform:rotate(-34deg); }.line-c { left:30%; top:83%; width:36%; transform:rotate(-38deg); }
.intro-footer { color:#6e909e; font-size:10px; letter-spacing:1.4px; font-weight:750; display:flex; align-items:center; gap:10px; }
.secure-dot { width:6px; height:6px; background:var(--accent); border-radius:50%; }.footer-sep { color:#4a6b78; }
.auth-panel { position:relative; padding:40px clamp(35px,7vw,116px) 24px; display:flex; flex-direction:column; justify-content:center; background:radial-gradient(ellipse at 40% 26%,#102735 0,transparent 55%),#091721; }
.login-card { width:100%; max-width:425px; margin:auto; padding:22px 0 0; }
.lock-emblem { width:58px; height:58px; border-radius:17px; background:#183d38; border:1px solid #386e60; color:var(--accent); display:grid; place-items:center; margin-bottom:30px; box-shadow:0 15px 48px #59d3b011; }
.lock-emblem svg { width:28px; height:28px; }
.form-eyebrow { margin:0 0 10px; }
h2 { font-size:35px; letter-spacing:-1.15px; margin:0 0 10px; line-height:1.15; }
.form-subtitle { color:#91aaba; margin:0 0 35px; font-size:14px; }
.field { margin:0 0 20px; }
.field label { color:#c4d6df; display:block; font-size:12px; font-weight:750; margin-bottom:9px; }
.field input { display:block; width:100%; background:#112631; border:1px solid #324957; color:#effbff; border-radius:12px; padding:14px 16px; height:51px; transition:border-color .2s,background .2s; font-size:14px; }
.field input::placeholder { color:#607e8e; }.field input:focus { border-color:#66cdb2; background:#16313b; outline:none; box-shadow:0 0 0 3px #55ddb115; }
.password-wrap { position:relative; }.password-wrap input { padding-right:57px; }
.reveal { position:absolute; top:6px; right:6px; height:39px; width:42px; border:0; display:grid; place-items:center; background:transparent; color:#9db4c2; border-radius:9px; }.reveal:hover { color:var(--accent); background:#1d3b44; }.reveal svg { width:19px; height:19px; }
.form-error { padding:12px 14px; border-radius:10px; margin:4px 0 16px; background:#3f282c; border:1px solid #86505a; color:#ffd9d5; font-size:12px; }.form-error[hidden] { display:none; }
.submit-button { height:54px; width:100%; background:var(--accent); color:#062520; border:0; border-radius:12px; display:flex; justify-content:space-between; align-items:center; padding:0 20px; font-weight:800; font-size:14px; box-shadow:0 12px 34px #64e3bd24; margin-top:29px; }
.submit-button:hover:not(:disabled) { background:#84f4d4; }.submit-button:disabled { cursor:wait; opacity:.65; }.submit-button svg { width:20px; height:20px; }
.card-note { display:flex; align-items:center; gap:9px; margin-top:33px; color:#66899a; font-size:11px; line-height:1.6; }
.note-dot { width:7px; height:7px; border-radius:50%; flex:0 0 auto; border:1px solid #5cbba4; background:#14352f; }
.auth-bottom { display:flex; justify-content:space-between; max-width:425px; width:100%; margin:50px auto 0; font-size:10px; font-weight:700; letter-spacing:1.5px; color:#58717e; }
@media(max-width:1040px){.auth-layout{grid-template-columns:1fr 1fr}.auth-intro{padding:33px}.auth-panel{padding:33px}.network-visual{transform:scale(.85);transform-origin:center}}
@media(max-width:720px){.auth-layout{display:flex;flex-direction:column}.auth-intro{padding:24px 24px 20px;border-right:0;border-bottom:1px solid #29414f}.brand-symbol{width:36px;height:36px;font-size:20px;border-radius:10px}.brand-name strong{font-size:13px}.brand-name small{font-size:8px;letter-spacing:1px}.intro-center{margin:26px 0 0;padding:0}.eyebrow{font-size:9px}h1{font-size:34px;line-height:1.1;letter-spacing:-1.2px;margin:9px 0 12px}.intro-center p{font-size:12px;max-width:400px;line-height:1.6}.network-visual,.intro-footer{display:none}.auth-panel{flex:1;padding:32px 23px 24px}.login-card{margin:auto;padding:0}.lock-emblem{width:47px;height:47px;border-radius:13px;margin-bottom:21px}.lock-emblem svg{width:24px;height:24px}h2{font-size:29px}.form-subtitle{margin-bottom:26px}.auth-bottom{margin:40px auto 0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Keep dark inputs even if Chromium applies its built-in autofill background. */
.field input { box-shadow: inset 0 0 0 100px #112631; -webkit-text-fill-color: #effbff; }
.field input:focus { box-shadow: inset 0 0 0 100px #16313b,0 0 0 3px #55ddb115; }
.field input::placeholder { -webkit-text-fill-color: #748e9b; }
