@font-face{font-family:Vazirmatn;src:url('/vendor/fonts/Vazirmatn-Variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--surface:rgba(18,25,44,.9);--line:rgba(148,163,184,.18);--text:#f5f7ff;--muted:#9ba8bd;--primary:#6f8cff;--primary-strong:#5272f2}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body{font-family:Vazirmatn,Tahoma,sans-serif;color:var(--text);background:#080d19;overflow-x:hidden}
body::before,body::after{content:"";position:fixed;border-radius:50%;filter:blur(90px);pointer-events:none;opacity:.55}
body::before{width:440px;height:440px;right:-140px;top:-140px;background:#3157d5}
body::after{width:390px;height:390px;left:-130px;bottom:-150px;background:#7139b5}
.login-shell{min-height:100vh;display:grid;place-items:center;padding:30px 18px;position:relative}
.login-shell::before{content:"";position:fixed;inset:0;background-image:linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);background-size:42px 42px;mask-image:radial-gradient(circle at center,#000,transparent 76%);pointer-events:none}
.login-card{width:min(100%,480px);padding:42px 40px 32px;border:1px solid var(--line);border-radius:26px;background:var(--surface);box-shadow:0 30px 80px rgba(0,0,0,.42);backdrop-filter:blur(24px);text-align:center;animation:enter .55s cubic-bezier(.2,.75,.3,1) both}
.brand-mark{width:66px;height:66px;margin:0 auto 18px;border-radius:20px;display:grid;place-items:center;font:700 30px/1 Arial;color:#fff;background:linear-gradient(145deg,#7892ff,#4a5ed4);box-shadow:0 14px 34px rgba(82,114,242,.35);position:relative}
.brand-mark span{position:absolute;width:9px;height:9px;left:8px;bottom:8px;border-radius:50%;background:#42d79b;border:2px solid #536be4;box-shadow:0 0 0 5px rgba(66,215,155,.12)}
.eyebrow{margin:0 0 8px;color:#91a4ff;font:700 11px/1.4 Arial;letter-spacing:2px}
h1{font-size:27px;line-height:1.5;margin:0 0 10px}
.description{margin:0 auto 26px;max-width:390px;color:var(--muted);font-size:14px;line-height:2}
.login-button{min-height:54px;width:100%;display:flex;align-items:center;justify-content:center;gap:11px;padding:12px 18px;border-radius:14px;text-decoration:none;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-strong));box-shadow:0 11px 30px rgba(82,114,242,.28);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.login-button:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(82,114,242,.38);filter:brightness(1.06)}
.login-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.login-button .arrow{margin-right:auto;transform:scaleX(-1)}
.login-button.disabled{background:#252e42;color:#7d899d;box-shadow:none;cursor:not-allowed}
.notice{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:12px 14px;border-radius:12px;text-align:right;font-size:13px;line-height:1.7;border:1px solid}
.notice svg{width:20px;height:20px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8}
.notice.error{color:#ffb7bf;background:rgba(204,61,78,.12);border-color:rgba(255,104,121,.28)}
.notice.warning{color:#f3cf8b;background:rgba(207,143,37,.11);border-color:rgba(235,177,76,.24)}
.setup-state{margin:17px 0 0;color:#8190a8;font-size:12px}
.security-row{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 18px;margin-top:26px;padding-top:23px;border-top:1px solid var(--line);color:#8290a7;font-size:11px}
.security-row span{display:flex;align-items:center;gap:5px}
.security-row svg{width:14px;height:14px;fill:none;stroke:#42d79b;stroke-width:2}
@keyframes enter{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:540px){.login-card{padding:34px 22px 26px;border-radius:20px}.security-row{gap:9px 12px}h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
