@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary: #00f3ff;
  --secondary: #00ff9d;
  --accent: #ff0055;
  --bg-deep: #050508;
  --bg-surface: #0a0a0f;
  --text-main: #ffffff;
  --text-muted: #b0b8d1;
  --border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(10, 10, 16, 0.6);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);
  --shadow-neon: 0 0 20px rgba(0, 243, 255, 0.15);

  --font-main: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

/* Reset & Base */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.btn,
.nav-link,
label {
  font-family: var(--font-heading);
  color: #fff;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--secondary);
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
}

/* Background Effects */
.bg-grid {
  position: relative;
  background: var(--bg-deep);
}

.bg-grid::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* Floating Orbs */
.bg-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.05;
  filter: blur(80px);
  z-index: 0;
  animation: floatOrb 10s ease-in-out infinite;
  pointer-events: none;
}

.bg-orb.secondary {
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  right: -100px;
  bottom: -100px;
  animation-delay: -5s;
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

/* Scanline Overlay */
.scanline::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 9999;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  opacity: 0.15;
}

/* Glass Components */
.card-neon {
  background: rgba(13, 13, 18, 0.7);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card-neon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

/* Form Elements */
.form-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.form-control,
.input-neon {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.1) !important;
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.2) !important;
}

/* Fix for Select Options in Dark Mode */
.form-select option {
  background-color: var(--bg-surface);
  color: #fff;
  padding: 10px;
}

/* Buttons */
.btn-neon {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(0, 243, 255, 0));
  border: 1px solid rgba(0, 243, 255, 0.3);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  width: 100%;
  display: block;
  text-align: center;
}

.btn-neon:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

