html, body {
  height: 100%;
  font-family: 'Inter', Roboto, 'Segoe UI', Helvetica Neue, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
}

.root {
  display: flex;
  flex-direction: column;
  height: 100%;
}

* {
  box-sizing: border-box;
}

/* ── MapLibre controls ──────────────────────────────────────── */
.maplibregl-ctrl-group {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
}

.maplibregl-ctrl-group button {
  width: 36px !important;
  height: 36px !important;
  border-radius: 0 !important;
  border: none !important;
  transition: background 0.12s;
}

.maplibregl-ctrl-group button:hover {
  background-color: rgba(27, 79, 216, 0.06) !important;
}

.maplibregl-ctrl-group button + button {
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.maplibregl-ctrl-group button .maplibregl-ctrl-icon {
  filter: invert(20%) sepia(5%) saturate(500%) hue-rotate(180deg) brightness(80%);
}

/* Attribution */
.maplibregl-ctrl-attrib {
  background: rgba(255, 255, 255, 0.85) !important;
  border-radius: 8px !important;
  backdrop-filter: blur(8px);
  font-size: 10px !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  padding: 2px 8px !important;
}

.maplibregl-ctrl-attrib a {
  color: #6b7280 !important;
}

/* Geocoder */
.maplibregl-ctrl-geocoder {
  border-radius: 10px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  font-family: 'Inter', sans-serif !important;
}

.maplibregl-ctrl-geocoder input {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
}

/* Scale */
.maplibregl-ctrl-scale {
  border: 1px solid rgba(0,0,0,0.15) !important;
  background: rgba(255,255,255,0.85) !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  font-family: 'Inter', sans-serif !important;
  backdrop-filter: blur(8px);
  color: #374151 !important;
}
