/* Always show labels with low opacity, full on hover */
#map-container .bm-marker-html .bm-marker-poi-label {
  opacity: 0.2 !important;
  font-size: 0.75em !important;
  padding: 0.2em 0.4em !important;
  background-color: rgba(0, 0, 0, 0.3) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  max-width: 10em !important;
  white-space: nowrap !important;
  filter: none !important;
  border: none !important;
}

/* Highlighted (clicked) state - still subtle */
#map-container .bm-marker-html.bm-marker-highlight .bm-marker-poi-label {
  opacity: 0.2 !important;
  background-color: rgba(0, 0, 0, 0.3) !important;
}

/* Hover - bring to full visibility */
#map-container .bm-marker-html:hover .bm-marker-poi-label {
  opacity: 1 !important;
  background-color: rgba(24, 24, 24, 0.9) !important;
  color: #fff !important;
}

/* Keep icon always visible */
#map-container .bm-marker-html .bm-marker-poi-icon {
  opacity: 0.5 !important;
}

#map-container .bm-marker-html.bm-marker-highlight .bm-marker-poi-icon {
  opacity: 0.5 !important;
}

#map-container .bm-marker-html:hover .bm-marker-poi-icon {
  opacity: 1 !important;
}

/* Arrow/caret under labels - hide when subtle */
#map-container .bm-marker-html .bm-marker-poi-label:after {
  border-top-color: rgba(0, 0, 0, 0.3) !important;
}

#map-container .bm-marker-html:hover .bm-marker-poi-label:after {
  border-top-color: rgba(24, 24, 24, 0.9) !important;
}

/* Popup on click - keep readable */
#map-container .bm-marker-labelpopup,
#map-container .bm-marker-popup {
  background-color: rgba(24, 24, 24, 0.9) !important;
  color: #fff !important;
}

#map-container .bm-marker-labelpopup:after,
#map-container .bm-marker-popup:after {
  border-top-color: rgba(24, 24, 24, 0.9) !important;
}
