/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 *= require hotwire_combobox
 *= require terrafreight
 *= require pagy.tailwind
 */

/* Leaflet Map Styles */
/* Leaflet CSS is loaded via CDN in the view templates */

/* Custom Map Marker Styles */
.custom-marker {
  transition: transform 0.2s ease;
}

.custom-marker:hover {
  z-index: 10;
}

/* Leaflet Popup Styles */
.leaflet-popup-content-wrapper {
  @apply rounded-lg shadow-xl border border-gray-200 p-4;
}

.leaflet-popup-close-button {
  @apply text-gray-400 hover:text-gray-600;
}

.rate-schedule-map-container {
  position: relative;
  z-index: 0;
}

.rate-schedule-map-container .leaflet-container {
  z-index: 0 !important;
}

.rate-schedule-map-container .leaflet-pane {
  z-index: 0 !important;
}

.rate-schedule-map-container .leaflet-control-container {
  z-index: 1 !important;
}

.rate-schedule-map-container .leaflet-popup-pane {
  z-index: 10 !important;
}
