/* This file is part of the EonaCat project(s) which is released under the Apache License. */
/* See the LICENSE file or go to https://EonaCat.com/License for full license details. */

:root {
    --bg-base: #0a0b0e;
    --bg-surface: #0f1117;
    --bg-elevated: #161922;
    --bg-card: #1a1d28;
    --bg-hover: #1f2335;
    --border: #252836;
    --border-light: #2e3347;
    --text-primary: #e8eaf0;
    --text-secondary: #8b8fa8;
    --text-muted: #4e5268;
    --accent: #00d4aa;
    --accent-dim: rgba(0,212,170,0.12);
    --accent-glow: rgba(0,212,170,0.3);
    --up: #00d4aa;
    --down: #ff4b6e;
    --warn: #ffb547;
    --unknown: #5c6080;
    --info: #5b9cf6;
    --font-mono: 'Space Mono', monospace;
    --font-body: 'DM Sans', sans-serif;
    --radius: 6px;
    --shadow: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
}

.page-footer {
    text-align: center;
    font-size: 0.5rem;
    color: var(--text-muted);
    margin-top: 2rem;
    margin-bottom: 1px;
}

    .page-footer a {
        color: inherit;
        text-decoration: none;
    }

        .page-footer a:hover,
        .page-footer a:active,
        .page-footer a:visited {
            color: inherit;
            text-decoration: none;
        }

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

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}

/* Wrapper  */
.app-shell { display: flex; min-height: 100vh; }

/*  Sidebar  */
.sidebar {
  width: 220px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: width 0.25s ease;
  overflow: hidden;
}
.sidebar.collapsed { width: 56px; }

/* hide text/labels when collapsed */
.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-label,
.sidebar.collapsed .nav-text,
.sidebar.collapsed .sidebar-footer,
.sidebar.collapsed .status-dot { display: none; }

/* centre icons when collapsed */
.sidebar.collapsed .nav-item {
  justify-content: center;
  padding: 10px 0;
  gap: 0;
}
.sidebar.collapsed .sidebar-header {
  justify-content: center;
  padding: 18px 0 14px;
}
.sidebar.collapsed .sidebar-toggle { margin: 0; }

/* tooltip on collapsed nav items */
.sidebar.collapsed .nav-item { position: relative; }
.sidebar.collapsed .nav-item::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-primary);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 200;
}
.sidebar.collapsed .nav-item:hover::after { opacity: 1; }

.sidebar-header {
  padding: 18px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { color: var(--accent); font-size: 18px; }
.logo-text { font-family: var(--font-mono); font-size: 13px; letter-spacing: -0.5px; color: var(--text-primary); }
.logo-text strong { color: var(--accent); }

.sidebar-toggle {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 14px; padding: 2px 6px;
  border-radius: 3px; transition: color 0.2s;
}
.sidebar-toggle:hover { color: var(--text-primary); }

.nav-section {
  padding: 12px 0 4px;
  border-bottom: 1px solid var(--border);
}
.nav-section:last-of-type { border-bottom: none; margin-top: auto; }

.nav-label {
  display: block;
  padding: 4px 16px 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
  position: relative;
  border-left: 2px solid transparent;
}
.nav-item:hover { background: var(--bg-elevated); color: var(--text-primary); border-left-color: var(--border-light); }
.nav-item.active { background: var(--accent-dim); color: var(--accent); border-left-color: var(--accent); }
.nav-item--danger:hover { color: var(--down); border-left-color: var(--down); }
.nav-icon { font-size: 14px; width: 16px; text-align: center; flex-shrink: 0; }

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--unknown);
  margin-left: auto;
}

.sidebar-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.clock { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }

/* Main */
.main-content {
  margin-left: 220px;
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.25s ease;
  min-height: 100vh;
}
.sidebar.collapsed ~ .main-content,
body.sidebar-collapsed .main-content { margin-left: 56px; }

.topbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.topbar-right { display: flex; align-items: center; gap: 16px; }

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 1.5px;
}

.pulse-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.admin-badge {
  background: rgba(91,156,246,0.15);
  color: var(--info);
  border: 1px solid rgba(91,156,246,0.3);
  padding: 2px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
}

.page-content { padding: 24px; flex: 1; }

/*  Cards  */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.card-body { padding: 18px; }

