*{box-sizing:border-box}
body{margin:0;font-family:system-ui,Segoe UI,Roboto,sans-serif;background:#0f172a;color:#e2e8f0}
a{color:#7dd3fc}
.center{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:16px}
.card{background:#1e293b;border-radius:14px;padding:32px;width:100%;max-width:380px;box-shadow:0 10px 40px #0008}
.card h1{margin:0 0 20px;font-size:1.5rem}
input[type=text],input[type=password]{width:100%;padding:12px 14px;border-radius:8px;border:1px solid #475569;background:#0f172a;color:#fff;font-size:1rem;margin-bottom:12px}
button,.btn{padding:10px 16px;border:0;border-radius:8px;background:#0ea5e9;color:#fff;font-size:1rem;cursor:pointer}
button:hover{background:#0284c7}
.err{color:#fca5a5;margin-bottom:12px}
.linkbtn{background:none;color:#7dd3fc;padding:4px 0;font-size:.9rem;text-decoration:underline}
.linkbtn:hover{background:none;color:#bae6fd}
/* admin */
.wrap{max-width:1200px;margin:0 auto;padding:20px}
table{border-collapse:collapse;width:100%;font-size:.9rem;margin-bottom:28px}
th,td{text-align:left;padding:7px 10px;border-bottom:1px solid #334155}
th{color:#94a3b8;font-weight:600}
tr:hover td{background:#1e293b}
h2{margin-top:32px}
.pill{padding:2px 8px;border-radius:99px;background:#334155;font-size:.8rem}
.top{display:flex;justify-content:space-between;align-items:center}
