/* ================================================================
   HírKeresőPro – Fő stíluslap
   Modern design: CSS custom properties, dark/light mode, responsive
   ================================================================ */

/* ── Alap CSS változók ─────────────────────────────────────── */
:root {
  --bg:         #F8FAFC;
  --bg-card:    #FFFFFF;
  --bg-sidebar: #F1F5F9;
  --bg-input:   #FFFFFF;
  --border:     #E2E8F0;
  --border-focus:#3B82F6;
  --text:       #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --primary:    #3B82F6;
  --primary-h:  #2563EB;
  --accent:     #8B5CF6;
  --danger:     #EF4444;
  --success:    #10B981;
  --warning:    #F59E0B;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg:  0 10px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.05);
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  16px;
  --transition: 0.2s ease;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --navbar-h:   64px;
}

[data-theme="dark"] {
  --bg:         #0F172A;
  --bg-card:    #1E293B;
  --bg-sidebar: #1E293B;
  --bg-input:   #1E293B;
  --border:     #334155;
  --border-focus:#60A5FA;
  --text:       #F1F5F9;
  --text-muted: #94A3B8;
  --text-light: #64748B;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.3);
  --shadow:     0 4px 6px -1px rgba(0,0,0,.4);
  --shadow-lg:  0 10px 25px -5px rgba(0,0,0,.5);
}

/* ── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--navbar-h);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  box-shadow: var(--shadow-sm);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar__logo span { color: var(--text); }

/* Keresőmező */
.navbar__search {
  flex: 1;
  max-width: 580px;
  position: relative;
}
.navbar__search input {
  width: 100%;
  padding: 10px 16px 10px 44px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--bg-input);
  color: var(--text);
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.navbar__search input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.navbar__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Dátumszűrő inputok */
.date-filter-input {
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text);
  font-size: .85rem;
  font-family: var(--font);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
  width: 140px;
}
.date-filter-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

/* Navbar jobb oldal */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-h); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-sidebar); color: var(--text); }

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.btn-icon:hover { background: var(--bg-sidebar); color: var(--text); }

/* ── Layout ────────────────────────────────────────────────── */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - var(--navbar-h));
}

/* Bal oldalsáv */
.sidebar-left {
  position: sticky;
  top: var(--navbar-h);
  height: calc(100vh - var(--navbar-h));
  overflow-y: auto;
  border-right: 1px solid var(--border);
  padding: 20px 16px;
  background: var(--bg-sidebar);
}

/* Jobb oldalsáv */
.sidebar-right {
  position: sticky;
  top: var(--navbar-h);
  height: calc(100vh - var(--navbar-h));
  overflow-y: auto;
  border-left: 1px solid var(--border);
  padding: 20px 16px;
}

/* Fő tartalom */
.main-content {
  padding: 24px;
  min-width: 0;
}

/* ── Sidebar navigáció ─────────────────────────────────────── */
.sidebar-section {
  margin-bottom: 24px;
}
.sidebar-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  padding: 0 8px;
  margin-bottom: 8px;
}
.nav-list { list-style: none; }
.nav-item a,
.nav-item button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-muted);
  border: none;
  background: none;
  text-align: left;
  transition: all var(--transition);
}
.nav-item a:hover,
.nav-item button:hover {
  background: var(--bg-card);
  color: var(--text);
}
.nav-item.active a,
.nav-item.active button {
  background: rgba(59,130,246,.1);
  color: var(--primary);
  font-weight: 600;
}
.nav-item .badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}
.nav-item .icon { width: 20px; text-align: center; font-size: 1rem; }

/* Forrás lista */
.source-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.source-item:hover { background: var(--bg-card); }
.source-item.active { background: rgba(59,130,246,.1); }
.source-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: contain;
  background: var(--border);
  flex-shrink: 0;
}
.source-name { font-size: .88rem; font-weight: 500; flex: 1; }
.source-bias {
  font-size: .68rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.bias-bal   { background: rgba(59,130,246,.15); color:#3B82F6; }
.bias-közép { background: rgba(100,116,139,.15); color:#64748B; }
.bias-jobb  { background: rgba(239,68,68,.15);  color:#EF4444; }
.bias-semleges { background: rgba(16,185,129,.1); color:#10B981; }

/* ── Kategória lapok ───────────────────────────────────────── */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.cat-tab:hover { border-color: var(--primary); color: var(--primary); }
.cat-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,130,246,.35);
}

/* ── Rendezés / szűrő sáv ──────────────────────────────────── */
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.toolbar__title {
  font-size: 1.2rem;
  font-weight: 700;
  flex: 1;
}
.sort-select {
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}
.sort-select:focus { border-color: var(--border-focus); }

/* ── Cikk kártya rács ─────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* ── Cikk kártya (szöveges, kép nélkül) ───────────────────── */
.article-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59,130,246,.35);
}

.article-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Meta sor: forrás · idő · kategória · kedvenc */
.article-card__meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.article-card__source-name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
}
.article-card__source-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-light);
  flex-shrink: 0;
}
.article-card__time {
  font-size: .78rem;
  color: var(--text-muted);
}

