@import "tailwindcss";
@import "leaflet/dist/leaflet.css";

@custom-variant dark (&:where(.dark, .dark *));

@keyframes sentinel-marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-sentinel-marquee {
  display: flex;
  width: max-content;
  animation: sentinel-marquee 38s linear infinite;
}

.animate-sentinel-marquee:hover {
  animation-play-state: paused;
}

@keyframes hazard-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.75);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.hazard-marker-pulse {
  animation: hazard-pulse 1.8s infinite;
}

.leaflet-popup-content-wrapper {
  background: #090d16 !important;
  color: #f1f5f9 !important;
  border: 1px solid #334155 !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65) !important;
}

.leaflet-popup-tip {
  background: #090d16 !important;
}
