
.page-menu {
    position: fixed;
    top: 50px; /* debajo del navbar */
    left: 0;
    width: 72px;
    height: calc(100vh - 50px);
    background: #ffffff;
    box-shadow: 4px 0 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
    z-index: 1000;
}

/* FORZAR MENU VERTICAL */
.page-menu .menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
}

.page-menu .menu li {
    float: none !important;
    display: block !important;
    width: 100%;
    text-align: center;
}
/* Empuja el mapa */


/* Lista */
.page-menu .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Items */
.page-menu .menu li {
    display: flex;
    justify-content: center;
}

/* Botones */
.page-menu .menu li a {
    width: 48px;
    height: 48px;
    margin: 6px 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Iconos */
.page-menu .menu li a i {
    font-size: 22px;
    color: #6f6f6f;
    transition: 0.2s;
}

/* Hover */
.page-menu .menu li a:hover {
    background: #f2f2f2;
}

.page-menu .menu li a:hover i {
    color: #2b82d4;
    transform: scale(1.15);
}

/* Activo */
.page-menu .menu li a.active {
    background: rgba(43,130,212,0.12);
}

.page-menu .menu li a.active i {
    color: #2b82d4;
}

/* Ocultar texto original */
.page-menu .menu li a span,
.page-menu .menu li a .menu-text {
    display: none !important;
}

/* Tooltip */
.page-menu .menu li a::after {
    content: attr(title);
    position: absolute;
    left: 65px;
    background: #2c2c2c;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.page-menu .menu li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Separador */
.page-menu .divider {
    height: 1px;
    background: #e0e0e0;
    margin: 10px 12px;
}

/* Ocultar texto pero mantener icono */
.page-menu .menu li a {
    font-size: 0 !important;
}

/* Compactar botones verticalmente */
.page-menu .menu li a {
    width: 44px !important;
    height: 44px !important;
    margin: 3px 0 !important;
}

/* Quitar espacio extra del contenedor */
.page-menu {
    padding: 5px 0 !important;
}
/* Ocultar encabezado del menú */
.page-menu .title-block {
    display: none !important;
}
/* Restaurar tamaño solo al icono */
.page-menu .menu li a i {
    font-size: 22px !important;
}
.page-menu .menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

/* Ajuste fino del icono */
.page-menu .menu li a i {
    line-height: 1 !important;
    position: relative;
    top: 4px; /* Ajuste fino vertical */
}
/* Estado colapsado */


/* Animación */
.page-menu {
    transition: transform 0.3s ease;
}

/* Estado colapsado */
.page-menu.collapsed {
    transform: translateX(-100%);
}

/* Cuando el menú está oculto el mapa ocupa todo */
.page-menu.collapsed ~ #page_map {
    margin-left: 0 !important;
}


.page-menu .button-block a {
    display: inline-block;
    padding: initial;
    border-radius: initial;
    background: initial;
    border: initial;
    color: initial;
    box-shadow: none;
    font-weight: initial;
}

.page-menu .button-block a {
    display: inline-block;
    padding: initial;
    border-radius: initial;
    background: initial;
    border: initial;
    color: initial;
    box-shadow: none;
    font-weight: initial;
}


    /* ================================
       LEAFLET POPUP - BORDE GOOGLE MAPS
    ================================ */
    .leaflet-popup-content-wrapper {
        /* Borde gris fino en los 4 lados */
        border: 1px solid #d6d6d6;

        /* Bordes suavemente redondeados */
        border-radius: 10px;

        /* Sombra suave tipo Google Maps */
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.15),
            0 8px 18px rgba(0, 0, 0, 0.12);

        background: #ffffff;
    }

    /* Espaciado interno del popup */
    .leaflet-popup-content {
        padding: 14px 14px;
        font-size: 12px;
        line-height: 1.5;
    }

    /* Separación entre texto y : */
    .leaflet-popup-content td strong {
        padding-right: 6px;
        display: inline-block;
    }

    /* ================================
       AJUSTE COLUMNA TITULOS POPUP
    ================================ */

    /* Ensancha la columna izquierda (títulos) */
    .leaflet-popup-content table td:first-child {
        min-width: 120px;
        white-space: nowrap;
        vertical-align: top;
    }

    /* Reserva espacio para iconos */
    .leaflet-popup-content table td:first-child strong::before {
        display: inline-block;
        width: 22px;
    }

    /* ================================
       ICONOS POR CADA TITULO
    ================================ */

    .leaflet-popup-content table tr:nth-child(1) td:first-child strong::before { content: "📡 "; }
    .leaflet-popup-content table tr:nth-child(2) td:first-child strong::before { content: "📍 "; }
    .leaflet-popup-content table tr:nth-child(3) td:first-child strong::before { content: "🌍 "; }
    .leaflet-popup-content table tr:nth-child(4) td:first-child strong::before { content: "⛰️ "; }
    .leaflet-popup-content table tr:nth-child(5) td:first-child strong::before { content: "🧭 "; }
    .leaflet-popup-content table tr:nth-child(6) td:first-child strong::before { content: "🚗 "; }
    .leaflet-popup-content table tr:nth-child(7) td:first-child strong::before { content: "⏰ "; }
    .leaflet-popup-content table tr:nth-child(8) td:first-child strong::before { content: "📏 "; }
    .leaflet-popup-content table td:first-child strong::before {
    content: "ℹ️ ";
}
.leaflet-popup-content table td:first-child strong::before {
    content: "ℹ️ ";
}
.leaflet-popup-content table td:first-child strong::before {
    content: "ℹ️ ";
}
.leaflet-popup-content table td:first-child strong::before {
    content: "ℹ️ ";
}
    
