/* General body styling */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    padding: 0;
    background-color: #f3eeee; /* Light gray for contrast */
}

/* Center the map and provide space */
#map {
    margin: 0 auto;
    width: 80%; /* Adjust as needed */
    height: 600px; /* Fixed height for the map */
    position: relative;
    border: 1px solid #ddd;
    background-color: #ffffff; /* White background for better contrast */
    padding-top: 30px; /* Add space above the map for slider clearance */
}

/* Style the slider container */
.slider-container {
    margin: 20px auto;
    margin-bottom: 30px;
    text-align: center;
}

/* Style the legend */
#legend {
    position: absolute;
    top: 100px;
    right: 20px;
    width: auto; /* Remove conflicting width scaling */
}

/* Tooltip styling */
.tooltip {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.controls-container {
    display: flex;           /* Enable flexbox layout */
    justify-content: center; /* Center the controls horizontally */
    gap: 20px;               /* Add space between the controls */
    margin: 10px auto;       /* Center the container and add vertical margin */
}

/* Controls for dropdown */
.controls {
    /* display: flex;
    justify-content: center;
    gap: 10 px; */
    /* text-align: center;*/
    /* margin: 10px auto;  */
    text-align: left;
}

select {
    padding: 5px;
    font-size: 14px;
}

/* Ensure responsiveness */
@media (max-width: 768px) {
    #map {
        width: 100%;
    }

    #legend {
        width: 80%;
    }
}
