/* Admin console additions on top of add-device.css */
.topnav { display:flex; align-items:center; gap:14px; }
.btn.small { min-height:36px; padding:0 14px; font-size:.9rem; }
.btn.danger { border-color:rgba(248,113,113,.5); color:#fecaca; }
.stats { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:14px; margin-bottom:20px; }
.stat { border:1px solid var(--line); background:var(--glass); border-radius:18px; padding:18px 20px; }
.stat small { display:block; color:var(--muted); }
.stat b { font-size:1.8rem; letter-spacing:-.03em; }
.tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.tabs button { min-height:44px; padding:0 18px; border-radius:999px; border:1px solid var(--line); background:transparent; color:var(--muted); font:inherit; font-weight:700; cursor:pointer; }
.tabs button[aria-selected=true] { color:#04111f; background:linear-gradient(135deg, #67e8f9, #a7f3d0); border-color:transparent; }
.tabs button:focus-visible, select:focus-visible, textarea:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.panel-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; }
.row.tight { margin:0; }
.table-wrap { overflow-x:auto; margin-top:12px; }
table { width:100%; border-collapse:collapse; }
th, td { text-align:left; padding:12px 10px; border-bottom:1px solid var(--line); vertical-align:middle; }
th { color:var(--muted); font-weight:600; font-size:.85rem; }
td.actions { white-space:nowrap; text-align:right; }
td.actions .btn { margin-left:6px; }
.block { display:block; color:var(--muted); font-weight:400; }
.small { font-size:.9rem; }
.pill { display:inline-block; padding:2px 10px; border-radius:999px; font-size:.8rem; font-weight:700; border:1px solid var(--line); }
.pill.ok { color:#04111f; background:var(--green); border-color:transparent; }
.pill.warn { color:#1f1400; background:#fcd34d; border-color:transparent; }
.pill.bad { color:#fff; background:#b91c1c; border-color:transparent; }
.pill.muted { color:var(--muted); }
.list { list-style:none; padding:0; margin:12px 0 0; }
.list li { padding:12px 0; border-bottom:1px solid var(--line); }
select, textarea { width:100%; margin:6px 0 12px; padding:12px 14px; border-radius:12px; border:1px solid var(--line); background:#070d1a; color:var(--ink); font:inherit; }
textarea { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size:.9rem; }
code { color:var(--green); }
@media (max-width: 700px) { th:nth-child(2), td:nth-child(2), th:nth-child(5), td:nth-child(5) { display:none; } }
