/* ============================================
   CERROS KML - CONTENEDOR 3
   Contenedor Derecho (leaflet-top.leaflet-right)
   ============================================ */

/* Botón principal */
.leaflet-control-cerros-kml.leaflet-bar {
    width: 33px !important;
    height: 33px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.12s ease !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 4px !important;
    border: 2px solid rgba(0,0,0,0.2) !important;
    background-color: #fff !important;
    background-size: 21px 21px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-image: url('/wp-content/uploads/icons/svg/bandera.svg');
    position: relative;
    z-index: 1000;
}

/* Estado hover */
.leaflet-control-cerros-kml.leaflet-bar:hover {
    background-color: #f2f8fc !important;
    border-color: rgba(0,0,0,0.3) !important;
}

/* Estado activo */
.leaflet-control-cerros-kml.leaflet-bar.activa {
    background-color: #FF7B00 !important;
    border-color: #cc6200 !important;
}

/* Tooltip touch para móviles */
.leaflet-control-cerros-kml-tooltip-touch {
    position: fixed;
    background: rgba(0,0,0,0.88);
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.12s ease;
    z-index: 100000;
    pointer-events: none;
    transform-origin: right center;
}

.leaflet-control-cerros-kml-tooltip-touch.visible {
    opacity: 1;
}

@media (max-width: 360px) {
    .leaflet-control-cerros-kml-tooltip-touch {
        font-size: 0.72rem;
        padding: 5px 7px;
    }
}
