/* ===============================
   🎨 STYLES GÉNÉRAUX DU MENU LATERAL GAUCHE
   =============================== */
   #vk_menuLateralGauche {
    position: fixed;
    top: var(--vk_menuLateralGauche_marginTop);
    left: 0;
    width: var(--vk_menuLateralGauche_width_close);
    max-width: var(--vk_menuLateralGauche_width_close);
    height: 100vh;
    padding: 5px 5px 25px;
    display: flex;
    flex-direction: column;
    background: var(--vk_menuLateralGauche_color);
   /* border-right: 4px solid var(--vk_component_background_secondary);*/
    transition: var(--vk_trans_03);
}

#vk_menuLateralGauche.open {
    width: var(--vk_menuLateralGauche_width_open);
    max-width: var(--vk_menuLateralGauche_width_open);
    padding: 20px 20px 25px;
}

#vk_menuLateralGauche.close {
    width: var(--vk_menuLateralGauche_width_close);
    max-width: var(--vk_menuLateralGauche_width_close);
    padding: 5px 5px 25px;
}

/* ===============================
   🔰 LOGO + TITRE
   =============================== */
#vk_menuLateral_wrapper_logoTitre {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

#vk_menuLateral_wrapper_logoTitre:hover {
    transform: scale(1.05);
}

#vk_menuLateral_logo {
    display: flex;
    max-height: 35px;
    margin-right: 10px;
}

#vk_menuLateral_titre {
    display: none;
    opacity: 0;
    font-size: 1.4em;
    background: var(--vk_header_title_color);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--textColor);
    text-decoration: underline;
    transition: var(--tran-03);
}

#vk_menuLateralGauche.open #vk_menuLateral_titre {
    display: flex;
    opacity: 1;
    transition: opacity 1s;
}

#vk_menuLateralGauche.close #vk_menuLateral_titre {
    display: none;
    opacity: 0;
}

/* ===============================
   📋 MENU PRINCIPAL
   =============================== */
.menu-bar {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    padding-top: 5vh;
}

.menu-bar::-webkit-scrollbar {
    display: none;
}

.menu {
    margin-top: 15px;
}

.bottom-content {
    margin-top: auto;
}

/* ===============================
   🧩 ÉLÉMENTS DU MENU
   =============================== */
#vk_menuLateralGauche li {
    height: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.menu-link {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    padding: 15px;
    background-color: transparent;
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
}

.menu-link:hover {
    background-color: var(--inputBackgroundColor);
}

.menu-link:hover .icon,
.menu-link:hover .text {
    color: var(--text-color);
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-right: 15px;
    border-radius: 6px;
}

.text {
    font-size: 18px;
    white-space: nowrap;
    color: var(--text-color);
    opacity: 1;
}

#vk_menuLateralGauche.close .text {
    opacity: 0;
}

/* ===============================
   🎚️ TYPES SPÉCIAUX (title, separator, disabled, etc.)
   =============================== */
.menu-title {
    padding: 10px 15px;
    font-weight: bold;
    font-size: 14px;
    color: var(--text-color-light);
    text-transform: uppercase;
    opacity: 0.7;
    pointer-events: none;
}

.menu-separator {
    padding: 0 10px;
}

.menu-separator hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid var(--vk_component_background_secondary);
}

.menu-link.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

/* ===============================
   ⏩ BOUTON DE TOGGLE
   =============================== */
#vk_menuLateralGauche_toggle {
    position: fixed;
    top: 8vh;
    left: 0;
    height: 90px;
    width: 30px;
    background: var(--vk_menuLateralGauche_color);
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: var(--vk_trans_03);
}

#vk_menuLateralGauche_toggle:hover {
    background: var(--vk_button_background_default_color_hover);
}

#vk_menuLateralGauche_toggle i {
    font-size: 25px;
    color: var(--vk_text_default);
    transition: var(--vk_trans_03);
}

#vk_menuLateralGauche.open + #vk_menuLateralGauche_toggle {
    left: var(--vk_menuLateralGauche_width_open);
}

/* ===============================
   📱 RESPONSIVE DESIGN
   =============================== */
@media (max-width: 768px) {
    #vk_menuLateral_logo {
        max-height: 20px;
    }

    #vk_menuLateral_titre {
        font-size: 1em;
    }

    #vk_menuLateralGauche .icon {
        font-size: 18px;
    }

    #vk_menuLateralGauche .text {
        font-size: 14px;
    }

    #vk_menuLateralGauche.close + #vk_menuLateralGauche_toggle {
        left: 0;
    }

    #vk_menuLateralGauche.close {
        width: 0 !important;
        left: -100%;
    }

    #vk_menuLateralGauche_toggle {
        height: 60px;
    }
}