/*  Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  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: border-color 0.2s;
}
.stat-card:hover { border-color: var(--border-light); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.stat-card.up::before { background: var(--up); }
.stat-card.down::before { background: var(--down); }
.stat-card.warn::before { background: var(--warn); }
.stat-card.info::before { background: var(--info); }
.stat-card.neutral::before { background: var(--border-light); }

.stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
}
.stat-card.up .stat-value { color: var(--up); }
.stat-card.down .stat-value { color: var(--down); }
.stat-card.warn .stat-value { color: var(--warn); }
.stat-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Badges  */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-up { background: rgba(0,212,170,0.12); color: var(--up); border: 1px solid rgba(0,212,170,0.25); }
.badge-down { background: rgba(255,75,110,0.12); color: var(--down); border: 1px solid rgba(255,75,110,0.25); }
.badge-warn { background: rgba(255,181,71,0.12); color: var(--warn); border: 1px solid rgba(255,181,71,0.25); }
.badge-unknown { background: rgba(92,96,128,0.12); color: var(--unknown); border: 1px solid rgba(92,96,128,0.25); }
.badge-info { background: rgba(91,156,246,0.12); color: var(--info); border: 1px solid rgba(91,156,246,0.25); }

.badge::before { content: '●'; font-size: 6px; }

/*  Monitoring table  */
.monitor-grid {
  display: grid;
  gap: 8px;
}
.monitor-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  gap: 12px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color 0.15s;
}
.monitor-row:hover { border-color: var(--border-light); }
.monitor-name { font-weight: 500; color: var(--text-primary); font-size: 13px; }
.monitor-host { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.monitor-type { font-family: var(--font-mono); font-size: 10px; color: var(--text-secondary); }
.monitor-latency { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); width: 70px; text-align: right; }

/*  Table  */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-hover); }

/*  Form crap  */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }

/*  Buttons  */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }
.btn-primary:hover { background: #00f0c0; }
.btn-outline { background: transparent; color: var(--text-secondary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--border-light); color: var(--text-primary); background: var(--bg-elevated); }
.btn-danger { background: rgba(255,75,110,0.1); color: var(--down); border-color: rgba(255,75,110,0.3); }
.btn-danger:hover { background: rgba(255,75,110,0.2); }
.btn-sm { padding: 4px 10px; font-size: 10px; }

/*  Log viewer  */
.log-stream {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  overflow-y: auto;
  max-height: 600px;
}
.log-entry {
  display: grid;
  grid-template-columns: 160px 60px 130px 1fr;
  gap: 8px;
  padding: 5px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  align-items: start;
  transition: background 0.1s;
}
.log-entry:hover { background: var(--bg-elevated); }
.log-ts { color: var(--text-muted); font-size: 11px; }
.log-level { font-weight: 700; font-size: 10px; letter-spacing: 0.5px; }
.log-level.error, .log-level.critical { color: var(--down); }
.log-level.warn { color: var(--warn); }
.log-level.info { color: var(--info); }
.log-level.debug { color: var(--text-muted); }
.log-source { color: var(--text-secondary); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-message { color: var(--text-primary); word-break: break-word; }

/*  certificate table  */
.cert-expiry-ok { color: var(--up); }
.cert-expiry-warn { color: var(--warn); }
.cert-expiry-critical { color: var(--down); }
.cert-expiry-expired { color: var(--down); font-weight: 700; }

/*  section header  */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
}

/* Uptime */
.uptime-bar {
  display: flex;
  gap: 2px;
  height: 24px;
  align-items: center;
}
.uptime-block {
  flex: 1;
  height: 18px;
  border-radius: 2px;
  min-width: 4px;
}
.uptime-block.up { background: var(--up); opacity: 0.7; }
.uptime-block.down { background: var(--down); }
.uptime-block.warn { background: var(--warn); opacity: 0.7; }
.uptime-block.unknown { background: var(--bg-elevated); }

/*  Layouts  */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/*  alerts  */
.alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-success { background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.25); color: var(--up); }
.alert-danger  { background: rgba(255,75,110,0.1);  border: 1px solid rgba(255,75,110,0.25);  color: var(--down); }
.alert-warn, .alert-warning { background: rgba(255,181,71,0.1); border: 1px solid rgba(255,181,71,0.25); color: var(--warn); }
.alert-info    { background: rgba(91,156,246,0.1);  border: 1px solid rgba(91,156,246,0.25);  color: var(--info); }

