/* Map-related styling only - preserve all map interactions */

/* Map pointer styles for ride markers */
@keyframes snrb-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.25);
    opacity: 0;
  }
}

.snrb-pointer-pulse {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 22px;
  height: 22px;
  border: 2px solid #e52a1a;
  border-radius: 50%;
  animation: snrb-pulse 1.5s ease-out infinite;
  z-index: 1;
}

.snrb-pointer-ring {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 22px;
  height: 22px;
  border: 2px solid #e52a1a;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.snrb-pointer-core {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  background: #e52a1a;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.mr-pointer-pulse {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 22px;
  height: 22px;
  border: 2px solid #e52a1a;
  border-radius: 50%;
  animation: snrb-pulse 1.5s ease-out infinite;
  z-index: 1;
}

.mr-pointer-ring {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 22px;
  height: 22px;
  border: 2px solid #e52a1a;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.mr-pointer-core {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  background: #e52a1a;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

/* Map container styling */
.snrb-booking-map,
.snrb-map-preview {
  width: 100%;
  height: 300px;
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.snrb-driver-zones-map,
#driver-zones-map {
  height: 400px;
  width: 100%;
  margin-bottom: 1rem;
}

.snrb-trip-map {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Map route styling */
.snrb-route-polyline {
  stroke-color: #e52a1a;
  stroke-weight: 4;
  stroke-opacity: 0.9;
}

/* Zone selection map styling */
.snrb-zone-circle {
  stroke-color: #28a745;
  fill-color: #28a745;
  fill-opacity: 0.1;
}

.snrb-zone-preview {
  stroke-color: #007bff;
  fill-color: #007bff;
  fill-opacity: 0.2;
}

/* Driver marker styling */
.snrb-driver-marker {
  position: relative;
  transform: translate(-50%, -50%);
}

.snrb-driver-marker-pulse,
.snrb-marker-pulse {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(0, 123, 255, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  animation: snrb-driver-pulse 2s infinite;
}

.snrb-driver-marker-core,
.snrb-marker-core {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #007bff;
  position: relative;
}

@keyframes snrb-driver-pulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}