/* Tactical Dark Mode & Map Customizations */
:root {
  --bg-panel: #0f172a;
  --bg-card: #1e293b;
  --border-tactical: #334155;
  --accent-cyan: #38bdf8;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-red: #ef4444;
}

body {
  background-color: #020617;
  color: #e2e8f0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Custom Scrollbars for Tactical Panels */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Leaflet Dark Theme Overrides */
.leaflet-container {
  background: #090d16 !important;
  font-family: inherit;
}

.tactical-osm-dark {
  filter: invert(100%) hue-rotate(180deg) brightness(92%) contrast(90%) saturate(80%);
}

.tactical-dark-tiles {
  filter: brightness(0.82) contrast(1.15) saturate(0.75);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #0f172a !important;
  color: #f1f5f9 !important;
  border: 1px solid #334155;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.75);
}

/* Tactical Labels on Map */
.tactical-map-label {
  background: rgba(15, 23, 42, 0.88) !important;
  border: 1px solid #475569 !important;
  color: #f8fafc !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  padding: 2px 6px !important;
  border-radius: 3px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
}

.tactical-map-label::before {
  display: none !important;
}

.milsymbol-marker-icon {
  background: transparent;
  border: none;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.85));
  transition: transform 0.12s ease;
}

.milsymbol-marker-icon:hover {
  transform: scale(1.12);
  z-index: 1000 !important;
}

/* Active Question Tab Indicator */
.q-tab-active {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.18) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-bottom: 2px solid #38bdf8;
  color: #38bdf8;
}
