/* CSS Premium para el Nuevo Sidebar Global - Línea Estética */
#asideParcialGlobal {
    background-color: #eeeeee;
    border-right: 1px solid #ddd;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    overflow-y: auto;
}

.sidebar-container {
    padding: 10px 0;
}

.list-main {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Línea a la izquierda para todos los ítems principales */
.list__item-bi {
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #fff; /* La línea blanca que pediste */
    transition: 0.3s border;
}
    /* Cuando el ítem esté activo o se pase el mouse, podemos resaltar la línea si deseas */
    .list__item-bi:hover {
        border-left: 1px solid #9265cc; /* Se vuelve morada al pasar el mouse para dar feedback */
    }

.list__button-bi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    cursor: pointer;
    transition: 0.2s background;
    text-decoration: none;
    color: #555;
}

    .list__button-bi:hover {
        background-color: #e0e0e0;
        color: #9265cc;
    }

    .list__button-bi i, .list__button-bi .material-symbols-sharp {
        width: 30px;
        font-size: 20px;
        color: #777;
        transition: 0.2s;
    }

    .list__button-bi h4 {
        flex: 1;
        font-size: 13.5px;
        font-weight: 500;
        margin: 0;
        margin-left: 10px;
    }

.list__item-bi.active > .list__button-bi {
    background: #ffffff;
    border-left: 4px solid #9265cc;
    color: #9265cc;
}

.list__item-bi.active h4 {
    font-weight: 700;
}

.list__item-bi.active i, .list__item-bi.active .material-symbols-sharp {
    color: #9265cc;
}

.list__arrow-bi {
    width: 12px;
    transition: transform 0.3s;
    opacity: 0.5;
}

.list__item-bi--open .list__arrow-bi {
    transform: rotate(90deg);
}

.list__show-bi {
    background-color: #e6e6e6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    list-style: none;
    padding: 0;
}

.list__item-bi--open .list__show-bi {
    max-height: 1500px;
}

.list__inside-bi {
    padding: 10px 20px 10px 60px;
    display: block;
    text-decoration: none;
    color: #666;
    font-size: 13px;
    transition: 0.2s;
    cursor: pointer;
}

    .list__inside-bi:hover {
        background-color: #ddd;
        color: #9265cc;
    }

.menu-bi-special {
    border-left: 1px solid #9265cc;
    background: rgba(146, 101, 204, 0.05);
}

/* Botón cerrar para móvil */
#close-btn-bi {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
}

@media screen and (max-width: 1200px) {
    #close-btn-bi {
        display: block;
    }
}
