@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#office-connexion-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* width: 100%; */
    width: 500px;
}
.form{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 3px;
}

/* ******************************************* HEADER ******************************** */

.form-header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70px;
    width: 100%;
    padding: 10px 10px;
}
.form-title{
    height: 50px;
    font-size: 2em;
    font-weight: 500;
    color: #333;
}
.form-right-link{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-self: end;
    font-size: 1em;
    color: #333;
    text-decoration: none;
    transition: color 0.5s;

}
.form-right-link:hover{
    color: #ebd024;
}

/* ******************************************* MAIN ******************************** */
.form-main{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: fit-content;
    width: 400px;
    padding: 30px 0;
    background-color: #f5f5f5;
    gap: 10px; /* espace entre chaque enfant */
}
.form-input-group{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: fit-content;
    width: 100%;
    padding: 4px 10px;
    
}
.input-row-group{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}
.icon-group{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 50px;
    cursor: pointer;
}
.form-input-subtitle{
    margin-left: 16px;
    font-size: 14px;
    color: var(--grey-600)
}
.error-msg{
    font-size: 12px;
    color: var(--error-color);
    /* cacher l'élément par défaut */
    display: none;
    width: 100%;
    height: fit-content;
    text-align: center;
    margin: 5px 0;
}

/* pour creation, car différent de input-autobind ou input-update qui disposent déja de la data*/
.form-input{ 
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 100%;
    padding: 10px 16px;
    /* border: 3px solid var(--grey-400); */
    border-radius: 50px;
    font-size: 18px;
    margin: 5px 0;
}
.input-empty{
    border: 3px solid var(--grey-400);
}
.input-success{
    border: 3px solid var(--success-color);
}
.input-error{
    border: 3px solid var(--error-color);
    box-shadow: 0 0 10px var(--error-color);
}
.input-password{
    /* chaque caractère doit être remplacé par un rond */
    

}
/* ******************************************* FOOTER ******************************** */

.form-footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100%;
    padding: 10px 10px;
}
.form-submit{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 260px;
    background-color: var(--primary-color);
    /* background-color: var(--grey-700); */
    border-radius: 50px;
    font-size: 1.2em;
    color: white;
    cursor: pointer;
    transition: background-color 0.5s;
}
/* change la couleur du bouton suivant l'état du formulaire primary si tout ok sinon grey-700 */
.form-submit.disabled{
    background-color: var(--grey-700);
    cursor: not-allowed;
}