:root { color-scheme: light; --blue:#016ff7; --blue-soft:#58a4ec; --ink:#000; --paper:#fefefe; --muted:#5f6b7a; --line:#dce7f5; --danger:#b42318; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--ink); background:radial-gradient(circle at 12% 8%,rgba(88,164,236,.13),transparent 30rem),var(--paper); }
button,input { font:inherit; }
button { cursor:pointer; }
.admin-shell,.dashboard-shell { min-height:100vh; display:grid; place-items:center; padding:clamp(20px,4vw,56px); }
.admin-card { width:min(1080px,100%); min-height:650px; display:grid; grid-template-columns:minmax(300px,.85fr) minmax(420px,1.15fr); overflow:hidden; border:1px solid rgba(1,111,247,.14); border-radius:28px; background:rgba(254,254,254,.94); box-shadow:0 30px 80px rgba(13,54,105,.13); }
.security-panel { position:relative; padding:54px 46px; color:white; background:linear-gradient(145deg,#005cd4,#016ff7 58%,#58a4ec); overflow:hidden; }
.security-panel::after { content:""; position:absolute; width:320px; height:320px; right:-170px; bottom:-180px; border:1px solid rgba(255,255,255,.35); border-radius:50%; box-shadow:0 0 0 42px rgba(255,255,255,.06),0 0 0 90px rgba(255,255,255,.04); }
.security-panel img { width:min(245px,100%); height:auto; filter:brightness(0) invert(1); margin-bottom:78px; }
.security-kicker,.eyebrow { display:block; margin-bottom:12px; font-size:.75rem; font-weight:800; letter-spacing:.14em; }
.security-panel h2 { max-width:360px; margin:0 0 18px; font-size:clamp(2rem,4vw,3.15rem); line-height:1.04; letter-spacing:-.045em; }
.security-panel p { max-width:390px; color:rgba(255,255,255,.82); line-height:1.65; }
.security-points { display:grid; gap:13px; margin:36px 0 0; padding:0; list-style:none; font-weight:700; }
.security-points span { display:inline-grid; place-items:center; width:24px; height:24px; margin-right:10px; border-radius:50%; background:rgba(255,255,255,.16); }
.auth-panel { display:grid; align-content:center; padding:clamp(38px,6vw,76px); }
.eyebrow { color:var(--blue); }
h1 { margin:0 0 12px; font-size:clamp(2rem,4vw,3rem); letter-spacing:-.045em; }
.lead { margin:0 0 32px; color:var(--muted); line-height:1.65; }
form { display:grid; gap:12px; }
label { margin-top:7px; font-size:.88rem; font-weight:750; }
input { width:100%; min-height:52px; padding:0 16px; border:1px solid #cbd9ea; border-radius:13px; background:#fff; color:#000; outline:none; transition:border-color .18s,box-shadow .18s,transform .18s; }
input:focus { border-color:var(--blue); box-shadow:0 0 0 4px rgba(1,111,247,.12); }
.otp-input { text-align:center; font-size:1.6rem; font-weight:800; letter-spacing:.28em; }
button { min-height:52px; margin-top:14px; padding:0 20px; border:0; border-radius:13px; background:var(--blue); color:white; font-weight:800; box-shadow:0 10px 24px rgba(1,111,247,.2); transition:transform .18s,background .18s,opacity .18s; }
button:hover { background:#005dcc; transform:translateY(-1px); }
button:disabled { cursor:wait; opacity:.62; transform:none; }
.text-button { width:auto; min-height:auto; margin:22px auto 0; padding:7px; color:var(--blue); background:none; box-shadow:none; font-size:.9rem; }
.text-button:hover { background:none; text-decoration:underline; transform:none; }
.alert { margin-bottom:24px; padding:13px 15px; border:1px solid #f1b9b4; border-radius:12px; color:var(--danger); background:#fff5f4; line-height:1.45; }
.alert.success { border-color:#a9d8bd; color:#17653a; background:#f1fbf5; }
.qr-frame { width:max-content; max-width:100%; margin:0 auto 22px; padding:12px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 12px 30px rgba(13,54,105,.09); }
.qr-frame img { display:block; max-width:100%; height:auto; }
.manual-key { margin:0 0 22px; padding:14px 16px; border:1px solid var(--line); border-radius:13px; background:#f8fbff; color:var(--muted); }
.manual-key summary { color:var(--blue); font-weight:750; cursor:pointer; }
.manual-key code { display:block; overflow-wrap:anywhere; padding:10px 0 2px; color:#000; font-weight:800; letter-spacing:.08em; }
.recovery-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:22px 0; }
.recovery-grid code { padding:11px 12px; border:1px solid var(--line); border-radius:10px; background:#f8fbff; text-align:center; font-weight:800; letter-spacing:.06em; }
.dashboard-shell { align-content:start; gap:28px; }
.dashboard-header { width:min(1080px,100%); display:flex; align-items:center; justify-content:space-between; }
.dashboard-header img { width:200px; height:auto; }
.secondary-button { min-height:44px; margin:0; color:var(--blue); border:1px solid rgba(1,111,247,.28); background:white; box-shadow:none; }
.dashboard-card { width:min(1080px,100%); padding:clamp(32px,6vw,68px); border:1px solid var(--line); border-radius:24px; background:white; box-shadow:0 24px 60px rgba(13,54,105,.1); }
.status-pill { display:inline-flex; align-items:center; gap:8px; margin-bottom:24px; padding:8px 12px; border-radius:999px; color:#17653a; background:#edf9f2; font-size:.82rem; font-weight:800; }
.status-pill span { width:8px; height:8px; border-radius:50%; background:#20a15d; box-shadow:0 0 0 4px rgba(32,161,93,.13); }
.admin-empty-state { margin-top:38px; padding:26px; border:1px solid var(--line); border-radius:18px; background:linear-gradient(145deg,#f8fbff,#fff); }
.admin-empty-state h2 { margin:0 0 8px; }
.admin-empty-state p { max-width:720px; margin:0; color:var(--muted); line-height:1.65; }
[hidden] { display:none !important; }
@media (max-width:800px) { .admin-card { grid-template-columns:1fr; }.security-panel { padding:32px; }.security-panel img { margin-bottom:34px; }.security-points { display:none; }.auth-panel { padding:36px 26px; }.recovery-grid { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
