/* ============================================
    BOTÓN "VER" - Mismo estilo que layer-switch.css
    Contenedor: leaflet-top leaflet-right2
    ============================================ */

.leaflet-control-ver.leaflet-bar {
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid rgba(0,0,0,0.2);
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    border-radius: 4px;
    transition: all 0.12s ease;
    user-select: none;
    -webkit-user-select: none;
}

.leaflet-control-ver.leaflet-bar:active {
    transform: scale(0.98);
}

.leaflet-control-ver.leaflet-bar:hover {
    background-color: #f2f8fc;
    border-color: rgba(0,0,0,0.3);
}

/* Emoji del botón */
.leaflet-control-ver span {
    font-size: 18px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

/* Estado activo (cuando está activado) */
.leaflet-control-ver.activa {
    background: #FF7B00 !important;
    border-color: #FF7B00 !important;
}

.leaflet-control-ver.activa span {
    color: #fff;
}

/* Tooltip para táctil - lado izquierdo del botón */
.ver-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: left center;
}

/* Tooltip cuando está dentro del contenedor del mapa (fullscreen) */
.leaflet-container .ver-tooltip-touch {
    position: absolute;
    z-index: 1001;
}

.ver-tooltip-touch.visible {
    opacity: 1;
}

@media (max-width: 360px) {
    .ver-tooltip-touch {
        font-size: 0.72rem;
        padding: 5px 7px;
    }
}
