/* ===== OUTBREAKS.CSS + SHARED PAGE STYLES ===== */
:root {
  --bg: #0c1825;
  --bg2: #0f1e2e;
  --bg-card: #162638;
  --bg-panel: rgba(11,22,34,0.96);
  --accent: #2dd4c4;
  --red: #e84444;
  --orange: #f07030;
  --yellow: #e8c24a;
  --text: #dce8f0;
  --muted: #6a8a9e;
  --border: rgba(255,255,255,0.07);
  --donate-bg: linear-gradient(135deg,#f06292,#d81b60);
  --header-h: 56px;
  --font: 'Outfit',sans-serif;
}
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html, body { min-height:100%; font-family:var(--font); background:var(--bg); color:var(--text); font-size:14px; overflow-x:hidden; }
a { color:inherit; text-decoration:none; }
button { font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }

/* OVERLAY */
.overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:200; }
.overlay.active { display:block; }

/* SIDEBAR */
.sidebar { position:fixed; top:0; right:0; height:100%; width:270px; background:var(--bg-card); border-left:1px solid var(--border); z-index:300; transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1); display:flex; flex-direction:column; }
.sidebar.open { transform:translateX(0); }
.sidebar-header { display:flex; align-items:center; gap:10px; padding:18px 16px 14px; border-bottom:1px solid var(--border); }
.sidebar-logo-img { width:32px; height:32px; border-radius:8px; object-fit:contain; }
.sidebar-title { font-weight:600; font-size:15px; flex:1; }
.sidebar-close { font-size:18px; color:var(--muted); }
.nav-links { list-style:none; padding:12px 0; flex:1; }
.nav-links li a { display:block; padding:12px 20px; font-size:14.5px; font-weight:500; color:var(--muted); transition:all .2s; border-left:3px solid transparent; }
.nav-links li a:hover, .nav-links li a.active { color:var(--text); background:rgba(255,255,255,0.04); border-left-color:var(--accent); }
.sidebar-footer { padding:16px 20px; border-top:1px solid var(--border); font-size:11px; color:var(--muted); }

/* LANGUAGE PANEL */
.lang-panel { position:fixed; top:0; left:0; height:100%; width:240px; background:var(--bg-card); border-right:1px solid var(--border); z-index:300; transform:translateX(-100%); transition:transform .3s cubic-bezier(.4,0,.2,1); }
.lang-panel.open { transform:translateX(0); }
.lang-panel-header { display:flex; justify-content:space-between; align-items:center; padding:18px 16px; border-bottom:1px solid var(--border); font-weight:600; }
.lang-list { list-style:none; padding:8px 0; }
.lang-item { padding:11px 20px; cursor:pointer; font-size:14px; color:var(--muted); transition:all .2s; }
.lang-item:hover { color:var(--text); background:rgba(255,255,255,.04); }
.lang-item.active-lang { color:var(--accent); font-weight:600; }

