
.containerLoad{
    width: 100%;
    height: 100vh;
    position: fixed;
    background-color: #fff;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    transition:  opacity 0.5s ease-out;
    -webkit-transition:  opacity 0.5s ease-out;
    -moz-transition:  opacity 0.5s ease-out;
    -ms-transition:  opacity 0.5s ease-out;
    -o-transition:  opacity 0.5s ease-out;
}

.containerLoadhaut{
    margin-top: 100px;
    width: 250px;
    height: 250px;
    overflow: hidden;
}
.containerLoadhaut img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
  /* Conteneur principal */
.loader-container {
    position: relative;
    width: 70px;
    height: 70px;
}

/* Style des cercles */
.circle {
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

/* Couleurs et positions initiales */
.circle-1 { background-color: #e74c3c; top: 0; left: 0; animation: moveAndSwap1 1.5s infinite ease-in-out; -webkit-animation: moveAndSwap1 1.5s infinite ease-in-out; } /* Rouge */
.circle-2 { background-color: var(--blue); top: 0; right: 0; animation: moveAndSwap2 1.5s infinite ease-in-out; -webkit-animation: moveAndSwap2 1.5s infinite ease-in-out; } /* Bleu */
.circle-3 { background-color: var(--vertSite); bottom: 0; left: 0; animation: moveAndSwap3 1.5s infinite ease-in-out; -webkit-animation: moveAndSwap3 1.5s infinite ease-in-out; } /* Vert */
.circle-4 { background-color: var(--jaune); bottom: 0; right: 0; animation: moveAndSwap4 1.5s infinite ease-in-out; -webkit-animation: moveAndSwap4 1.5s infinite ease-in-out; } /* Jaune */

/* Animation des échanges de positions */
@keyframes moveAndSwap1 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(0, 0); -webkit-transform: translate(0, 0); -moz-transform: translate(0, 0); -ms-transform: translate(0, 0); -o-transform: translate(0, 0); }  /* 2 → 3, 4 → 2 */
    50% { transform: translate(50px, 50px); }  /* 3 → 4, 1 → 2 */
    75% { transform: translate(0, 0); -webkit-transform: translate(0, 0); -moz-transform: translate(0, 0); -ms-transform: translate(0, 0); -o-transform: translate(0, 0); }  /* 4 → 1, 2 → 3 */
    100% { transform: translate(0, 0); }  /* Retour à la position initiale */
}
@keyframes moveAndSwap2 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(0px, 0); -webkit-transform: translate(0px, 0); -moz-transform: translate(0px, 0); -ms-transform: translate(0px, 0); -o-transform: translate(0px, 0); }  /* 2 → 3, 4 → 2 */
    50% { transform: translate(-50px, 50px); -webkit-transform: translate(-50px, 50px); -moz-transform: translate(-50px, 50px); -ms-transform: translate(-50px, 50px); -o-transform: translate(-50px, 50px); }  /* 3 → 4, 1 → 2 */
    75% { transform: translate(0, 0px); -webkit-transform: translate(0, 0px); -moz-transform: translate(0, 0px); -ms-transform: translate(0, 0px); -o-transform: translate(0, 0px); }  /* 4 → 1, 2 → 3 */
    100% { transform: translate(0, 0); }  /* Retour à la position initiale */
}
@keyframes moveAndSwap3 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(0px, 0); -webkit-transform: translate(0px, 0); -moz-transform: translate(0px, 0); -ms-transform: translate(0px, 0); -o-transform: translate(0px, 0); }  /* 2 → 3, 4 → 2 */
    50% { transform: translate(50px, -50px); -webkit-transform: translate(50px, -50px); -moz-transform: translate(50px, -50px); -ms-transform: translate(50px, -50px); -o-transform: translate(50px, -50px); }  /* 3 → 4, 1 → 2 */
    75% { transform: translate(0, 0px); -webkit-transform: translate(0, 0px); -moz-transform: translate(0, 0px); -ms-transform: translate(0, 0px); -o-transform: translate(0, 0px); }  /* 4 → 1, 2 → 3 */
    100% { transform: translate(0, 0); }  /* Retour à la position initiale */
}
@keyframes moveAndSwap4 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(0px, 0); -webkit-transform: translate(0px, 0); -moz-transform: translate(0px, 0); -ms-transform: translate(0px, 0); -o-transform: translate(0px, 0); }  /* 2 → 3, 4 → 2 */
    50% { transform: translate(-50px, -50px); -webkit-transform: translate(-50px, -50px); -moz-transform: translate(-50px, -50px); -ms-transform: translate(-50px, -50px); -o-transform: translate(-50px, -50px); }  /* 3 → 4, 1 → 2 */
    75% { transform: translate(0, 0px); -webkit-transform: translate(0, 0px); -moz-transform: translate(0, 0px); -ms-transform: translate(0, 0px); -o-transform: translate(0, 0px); }  /* 4 → 1, 2 → 3 */
    100% { transform: translate(0, 0); }  /* Retour à la position initiale */
}

