/* ============================================================
   WP Alerts — Global Stylesheet
   Dark security theme, CSS custom properties, no framework
   ============================================================ */

:root {
  --bg:         #080d1a;
  --bg-2:       #0f1729;
  --bg-3:       #1a2540;
  --card:       #111827;
  --card-border:#1e2f4a;
  --primary:    #00d4aa;
  --primary-dk: #00a882;
  --accent:     #ff6b35;
  --accent-dk:  #d94f20;
  --text:       #e2e8f0;
  --text-muted: #8899b0;
  --text-dim:   #4a5568;
  --critical:   #ff2d55;
  --high:       #ff6b35;
  --medium:     #ffd60a;
  --low:        #30d158;
  --info:       #64d2ff;
  --success:    #30d158;
  --warning:    #ffd60a;
  --error:      #ff2d55;
  --radius:     10px;
  --radius-sm:  6px;
  --shadow:     0 4px 24px rgba(0,0,0,.5);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.3);
  --font:       'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --transition: 0.2s ease;
  --header-h:   64px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dk); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

code, pre {
  font-family: var(--font-mono);
  font-size: .875rem;
}

code {
  background: var(--bg-3);
  color: var(--primary);
  padding: .15em .4em;
  border-radius: var(--radius-sm);
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1400px; }

/* ── Header / Nav ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(8, 13, 26, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}

.site-logo svg { color: var(--primary); }
.site-logo span { color: var(--primary); }

.site-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
}

.site-nav a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.site-nav a:hover, .site-nav a.active {
  color: var(--text);
  background: var(--bg-3);
}

.site-nav-right {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-left: auto;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: .5rem;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
}

.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); color: #000; }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-dk); border-color: var(--accent-dk); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #000; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--card-border);
}
.btn-ghost:hover { background: var(--bg-3); color: var(--text); }

.btn-danger {
  background: transparent;
  color: var(--error);
  border-color: var(--error);
}
.btn-danger:hover { background: var(--error); color: #fff; }

.btn-sm { padding: .4rem 1rem; font-size: .8rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--card-border);
}

.card-title { font-size: 1rem; font-weight: 700; color: var(--text); }

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .7rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,212,170,.15);
}

.form-control::placeholder { color: var(--text-dim); }

.form-control-lg { padding: .9rem 1.2rem; font-size: 1rem; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: .15rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check label { font-size: .875rem; color: var(--text-muted); cursor: pointer; }

.form-hint { font-size: .8rem; color: var(--text-dim); margin-top: .35rem; }

/* ── Alerts / Flash messages ────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  border-left: 4px solid;
  margin-bottom: 1.25rem;
}
.alert-success { background: rgba(48,209,88,.1);  border-color: var(--success); color: var(--success); }
.alert-error   { background: rgba(255,45,85,.1);  border-color: var(--error);   color: var(--error);   }
.alert-warning { background: rgba(255,214,10,.1); border-color: var(--warning); color: var(--warning); }
.alert-info    { background: rgba(100,210,255,.1);border-color: var(--info);    color: var(--info);    }

/* ── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25em .7em;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.badge-critical { background: rgba(255,45,85,.15);  color: var(--critical); border: 1px solid rgba(255,45,85,.3); }
.badge-high     { background: rgba(255,107,53,.15); color: var(--high);     border: 1px solid rgba(255,107,53,.3); }
.badge-medium   { background: rgba(255,214,10,.15); color: var(--medium);   border: 1px solid rgba(255,214,10,.3); }
.badge-low      { background: rgba(48,209,88,.15);  color: var(--low);      border: 1px solid rgba(48,209,88,.3); }
.badge-unknown  { background: var(--bg-3);          color: var(--text-muted); border: 1px solid var(--card-border); }
.badge-info     { background: rgba(100,210,255,.1); color: var(--info);     border: 1px solid rgba(100,210,255,.3); }
.badge-success  { background: rgba(48,209,88,.15);  color: var(--success);  border: 1px solid rgba(48,209,88,.3); }

/* ── Tables ─────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

thead { background: var(--bg-3); }

th {
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  white-space: nowrap;
}

td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--card-border);
  vertical-align: middle;
}

tr:last-child td { border-bottom: none; }

tbody tr:hover { background: rgba(255,255,255,.02); }

/* ── Stat cards / Grid ──────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
}

.stat-card.critical::before { background: var(--critical); }
.stat-card.high::before     { background: var(--high); }
.stat-card.medium::before   { background: var(--medium); }
.stat-card.low::before      { background: var(--low); }
.stat-card.primary::before  { background: var(--primary); }

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,170,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 50%, rgba(255,107,53,.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}

.hero-title .accent { color: var(--primary); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ── Subscribe form (hero) ──────────────────────────────── */
.subscribe-form {
  display: flex;
  gap: .75rem;
  max-width: 520px;
  flex-wrap: wrap;
}

.subscribe-form .form-control {
  flex: 1;
  min-width: 240px;
  font-size: .95rem;
}

/* ── Vuln feed ──────────────────────────────────────────── */
.vuln-list { display: flex; flex-direction: column; gap: .75rem; }

.vuln-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color var(--transition), transform var(--transition);
}

