* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0e1a;
  overflow: hidden;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  color: #c0c8e0;
}

#map {
  width: 100vw;
  height: 100vh;
}

/* Leaflet overrides */
.leaflet-control-attribution {
  background: rgba(10, 14, 26, 0.7) !important;
  color: #4a5270 !important;
  font-size: 10px !important;
}

.leaflet-control-attribution a {
  color: #4a5270 !important;
}

.leaflet-control-zoom a {
  background: rgba(10, 14, 26, 0.85) !important;
  color: #00d4ff !important;
  border-color: #1a2040 !important;
}

.leaflet-control-zoom a:hover {
  background: rgba(20, 28, 50, 0.95) !important;
}

/* Overlays */
.overlay {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
}

/* Title */
.overlay-title {
  top: 20px;
  left: 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Status indicator */
.overlay-status {
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4444;
  display: inline-block;
}

.status-dot.connected {
  background: #44ff88;
  box-shadow: 0 0 8px rgba(68, 255, 136, 0.6);
}

.signal-count {
  color: #00d4ff;
  margin-left: 8px;
}

/* Signal feed */
.overlay-feed {
  bottom: 20px;
  left: 20px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feed-item {
  background: rgba(10, 14, 26, 0.85);
  border-left: 3px solid #00d4ff;
  padding: 8px 12px;
  font-size: 11px;
  line-height: 1.4;
  animation: feedFadeIn 0.4s ease-out;
  pointer-events: auto;
}

.feed-item .feed-source {
  color: #4a5270;
  font-size: 10px;
  margin-top: 3px;
}

@keyframes feedFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Marker pulse animation */
@keyframes markerPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 12px 6px rgba(0, 212, 255, 0);
    transform: scale(1.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    transform: scale(1);
  }
}

.signal-marker {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: markerPulse 1.5s ease-out;
}

/* Popup styling */
.leaflet-popup-content-wrapper {
  background: rgba(10, 14, 26, 0.95) !important;
  color: #c0c8e0 !important;
  border: 1px solid #1a2040 !important;
  border-radius: 4px !important;
  font-family: 'JetBrains Mono', 'Courier New', monospace !important;
  font-size: 11px !important;
}

.leaflet-popup-tip {
  background: rgba(10, 14, 26, 0.95) !important;
  border: 1px solid #1a2040 !important;
}

.leaflet-popup-content {
  margin: 10px !important;
  line-height: 1.5 !important;
}

.popup-title {
  color: #00d4ff;
  font-weight: 600;
  margin-bottom: 4px;
}

.popup-meta {
  color: #4a5270;
  font-size: 10px;
}
