
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  overflow: hidden; 
}

.leaflet-top.leaflet-right {
  top: 50px; 
}


#map {
  height: 100%;
  width: 100%;
  background-color: #1a1a1a; 
}


.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 20px;
  z-index: 1100;
}

.top-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 300;
  font-size: 20px;
  color: #555555;
  padding: 10px 15px;
  margin: 0;
  background-color: transparent;
  transition: color 0.3s ease;
}

.top-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #0056b3;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.top-nav a:hover {
  color: #000000;
}

.top-nav a:hover::after {
  width: 90%;
}

.top-nav a.active {
  color: #0056b3;
  cursor: default;
}



#data-select-control {
  position: absolute;
  
  top: 60px;
  left: 10px;
  z-index: 1000;
  background-color: #fff;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: none;
}

#data-select-control select {
  padding: 5px;
  font-size: 14px;
}


.info.legend {
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  line-height: 22px;
  color: #555;
  font-size: 14px;
  backdrop-filter: blur(5px);
}

.info.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.info.legend b {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: normal;
}


.loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1001;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border: 6px solid #f3f3f3;
  border-radius: 50%;
  border-top: 6px solid #3498db;
  animation: spin 1.5s linear infinite;
}

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