:root {
    --map-leaflet-width: 100%;
    --map-leaflet-height: 400px;
}

.leaflet-marker-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
    /* Ajoute une ombre portée sous l'icône du marqueur */
    filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.35));
    /* Pour compatibilité avec les navigateurs plus anciens */
    -webkit-filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.35));
}

.leaflet-widget-map-container {
    width: var(--map-leaflet-width);
    height: var(--map-leaflet-height);
    overflow: hidden;
}

.leaflet-popup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    height: 100%;
    width: 100%;
}

.leaflet-popup-content-wrapper {
    position: relative;
    overflow: hidden;
}

.leaflet-popup-content-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
}

.leaflet-popup-content {
    margin: 0;
    z-index: 1;
}

.leaflet-popup-content * {
    z-index: 1;
}

.leaflet-popup-content .leaflet-custom-content,
.leaflet-popup-content .leaflet-popup-title {
    width: 100%;
}

.leaflet-popup-close-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1;
    cursor: pointer;
}

.leaflet-popup-link {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.leaflet-popup-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}