/* Kategória chip */
.article-card__cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  margin-left: auto;
}

/* Kedvenc gomb (inline, meta sorban) */
.article-card__fav-inline {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-light);
  font-size: .8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.article-card__fav-inline:hover,
.article-card__fav-inline.active {
  background: rgba(239,68,68,.1);
  border-color: var(--danger);
  color: var(--danger);
}

.article-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}
.article-card:hover .article-card__title { color: var(--primary); }

.article-card__desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__footer {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-light);
}
.article-card__read-time {
  background: var(--bg-sidebar);
  padding: 2px 9px;
  border-radius: 50px;
  font-weight: 500;
}

/* Kiemelt cikk */
.article-card--featured {
  grid-column: span 2;
  border-left: 4px solid var(--primary);
}
.article-card--featured .article-card__title {
  font-size: 1.2rem;
  -webkit-line-clamp: 2;
}

/* ── Keresési kiemelés ────────────────────────────────────── */
mark {
  background: rgba(251,191,36,.35);
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
}

/* ── Betöltés indikátor ────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-wrap {
  display: flex;
  justify-content: center;
  padding: 40px;
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--bg-sidebar) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Jobb oldalsáv – trending ─────────────────────────────── */
.trending-list { list-style: none; }
.trending-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.trending-item:last-child { border-bottom: none; }
.trending-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  min-width: 28px;
}
.trending-title {
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trending-title:hover { color: var(--primary); }
.trending-meta {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Widget konténer */
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.widget__title {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Toast értesítő ────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  font-weight: 500;
  animation: toastIn .3s ease;
  max-width: 360px;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.toast--success { border-left: 4px solid var(--success); }
.toast--error   { border-left: 4px solid var(--danger); }
.toast--info    { border-left: 4px solid var(--primary); }

/* ── Auth lapok (login/register) ──────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg);
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.auth-logo {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
}
.auth-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}
.auth-subtitle {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: .87rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.form-error {
  font-size: .82rem;
  color: var(--danger);
  margin-top: 5px;
}
.form-hint {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 5px;
}
.btn-block { width: 100%; justify-content: center; padding: 12px; font-size: 1rem; }
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: .88rem;
  color: var(--text-muted);
}
.auth-footer a { color: var(--primary); font-weight: 600; }

/* Hibaüzenet doboz */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 16px;
  font-weight: 500;
}
.alert-error   { background: rgba(239,68,68,.1);  color: var(--danger);  border: 1px solid rgba(239,68,68,.25); }
.alert-success { background: rgba(16,185,129,.1); color: var(--success); border: 1px solid rgba(16,185,129,.25); }

/* ── Profil oldal ──────────────────────────────────────────── */
.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
}
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 12px;
}
.profile-name { text-align: center; font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.profile-email { text-align: center; font-size: .85rem; color: var(--text-muted); }

/* Preferencia togglek */
.pref-toggle-list { display: flex; flex-direction: column; gap: 8px; }
.pref-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  font-size: .9rem;
  font-weight: 500;
}
.pref-toggle:hover { border-color: var(--primary); }
.pref-toggle.active {
  background: rgba(59,130,246,.08);
  border-color: var(--primary);
  color: var(--primary);
}
.pref-toggle .toggle-icon { font-size: 1.1rem; }

/* ── Lapozó ────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,130,246,.35);
}
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── Keresési oldal ────────────────────────────────────────── */
.search-results-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.search-results-count {
  font-size: 1rem;
  color: var(--text-muted);
}
.search-results-count strong { color: var(--text); font-weight: 700; }

.related-searches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.related-chip {
  padding: 4px 12px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: .82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.related-chip:hover { border-color: var(--primary); color: var(--primary); }

/* ── Üres állapot ──────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 12px; opacity: .5; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.empty-state p { font-size: .9rem; }

/* ── Mobil responsív ───────────────────────────────────────── */
@media (max-width: 1200px) {
  .layout { grid-template-columns: 220px 1fr; }
  .sidebar-right { display: none; }
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar-left { display: none; }

  .navbar__search { max-width: none; }

  .articles-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .article-card--featured { grid-column: span 1; }

  .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .navbar { padding: 0 12px; gap: 10px; }
  .navbar__logo span { display: none; }
  .main-content { padding: 16px; }
  .articles-grid { grid-template-columns: 1fr; }
  .btn-text { display: none; }
  .auth-card { padding: 24px; }
}

/* ── Scrollbar stílus ──────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ── Dark mode toggle animáció ─────────────────────────────── */
.theme-toggle {
  position: relative;
  width: 48px;
  height: 26px;
}
.theme-toggle input { opacity: 0; width: 0; height: 0; }
.theme-track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition);
}
.theme-track::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 4px;
  left: 4px;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.theme-toggle input:checked + .theme-track { background: var(--primary); }
.theme-toggle input:checked + .theme-track::before { transform: translateX(22px); }

/* ── Egyéb apróságok ────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--bg-sidebar);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.bias-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
}
