:root {
  --font-system: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-system);
}

.font-mono {
  font-family: var(--font-mono);
}

/* CUSTOM SCROLLBARS */
.custom-scroll::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* NAV TABS */
.nav-tab {
  color: #94a3b8;
  background: transparent;
}

.nav-tab.active {
  color: #ffffff;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* LEAFLET MAP CUSTOM DARK THEME */
#radarMap {
  background: #08090d;
}

.leaflet-tile {
  filter: brightness(0.6) invert(1) contrast(3) hue-rotate(200deg) saturate(0.3) brightness(0.7);
}

.leaflet-popup-content-wrapper {
  background: #12131b !important;
  color: #e0e2ec !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
}

.leaflet-popup-tip {
  background: #12131b !important;
}

/* RADAR PULSING MAP MARKERS */
.radar-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  border: 2px solid #10b981;
  color: #ffffff;
  font-size: 12px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  cursor: pointer;
  transition: transform 0.2s;
}

.radar-pin:hover {
  transform: scale(1.25);
}

.radar-pin.sighting-alert {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.8);
  animation: radar-pulse 1.5s infinite;
}

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

/* CAMERA TILES & CARDS */
.cam-tile {
  background: #11121b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.cam-tile:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.sighting-card {
  background: #11121b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.2s;
}

.sighting-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}
