/* Clean Light Theme Styling for Bang Saphan Flood Watch */

/* Pulse animations for markers */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.25;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.85;
  }
}

.pulsing-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  position: relative;
}

.pulsing-marker::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse-ring 2s infinite ease-in-out;
  background-color: inherit;
  z-index: -1;
}

/* Custom Leaflet Clean Light Popup */
.leaflet-popup-content-wrapper {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 6px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-popup-tip {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

.leaflet-container {
  font-family: 'Prompt', sans-serif !important;
}

/* Leaflet Layers Control Styling (Light Theme) */
.leaflet-control-layers {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.leaflet-control-layers-expanded {
  font-size: 13px !important;
  font-weight: 500;
}

.leaflet-control-layers label {
  cursor: pointer;
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Custom Clean Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Hide scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
