@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

#map {
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.legend {
  position: absolute;
  bottom: 20px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4em;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  z-index: 1001 !important;         /* Force it to sit above map layers */
  pointer-events: auto !important;  /* Ensure it can be interacted with if needed */
}

.legend div {
  margin-bottom: 6px;
}

.legend i {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border-radius: 50%;
  border: 1px solid #333;
  vertical-align: middle;
}

.legend div {
  cursor: pointer;
  user-select: none;
}

.legend div.active {
  font-weight: bold;
  background-color: #f0f0f0;
}

#province-filter {
  position: absolute;
  bottom: 20px;
  right: 10px;
  background: rgba(255,255,255,0.95);
  padding: 10px;
  font-size: 13px;
  border-radius: 6px;
  z-index: 1001;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

#provinceSelect {
  margin-top: 5px;
  width: 160px;
}