/* TDCO Leaflet map – dark Esri tiles + popup/cluster UI */

.tdco-dark-map.leaflet-container,
#googleMap.leaflet-container,
#us3.leaflet-container {
  background: #121e1e;
  font-family: inherit;
}

/* Boost and tint Esri reference labels to brand teal #2ccece */
.tdco-dark-map img.tdco-map-labels-layer,
#googleMap img.tdco-map-labels-layer,
#us3 img.tdco-map-labels-layer {
  filter: brightness(2.4) contrast(1.4) sepia(1) hue-rotate(150deg) saturate(5.5);
  opacity: 1;
}

.tdco-dark-map .leaflet-control-attribution,
#googleMap .leaflet-control-attribution,
#us3 .leaflet-control-attribution,
.map_area_projects .leaflet-control-attribution {
  background: rgba(18, 30, 30, 0.85);
  color: #757575;
  font-size: 10px;
}

.tdco-dark-map .leaflet-control-attribution a,
#googleMap .leaflet-control-attribution a,
#us3 .leaflet-control-attribution a,
.map_area_projects .leaflet-control-attribution a {
  color: #9e9e9e;
}

#googleMap .leaflet-popup-content-wrapper,
#us3 .leaflet-popup-content-wrapper {
  background: linear-gradient(122deg, rgb(29, 40, 40) 16%, rgb(8, 42, 42) 74%);
  color: #fff;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

#googleMap .leaflet-popup-tip,
#us3 .leaflet-popup-tip {
  background: rgb(8, 42, 42);
}

#googleMap .leaflet-popup-content,
#us3 .leaflet-popup-content {
  margin: 0;
  width: auto !important;
  overflow: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#googleMap .leaflet-popup-content::-webkit-scrollbar,
#us3 .leaflet-popup-content::-webkit-scrollbar {
  display: none;
}

#googleMap .leaflet-popup-close-button,
#us3 .leaflet-popup-close-button {
  color: #fff;
  background: #0a1616;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  top: 8px;
  right: 8px;
}

#googleMap .leaflet-popup-close-button:hover,
#us3 .leaflet-popup-close-button:hover {
  color: #2ccece;
}

.tdco-marker-cluster {
  background: transparent;
}

.tdco-cluster {
  width: 75px;
  height: 75px;
  background: radial-gradient(circle, rgba(44, 206, 206, 0.6) 0%, rgba(44, 206, 206, 0.3) 50%, rgba(44, 206, 206, 0.2) 70%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.tdco-cluster span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
}

.tdco-geocode-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1100;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tdco-geocode-suggestions .tdco-geocode-item {
  font-size: 13px;
  cursor: pointer;
  text-align: left;
}

#us3 {
  width: 100%;
  min-height: 300px;
}

#us3.leaflet-container {
  border-radius: 8px;
  z-index: 1;
  min-height: 300px;
}
