/* Leaflet trip item markers */
.trip-item-marker {
  background: transparent;
  border: none;
}

.trip-item-marker > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  font-size: 1.25rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.trip-item-marker > div:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .trip-item-marker > div {
    background-color: rgb(31, 41, 55);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  }
}

/* Trip map container */
.trip-map-container .leaflet-container {
  font-family: inherit;
}

/* Trip map popup styling */
.trip-map-container .leaflet-popup-content-wrapper {
  border-radius: 0.5rem;
  padding: 0.25rem;
  background-color: white;
}

.trip-map-container .leaflet-popup-content {
  margin: 0.75rem;
  font-family: inherit;
}

.trip-map-container .leaflet-popup-tip {
  background-color: white;
}

@media (prefers-color-scheme: dark) {
  .trip-map-container .leaflet-popup-content-wrapper {
    background-color: rgb(31, 41, 55);
    color: white;
  }

  .trip-map-container .leaflet-popup-tip {
    background-color: rgb(31, 41, 55);
  }
}
