html, body, #map {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: #f4e8c1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}


/* ── Mode toggle ── */
.mode-toggle {
  display: flex;
  background: #0f7b6c;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mode-toggle button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.mode-toggle button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.mode-toggle button.active {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-weight: bold;
}

/* ── Tooltips ── */
.leaflet-tooltip {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: rgba(62, 39, 35, 0.92);
  color: #efebe9;
  border: 1px solid #5d4037;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.leaflet-tooltip-top::before {
  border-top-color: rgba(62, 39, 35, 0.92);
}
.leaflet-tooltip-bottom::before {
  border-bottom-color: rgba(62, 39, 35, 0.92);
}
.leaflet-tooltip-left::before {
  border-left-color: rgba(62, 39, 35, 0.92);
}
.leaflet-tooltip-right::before {
  border-right-color: rgba(62, 39, 35, 0.92);
}

/* ── Attribution styling ── */
.leaflet-control-attribution {
  font-size: 11px;
  background: rgba(244, 232, 193, 0.85) !important;
  color: #5d4037;
}

.leaflet-control-attribution a {
  color: #8d6e63;
}
