.login-page { min-height:100svh; padding:36px; background:#edf2f8; }
.login-shell { width:min(1180px,100%); min-height:730px; display:grid; grid-template-columns:1.08fr 1fr; overflow:hidden; border-radius:26px; background:white; box-shadow:0 28px 85px #152a4820; animation:arrive .7s ease both; }
.brand-panel { position:relative; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; padding:38px 42px 28px; color:white; background:radial-gradient(ellipse at 90% 80%,#195b92 0,transparent 60%),linear-gradient(145deg,#091a30,#123657); }
.brand-panel::before { content:""; position:absolute; inset:-50%; background:radial-gradient(ellipse at center,#338fdd26,transparent 55%); animation:ambient 16s ease-in-out infinite alternate; pointer-events:none; }
.company,.brand-story,.brand-footer { position:relative; z-index:1; }
.company { display:flex; align-items:center; gap:16px; }
.company-logo { display:grid; place-items:center; width:62px; height:48px; background:#ffffff12; border:1px solid #ffffff30; border-radius:12px; font-size:22px; font-weight:800; letter-spacing:-1px; }
.company>span:last-child { font-size:9px; letter-spacing:1.8px; font-weight:600; white-space:nowrap; }
.eyebrow { display:block; color:#6288af; font-size:10px; font-weight:750; letter-spacing:2px; }
.brand-story { padding-top:48px; }
.brand-story>.eyebrow { color:#7fb9eb; }
.brand-story h1 { margin:17px 0; font-size:clamp(30px,2.55vw,38px); line-height:1.16; font-weight:650; letter-spacing:-1.5px; white-space:nowrap; }
.title-dot { color:#55b2fa; }
.brand-story p { margin:0; color:#b4c6d9; font-size:15px; line-height:1.8; }
.brand-footer { display:flex; justify-content:space-between; gap:16px; padding-top:24px; border-top:1px solid #ffffff18; font-size:10px; color:#a1b8ce; }
.connected-room-visual { height:245px; display:flex; align-items:center; justify-content:center; margin:18px -28px 8px; }
.connected-room-visual img { display:block; width:100%; max-height:245px; object-fit:contain; filter:drop-shadow(0 18px 22px #020b1670); animation:visualFloat 6s ease-in-out infinite; }
.auth-panel { display:flex; align-items:center; justify-content:center; padding:44px; }
.auth-panel .login-card { padding:0; width:100%; max-width:365px; border-radius:0; box-shadow:none; animation:arrive .55s ease both; }
.auth-panel .login-card[hidden] { display:none; }
.auth-panel .brand-mark { width:58px; height:58px; border-radius:16px; margin-bottom:32px; font-size:21px; background:linear-gradient(135deg,#1556a4,#318eeb); box-shadow:0 7px 20px #1d6dc124; }
.auth-panel h2 { margin:12px 0 10px; font-size:31px; line-height:1.2; letter-spacing:-1px; font-weight:650; }
.auth-panel .login-card p { font-size:13px; line-height:1.7; margin-bottom:30px; }
.auth-panel label { font-weight:600; font-size:12px; margin:18px 0 8px; }
.auth-panel input { display:block; margin-top:8px; padding:14px; font-size:13px; border-color:#dce4ed; border-radius:9px; background:#fbfcfe; }
.auth-panel input::placeholder { color:#8a98a8; }
.password-field { display:block; position:relative; }
.password-field input { padding-right:62px; }
.password-field button { position:absolute; right:7px; top:7px; border:0; border-radius:5px; padding:8px; color:#416181; background:transparent; font-size:11px; cursor:pointer; }
.auth-panel .btn.primary { display:flex; justify-content:center; align-items:center; gap:14px; min-height:48px; margin-top:25px; background:#185daf; box-shadow:0 5px 12px #185daf20; font-size:13px; }
.auth-panel .btn.primary:hover { background:#124d94; box-shadow:0 7px 18px #185daf35; }
.forgot-button { display:block; margin:18px auto 0; padding:8px 15px; border:1px solid #dce6f1; background:white; border-radius:7px; color:#195a9f; font-weight:600; font-size:12px; cursor:pointer; transition:background .2s; }
.forgot-button:hover { background:#edf5ff; }
.login-note { margin-top:32px; padding-top:22px; border-top:1px solid #ecf0f5; text-align:center; font-size:10px; color:#7b8999; }
.login-note span { margin-right:5px; }
.auth-panel [role=status] { margin-top:15px; font-size:12px; line-height:1.65; }
.auth-panel [role=status]:empty { display:none; }
.auth-panel .is-loading::before { content:""; width:13px; height:13px; border:2px solid #ffffff50; border-top-color:white; border-radius:50%; animation:spin .8s linear infinite; }
.auth-panel button:focus-visible { outline:3px solid #68a9f0; outline-offset:3px; }
#setupPasswordPage,#twoFASetupPage { min-height:0!important; width:100%; }
@keyframes arrive { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes ambient { to { transform:translate(15%,10%) rotate(15deg); } }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes visualFloat { 50% { transform:translateY(-6px); } }
@media(max-width:800px) { .login-page { padding:20px; } .login-shell { grid-template-columns:1fr; min-height:0; max-width:520px; } .brand-panel { padding:24px; } .company>span:last-child { font-size:8px; } .brand-story { padding-top:24px; } .brand-story h1 { font-size:clamp(21px,6.3vw,30px); letter-spacing:-1px; } .brand-story p,.connected-room-visual,.brand-footer { display:none; } .auth-panel { padding:32px 28px; } .auth-panel .brand-mark { display:none; } }
@media(prefers-reduced-motion:reduce) { .login-shell,.brand-panel::before,.connected-room-visual img,.auth-panel .login-card,.auth-panel .is-loading::before { animation:none; } .login-page *, .login-page *::before { transition:none!important; } }
