/* ────────────────────────────────────────────────────────────
   SynDex Official — Control Panel Stylesheet
   Clean, Pro Dark Theme (No Particles, Minimal & Modern)
───────────────────────────────────────────────────────────── */

:root {
  --bg:           #08090d;
  --bg-sidebar:   #0d0f17;
  --bg-topbar:    rgba(13, 15, 23, 0.88);
  --bg-card:      rgba(15, 18, 28, 0.75);
  --bg-card-hover:rgba(20, 24, 38, 0.9);
  --bg-input:     #121522;
  --border:       rgba(255, 255, 255, 0.07);
  --border-subtle:rgba(255, 255, 255, 0.04);
  --border-hover: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(229, 19, 54, 0.5);
  --text:         #ffffff;
  --text-dim:     #a2a8bc;
  --muted:        #626982;
  --accent:       #e51336;
  --accent-glow:  rgba(229, 19, 54, 0.3);
  --green:        #22c55e;
  --gold:         #f59e0b;
  --blue:         #3b82f6;
  --purple:       #a855f7;
  --red:          #ef4444;
  --radius:       12px;
  --radius-sm:    8px;
  --font:         'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono:         'Space Mono', monospace;
  --shadow:       0 12px 36px rgba(0, 0, 0, 0.6);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background:
    radial-gradient(1000px 600px at 15% 0%, rgba(229, 19, 54, 0.06), transparent 70%),
    radial-gradient(900px 500px at 85% 10%, rgba(59, 130, 246, 0.04), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── SIDEBAR ──────────────────────────────────────────────── */
.sidebar {
  width: 224px;
  min-width: 224px;
  height: 100vh;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
  flex-shrink: 0;
}

.logo {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 11px;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent), #9e0b22);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px var(--accent-glow);
  flex-shrink: 0;
}

.logo h1 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
}

.logo p {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1px;
}

.sidebar-nav-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}
.sidebar-nav-wrap::-webkit-scrollbar { width: 4px; }
.sidebar-nav-wrap::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.nav-section {
  padding: 6px 0;
}

.nav-label {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 18px 4px;
  font-weight: 700;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin: 2px 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: var(--radius-sm);
  transition: all .18s ease;
  user-select: none;
}

.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(2px);
}

.nav-item.active {
  color: #ffffff;
  background: rgba(229, 19, 54, 0.12);
  border: 1px solid rgba(229, 19, 54, 0.22);
  font-weight: 600;
}

.nav-item.active svg {
  color: var(--accent);
}

.nav-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke-width: 2;
  color: var(--muted);
  transition: color .18s;
}

.nav-item:hover svg {
  color: #ffffff;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: rgba(10, 12, 18, 0.5);
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
}
.status-row span:first-child {
  color: var(--muted);
  font-weight: 500;
}

.badge {
  font-size: 10px;
  padding: 2.5px 8px;
  border-radius: 100px;
  font-weight: 600;
  font-family: var(--mono);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.2px;
}
.badge-green {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #4ade80;
}
.badge-red {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #f87171;
}
.badge-gold {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fbbf24;
}
.badge-blue {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: #60a5fa;
}
.badge-purple {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: #c084fc;
}
.badge-muted {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 10px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  background: rgba(229, 19, 54, 0.15);
  color: var(--accent);
  border: 1px solid rgba(229, 19, 54, 0.3);
}

.user-chip-info {
  flex: 1;
  min-width: 0;
}
.user-chip-info strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}
.user-chip-info small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}

.logout-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logout-btn:hover {
  color: var(--accent);
  background: rgba(229, 19, 54, 0.1);
}

/* ── MAIN CONTENT ─────────────────────────────────────────── */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
}

.topbar {
  height: 58px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: var(--bg-topbar);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-shrink: 0;
  z-index: 5;
}

.topbar-title h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
}
.topbar-title p {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px;
}

.topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.content {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
}
.content::-webkit-scrollbar { width: 6px; }
.content::-webkit-scrollbar-track { background: transparent; }
.content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: var(--font);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #a10b22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #ff2a4b, var(--accent));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 19, 54, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-green {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.btn-green:hover {
  background: rgba(34, 197, 94, 0.22);
}

