#popupRadarChart {
    /*height: 450px !important;*/
    /*width: 450px !important;*/
    height: 600px !important;
    /*width: 600px !important;*/
    width: 100% !important;
}

#radarChart {
    height: 400px !important;
    /*width: 800px !important;*/
    width: 100% !important;
}


@media (max-width: 576px) {
    #popupRadarChart {
        height: 300px !important;
        /*width: 300px !important;*/
        width: 100% !important;
    }

    #radarChart {
        /*height: 400px !important;*/
        width: 100% !important;
    }
}

.custom-popup {
    width: auto;
    max-width: 90vw; /* 90% of viewport width */
}

@media (max-width: 576px) {
    .custom-popup {
        max-width: 300px;
    }
}

.custom-popup .leaflet-popup-content {
    overflow: auto;
    max-height: 450px; /* or what you want */
    max-width: 100%;
}

@media (max-width: 576px) {
    .custom-popup .leaflet-popup-content {
        max-height: 300px;
        max-width: 90vw;
    }
}

.card-header {
    background-color: #FFF;
    font-size: 1.5rem;
    font-weight: bold;
}

.canvas-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px; /* Set height as needed */
}

.leaflet-popup-content {
    text-align: center;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}


.select2-results__options {
    position: relative;
    z-index: 9999 !important;
}

#nearbyModal.modal {
    z-index: 1050;
}

.leaflet-popup-panel {
    cursor: move;
}


#nearbyInfoPanel {
    position: absolute;
    top: 270px;
    right: 20px;
    width: 430px;
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    #nearbyInfoPanel {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 1rem 1rem 0 0;
        max-height: 70vh;
        overflow-y: auto;
    }
}

.vertical-align-center {
    vertical-align: middle !important;
}