/* Effet de rotation du carré */
.loader-container {
    animation: rotateSquare 1.8s infinite linear;
    -webkit-animation: rotateSquare 1.8s infinite linear;
}

@keyframes rotateSquare {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.containerLoad h2{
    margin-top: 18px;
    font-size: 19px;
    font-weight: 500;
    color: #000;
}
.containerLoad h1{
    font-size: 19px;
    font-weight: 500;
    color: #000;
}
.hidden{
    opacity: 0;
    pointer-events: none;
}
.containerAvantClasse{
    width: 100%;
    height: 100vh;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.containerAvantClasse .containerAvantClasseContenu{
    width: 50%;
    height: 70%;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.containerAvantClasseContenu .containerAvantClasseContenuG,.containerAvantClasseContenu .containerAvantClasseContenuD{
    width: 50%;
    height: 100%;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
}
.containerAvantClasseContenuG .containerAvantClasseContenuGImage{
 width: 200px;
 height: 200px;
 overflow: hidden;
}
.containerAvantClasseContenuG .containerAvantClasseContenuGImage img{
    width: 100%;
    height: 100%;
    object-fit:cover ;
}
.containerAvantClasseContenuG h1{
    font-size: 20px;
    font-weight: 500;
    color: #000;
}
.containerAvantClasseContenuGProfil{
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.containerAvantClasseContenuGProfil .papa{
 width: 40px;
 height: 40px;
 border-radius: 50%;
 overflow: hidden;
 border: 1px solid var(--blue);
 -webkit-border-radius: 50%;
 -moz-border-radius: 50%;
 -ms-border-radius: 50%;
 -o-border-radius: 50%;
}
.containerAvantClasseContenuGProfil .papa img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.containerAvantClasseContenuG .containerAvantClasseContenuGProfil h2{
    font-size: 17px;
    font-weight: 400;
    color: #000;
}
.containerAvantClasseContenuG p{
    font-size: 13px;
    font-weight: 300;
    text-align: justify;
    color: #000;
}
.containerAvantClasseContenuG select{
    font-size: 13px;
    width: 100%;
    height: 35px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    outline: none;
    border-radius:5px ;
    -webkit-border-radius:5px ;
    -moz-border-radius:5px ;
    -ms-border-radius:5px ;
    -o-border-radius:5px ;
}
.containerAvantClasseContenuD h2{
    font-size: 19px;
    font-weight: 500;
}
.containerAvantClasseContenuD h3{
    font-size: 16px;
    font-weight: 400;
}
.containerAvantClasseContenuD p{
    font-size: 13px;
    font-weight: 300;
    text-align: justify;
}
/* accept action  */
.containerAll{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: transparent;
}
.containeraccept{
    width: 400px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background-color: var(--bgmessageY);
    border-radius: 10px;
    box-shadow: var(--boxshadowPopup);
}
.acceptlogo{
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.acceptlogo h1{
    font-size: 70px;
}
.acceptlogo img{
 width: 100%;
 height: 100%;
 object-fit: cover;
}
.textAll{
    width: 100%;
    height: fit-content;
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.textAll h1{
    font-size: 20px;
    font-weight: 500;
    color: var(--blue);
}
.textAll.erreur h1{
    font-size: 20px;
    font-weight: 500;
    color: crimson;
}
.textAll.erreur i{
    font-size: 20px;
    font-weight: 500;
    color: crimson;
}
.textAll i{
    font-size: 20px;
    font-weight: 500;
    color: var(--blue);
}
.Allbutton{
    width: 100%;
    height: fit-content;
    display: flex;
    align-items:center;
    justify-content: flex-end;
    padding: 0px 30px;
    gap: 10px;
}
.Allbutton h4{
    width: fit-content;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 300;
    background-color: var(--blue);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: all 0.5s;
    color: #fff;
}
.Allbutton h4:hover{
box-shadow: var(--boxshadowPopup);
}
.Allbutton h5{
    width: fit-content;
    padding: 8px 16px;
    background-color: crimson;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 300;
    cursor: pointer;
    user-select: none;
    transition: all 0.5s;
    color: #fff;
}
.Allbutton h5:hover{
box-shadow: var(--boxshadowPopup);
}
/* attente */
.containerAttente{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1);
}
.contenuAttente{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 8px solid #fff;
    background-color: #000;
    animation: anime 3s infinite ease-in-out;
}
.attnteLigne{
    width: 100%;
    height: 5px;
    background-color: var(--bgmessageY);
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.attnteLigne::before{
    content: '';
    position: absolute;
    width: 0%;
    height: 100%;
    background-color: var(--jaune);
    animation: progres 8s infinite ease-in-out;
}
@keyframes progres {
    0%,100%{
        width: 5%;
    }50%{
        width: 50%;
    }90%{
        width: 100%;
    }
}

@keyframes anime {
    0%,100%{
        transform: scale(1.0);
    }50%{
        transform: scale(1.5);
    }
}
/* changement de classe */
.changementAll{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1);
}
.changementClasse{
    width: 500px;
    height: 400px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}
.changementClasseImg{
 width: 150px;
 height: 150px;
 display: flex;
 align-items: center;
 justify-content: center;
}
.changementClasseBas{
    width: 100%;
    height: 30%;
    display: grid;
    grid-template-columns: repeat(4,100px);
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.changementClasseBasFils{
    width: 100px;
    height: 50px;
    background-color: var(--bgmessageY);
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    transition: all .5s;
    cursor: pointer;
    justify-content: center;
    border-radius: 5px;

}
.changementClasseBasFils:hover{
    box-shadow: var(--boxshadowPopup);
}
.changementClasseBasFils p{
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    user-select: none;
}
.changementClasse h1{
    font-size: 25px;
    font-weight: 500;
}
.changementClasse p{
    font-size: 14px;
    font-weight: 400;
}
/* ===============la partie not found de la page ou mauvaise action ================== */
.containerNotFound{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #fff;
}
.containerNotFound .Notfound{
    width:450px;
    height: 450px;
}
.containerNotFound .Notfound img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.containerNotFound .NotfoundText{
    width:30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px;
}
.containerNotFound .NotfoundText h1{
    font-size: 40px;
    font-weight: 600;
    color: var(--jaune);
}
.containerNotFound .NotfoundText h2{
    font-size: 30px;
    font-weight: 600;
    color: #00000065;
}
.containerNotFound .NotfoundText p{
    font-size: 17px;
    font-weight: 400;
    color: #000;
}
.containerNotFound .NotfoundText h3{
    font-size: 14px;
    margin-top: 20px;
    font-weight: 400;
    user-select: none;
    cursor: pointer;
    color: #fff;
    background-color: #71e3f1;
    padding: 8px 16px;
    border-radius: 9999px;
}