@font-face { font-family: Combat; src: url('/fonts/combat.woff2') format('woff2'); font-display: swap; }
:root { --green:#19f787; --black:#0d0e0e; --panel:#181b19; --muted:#949995; --line:#343835; color-scheme:dark; font-family:Inter,system-ui,sans-serif; }
* { box-sizing:border-box; }
body { min-width:320px; min-height:100vh; margin:0; color:white; background:radial-gradient(circle at 82% 12%,rgba(25,247,135,.12),transparent 28rem),var(--black); }
button,input { font:inherit; }
button { cursor:pointer; }
.topbar { display:flex; min-height:90px; align-items:center; justify-content:space-between; padding:16px clamp(22px,5vw,72px); border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:14px; color:white; text-decoration:none; }
.brand svg { width:54px; height:54px; }
.brand span,h1 { font-family:Combat,"Arial Black",sans-serif; }
.brand span { font-size:clamp(19px,3vw,29px); }
nav { display:flex; align-items:center; gap:18px; color:var(--muted); font-size:12px; }
main { width:min(1320px,100%); margin:auto; padding:clamp(34px,6vw,82px) clamp(22px,5vw,72px); }
.auth-layout { display:grid; min-height:600px; grid-template-columns:1.2fr minmax(350px,.8fr); gap:clamp(45px,8vw,120px); align-items:center; }
.auth-intro h1,.page-heading h1 { margin:12px 0 24px; font-size:clamp(48px,7vw,94px); line-height:.86; }
.auth-intro h1 em { color:var(--green); font-style:normal; }
.auth-intro>p:last-child { max-width:650px; color:#b3b8b4; font-size:19px; line-height:1.6; }
.eyebrow,.step { color:var(--green); font-size:10px; font-weight:900; letter-spacing:.18em; }
.card,.dialog-card { border:1px solid rgba(25,247,135,.3); border-radius:22px; background:linear-gradient(145deg,#1b1e1c,#121412); box-shadow:0 25px 80px rgba(0,0,0,.4); }
.auth-card { display:grid; gap:18px; padding:36px; }
h2 { margin:0; font-size:28px; }
.auth-card p,.dialog-card p { margin:0; color:var(--muted); line-height:1.5; }
label { display:grid; gap:8px; color:#c8ccc9; font-size:11px; font-weight:800; }
input { width:100%; padding:14px; border:1px solid #424743; border-radius:9px; outline:0; background:#0e100f; color:white; }
input[type="color"] { width:58px; height:42px; padding:3px; cursor:pointer; }
input:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(25,247,135,.1); }
.primary,.secondary,.text-button { border:0; border-radius:9px; font-weight:900; letter-spacing:.06em; }
.primary { padding:14px 18px; background:var(--green); color:#111; }
.secondary { padding:13px 17px; border:1px solid var(--green); background:transparent; color:var(--green); }
.text-button { padding:8px; background:transparent; color:#9fa4a0; }
.page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:25px; margin-bottom:40px; }
.page-heading h1 { margin-bottom:0; font-size:clamp(40px,6vw,72px); }
.radio-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(310px,1fr)); gap:18px; }
.radio-card { position:relative; overflow:hidden; padding:25px; border:1px solid var(--line); border-radius:18px; background:var(--panel); }
.radio-card::before { content:""; position:absolute; top:0; left:0; width:100%; height:3px; background:var(--green); }
.radio-card header { display:flex; justify-content:space-between; gap:15px; }
.radio-card h2 { font-family:Combat,sans-serif; font-size:25px; }
.status { height:max-content; padding:6px 8px; border-radius:20px; background:#303430; color:#b9bdb9; font-size:9px; font-weight:900; text-transform:uppercase; }
.status.active { background:rgba(25,247,135,.12); color:var(--green); }
.radio-url { display:block; margin:12px 0 24px; color:var(--green); font-size:12px; }
.radio-details { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; }
.radio-details span { display:grid; gap:4px; color:var(--muted); font-size:10px; }
.radio-details strong { color:white; font-size:12px; }
.radio-actions { display:flex; gap:8px; flex-wrap:wrap; }
.empty-state { padding:70px 30px; border:1px dashed #444; border-radius:18px; text-align:center; color:var(--muted); }
.empty-state strong { color:white; }
.admin-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin-bottom:20px; }
.metric { padding:20px; border:1px solid var(--line); border-radius:14px; background:var(--panel); }
.metric strong { display:block; color:var(--green); font-size:32px; }
.metric span { color:var(--muted); font-size:10px; text-transform:uppercase; }
.table-shell { overflow:auto; border:1px solid var(--line); border-radius:15px; }
table { width:100%; border-collapse:collapse; background:var(--panel); }
th,td { padding:15px; border-bottom:1px solid var(--line); text-align:left; white-space:nowrap; font-size:12px; }
th { color:var(--muted); font-size:9px; text-transform:uppercase; }
td button { margin-right:5px; padding:7px 9px; border:1px solid #555; border-radius:6px; background:#252825; color:white; }
td button.danger { color:#ff7373; }
dialog { max-width:none; padding:0; border:0; background:transparent; }
dialog::backdrop { background:rgba(0,0,0,.78); backdrop-filter:blur(7px); }
.dialog-card { position:relative; display:grid; width:min(500px,calc(100vw - 30px)); gap:18px; padding:32px; }
.dialog-close { position:absolute; top:13px; right:13px; border:0; background:transparent; color:#aaa; font-size:25px; }
.slug-field { display:flex; align-items:center; border:1px solid #424743; border-radius:9px; background:#0e100f; }
.slug-field input { border:0; }
.slug-field span { padding-right:12px; color:#777; white-space:nowrap; }
.pairing-card { text-align:center; }
.pairing-card>strong { padding:18px; border-radius:12px; color:var(--green); background:#0b0d0c; font:36px ui-monospace,monospace; letter-spacing:.08em; }
.manage-information { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.manage-information span { display:grid; gap:5px; padding:13px; border-radius:9px; background:#242724; color:var(--muted); font-size:9px; }
.manage-information strong { color:white; font-size:12px; }
.design-form { display:grid; gap:10px; padding:14px; border-radius:10px; background:#101210; }
.color-field { display:flex; align-items:center; gap:12px; }
.color-field output { color:var(--muted); font:12px ui-monospace,monospace; }
.danger-zone { display:grid; gap:9px; margin-top:12px; padding-top:20px; border-top:1px solid #49302f; }
.danger-zone>strong { color:#ff8582; font-size:11px; }
.danger-zone button { justify-self:start; padding:10px 12px; border:1px solid #874542; border-radius:7px; background:transparent; color:#ff8582; font-size:9px; font-weight:900; }
#toast { position:fixed; right:22px; bottom:22px; max-width:420px; padding:13px 18px; border-radius:10px; background:#262a27; opacity:0; transform:translateY(10px); pointer-events:none; transition:.2s; }
#toast.show { opacity:1; transform:none; }
#toast.error { color:#ff8582; }
[hidden] { display:none !important; }
@media(max-width:760px){ .auth-layout{grid-template-columns:1fr}.auth-intro{text-align:center}.page-heading{align-items:stretch;flex-direction:column}.admin-summary{grid-template-columns:1fr}.topbar nav span{display:none} }
