/* style.css - SpaceX God's Eye Aerospace Tactical Styling */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700;800&family=Orbitron:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-space: #030712;
  --panel-bg: rgba(10, 17, 30, 0.78);
  --panel-border: rgba(56, 189, 248, 0.22);
  --accent-cyan: #00f0ff;
  --accent-blue: #38bdf8;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-space);
  color: #e2e8f0;
  user-select: none;
  overflow: hidden;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

.font-orbitron {
  font-family: 'Orbitron', sans-serif;
}

/* Glassmorphic Tactical Panels */
.glass-panel {
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.55);
}

.glass-panel-subtle {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.15);
}

/* Active Control States */
.active-cam {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25), rgba(56, 189, 248, 0.15)) !important;
  border-color: rgba(0, 240, 255, 0.8) !important;
  color: #00f0ff !important;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35) !important;
}

.active-filter {
  background: rgba(0, 240, 255, 0.2) !important;
  border-color: #00f0ff !important;
  color: #00f0ff !important;
}

.active-time {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: #f59e0b !important;
  color: #f59e0b !important;
}

.active-shell {
  background: rgba(56, 189, 248, 0.2) !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
}

.active-layout {
  background: rgba(0, 240, 255, 0.2) !important;
  border-color: #00f0ff !important;
  color: #00f0ff !important;
}

.selected-fleet-item {
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.2), rgba(15, 23, 42, 0.8)) !important;
  border-color: #00f0ff !important;
  box-shadow: inset 2px 0 0 #00f0ff, 0 0 12px rgba(0, 240, 255, 0.25) !important;
}

/* Tactical HUD Reticle Overlay */
.hud-corner-tl {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--accent-cyan);
  border-left: 2px solid var(--accent-cyan);
}

.hud-corner-tr {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--accent-cyan);
  border-right: 2px solid var(--accent-cyan);
}

.hud-corner-bl {
  position: absolute;
  bottom: 18px;
  left: 18px;
  width: 24px;
  height: 24px;
  border-bottom: 2px solid var(--accent-cyan);
  border-left: 2px solid var(--accent-cyan);
}

.hud-corner-br {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  border-bottom: 2px solid var(--accent-cyan);
  border-right: 2px solid var(--accent-cyan);
}

/* Crosshair Center */
.crosshair-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border: 1px dashed rgba(0, 240, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
}

.crosshair-center::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  right: -20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.7), transparent);
}

.crosshair-center::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -20px;
  bottom: -20px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.7), transparent);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(3, 7, 18, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.25);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 240, 255, 0.5);
}

/* Leaflet Customization */
.leaflet-container {
  background: #020617 !important;
}

.leaflet-tactical-tooltip {
  background: rgba(10, 17, 30, 0.92) !important;
  border: 1px solid var(--accent-cyan) !important;
  color: #f1f5f9 !important;
  font-family: 'JetBrains Mono', monospace !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8) !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
}

.leaflet-tactical-tooltip:before {
  border-top-color: var(--accent-cyan) !important;
}

/* Glowing animation */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.pulse-glow {
  animation: pulse-glow 2.5s infinite ease-in-out;
}

/* Range input slider styling */
input[type=range] {
  -webkit-appearance: none;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 4px;
  height: 6px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #00f0ff;
  cursor: pointer;
  box-shadow: 0 0 10px #00f0ff;
}
