/* Conteneur de carte + barre de progression + popup image */
#map.mapDiv {
    position: fixed;
    inset: 0;
    z-index: 0;
}

#myProgress {
    position: relative;
    top: 80%;
    bottom: 20%;
    transform: translate(120%, -50%);
    width: auto;
    height: auto;
    align-content: center;
    background-color: gray;
}

#popupEvent {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9500;
}

#popupImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.eventImg {
    cursor: pointer;
    width: 200px;
    margin: 10px;
    border-radius: 5px;
    transition: transform 0.2s;
}

.eventImg:hover {
    transform: scale(1.05);
}

.image-container {
    position: relative;
    display: inline-block;
}

.expand-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    padding: 5px;
    font-size: 18px;
    cursor: pointer;
}
