:root {
    --blue-dark: #033a65;
    --blue-light: #00c5f5;
    --light: #aba597;
    --yellow: #e1b200;
    --orange: #e46c0b;
    --grey: #7f7f7f;
    --grey-light: #f3f6f9;
    --bleu-clair-khuene: #67B3E4;
    --bleu-fonce-khuene: #232C4B;
    --white-color: #fff;

}

body{
    margin: 0;
    padding: 0;
    position: relative;
    font-family: 'Poppins', sans-serif;
    transition: 0.5s;
}

a{
    text-decoration: none;
    text-align: center;
}

input,
select {
    height: 35px;
    border-radius: 7px;
    border: none;
    background-color: #d4e3f2;
    padding: 5px;
    width: 290px;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 44, 75, 1);
    opacity: 0; /* Caché par défaut */
    z-index: -1; /* Toujours en dessous */
    transition: opacity 1s ease; /* Transition douce */
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 20px solid rgba(0, 0, 0, 0.1); /* Cercle léger */
    border-top: 20px solid #fff; /* Couleur du spinner */
    border-radius: 50%; /* Forme circulaire */
    width: 15rem; /* Taille */
    height: 15rem;
    animation: spin 1s linear infinite; /* Animation de rotation */
    display: none;
}

/* Animation de rotation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* BUTTONS */

.button_4 {
    font-size: 15px !important;
    background-color: var(--bleu-clair-khuene);
    color: var(--bleu-fonce-khuene);
    padding: 7px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.button_4:hover,
.button_4:focus {
    font-size: 15px;
    background-color: var(--bleu-fonce-khuene);
    color: var(--bleu-clair-khuene);
    padding: 7px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    transform: scale(1.03);
}

.button {
    font-size: 15px;
    background-color: var(--bleu-fonce-khuene);
    color: var(--white-color);
    padding: 5px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.button:hover,
.button:focus {
    background-color: var(--bleu-clair-khuene);
    box-shadow: #3F4254;
    transform: scale(1.03);
}


/* FORMULAIRE DE CONNEXION */

.container-login{
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.container-login::before{
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.7);
}

.div-form{
    width: 300px;
    background-color: rgba(255, 255, 255, 0.869);
    padding: 20px;
    border-radius: 10px;
}

.form-signin{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.text-center{
    text-align: center;
}

.form-control{
    margin-bottom: 1rem;
}

.alert{
    background-color: rgb(241, 140, 140);
    padding: 5px;
    border-radius: 5px;
}

.svg_2{
    margin-bottom: 2rem;
    margin-top: 2rem;
}