html, body {
    height: 100%;
    margin: 0;
}
.leaflet-container {
    height: 400px;
    width: 600px;
    max-width: 100%;
    max-height: 100%;
}
#map { width: 100%; height: 100%; }

.info { padding: 6px 8px; font: 14px/16px Arial, Helvetica, sans-serif; background: white; background: rgba(255,255,255,0.8); box-shadow: 0 0 15px rgba(0,0,0,0.2); border-radius: 5px; } 

.info h4 { margin: 0 0 5px; color: #777; }

.legend { text-align: left; line-height: 18px; color: #555; } .legend i { width: 18px; height: 18px; float: left; margin-right: 8px; opacity: 0.7; }

.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.info h4 {
    margin: 0 0 5px;
    color: #777;
}

.legend {
    line-height: 18px;
    color: #555;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}

#slider-container {
    position: absolute;
    bottom: 30px;
    left: 10px;
    z-index: 1000;
    width: 300px;
    background: rgba(255,255,255,0.8);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

#slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

#start-date, #end-date {
    font: 12px/14px Arial, Helvetica, sans-serif;
    color: #555;
}


#slider-container .noUi-handle {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid #ccc;
  right: -8px;
  top: 0px;
  /* cursor: pointer; */
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

#slider-container .noUi-handle:hover {
  background: #f0f0f0;
}

#slider-container .noUi-connect {
  background: #a81c00;
}

#back-to-national {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    cursor: pointer;
}

#loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none; /* Hidden by default */
}

#loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
}
