html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f4f4;
}
#map { width: 100%; height: 100vh; }
#controls {
  position: absolute;
  top: 15px;
  left: 60px;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
  display: flex;
  gap: 8px;
}
#searchBox, #categoryFilter {
  width: 220px;
  padding: 9px 12px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
}
#searchBox:focus, #categoryFilter:focus { border-color: #1976d2; }
.leaflet-popup-content { width: 340px !important; margin: 12px; }
.popup-title { font-size: 22px; font-weight: bold; margin-bottom: 8px; }
.popup-category {
  display: inline-block;
  background: #1976d2;
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 10px;
}
.popup-description { font-size: 15px; line-height: 1.45; margin-top: 10px; }
.popup-img { width: 100%; border-radius: 10px; cursor: pointer; transition: .25s; display: block; }
.popup-img:hover { transform: scale(1.02); }
.popup-help { display: block; color: #666; font-size: 13px; margin-top: 8px; }
.custom-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  border: 2px solid #333;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  transition: .2s;
}
.custom-marker:hover { transform: scale(1.15); }
.marker-cluster-small { background: rgba(25,118,210,.4); }
.marker-cluster-small div { background: rgba(25,118,210,.8); }
.marker-cluster-medium { background: rgba(255,152,0,.4); }
.marker-cluster-medium div { background: rgba(255,152,0,.8); }
.marker-cluster-large { background: rgba(211,47,47,.4); }
.marker-cluster-large div { background: rgba(211,47,47,.8); }
@media (max-width:700px) {
  #controls { left: 10px; right: 10px; flex-direction: column; }
  #searchBox, #categoryFilter { width: 100%; box-sizing: border-box; }
  .leaflet-popup-content { width: 260px !important; }
  .popup-title { font-size: 18px; }
}