/*  Filtering  */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-bar .form-control { max-width: 200px; }

/*  Login  */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
}
.login-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
  width: 380px;
  box-shadow: var(--shadow-lg);
}
.login-title {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 8px;
}
.login-sub { color: var(--text-muted); font-size: 13px; margin-bottom: 28px; }

/*  Toggle crap  */
.toggle { position: relative; display: inline-block; width: 40px; height: 22px; }
.toggle input { display: none; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 2px; top: 2px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all 0.2s;
}
.toggle input:checked + .toggle-slider { background: var(--accent-dim); border-color: var(--accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); background: var(--accent); }

/*  Empty state  */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.3; }
.empty-state-text { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.5px; }

/*  Mobile crap  */
@media (max-width: 768px) {
  .sidebar { width: 56px; }
  .sidebar .logo-text, .sidebar .nav-label,
  .sidebar .nav-text,
  .sidebar .sidebar-footer { display: none; }
  .sidebar .nav-item { justify-content: center; padding: 10px 0; gap: 0; }
  .sidebar .sidebar-header { justify-content: center; padding: 18px 0 14px; }
  .main-content { margin-left: 56px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .three-col { grid-template-columns: 1fr; }
  .monitor-row { grid-template-columns: 1fr auto; }
  .monitor-latency, .monitor-type { display: none; }
  .log-entry { grid-template-columns: 100px 50px 1fr; }
  .log-source { display: none; }
}

/*  Scrollbar  */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/*  Other crap  */
.mono { font-family: var(--font-mono); }
.text-muted { color: var(--text-muted); }
.text-up { color: var(--up); }
.text-down { color: var(--down); }
.text-warn { color: var(--warn); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

/*  MODAL  */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 500px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--text-primary); text-transform: uppercase; }
.modal-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 18px; }
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 20px; }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 8px; justify-content: flex-end; }

/* Latency sparkline canvas inside monitor rows */
.sparkline-wrap { display: flex; align-items: center; gap: 6px; }
.sparkline-canvas { display: block; }

/* Response-time colour helpers */
.rt-good  { color: var(--up); }
.rt-ok    { color: var(--warn); }
.rt-slow  { color: var(--down); }

/* Log stream toolbar */
.log-toolbar {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
}
.log-stream { border-radius: 0 0 var(--radius) var(--radius); }

/* Highlight search hits */
mark {
  background: rgba(255,181,71,0.25);
  color: var(--warn);
  border-radius: 2px;
  padding: 0 2px;
}

/* Toast improvements */
.toast-container {
  position: fixed; bottom: 20px; right: 20px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 9999;
}
.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  min-width: 240px;
  animation: slideIn 0.25s ease;
  display: flex; align-items: center; gap: 8px;
}
.toast.toast-success { border-color: rgba(0,212,170,0.4); color: var(--up); }
.toast.toast-error   { border-color: rgba(255,75,110,0.4);  color: var(--down); }
.toast.toast-warn    { border-color: rgba(255,181,71,0.4);  color: var(--warn); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* Chart wrapper */
.chart-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 16px;
}
.chart-wrap canvas { max-height: 220px; }

/* Keyboard shortcut hints */
.kbd {
  display: inline-block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}

/* Refresh countdown ring */
.refresh-ring {
  width: 18px; height: 18px;
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
}
.refresh-ring svg { position: absolute; top: 0; left: 0; transform: rotate(-90deg); }
.refresh-ring-track { fill: none; stroke: var(--border); stroke-width: 2; }
.refresh-ring-fill  { fill: none; stroke: var(--accent); stroke-width: 2;
                       stroke-dasharray: 50.27; stroke-linecap: round;
                       transition: stroke-dashoffset 1s linear; }
.refresh-ring-label { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); }

/* Incident timeline */
.incident-timeline { border-left: 2px solid var(--border); padding-left: 16px; }
.incident-timeline-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: -20px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* Mini tag chips */
.tag-chip {
  display: inline-block;
  padding: 1px 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Live log badge */
.live-count {
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.2);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 10px;
}
