#modal-speedtest,
#modal-create-session,
#modal-mitra-promo {
  z-index: 9999 !important;
}

/* Custom Scrollbars */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #0A0D12;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Ticker Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Pulsing Leaflet Pin Aura for Nugas Bareng Spots */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 12px rgba(59, 130, 246, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.pulsing-beacon {
  animation: pulse-ring 2s infinite;
  border-radius: 50%;
}

/* Custom Leaflet Map Dark Styling Override */
.leaflet-container {
  background-color: #0E131F !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.leaflet-popup-content-wrapper {
  background: #121824 !important;
  color: #F3F4F6 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 4px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5) !important;
}

.leaflet-popup-tip {
  background: #121824 !important;
}

/* Navigation active tab style */
.nav-tab.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.nav-tab {
  color: #94A3B8;
}
.nav-tab:hover {
  color: #F8FAFC;
}

.mobile-nav-tab.active {
  color: #3B82F6;
}

/* Filter Pill Active State */
.filter-pill.active {
  background-color: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60A5FA;
}

header {
  z-index: 9999 !important;
}

#nav-dropdown-menu {
  z-index: 10000 !important;
}

/* ==================== CUSTOM DARK SCROLLBAR ==================== */

/* Ubah lebar & gaya scrollbar untuk Chrome, Edge, Safari */
#view-profile::-webkit-scrollbar,
main::-webkit-scrollbar {
  width: 6px; /* Ukuran scrollbar yang tipis & elegan */
}

#view-profile::-webkit-scrollbar-track,
main::-webkit-scrollbar-track {
  background: #0A0D12; /* Sama dengan warna latar belakang aplikasi */
}

#view-profile::-webkit-scrollbar-thumb,
main::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15); /* Warna thumb abu-abu gelap transparan */
  border-radius: 9999px; /* Membuat ujung scrollbar membulat */
  border: none !important; /* Mencegah border putih bawaan browser */
}

#view-profile::-webkit-scrollbar-thumb:hover,
main::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3); /* Sedikit terang saat di-hover */
}

/* Dukungan Scrollbar untuk Browser Firefox */
#view-profile, main {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) #0A0D12;
  border: none !important;
  outline: none !important;
}