.event-list-container {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 4px;
  margin-top: 16px;
}

ul#event-list li {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
}

#radius-map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f9fafb;
}

.leaflet-pane.leaflet-map-pane{
  z-index: auto;
}

.leaflet-control-zoom a {
  border-radius: 10px !important;
}

.leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.leaflet-popup-content {
  margin: 14px 14px !important;
}

.origin-pin .dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #111;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

.leaflet-control-attribution, .leaflet-control-attribution a, .leaflet-control-attribution span {
  font-size: 10px !important;
  color: #666 !important;
  text-decoration: none !important;
}
.leaflet-control-attribution svg {
  display: none !important;
}

#radius-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: auto;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0) 55%,
      rgba(255, 255, 255, 0.95) 100%);
}

.event-popup img {
  width: 100%;
}

.leaflet-popup .leaflet-popup-close-button {
  display: none;
}

.leaflet-popup a {
  color: #fff !important;
}

/* Style for the location independent count tooltip so only the number is visible */
.location-independent-count-tooltip {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
}

.location-independent-count-tooltip::before {
  display: none;
}

/* Base style + transition for result list items */
.event-list-item {
  transition: border-color 0.2s ease, border-width 0.2s ease;
}

/* Highlight for hovered/linked list items */
.event-list-item--highlight {
  border-color: var(--cta-primary) !important;
  border-width: 2px !important;
}
.badge-remote {
  position: absolute;
  top: -18px;
  right: 0;
  display: inline-flex;
  border: 1px solid #0f766e;
  align-items: center;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 500;
  color: #0f766e;              /* teal-700 */
  background: #ecfeff;         /* teal-50 */
  border-radius: 999px;
  white-space: nowrap;
}
.badge-remote i {
  font-size: 10px;
  color: #0f766e;
}