.btn-red {
  background: rgba(239, 68, 68, 0.12);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.btn-red:hover {
  background: rgba(239, 68, 68, 0.22);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
}

.btn:disabled {
  opacity: .4;
  pointer-events: none;
}

/* ── CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.015);
}

.card-title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.card-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.card-body {
  padding: 22px;
}

/* ── STATS GRID ───────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  transition: all .2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.stat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-c, var(--accent));
  opacity: 0.8;
}

.stat-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.stat-value {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  font-family: var(--mono);
  color: #ffffff;
}

.stat-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}

/* ── DOTS ─────────────────────────────────────────────────── */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 2s ease infinite;
}
.dot-red {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}
.dot-gold {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.dot-blue {
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* ── UID MANAGEMENT LIST ──────────────────────────────────── */
.uid-search {
  width: 100%;
  padding: 11px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  outline: none;
  transition: all .2s;
  margin-bottom: 12px;
}

.uid-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229, 19, 54, 0.15);
  background: #141824;
}

.uid-search::placeholder {
  color: var(--muted);
}

.uid-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .15s ease;
}

.uid-row:last-child {
  border-bottom: none;
}

.uid-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.uid-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.uid-info {
  flex: 1;
  min-width: 0;
}

.uid-name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.uid-meta {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
  margin-top: 3px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.uid-meta span:first-child {
  font-size: 11px;
  background: #121522;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--border);
  color: #e0e4f0;
}

.uid-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
  white-space: nowrap;
}

.uid-expiry {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.expiry-warn {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.expiry-ok {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.remove-btn {
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--muted);
  padding: 5px 8px;
  border-radius: 6px;
  transition: all .2s;
  font-size: 15px;
  line-height: 1;
}

.remove-btn:hover {
  color: var(--red);
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
}

/* ── MODALS ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .2s ease;
}

.modal-overlay.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: #0f121b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 480px;
  max-width: calc(100vw - 36px);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 19, 54, 0.15);
  animation: scaleIn .22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes scaleIn {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.modal-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  border-radius: 6px;
  transition: all .2s;
}

.modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.modal-body {
  padding: 22px 24px;
}

/* ── FORM ELEMENTS ────────────────────────────────────────── */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
  display: block;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 13.5px;
  outline: none;
  transition: all .2s;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229, 19, 54, 0.15);
  background: #151926;
}

.form-input::placeholder {
  color: var(--muted);
}

.form-input[type=number] {
  font-family: var(--mono);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.toggle {
  width: 42px;
  height: 23px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  border: none;
  transition: background .25s ease;
  flex-shrink: 0;
}

.toggle.on {
  background: var(--green);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.toggle::after {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform .25s ease;
}

.toggle.on::after {
  transform: translateX(19px);
}

.toggle-label {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

/* ── BOT SETTINGS & LOG ───────────────────────────────────── */
.bot-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.bot-status-text {
  font-size: 13.5px;
  font-weight: 600;
}

.bot-log {
  background: #090a0f;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  height: 220px;
  overflow-y: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.6;
}
.bot-log::-webkit-scrollbar { width: 4px; }
.bot-log::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.log-line { margin-bottom: 3px; }
.log-line.ok { color: var(--green); }
.log-line.err { color: var(--red); }
.log-line.warn { color: var(--gold); }

/* ── TABLES ───────────────────────────────────────────────── */
.users-table {
  width: 100%;
  border-collapse: collapse;
}
.users-table th {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.users-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.users-table tr:last-child td { border-bottom: none; }
.users-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.role-select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
}
.role-select:focus { border-color: var(--accent); }

/* ── TABS ─────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: all .2s;
  margin-bottom: -1px;
}
.tab:hover { color: var(--text); }
.tab.active {
  color: #ffffff;
  border-bottom-color: var(--accent);
}

/* ── TOAST NOTIFICATIONS ──────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast-item {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn .25s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
  max-width: 340px;
}
@keyframes toastIn {
  from { transform: translateX(24px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.toast-success { background: #0c2017; border: 1px solid rgba(34, 197, 94, 0.4); color: #4ade80; }
.toast-error   { background: #220e10; border: 1px solid rgba(239, 68, 68, 0.4); color: #f87171; }
.toast-info    { background: #0c1628; border: 1px solid rgba(59, 130, 246, 0.4); color: #60a5fa; }

/* ── EMPTY STATE ──────────────────────────────────────────── */
.empty {
  text-align: center;
  padding: 56px 20px;
  color: var(--muted);
}
.empty svg {
  opacity: .35;
  margin-bottom: 14px;
}
.empty p {
  font-size: 13px;
  line-height: 1.6;
}

/* ── MOTION ───────────────────────────────────────────────── */
[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  body {
    flex-direction: column;
    overflow-y: auto;
  }
  .sidebar {
    width: 100%;
    min-width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .topbar {
    padding: 0 16px;
  }
  .content {
    padding: 16px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}