/* Configuración base de pantalla completa */
html, body {
    height: 100%;
    margin: 0;
}

/* Fondo con tu degradado exacto e imagen final */
.bg-portal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(6, 5, 53, 0.5) 0%, rgba(242, 246, 6, 0.5) 100%), url('https://tecnicoselpilarancud.cl/assets/img/fondoFinal.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    z-index: -1;
}

/* Zona de activación del menú fijo arriba a la izquierda */
.menu-trigger-zone {
    z-index: 1050; /* Por encima del flujo normal */
}

/* Control responsivo del tamaño de la insignia */
.img-insignia {
    width: 75px;
    height: auto;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.3));
}

/* EFECTO HOVER DINÁMICO PARA LOS LINKS DEL PANEL */
.panel-enlaces .list-group-item {
    background-color: transparent; /* Fondo base transparente */
    transition: all 0.3s ease-in-out; /* Animación de transición suave */
    font-weight: 500;
}

/* Cambio de color al pasar el puntero (Hover) */
.panel-enlaces .list-group-item:hover {
    background-color: #f2f606 !important; /* El amarillo de tu paleta lineal */
    color: #060535 !important; /* El azul oscuro de tu paleta para contraste */
    padding-left: 2rem !important; /* Desplazamiento estético hacia la derecha */
}

/* Al cambiar de color en hover, cambiamos también el icono */
.panel-enlaces .list-group-item:hover i {
    color: #060535 !important;
}

/* Texto pequeño de pie de página del panel */
.footer-text {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}