/* Stylizacje dodatkowe */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(51, 65, 85, 0.8);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(71, 85, 105, 1);
}

.nav-tab.active {
  background-color: #059669;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.2);
}

.nav-tab:not(.active) {
  color: #94a3b8;
}

.nav-tab:not(.active):hover {
  color: #f8fafc;
  background-color: rgba(30, 41, 59, 0.5);
}

/* Dostosowanie Leaflet */
.leaflet-container {
  background-color: #090d16 !important;
  font-family: inherit;
}

.leaflet-popup-content-wrapper {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border: 1px solid #334155 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
}

.leaflet-popup-tip {
  background-color: #0f172a !important;
}

/* Pulsing hover marker on Leaflet map */
.hover-map-marker {
  width: 16px;
  height: 16px;
  background: #10b981;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 12px #10b981;
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(0.9);
  }
}
