:root{
    --navy:#091321;--navy2:#101d31;--primary:#5b5cf0;--purple:#8458e8;
    --ink:#0d1626;--muted:#64748b;--line:#e4e9f1;--surface:#f5f7fb;--white:#fff;
}
*{box-sizing:border-box}
body{margin:0;min-width:320px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--surface);color:var(--ink)}
button,input{font:inherit}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(430px,1.05fr) minmax(480px,.95fr)}
.auth-brand-panel{
    position:relative;overflow:hidden;display:flex;flex-direction:column;padding:38px 50px;color:#fff;
    background:
        radial-gradient(circle at 15% 15%,rgba(91,92,240,.35),transparent 19rem),
        radial-gradient(circle at 85% 70%,rgba(132,88,232,.2),transparent 20rem),
        linear-gradient(145deg,var(--navy),var(--navy2));
}
.auth-brand-panel:before,.auth-brand-panel:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.06);border-radius:50%}
.auth-brand-panel:before{width:480px;height:480px;right:-180px;top:-170px}
.auth-brand-panel:after{width:340px;height:340px;left:-170px;bottom:-170px}
.brand-top,.mobile-brand{display:flex;align-items:center;gap:13px}
.brand-logo{
    width:48px;height:48px;display:grid;place-items:center;border-radius:16px;
    color:#fff;background:linear-gradient(135deg,#3b82f6,var(--purple));box-shadow:0 15px 35px rgba(59,130,246,.28);
    font-weight:900
}
.brand-logo svg{width:30px;fill:none;stroke:#fff;stroke-width:1.8}
.brand-top strong,.brand-top small,.mobile-brand strong,.mobile-brand small{display:block}
.brand-top strong{font-size:20px}.brand-top small{margin-top:4px;color:#a8b6cb;font-size:11px}
.brand-copy{position:relative;z-index:2;max-width:650px;margin:auto 0}
.eyebrow{color:#808da2;font-size:10px;font-weight:850;letter-spacing:1.7px}
.auth-brand-panel .eyebrow{color:#8fa7ff}
.brand-copy h1{max-width:620px;margin:12px 0 15px;font-size:42px;line-height:1.12;letter-spacing:-1.5px}
.brand-copy>p{max-width:590px;margin:0;color:#aebbd0;font-size:15px;line-height:1.75}
.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:32px}
.feature-grid>div{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;padding:15px;border:1px solid rgba(255,255,255,.08);border-radius:17px;background:rgba(255,255,255,.045)}
.feature-grid span{grid-row:1/3;width:27px;height:27px;display:grid;place-items:center;border-radius:9px;color:#bcd3ff;background:rgba(91,92,240,.18);font-size:11px}
.feature-grid strong{font-size:11px}.feature-grid small{color:#94a5bd;font-size:9px;line-height:1.5}
.brand-foot{position:relative;z-index:2;display:flex;gap:9px;color:#70829c;font-size:10px}
.auth-form-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:32px;background:radial-gradient(circle at 100% 0,rgba(91,92,240,.06),transparent 20rem),var(--surface)}
.mobile-brand{display:none}
.login-card{width:min(100%,440px);padding:34px;border:1px solid rgba(226,232,240,.95);border-radius:27px;background:rgba(255,255,255,.96);box-shadow:0 25px 70px rgba(15,23,42,.1)}
.login-heading h2{margin:7px 0 8px;font-size:28px;letter-spacing:-.7px}
.login-heading p{margin:0 0 25px;color:var(--muted);font-size:12px;line-height:1.6}
.error-box{margin-bottom:18px;padding:13px 14px;border:1px solid #ffd2dc;border-radius:14px;color:#b42342;background:#fff0f4}
.error-box strong,.error-box span{display:block}.error-box strong{font-size:11px}.error-box span{margin-top:3px;font-size:9px}
.field{display:block;margin-bottom:16px}
.field>span{display:block;margin-bottom:7px;color:#334155;font-size:10px;font-weight:800}
.field>div{height:49px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid var(--line);border-radius:14px;background:#fafbfe;transition:.2s}
.field>div:focus-within{border-color:#9697f8;background:#fff;box-shadow:0 0 0 4px rgba(91,92,240,.08)}
.field i{width:24px;color:#8896aa;font-size:12px;font-style:normal;text-align:center}
.field input{min-width:0;flex:1;border:0;outline:0;color:var(--ink);background:transparent;font-size:12px}
.field input::placeholder{color:#a5b0c0}
.form-options{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:4px 0 20px}
.remember{display:flex;align-items:center;gap:7px;color:#475569;font-size:10px}
.remember input{accent-color:var(--primary)}
.coming-soon{color:#94a3b8;font-size:9px}
.login-button{width:100%;height:50px;display:flex;justify-content:center;align-items:center;gap:10px;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--primary),var(--purple));font-size:12px;font-weight:850;box-shadow:0 14px 30px rgba(91,92,240,.26)}
.login-button b{font-size:16px}
.security-note{display:flex;justify-content:center;gap:7px;align-items:center;margin-top:17px;color:#8a97aa}
.security-note span{font-size:12px}.security-note p{margin:0;font-size:9px}
.auth-form-panel footer{margin-top:19px;color:#9aa6b7;font-size:9px}
@media(max-width:900px){
    .auth-shell{display:block}
    .auth-brand-panel{display:none}
    .auth-form-panel{min-height:100vh;padding:24px 16px}
    .mobile-brand{display:flex;width:min(100%,440px);margin-bottom:22px}
    .mobile-brand .brand-logo{width:42px;height:42px;border-radius:14px}
    .mobile-brand strong{font-size:16px}.mobile-brand small{margin-top:3px;color:var(--muted);font-size:9px}
}
@media(max-width:520px){
    .auth-form-panel{justify-content:flex-start;padding-top:32px}
    .login-card{padding:25px 20px;border-radius:22px}
    .login-heading h2{font-size:24px}
    .form-options{align-items:flex-start}
    .coming-soon{text-align:right}
}
