* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

#map {
  width: 100%;
  height: 100%;
  background: #fdf6ef;
}

/* ── Leaflet overrides ─────────────────────────────────────── */

.leaflet-control-attribution { font-size: 10px; opacity: 0.4; }

.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.leaflet-control-zoom a {
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  font-size: 16px !important;
  color: #333 !important;
  border: none !important;
  background: #fff !important;
}

.leaflet-control-zoom a:hover {
  background: #fff !important;
}
.leaflet-interactive:focus { outline: none; }
.leaflet-container:focus { outline: none; }

/* ── Tooltip ───────────────────────────────────────────────── */

.wijk-tooltip {
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  padding: 10px 16px;
  min-width: 140px;
  pointer-events: none;
}

.wijk-tooltip::before { display: none; }

.wijk-tooltip .naam {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.wijk-tooltip .getal {
  font-size: 24px;
  font-weight: 700;
  color: #fdb515;
  line-height: 1.1;
}

.wijk-tooltip .label {
  font-size: 13px;
  font-weight: 400;
  color: #999;
  margin-left: 4px;
}

.wijk-tooltip.heeft-link {
  cursor: pointer;
}

/* ── Loader ────────────────────────────────────────────────── */

#loader {
  position: absolute; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: #fdf6ef;
  font-size: 14px; color: #bbb; gap: 10px;
}

#loader.hidden { display: none; }

#loader .spin {
  width: 18px; height: 18px;
  border: 2px solid #eee;
  border-top-color: #fdb515;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
