.is-mobile-header {
    display: none;
    /* Hide the button by default */
}

.is-mobile-departments {
    display: none;
    /* Hide the button by default */
}

#only-desktop {
    display: block;
}

.mobile-only {
    display: none;
}

/* Show the button only on mobile devices */
@media (max-width: 600px) {
    .is-mobile-header {
        /* display: inline-block; */
        /* Show the button on mobile */
        display: flex;
        /* Use Flexbox */
        align-items: center;
        /* Center items vertically */
        justify-content: space-between;
        /* Space between items */
        /* padding: 10px; */
    }

    .is-mobile-departments {
        /* display: inline-block; */
        /* Show the button on mobile */
        display: block;
        /* Use Flexbox */
        /* align-items: center; */
        /* Center items vertically */
        /* justify-content: space-between; */
        /* Space between items */
        /* padding: 10px; */
    }

    #only-desktop {
        display: none;
    }

    .mobile-only {
        display: block;
        padding: 10px;
    }
}

.div-map {
    font-family: 'Montserrat';
    /* width: 80%; */
}

.map-shadow {
    width: 100%;
    /* Set the width to fill the parent container */
    position: relative;
    /* Required for absolutely positioning the pseudo-element */
    overflow: hidden;
    /* Prevent the shadow from overflowing */
}

.map-shadow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    /* Fixed height for the shadow */
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
    /* Adjusted gradient */
    z-index: 1000;
    /* Ensure the shadow is above the map */
    pointer-events: none;
    /* Allow clicks to pass through */
}

#map {
    height: 450px;
}

.map-disclaimer {
    font-size: 14px;
    font-weight: normal;
    display: flex;
    /* Use flexbox for centering */
    justify-content: center;
    /* Center horizontal */
    align-items: center;
    /* Center vertical */
    text-align: center;
    /* Center text */
}

.summary-number {
    margin: 0;
    font-size: 30px;
    font-weight: bold;
    color: #00adef;
}

.summary-text {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 5px !important;
}

.three-column-container {
    display: flex;
    gap: 0px;
    padding: 10px 0px 10px 0px;
    /* Space between columns */
}

/* #department-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
} */

#close-info-box {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    text-align: center;
    width: 24px;
    height: 24px;
    font: 18px / 24px Tahoma, Verdana, sans-serif;
    color: #757575;
    text-decoration: none;
    background: transparent;
}

.leaflet-container a.leaflet-popup-close-button {
    font: 18px / 24px Tahoma, Verdana, sans-serif !important;
}

.column {
    flex: 1;
    /* Equal width columns */
    /* background-color: #00adef; */
    /* color: white; */
    padding: 0px;
    /* border-radius: 8px; */
    text-align: center;

    /* font-family: 'Courier New', Courier, monospace; */

    /* Center content vertically and horizontally */
    display: flex;
    flex-direction: column;
    /* Keeps multiple elements stacked vertically */
    justify-content: center;
    /* justify-content: center; */
    /* Vertical alignment */
    align-items: center;
    /* Horizontal alignment */
}

.column {
    /* flex: 1; */
    /* Equal width columns */
    /* background-color: #00adef; */
    /* color: white; */
    padding: 0px;
    /* border-radius: 8px; */
    /* text-align: center; */

    /* font-family: 'Courier New', Courier, monospace; */

    /* Center content vertically and horizontally */
    display: flex;
    flex-direction: column;
    /* Keeps multiple elements stacked vertically */
    justify-content: center;
    /* justify-content: center; */
    /* Vertical alignment */
    align-items: center;
    /* Horizontal alignment */
}

.department-button.active {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: normal;
    background-color: #F7931D;
    /* #00adef */
    color: #fff !important;
    border-color: #F7931D;
}

.department-button.non-active {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: normal;
    background-color: #00adef;
    color: white !important;
    border-color: #00adef;
}

.department-button:hover {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: normal;
    background-color: #F7931D;
    /* #00adef */
    color: #fff !important;
    border-color: #F7931D;
}

/* .department-button.active:hover {
    background-color: inherit;
    color: inherit;
} */

.title-info-box {
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: bold;
    margin: 0px 0px 10px 0px;
    color: white;
}

.key-info-box {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: normal;
    margin: 0;
}

.value-info-box {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.margin-info {
    margin: 0;
}

/* Apply custom styles to all cluster icons */
.marker-cluster {
    background-color: rgba(80, 178, 229, 0.6) !important;
    color: white;
    font-weight: bold;
    border: 2px solid #0056b3;
}

/* Style the inner circle with the same color */
.marker-cluster div {
    background-color: rgba(80, 178, 229, 0.6) !important;
}

/* Adjust the font size for better visibility */
.marker-cluster div span {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.leaflet-popup {
    margin-bottom: 20px !important;
}

.leaflet-popup-pane {
    z-index: 1201 !important;
    position: absolute;
}

/* Custom styling for Leaflet popup */
.leaflet-popup-content-wrapper {
    background-color: #00adef !important;
    border: none !important;
    border-radius: 4px !important;
    /* Remove the default border */
    width: 350px;
}

.leaflet-popup-content {
    color: white !important;
    /* Set the text color to white */
    /* font-family: Courier New, Courier, monospace; */
    /* Optional: Set a font */
    font-size: 14px;
    /* width: 350px !important; */
}

.leaflet-popup-tip {
    background-color: #00adef !important;
}

/* Optional: Style the popup's close button */
.leaflet-popup-close-button {
    /* background-color: #00adef !important; */
    /* Color of the close button */
    color: white !important;
    /* Color of the close button text */
}

.popup-text-x-large {
    font-size: x-large;
}

.popup-text-large {
    font-size: large;
}

.leaflet-bar a {
    color: grey!important;
}
.leaflet-bar a:hover {
    color: grey!important;
}

.label-country-text {
    font-size: 20px;
    color: white;
    background: black;
    padding: 0px 4px;
    border-radius: 4px;
    border: 1px solid black;
    white-space: nowrap;
    /* Prevent text from breaking */
    display: inline-block;
    /* Make sure the background wraps the content */
}

.label-country-text-2 {
    font-size: 14px;
    font-weight: bold;
    color: black;
    background: white;
    padding: 2px 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

@media (max-width: 768px) {
    .three-column-container {
        flex-direction: column;
    }
}