.leaflet-routing-container { display: none !important; }
.custom-marker-label {
    background: var(--purple);
    border-radius: 20px;
    padding: 8px 8px;
    border: 2px solid #00000042;
    display: flex;
    align-items: center;
    gap: 0;
    box-shadow: var(--shadow);
    white-space: nowrap;
    font-weight: bold;
    font-size: 0.8rem;
    color: white;
    transition: all 0.2s ease;
    width: auto !important;
    height: auto !important;
}

.custom-marker-label i {font-size: 100%;width: 1.2rem;text-align: center;height: 0.8rem;line-height: 0.8rem;padding-left: 0.1px;}
.custom-marker-label img { width: 1rem; height: 1rem; vertical-align: middle; }
.custom-marker-label span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.7em;
    padding-top: 0.4em;
}
.marker-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.6rem;
    font-weight: bold;
    margin-right: 2px;
    flex-shrink: 0;
    border-radius: 0.9em;
}

.marker-step-num i{
    opacity:0.75;
    margin-right: 2px;
}

.zoom-far .custom-marker-label {padding: 7px 4px;border-radius: 50%;border-width: 4px; position: relative;}
.zoom-far .custom-marker-label span:not(.marker-step-num) { display: none; }
.zoom-far .custom-marker-label .marker-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.45rem;
    font-weight: 100;
    box-shadow: 0 0 4px var(--black-50);
    border: 2px solid var(--black-40);
    text-align: center;
    padding-top: 0.2em;
}

.zoom-mid .custom-marker-label {padding: 4px;border-radius: 25px;}
.zoom-mid .custom-marker-label span:not(.marker-step-num) { max-width: 0; opacity: 0; }
.zoom-mid .custom-marker-label:hover { padding: 8px 15px; z-index: 1000 !important; }
.zoom-mid .custom-marker-label:hover span { max-width: 200px; opacity: 1; margin-left: 8px; }

.zoom-near .custom-marker-label { padding: 6px 12px; }
span.marker-step-num {
    margin-left: -6px!important;
}
.zoom-near .custom-marker-label span {margin-left: 7px;}

.user-location-marker { z-index: 5 !important; }

.custom-marker-label.start { border-color: #3498db; background: #1a2a6c; }
.custom-marker-label.hotel { border-color: #9b59b6; }
.custom-marker-label.park { border-color: #27ae60; }
.custom-marker-label.airport { border-color: #e74c3c; }
.custom-marker-label.train { border-color: #f1c40f; }

/* Regroupement de marqueurs (Leaflet.markercluster) */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: transparent !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: bold !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}
