.vk_menuLateral {
    transition: var(--vk_trans_03);
}

#vk_menuLateralGauche {
    left: 0;
    width: var(--vk_menuLateralGauche_width_open);
}

#vk_menuLateralGauche.close {
    width: var(--vk_menuLateralGauche_width_close);
}

#vk_menuLateralDroit {
    right: 0;
    width: var(--vk_menuLateralDroit_width);
}

#vk_menuLateralDroit.close {
    width: var(--vk_menuLateralDroit_width_close);
}

#vk_menuLateralGauche{
    position: fixed;
    height: var(--vk_menuLateralGauche_height);
    display: flex;
    flex-direction: column;
    top: var(--vk_menuLateralGauche_marginTop);
    left: 0;
    width: var(--vk_menuLateralGauche_width_open);
    max-width: var(--vk_menuLateralGauche_maxWidth);
    background: var(--vk_menuLateralGauche_color);
    height: 100vh;
    padding: 20px;
    padding-top: 2vh;
    padding-bottom: 25px;
    transition: var(--vk_trans_03);
    border-right: 4px solid var(--vk_component_background_secondary);
}

#vk_menuLateralGauche.close {
    width: var(--vk_menuLateralGauche_width_close);
    padding: 5px;
    padding-top: 2vh;
    padding-bottom: 25px;
}

#vk_menuLateralGauche.close #vk_menuLateral_titre {
    display: none;
    opacity: 0;
}

#vk_menuLateralGauche.open #vk_menuLateral_titre {
    opacity: 1;
    transition: opacity 1s;
}

/* ========== Container pour le logo et titre du site ========== */
#vk_menuLateral_wrapper_logoTitre{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

#vk_menuLateral_wrapper_logoTitre:hover{
    transform: scale(1.05);
}

#vk_menuLateral_titre {
    display: flex;
    color: var(--textColor);
    font-size: 1.4em;
    background: var(--vk_header_title_color);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
    transition: var(--tran-03);
}

/* ===== Reusable code - Here ===== */
#vk_menuLateralGauche li {
    height: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 8px;
}

#vk_menuLateralGauche .icon {
    border-radius: 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-right: 15px;
}

#vk_menuLateralGauche .text,
#vk_menuLateralGauche .icon {
    color: var(--text-color);
}

#vk_menuLateralGauche .text {
    font-size: 18px;

    white-space: nowrap;
    opacity: 1;
}

#vk_menuLateralGauche.close .text {
    opacity: 0;
}

#vk_menuLateralGauche .menu {
    margin-top: 15px;
}

#vk_menuLateralGauche li a {
    list-style: none;
    height: 100%;
    background-color: transparent;
    color: var(--text-color);
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    text-decoration: none;
    padding: 15px;
}

#vk_menuLateralGauche li a:hover {
    background-color: var(--inputBackgroundColor);
}

#vk_menuLateralGauche li a:hover .icon,
#vk_menuLateralGauche li a:hover .text {
    color: var(--text-color);
}

body.light #vk_menuLateralGauche li a:hover .icon,
body.light #vk_menuLateralGauche li a:hover .text {
    color: var(--text-color);
}

#vk_menuLateralGauche .menu-bar {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: scroll;
    padding-top: 5vh;
}

.menu-bar::-webkit-scrollbar {
    display: none;
}

.bottom-content {
    margin-top: auto; 
}


/* Bouton vertical pour ouvrir le menu latéral */
#vk_menuLateralGauche_toggle {
    position: fixed;
    top: 8vh;
    left: 0; /* Départ du bord gauche */
    height: 90px;
    width: 30px;
    background: var(--vk_component_background_secondary);
    cursor: pointer;
    z-index: 1001; 
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--vk_trans_03);
}

#vk_menuLateralGauche_toggle i {
    font-size: 25px;
    color: var(--vk_text_default); /* Adapte selon ton design */
    transition: var(--vk_trans_03);
}


#vk_menuLateralGauche_toggle:hover {
    background: var(--vk_button_background_default_color_hover);
}

/* Quand le menu est ouvert, déplacer le bouton */
#vk_menuLateralGauche.open + #vk_menuLateralGauche_toggle {
    left: var(--vk_menuLateralGauche_width_open); 
}


/* ==================================== Media Queries pour appareils mobiles ==================================== */

@media (min-width: 1921px) { /* Pour les riches */
 
}

/* 📲 Mode Tablette : Entre 768px et 1024px */
@media (max-width: 1024px) {

}

/* 📱 Mode Mobile : Quand l'écran est inférieur à 768px */
@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;
    }
}
