:root {
    --objectBtn-color: rgb(255, 196, 0);
    --valueBtn-color: rgb(252, 122, 74);
    --variableBtn-color: blue;
    --propertyBtn-color: rgb(136, 22, 88);
    --methodBtn-color: rgb(0, 124, 128);
}

.vba-comment { color: rgb(0, 150, 0);}
.vba-property { color: var(--variableBtn-color);}
.vba-method { color: var(--methodBtn-color);}
.vba-object { color: var(--objectBtn-color);}
.vba-value { color: var(--valueBtn-color);}

/* ---------------------------------------------------------------------------- */

#to-delete{
    height: auto;
    display: flex;
    flex-direction: column;
    width: 50%;
    display: flex;
    justify-content: flex-start;
        font-size: 0.8rem;
}
.main__list-item{
    list-style-type: disc;
    margin-left: 2rem;
}

/* ---------------------------------------------------------------------------- */

.main__section{
    height: auto;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 1.5rem;
    margin-top: 2rem;
    /* border: 2px solid red; */
}

.main__header{
    height: 2.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 2rem;
    /* border: 2px solid blue; */
}

.main__sub-title-container{
    height: 2.5rem;
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 2rem;
    /* border: 2px solid red; */
}

.main__sub-title{
    height: 100%;
    width: auto;
    margin-left: 0.5rem;
    font-size: 1.5rem;
    /* border: 2px solid green; */
}

.main__sub-title__help-icon-container{
    height: 1.5rem;
    width: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0.5rem;
    border-radius: 50%;
    background-color: white;
    box-shadow: var(--btn-box-shadow);
    border: 2px solid blue;

}

.main__sub-title__help-icon{
    font-size: 1.5rem;
    color: blue;
}

.main__sub-title__help-icon:hover{
    cursor: pointer;
}

.main__copy-btn-container{
    height: 2.5rem;
    width: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 2px solid red; */
}

.main__copy-btn-container i{
    font-size: 1.5rem;
    color: rgb(80, 80, 80);
    cursor: pointer;
    font-weight: 500;
}

.main__btns-container{
    height: 100%;
    width: 20%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 1.5rem;
    /* border: 2px solid green; */
    display: none;
}

.main__btn{
    height: 1.3rem;
    width: 1.3rem;
    /* border: 2px solid rgb(255, 255, 255); */
    border-radius: 5px;
    box-shadow: var(--btn-box-shadow);
}

.objectBtn{
    background-color: var(--objectBtn-color);
}
.valueBtn{
    background-color: var(--valueBtn-color);
}
.variableBtn{
    background-color: var(--variableBtn-color);
}
.propertyBtn{
    background-color: var(--propertyBtn-color);
}
.methodBtn{
    background-color: var(--methodBtn-color);
}

.main__btns-container:hover{
    cursor: pointer;
}

.vba-code{
    height: auto;
    width: 100%;
    font-family: 'Consolas', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    background-color: rgb(230, 230, 230);
    box-shadow: var(--box-shadow);
    padding: 0 1rem;
    border-radius: 5px;
}

.vba-code code{
    white-space: pre-wrap; /* permet le wrap si une ligne est trop longue */
    word-break: break-all; /* évite le débordement */
    /* border: 2px solid rgb(0, 0, 255); */
}

.main__btns-legend-container{
    height: auto;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    font-size: 1.5rem;
    background-color: rgb(230, 230, 230);
    border-radius: 8px;
    border: none;
    padding: 1rem;
    gap:0.5rem;
    position: fixed;
    top: 35%;
    left: 87%;
    box-shadow: var(--box-shadow);
    /* border: 2px solid purple; */
    /* display: none; */
}

.main__btn-legend-element{
    height: 20%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* border: 2px solid green; */
}

.main__btn-name{
    height: 100%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-left: 0.5rem;
    /* border: 2px solid red; */
}
