/* Conteneur englobant l'outil en haut à gauche */
.pwa-hl-control-container {
    background: transparent;
    margin-top: 5px;
    margin-left: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Le bouton Disquette orange (Fidèle à votre version) */
.btn-pwa-telecharger {
    background-color: #ffffff !important; /* Orange CartoCyclo */
    border: none !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    z-index: 1000 !important;
    width: 32px !important;
    height: 32px !important;
    display: block !important;
    overflow: hidden !important;
}

.btn-pwa-telecharger .btn-pwa-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    text-decoration: none !important;
    font-size: 18px !important;
    cursor: pointer !important;
}

.btn-pwa-telecharger:hover {
    background-color: #f4fbf7 !important;
}

/* Le Grand Panneau déplié à la place de la disquette */
.pwa-hl-panel {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    padding: 14px;
    width: 220px;
    color: #333333;
    border: 1px solid #e2e8f0;
    position: relative;
    animation: apparitionPanel 0.2s ease-out; /* Effet de pop discret */
}

/* La petite croix pour refermer */
.pwa-hl-close-btn {
    position: absolute;
    top: 5px;
    right: 9px;
    font-size: 18px;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.15s;
}
.pwa-hl-close-btn:hover {
    color: #ef4444; /* Devient rouge au survol */
}

/* Animation CSS d'ouverture */
@keyframes apparitionPanel {
    from {
        opacity: 0;
        transform: scale(0.9) translate(-10px, -10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translate(0, 0);
    }
}

/* Style du texte transparent et propre */
.etiquette-grand-zoom {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #1b5e20 !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    text-align: center;
    line-height: 30px;
    text-shadow: -2px -2px 0 #ffffff, 2px -2px 0 #ffffff, -2px 2px 0 #ffffff, 2px 2px 0 #ffffff, 0 2px 4px rgba(0,0,0,0.3);
    pointer-events: none;
}

.etiquette-grand-zoom.z14 {
    color: #0d47a1 !important; /* Bleu pour se détacher au centre */
}

/* Rendre invisible le conteneur technique du tooltip de Leaflet */
.hidden-tooltip-base {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0 !important; /* Permet d'utiliser l'anti-collision en tâche de fond */
}