/* Mobile-first layout */
:root{
  --accent: #007bff;
  --card-bg: #ffffff;
  --muted: #6c757d;
}
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #f3f6fb;
  color: #0f172a;
  margin: 0;
  line-height: 1.4;
}
header.navbar { padding: 0.6rem 1rem; }
header .navbar-brand { font-weight: 700; color: var(--accent); }

#map {
  width: 100%;
  height: 42vh;
  min-height: 320px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(11,22,39,0.06);
  overflow: hidden;
}

/* charts stacked on mobile, two columns on md+ */
#charts { margin-top: 12px; }
@media (min-width: 768px) {
  #map { height: 52vh; min-height: 420px; }
}

/* Chart canvas */
canvas { width: 100% !important; height: 300px !important; }

/* DataTable visuals */
table.dataTable { background: var(--card-bg); border-radius: 8px; }
.dataTables_wrapper .dataTables_paginate .paginate_button { padding: 0.25rem 0.5rem; }

/* Highlighting */
tr.selected { background-color: rgba(0,123,255,0.08) !important; }
.leaflet-popup-content { font-size: 13px; }

/* Sticky footer (mobile) */
footer.fixed-bottom { border-top: 1px solid #e9ecef; }

/* Small helper for color dot in table if you add it later */
.color-dot { display:inline-block; width:12px; height:12px; border-radius:50%; margin-right:8px; vertical-align:middle; }

.news-section {
  padding: 1rem;
  background: #f9fafb;
  border-radius: 1rem;
  margin: 2rem 0;
}

.news-section h2 {
  text-align: center;
  font-size: 1.5rem;
  color: #1d4ed8;
  margin-bottom: 1rem;
}

.social-embeds {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.embed-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.embed-card h3 {
  margin-bottom: 0.5rem;
  color: #374151;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .social-embeds {
    flex-direction: row;
    justify-content: space-around;
  }

  .embed-card {
    flex: 1;
    max-width: 48%;
  }
}