/* HEADER */
.main-header { position:sticky; top:0; z-index:100; height:var(--header-h); background:var(--bg2); border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; padding:0 14px; }
.logo { display:flex; align-items:center; gap:9px; }
.logo-icon-svg { width:26px; height:26px; color:var(--accent); flex-shrink:0; }
.logo-text { font-size:17px; font-weight:700; letter-spacing:-.3px; }
.header-right { display:flex; align-items:center; gap:6px; }
.donate-btn { display:flex; align-items:center; gap:6px; padding:7px 14px; background:var(--donate-bg); border-radius:20px; font-size:13px; font-weight:600; color:#fff; }
.donate-btn:hover { opacity:.88; }
.icon-btn { width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:10px; color:var(--muted); transition:all .2s; }
.icon-btn:hover { color:var(--text); background:rgba(255,255,255,.06); }
.hamburger-btn { flex-direction:column; gap:4px; }
.hamburger-btn span { display:block; width:19px; height:2px; background:var(--muted); border-radius:2px; }

/* PAGE LAYOUT */
.page-main { max-width:680px; margin:0 auto; padding:0 0 60px; }

/* HERO */
.page-hero { padding:32px 20px 20px; text-align:center; }
.page-hero-icon { font-size:38px; margin-bottom:12px; }
.page-hero h1 { font-size:22px; font-weight:700; margin-bottom:8px; }
.page-hero-sub { font-size:13.5px; margin-bottom:6px; }
.last-updated { font-size:12px; }

/* CONTENT SECTIONS */
.content-section { padding:20px 20px; border-top:1px solid var(--border); }
.section-title { font-size:17px; font-weight:700; margin-bottom:14px; }
.section-text { font-size:13.5px; color:var(--muted); line-height:1.7; margin-bottom:14px; }
.muted { color:var(--muted); }

/* EMPTY STATE */
.empty-state { text-align:center; padding:32px 20px; background:var(--bg-card); border:1px solid var(--border); border-radius:14px; }
.empty-icon { font-size:32px; margin-bottom:10px; }
.empty-state p { color:var(--muted); font-size:14px; }

/* OUTBREAK CARDS */
.outbreak-list { display:grid; gap:14px; }
.outbreak-card { background:var(--bg-card); border:1px solid var(--border); border-radius:14px; padding:18px; }
.outbreak-card.featured { border-color:rgba(232,68,68,.25); background:linear-gradient(135deg,rgba(232,68,68,.06),var(--bg-card)); }
.outbreak-card-header { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.outbreak-badge { font-size:10px; font-weight:700; letter-spacing:.6px; padding:3px 8px; border-radius:6px; }
.badge-red { background:rgba(232,68,68,.15); color:var(--red); }
.badge-yellow { background:rgba(232,194,74,.12); color:var(--yellow); }
.badge-blue { background:rgba(45,212,196,.1); color:var(--accent); }
.outbreak-date { font-size:12px; color:var(--muted); margin-left:auto; }
.outbreak-card h3 { font-size:15px; font-weight:600; margin-bottom:8px; }
.outbreak-card p { font-size:13px; color:var(--muted); line-height:1.7; margin-bottom:12px; }
.outbreak-meta { display:flex; flex-wrap:wrap; gap:7px; }
.meta-tag { font-size:11px; padding:3px 9px; background:rgba(255,255,255,.05); border:1px solid var(--border); border-radius:20px; }
.meta-red { border-color:rgba(232,68,68,.25); color:var(--red); background:rgba(232,68,68,.08); }

/* SOURCE GRID */
.source-grid { display:grid; gap:10px; }
.source-card { display:flex; align-items:center; gap:12px; background:var(--bg-card); border:1px solid var(--border); border-radius:12px; padding:14px 16px; }
.source-icon { font-size:20px; flex-shrink:0; }
.source-card strong { font-size:13.5px; font-weight:600; }
.source-card .muted { font-size:12px; }
.source-link { margin-left:auto; color:var(--accent); font-size:16px; font-weight:700; flex-shrink:0; }

/* SIGNAL LIST */
.signal-list { display:grid; gap:10px; margin-bottom:14px; }
.signal-item { display:flex; align-items:flex-start; gap:10px; font-size:13.5px; line-height:1.5; }
.sig-dot { width:12px; height:12px; border-radius:50%; flex-shrink:0; margin-top:3px; }
.sig-red { background:var(--red); }
.sig-orange { background:var(--orange); }
.sig-yellow { background:var(--yellow); }
.info-box { background:rgba(45,212,196,.06); border:1px solid rgba(45,212,196,.15); border-radius:10px; padding:14px 16px; font-size:13px; color:var(--muted); line-height:1.7; }

/* REGION GRID */
.region-grid { display:grid; gap:10px; }
.region-card { background:var(--bg-card); border:1px solid var(--border); border-radius:12px; padding:16px; }
.region-label { font-size:15px; font-weight:600; margin-bottom:7px; }
.region-card p { font-size:13px; line-height:1.6; }

/* FAQ */
.faq-list { display:grid; gap:8px; }
.faq-item { background:var(--bg-card); border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.faq-item summary { padding:15px 18px; font-size:13.5px; font-weight:500; cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:'＋'; color:var(--accent); font-size:16px; transition:transform .2s; }
.faq-item[open] summary::after { content:'－'; }
.faq-item p { padding:0 18px 16px; font-size:13px; color:var(--muted); line-height:1.7; }
