/**
 * @file
 * Locality names on Leaflet maps.
 *
 * Uses Bootstrap's variables with fallbacks, so the theme's palette applies.
 */

.leaflet-tooltip.sos-locality-label {
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Always-visible names: a light label without the tooltip box and arrow. */
.leaflet-tooltip.sos-locality-label--permanent {
  padding: 0 0.25rem;
  border: 0;
  border-radius: 0.25rem;
  background: rgb(255 255 255 / 75%);
  box-shadow: none;
  color: var(--bs-body-color, #212529);
}

.leaflet-tooltip.sos-locality-label--permanent::before {
  display: none;
}
