:root{--bg:#0e0f13;--card:#151823;--text:#e8e8f0;--muted:#9aa0aa;--accent:#4da3ff;--ok:#19c37d;--err:#ff5b5b}
*{box-sizing:border-box}html,body{height:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial,sans-serif;background:linear-gradient(180deg,#0c0d12,#121522)}
.main{min-height:100%;display:flex;align-items:center;justify-content:center;padding:32px}
.card{width:100%;max-width:720px;background:var(--card);border-radius:18px;padding:24px 22px;color:var(--text);box-shadow:0 10px 30px rgba(0,0,0,.35)}
h1,h2{margin:0 0 12px}p{color:var(--muted);margin:0 0 14px}
.row{display:flex;gap:16px;flex-wrap:wrap}
.btn{appearance:none;border:0;border-radius:12px;padding:12px 16px;background:var(--accent);color:white;font-weight:600;cursor:pointer}
.btn:disabled{opacity:.6;cursor:not-allowed}
.btn.secondary{background:#2a2f3d}
.input{width:100%;padding:12px 14px;border-radius:10px;border:1px solid #2a2f3d;background:#0f1220;color:var(--text)}
.label{font-size:.9rem;color:#b6bdc7;margin:8px 0 6px;display:block}
.kv{display:grid;grid-template-columns:140px 1fr;gap:6px 10px;margin-top:12px}
.kv div{padding:8px 10px;background:#0f1220;border-radius:8px}
.center{text-align:center}
.qr{width:260px;height:260px;object-fit:contain;background:#0f1220;border-radius:16px;border:1px solid #2a2f3d;margin:8px auto}
.badge{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:#1b2132;color:#c3c9d4;font-size:.85rem}
.toast{position:fixed;right:16px;bottom:16px;background:#1c2233;color:#e8e8f0;padding:12px 14px;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.35);display:none}
.toast.show{display:block}
hr{border:0;height:1px;background:#252a3a;margin:16px 0}
a{color:var(--accent);text-decoration:none}
