* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #0f172a;
  color: #f8fafc;
}

.navbar {
  padding: 14px 20px;
  background-color: #1e293b;
  border-bottom: 1px solid #334155;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  z-index: 1000;
}

.title-group h1 {
  font-size: 1.2rem;
  color: #38bdf8;
}

.title-group p {
  font-size: 0.85rem;
  color: #94a3b8;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-btn {
  background-color: #334155;
  color: #e2e8f0;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.15s;
}

.filter-btn:hover {
  background-color: #475569;
}

.filter-btn.active {
  background-color: #0284c7;
  color: #ffffff;
}

#map {
  flex: 1;
  width: 100%;
}

/* Custom Styling for Map Popups */
.popup-card h3 {
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 1rem;
}

.popup-card p {
  margin: 3px 0;
  font-size: 0.85rem;
  color: #334155;
}

.event-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  margin-top: 4px;
}