.map-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.map-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.map-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.map-content {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    width: 90vw;
    height: 80vh;
    z-index: 1;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.leaflet-map-container {
    width: 100%;
    height: 100%;
}

/* Bouton Fermer en haut à droite */
.map-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 1000;
}

.map-close-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.hidden {
    display: none !important;
}
