/* ========================================
   NG LISA® - Certificação em Governança de Riscos
   CSS Principal - Identidade Visual
   ======================================== */

:root {
  --primary: #0a2540;
  --primary-light: #1a3a5c;
  --accent: #00b4d8;
  --accent-dark: #0096b7;
  --gold: #f4a61e;
  --gold-dark: #d4890a;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --bg: #f0f4f8;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 8px 40px rgba(10, 37, 64, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --font: 'Inter', 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ── HEADER / NAV ─────────────────────────── */
.app-header {
  background: var(--primary);
  color: #fff;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}

.header-logo {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.header-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.header-subtitle {
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-nav {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-nav:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

.btn-nav.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  font-weight: 700;
}

/* ── HERO / INTRO ─────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #0e4272 100%);
  color: #fff;
  padding: 64px 2rem 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: var(--accent);
  opacity: 0.07;
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: var(--gold);
  opacity: 0.05;
  border-radius: 50%;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,180,216,0.18);
  border: 1px solid rgba(0,180,216,0.5);
  color: var(--accent);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero h1 span { color: var(--gold); }

.hero p {
  font-size: 1.1rem;
  opacity: 0.82;
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── MAIN CONTAINER ────────────────────────── */
.main-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.wide-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ── CARDS ─────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 22px 28px;
}

.card-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header p {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 4px;
}

.card-body {
  padding: 32px 28px;
}

/* ── TABS ──────────────────────────────────── */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
}

.tab-btn {
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.tab-btn:hover { color: var(--primary); }

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── FORMS ─────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group label span { color: var(--danger); }

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
}

.form-control.error {
  border-color: var(--danger);
}

.form-error {
  font-size: 0.78rem;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}

.form-error.show { display: block; }

/* ── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,180,216,0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,180,216,0.4);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(244,166,30,0.3);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(244,166,30,0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-success {
  background: var(--success);
  color: #fff;
}

.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-full { width: 100%; }

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ── ALERTS ────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  display: none;
}

.alert.show { display: flex; }
.alert-danger { background: #fef2f2; border-left: 4px solid var(--danger); color: #b91c1c; }
.alert-success { background: #f0fdf4; border-left: 4px solid var(--success); color: #166534; }
.alert-warning { background: #fffbeb; border-left: 4px solid var(--warning); color: #92400e; }
.alert-info { background: #eff6ff; border-left: 4px solid #3b82f6; color: #1e40af; }

/* ── QUIZ SPECIFIC ─────────────────────────── */
.quiz-progress-bar {
  background: var(--border);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 28px;
}

.quiz-progress-fill {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.quiz-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.question-number {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 10px;
}

.question-text {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.55;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.option-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s;
  position: relative;
}

.option-item:hover {
  border-color: var(--accent);
  background: rgba(0,180,216,0.04);
}

.option-item.selected {
  border-color: var(--accent);
  background: rgba(0,180,216,0.08);
}

.option-item.selected .option-letter {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.option-letter {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: all 0.18s;
}

.option-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
  padding-top: 4px;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.quiz-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg);
  padding: 7px 14px;
  border-radius: 8px;
}

.quiz-timer.warning { color: var(--warning); }
.quiz-timer.danger { color: var(--danger); }

/* Grid de navegação de questões */
.question-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}

.q-dot {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.q-dot:hover { border-color: var(--accent); color: var(--accent); }
.q-dot.answered { background: var(--accent); border-color: var(--accent); color: #fff; }
.q-dot.current { border-color: var(--primary); color: var(--primary); font-weight: 800; }

/* ── RESULTADO ─────────────────────────────── */
.result-score-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
}

.result-score-circle.aprovado {
  background: radial-gradient(circle, #f0fdf4, #dcfce7);
  border: 6px solid var(--success);
  box-shadow: 0 0 40px rgba(34,197,94,0.2);
}

.result-score-circle.reprovado {
  background: radial-gradient(circle, #fef2f2, #fee2e2);
  border: 6px solid var(--danger);
  box-shadow: 0 0 40px rgba(239,68,68,0.15);
}

.score-number {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.result-score-circle.aprovado .score-number { color: var(--success); }
.result-score-circle.reprovado .score-number { color: var(--danger); }

.score-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.result-badge {
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-approved {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.badge-failed {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ── TABLES ────────────────────────────────── */
.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

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

.data-table th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.data-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #f8fafc; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-gray { background: #f1f5f9; color: #475569; }

/* ── CERT PREVIEW ──────────────────────────── */
.cert-container {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}

.cert-container::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(244,166,30,0.3);
  border-radius: 8px;
  pointer-events: none;
}

.cert-header-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.cert-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.cert-line.right {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.cert-logo-circle {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  border: 3px solid var(--gold);
}

.cert-title-top {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cert-main-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.cert-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.cert-certifies {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cert-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 18px;
}

.cert-partner {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cert-course {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.cert-score-display {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 50px;
  padding: 8px 24px;
  margin-bottom: 28px;
}

.cert-score-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--success);
}

.cert-score-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cert-footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cert-footer-col {
  text-align: center;
}

.cert-footer-label {
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.cert-seal {
  width: 64px;
  height: 64px;
  background: radial-gradient(circle, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 4px;
  box-shadow: 0 4px 16px rgba(244,166,30,0.4);
}

/* ── LOADING ───────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  display: none;
}

.loading-overlay.show { display: flex; }

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-bottom: 14px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── MODAL ─────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
  display: none;
}

.modal-overlay.show { display: flex; }

.modal-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.modal-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ── DASHBOARD CARDS ───────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.icon-blue { background: #dbeafe; }
.icon-green { background: #dcfce7; }
.icon-gold { background: #fef9c3; }
.icon-red { background: #fee2e2; }

.stat-card-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-card-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── SEARCH BAR ────────────────────────────── */
.search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 200px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus { border-color: var(--accent); }

/* ── COUNTDOWN ─────────────────────────────── */
.countdown-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.countdown-title {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

.countdown-time {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.countdown-sub {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 6px;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 768px) {
  .app-header { padding: 0 1rem; }
  .header-title { font-size: 1rem; }
  .hero { padding: 40px 1.2rem 36px; }
  .card-body { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .question-grid { grid-template-columns: repeat(5, 1fr); }
  .cert-container { padding: 28px 18px; }
  .cert-footer-row { grid-template-columns: 1fr; gap: 12px; }
  .cert-main-title { font-size: 1.4rem; }
  .cert-name { font-size: 1.3rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .quiz-nav { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .data-table th, .data-table td { padding: 10px 10px; font-size: 0.8rem; }
  .hero-stats { gap: 20px; }
}

/* ── PRINT CERT ────────────────────────────── */
@media print {
  body > *:not(#cert-print-area) { display: none !important; }
  #cert-print-area {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: white;
    padding: 30px;
  }
  .cert-container { box-shadow: none; }
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.empty-state-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state p { font-size: 0.95rem; }

.page-section { margin-bottom: 36px; }
