:root {
  --neon-cyan: #00f2fe;
  --neon-green: #00ff88;
  --neon-alert-red: #ff3366;
  --neon-alert-yellow: #ffcc00;
  --neon-alert-blue: #00d2ff;
  --dark-bg: #0d1117;
  --card-bg: rgba(13, 17, 23, 0.92);
  --drawer-bg: #121820;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--dark-bg);
  color: #fff;
}

#map {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Animations */
@keyframes pulseGlow {
  0% { transform: scale(0.85); opacity: 0.5; }
  50% { transform: scale(1.35); opacity: 0.95; }
  100% { transform: scale(0.85); opacity: 0.5; }
}

@keyframes pulseAlert {
  from { background: rgba(180, 0, 30, 0.92); }
  to { background: rgba(230, 0, 60, 0.96); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Notification Toast */
.toast-msg {
  position: fixed;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  background: #161b22;
  border: 1px solid var(--neon-cyan);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 2500;
  display: none;
  animation: fadeIn 0.2s;
}

/* Modal Backdrops */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}

/* Incoming SOS Broadcast Overlay */
.sos-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 0, 50, 0.9);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  animation: pulseAlert 0.8s infinite alternate;
}
