:root{--pri:#4f46e5;--ink:#0f172a;--mu:#64748b;--line:#e2e8f0;--bg:#f4f6fb;--err:#b91c1c;--err-bg:#fef2f2;--err-line:#fecaca}
*{box-sizing:border-box;margin:0;padding:0}
html,body{min-height:100%}
body{font-family:'Hind Siliguri',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;line-height:1.5}
a{color:var(--pri);text-decoration:none;font-weight:600}
.mu{color:var(--mu)}
.auth{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh;min-height:100dvh}
.auth-l{background:linear-gradient(160deg,#312e81 0%,#6d28d9 55%,#a21caf 100%);color:#fff;padding:56px 56px 40px;display:flex;flex-direction:column;justify-content:space-between;gap:32px}
.brand{display:flex;align-items:center;gap:14px;font-size:22px;font-weight:700}
.brand small{display:block;font-size:13px;font-weight:400;opacity:.85}
.logo{width:52px;height:52px;border-radius:16px;background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);display:grid;place-items:center;flex:none}
.logo svg{width:26px;height:26px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hero h2{font-size:32px;line-height:1.3;font-weight:700;margin-bottom:18px}
.hero ul{list-style:none;display:grid;gap:12px;font-size:16px;color:#e0e7ff}
.copy{font-size:13px;color:#ddd6fe}
.auth-r{display:flex;align-items:center;justify-content:center;padding:32px 20px}
.box{width:100%;max-width:420px;background:#fff;border-radius:24px;padding:32px 28px;box-shadow:0 30px 60px -30px rgba(15,23,42,.35)}
.box h1{font-size:26px;line-height:1.25}
.box .mu{margin:4px 0 20px}
.lang{text-align:right;margin-bottom:6px;font-size:14px}
.alert{background:var(--err-bg);color:var(--err);border:1px solid var(--err-line);padding:11px 14px;border-radius:12px;margin-bottom:16px;font-size:14px;font-weight:500}
.fld{margin-bottom:16px}
.fld label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
.fld input{width:100%;height:50px;padding:0 14px;font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1.5px solid var(--line);border-radius:14px;outline:none;transition:border-color .15s,box-shadow .15s}
.fld input:focus{border-color:var(--pri);box-shadow:0 0 0 4px rgba(79,70,229,.14)}
.pw{position:relative}
.pw input{padding-right:84px}
.pw button{position:absolute;right:6px;top:6px;height:38px;padding:0 12px;border:0;background:transparent;color:var(--pri);font:inherit;font-weight:600;font-size:14px;cursor:pointer;border-radius:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;width:100%;height:52px;border:0;border-radius:14px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer;box-shadow:0 14px 26px -14px rgba(79,70,229,.8);transition:transform .1s,opacity .15s}
.btn:active{transform:scale(.985)}
.btn:disabled{opacity:.7;cursor:wait}
.btn.ghost{background:#fff;color:var(--ink);border:1.5px solid var(--line);box-shadow:none}
.plain{display:grid;place-items:center;min-height:100vh;min-height:100dvh;padding:20px;background:linear-gradient(165deg,#312e81 0%,#6d28d9 55%,#a21caf 100%)}
.panel{width:100%;max-width:440px;background:#fff;border-radius:24px;padding:32px 26px;text-align:center;box-shadow:0 30px 60px -30px rgba(15,23,42,.5)}
.panel .logo{margin:0 auto 14px;background:linear-gradient(135deg,#4f46e5,#7c3aed)}
.panel .emoji{font-size:48px;line-height:1;margin-bottom:10px}
.panel h1{font-size:22px;margin-bottom:6px}
.panel p{margin-bottom:18px}
@media(max-width:900px){
body{background:linear-gradient(165deg,#312e81 0%,#6d28d9 55%,#a21caf 100%);background-attachment:fixed}
.auth{display:flex;flex-direction:column}
.auth-l{background:none;padding:40px 22px 8px;align-items:center;text-align:center;gap:0}
.auth-l .brand{flex-direction:column;gap:12px;font-size:22px}
.hero,.copy{display:none}
.auth-r{flex:1;align-items:flex-start;padding:14px 16px 32px}
.box{padding:26px 22px 24px;border-radius:26px;box-shadow:0 34px 60px -28px rgba(15,23,42,.75)}
.box h1{font-size:24px}
}