.vuln-item:hover {
  border-color: rgba(0,212,170,.3);
  transform: translateX(2px);
}

.vuln-item.is-critical { border-left: 3px solid var(--critical); }
.vuln-item.is-high     { border-left: 3px solid var(--high); }
.vuln-item.is-medium   { border-left: 3px solid var(--medium); }
.vuln-item.is-low      { border-left: 3px solid var(--low); }

.vuln-meta {
  flex: 1;
  min-width: 0;
}

.vuln-title {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vuln-detail {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.vuln-score {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  min-width: 36px;
  text-align: center;
}

/* ── Scanner page ───────────────────────────────────────── */
.scanner-form {
  display: flex;
  gap: .75rem;
  align-items: stretch;
}

.scanner-form .form-control { flex: 1; }

.scan-result-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

.scan-result-header {
  padding: 1rem 1.25rem;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--card-border);
}

.scan-result-body { padding: 1.25rem; }

.component-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--card-border);
}

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

.component-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.component-meta { flex: 1; min-width: 0; }
.component-name { font-size: .9rem; font-weight: 600; }
.component-version { font-size: .78rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ── Dashboard ──────────────────────────────────────────── */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: calc(100vh - var(--header-h));
}

.dash-sidebar {
  background: var(--card);
  border-right: 1px solid var(--card-border);
  padding: 1.5rem 1rem;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.dash-main {
  padding: 2rem;
  max-width: 100%;
  overflow-x: hidden;
}

.dash-nav { display: flex; flex-direction: column; gap: .25rem; }

.dash-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .85rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 500;
  transition: all var(--transition);
}

.dash-nav a:hover, .dash-nav a.active {
  background: var(--bg-3);
  color: var(--text);
}

.dash-nav a.active { color: var(--primary); }

.dash-nav-section {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
  font-weight: 700;
  padding: .5rem .85rem;
  margin-top: .75rem;
}

/* ── Site cards (dashboard) ─────────────────────────────── */
.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.site-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition);
}

.site-card:hover { border-color: rgba(0,212,170,.3); }

.site-card-url {
  font-size: .8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: .5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Pagination ─────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
}

.page-link {
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: .875rem;
  transition: all var(--transition);
}

.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.active { background: var(--primary); border-color: var(--primary); color: #000; font-weight: 700; }

/* ── Section layouts ────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: .5rem;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--card-border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-text {
  color: var(--text-muted);
  font-size: .875rem;
  margin-top: .75rem;
  max-width: 320px;
}

.footer-heading {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: .75rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-links a { color: var(--text-muted); font-size: .875rem; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
  font-size: .8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: .75rem;
}

/* ── Cookie banner ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-2);
  border-top: 1px solid var(--card-border);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.4);
}

.cookie-banner.hidden { display: none; }

.cookie-text { flex: 1; font-size: .875rem; color: var(--text-muted); }
.cookie-text a { color: var(--primary); }

.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }

/* ── Glow effects ───────────────────────────────────────── */
.glow-primary { text-shadow: 0 0 30px rgba(0,212,170,.4); }
.glow-accent  { text-shadow: 0 0 30px rgba(255,107,53,.4); }

/* ── Pulse animation for critical alerts ────────────────── */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255,45,85,.4); }
  70%  { box-shadow: 0 0 0 10px rgba(255,45,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,45,85,0); }
}
.pulse-critical { animation: pulse-ring 2s infinite; }

/* ── Spinner ─────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--card-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* ── Terminal / code block ──────────────────────────────── */
.terminal {
  background: #020812;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--primary);
  overflow-x: auto;
}

.terminal .line::before {
  content: '$ ';
  color: var(--text-dim);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; position: relative; height: auto; }
  .dash-sidebar.open { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--bg-2); padding: 1rem; border-bottom: 1px solid var(--card-border); z-index: 99; }
  .hamburger { display: flex; }
  .hero { padding: 3rem 0 2.5rem; }
  .subscribe-form { flex-direction: column; }
  .scanner-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-banner { flex-direction: column; padding: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Feature blocks ─────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(0,212,170,.3);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(0,212,170,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.feature-text  { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Monitoring toggle ──────────────────────────────────── */
.toggle {
  position: relative;
  width: 44px; height: 24px;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-3);
  border-radius: 24px;
  cursor: pointer;
  transition: background var(--transition);
  border: 1px solid var(--card-border);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 2px; top: 2px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
}

.toggle input:checked + .toggle-slider { background: rgba(0,212,170,.2); border-color: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); background: var(--primary); }

/* ── Progress bar ───────────────────────────────────────── */
.progress-bar {
  height: 6px;
  background: var(--bg-3);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .6s ease;
}

.progress-fill.critical { background: var(--critical); }
.progress-fill.primary  { background: var(--primary); }

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--text-dim); }

/* ── Empty state ────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}

.empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .5; }
.empty-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.empty-text  { font-size: .875rem; }

/* ── Scanning animation ─────────────────────────────────── */
@keyframes scan-line {
  0%   { top: 0; opacity: .8; }
  100% { top: 100%; opacity: 0; }
}

.scan-animation {
  position: relative;
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}

.scan-animation::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
