@import './mainHeader.css';

.main{
    width: 100%;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: #f0f0f2;
}

.header{
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #367db3;
    padding: 30px;
    position: fixed;
    z-index: 9;
}

.navbar{
    display: flex;
}
.navbar a {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 18px;
    color: #fff;
}
.navbar svg{
    width: 20px;
}
.arrow-left{
    transition: all 0.4s;
}
.navbar .arrow-left:hover{
    margin-left: -10px;
}

.arrow-right{
    transition: all 0.4s;
}
.navbar .arrow-right:hover{
    margin-right: -10px;
}


.container{
    width: 75%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
    margin: 0 auto;
}

.container-aside{
    width: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 3px rgb(143, 143, 143);
    background: #fff;
}
.title-aside{
    text-align: center;
    background: #367db3;
    width: 100%;
    padding: 20px 2px;
}
.aside-content{
    margin-top: 20px;
    display: flex;
    min-height: 290px;
}
.aside-content ol{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.container-content{
    flex: 1;
    min-height: 400px;
    flex-direction: column;
    background: #fff;
    padding: 10px;
    
}


.commandes_use{
    font-weight: bold;
}

/* Gestion des badges */
.badge-container {
    margin: 15px 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: white;
    font-weight: 600;
    gap: 8px;
    user-select: none;
}

.badge img {
    width: 18px;
    height: 18px;
}

/* Gestion du document actif et masquer */
.doc-block {
    display: none;
}

.doc-block.active {
    display: block;
}


/*Gestion de la partie responsive*/
@media (max-width: 950px){
    .container{
        width: 95%;
    }
}

@media (max-width: 900px){
    .container{
        width: 95%;
        display: flex;
        flex-direction: column-reverse;
    }
}