/* Brand Logo */
.brand-lg {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.brand-dot {
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--primary);
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

/* Side Layout (Admin) */
.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.collapsed {
  margin-left: -280px;
}

.main-content {
  flex: 1;
  padding: 40px;
}

/* Alerts */
.swal2-popup {
  background: #0b1220 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px !important;
}

.swal2-title,
.swal2-content,
.swal2-html-container {
  color: #fff !important;
}

/* --- Dark Mode Overrides (Crucial) --- */
.text-dark {
  color: #000 !important;
}

/* Tables */
.table {
  --bs-table-color: var(--text-muted);
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.table-neon thead th {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-neon tbody td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.table-hover>tbody>tr:hover>* {
  --bs-table-accent-bg: rgba(0, 243, 255, 0.05);
  color: #fff;
}

/* Modals & Dropdowns */
.dropdown-menu {
  background: rgba(10, 10, 16, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dropdown-item {
  color: var(--text-muted);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(0, 243, 255, 0.1);
  color: #fff;
}

/* Badges & Utilities */
.bg-white.bg-opacity-5 {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.badge {
  text-shadow: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.bg-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}


::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Stats Cards Breakdown */
.card-stat {
  position: relative;
  overflow: hidden;
  background: rgba(13, 13, 18, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Fallback */
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-stat::before {
  display: none;
}

.card-stat:hover {
  transform: translateY(-5px) scale(1.01);
}

/* Base Icon Style (Neutral) */
.icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1.25rem;

  /* Default Neutral State */
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Primary Card (Sites) */
.card-stat-primary {
  border-color: rgba(0, 243, 255, 0.2);
}

.card-stat-primary:hover {
  box-shadow: 0 20px 50px -10px rgba(0, 243, 255, 0.15);
  border-color: rgba(0, 243, 255, 0.5);
}

.card-stat-primary:hover .icon-box {
  background: rgba(0, 243, 255, 0.1);
  color: #fff;
  border-color: rgba(0, 243, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

/* Info Card (Monitors) */
.card-stat-info {
  border-color: rgba(13, 202, 240, 0.2);
}

.card-stat-info:hover {
  box-shadow: 0 20px 50px -10px rgba(13, 202, 240, 0.15);
  border-color: rgba(13, 202, 240, 0.5);
}

.card-stat-info:hover .icon-box {
  background: rgba(13, 202, 240, 0.1);
  color: #fff;
  border-color: rgba(13, 202, 240, 0.3);
  box-shadow: 0 0 15px rgba(13, 202, 240, 0.2);
}

/* Warning/Danger Card (Incidents) */
.card-stat-danger {
  border-color: rgba(255, 51, 102, 0.2);
}

.card-stat-danger:hover {
  box-shadow: 0 20px 50px -10px rgba(255, 51, 102, 0.15);
  border-color: rgba(255, 51, 102, 0.5);
}

/* Incident Pulse Override for Active Threats */
.pulse-danger {
  background: rgba(255, 51, 102, 0.1) !important;
  color: #ff3366 !important;
  border-color: rgba(255, 51, 102, 0.3) !important;
  animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 51, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 51, 102, 0);
  }
}

.card-stat-danger:hover .icon-box {
  background: rgba(255, 51, 102, 0.15);
  color: #fff;
  border-color: rgba(255, 51, 102, 0.4);
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.3);
}

/* --- Professional Sidebar Styles --- */
.sb-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  opacity: 0.6;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  color: #94a3b8 !important;
  /* Muted slate color by default */
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.sb-item i {
  font-size: 1.1rem;
  color: #64748b;
  /* Even more muted icon */
  transition: all 0.2s ease;
}

.sb-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff !important;
}

.sb-item:hover i {
  color: #fff;
}

.sb-item.active {
  background: rgba(0, 243, 255, 0.08);
  /* Faint primary bg */
  color: #fff !important;
  border: 1px solid rgba(0, 243, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.05);
}

.sb-item.active i {
  color: var(--primary);
}

/* Watermark Icons */
.card-watermark {
  opacity: 0.03;
  pointer-events: none;
  color: #fff;
  filter: blur(1px);
  transition: all 0.5s ease;
}

.card-stat:hover .card-watermark {
  opacity: 0.08;
  transform: scale(1.1) rotate(-10deg);
  filter: blur(0);
}

/* Specific Colors on Hover (Optional, kept subtle) */
.card-stat-primary:hover .card-watermark {
  color: var(--primary);
}

.card-stat-info:hover .card-watermark {
  color: #0dcaf0;
}

/* Hero Tabs & Inputs */
.nav-pills-neon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px;
  display: inline-flex;
  gap: 0;
}

.nav-pills-neon .nav-link {
  color: var(--text-muted);
  border-radius: 999px;
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-pills-neon .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-pills-neon .nav-link.active {
  background: var(--primary);
  color: #000 !important;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

select.form-control,
select.form-select,
.input-neon,
.input-hero {
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  appearance: none;
  /* remove default arrow */
}

select.form-control:focus,
select.form-select:focus,
.input-neon:focus,
.input-hero:focus {
  background-color: rgba(0, 0, 0, 0.7);
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 0 0.25rem rgba(33, 243, 255, 0.1);
  outline: none;
}

.form-check-input:checked {
  background-color: var(--primary) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

/* Hero Button (Solid & Glow) */
.btn-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #00c2cc 100%);
  color: #000 !important;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.3);
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: 0.3s;
  z-index: -1;
}

.btn-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(0, 243, 255, 0.5);
}

.btn-hero:hover::before {
  opacity: 0.3;
}

/* Glass Primary Border / Card Switch */
.border-glass-primary {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.border-glass-primary:hover {
  background: rgba(0, 243, 255, 0.05);
  border-color: rgba(0, 243, 255, 0.4) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Better Placeholders */
.input-neon::placeholder,
.input-hero::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
  font-weight: 300;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991.98px) {

  /* Layout Reset */
  .layout {
    display: block;
    /* Stack sidebar and content */
    padding-top: 80px;
    /* Navbar height */
  }

  /* Navbar */
  .navbar {
    margin: 10px !important;
    width: auto !important;
    left: 0;
    right: 0;
  }

  /* Sidebar Off-Canvas Logic */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1050;
    width: 280px;
    margin-left: -280px !important;
    /* Force Hidden by default */
    background: rgba(5, 5, 8, 0.95);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Only show if explicitly opened (using a new class logic if needed, or reusing collapsed inversion) */
  /* Re-thinking: The JS toggles 'collapsed'. 
     On Desktop: Default is Visible. 'collapsed' = Hidden.
     On Mobile: Default should be Hidden. 'collapsed' = Hidden. 
     The problem is likely the JS removing 'collapsed' based on localStorage.
     
     Let's enforce: On mobile, .sidebar (without collapsed) is STILL HIDDEN.
     We need a new class 'show-mobile' to show it.
  */

  .sidebar.show-mobile {
    margin-left: 0 !important;
  }

  /* Overlay */
  .sidebar.show-mobile::before {
    content: '';
    position: fixed;
    top: 0;
    left: 280px;
    right: -100vw;
    bottom: 0;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1040;
    pointer-events: auto;
  }

  /* Main Content */
  .main-content,
  .main {
    padding: 20px 15px !important;
    width: 100%;
  }

  /* Cards */
  .card-body {
    padding: 1.25rem !important;
  }

  /* Typography */
  h1.h3 {
    font-size: 1.5rem;
  }

  /* Buttons */
  .btn-hero {
    font-size: 0.9rem;
    padding: 12px 20px;
  }

  /* Brand Logo in Navbar */
  .navbar-brand {
    font-size: 1.1rem;
  }

  /* Toggle Button Fixes */
  [data-sb-toggle] {
    z-index: 1060;
    /* Above sidebar overlay */
    position: relative;
  }

  [data-sb-toggle] i {
    pointer-events: none;
    /* Ensure click hits button */
  }
}

/* Ensure collapsed class works reversely on desktop if needed, 
   but our JS adds 'collapsed' to HIDE. 
   On Mobile: 'collapsed' should be DEFAULT (Hidden).
*/

/* Hover Utilities */
.hover-text-white:hover {
  color: #fff !important;
}

.hover-text-black:hover {
  color: #000 !important;
}
/* --- Radar Loader (XRADAR Concept) --- */
.radar-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: rgba(5, 5, 8, 0.85); /* Slightly transparent dark bg */
  backdrop-filter: blur(20px); /* Heavy glass effect */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.radar-loader.active {
  opacity: 1;
  pointer-events: all;
}

.radar-spinner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(0, 243, 255, 0.2);
  position: relative;
  background: 
    radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%),
    repeating-radial-gradient(transparent 0, transparent 19px, rgba(0, 243, 255, 0.1) 20px);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

/* The scanning beam */
.radar-spinner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 243, 255, 0.8) 360deg);
  opacity: 0.3;
  animation: radarScan 2s linear infinite;
  mask-image: radial-gradient(transparent 40%, black 100%);
  -webkit-mask-image: radial-gradient(transparent 40%, black 100%);
}

/* Central blip */
.radar-spinner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px #fff;
  animation: blipCenter 2s ease-in-out infinite;
}

.radar-text {
  margin-top: 2rem;
  font-family: var(--font-heading);
  letter-spacing: 4px;
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  animation: pulseText 1.5s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

@keyframes radarScan {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes blipCenter {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes pulseText {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* --- Reliability Badges --- */
.badge-verified {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0));
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  animation: shineBadge 3s infinite linear;
  position: relative;
  overflow: hidden;
}

.badge-verified::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  animation: shineBadgePass 4s infinite;
}

@keyframes shineBadgePass {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* --- Cyber Map Styles --- */
.jvm-container {
  background: transparent !important;
}

.jvm-region {
  fill: #1e293b;
  fill-opacity: 1;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 0.5;
  transition: fill 0.2s;
}

.jvm-region:hover {
  fill: #334155;
}

.map-marker {
  position: relative;
}

/* Pulsing Dots on Map */
.map-pulse {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulseMap 2s infinite;
}

@keyframes pulseMap {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 243, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
  }
}

/* --- Map Data Flow Animation --- */
.jvm-line {
  stroke-dasharray: 4, 4;
  animation: flowLine 1s linear infinite;
  stroke: rgba(0, 243, 255, 0.4) !important;
  stroke-width: 2px;
}

@keyframes flowLine {
  from {
    stroke-dashoffset: 16;
  }
  to {
    stroke-dashoffset: 0;
  }
}
