/*
********************************************************************
******* Feuille de style regroupant les styles de connexion ********
********************************************************************
*/
/*
**          Mise en forme du titre de page
*/
.part_title{
    margin-bottom: 1.3em;
}

.identification{
    margin: 0; 
    color: #e6007e;
    text-align: center;
    font-size: 180%;
}


/*
**          Mise en forme de la zone de formulaire
*/
#container{
    margin: auto;
    max-width: 1280px;
    width: 90%;
}

.connexion{
    border-radius: 5px;
    border: 2px solid #98c72067;
    max-width: 450px;
    padding: 15px;
    margin: auto;
    background-color: rgb(250, 250, 250);
}


/*
**          Mise en forme du formulaire
*/
/* 
**************** Lignes de formulaire ****************** 
*/
.error{
    color: red;
    margin-bottom: 1rem;
    text-align: center;
}

.lign_form{
    width: 100%;
    padding: 10px 10px;
    font-size: 16px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid gray;
    outline: none;
}

.input_field{
    position: relative;
    margin: 25px 0;
}

.input_field input{
    width: 95%;
    padding: 10px 5px;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    outline: none;
}

.input_field input:focus{
    border-bottom: 2px solid #2d2d83;
    transition: 0.1s ease all;
}

.input_field label{
    position: absolute;
    top: 10px;
    left: 5px;
    color: #888;
    font-size: 16px;
    pointer-events: none;
    transition: 0.3s ease all;
}

.input_field input:focus + label,
.input_field input:not(:placeholder-shown) + label{
    top: -10px;
    left: 0px;
    font-size: 12px;
    color: #2d2d83;
}

/* 
****************** Bouton Connexion ******************** 
*/
.button_wrapper{
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.login_button{
    color: #2d2d83;
    background-color: rgb(250, 250, 250);
    border: 2px solid #93c21c;
    border-radius: 30px;
    padding: 11px 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.login_button:hover{
    cursor: pointer;
    background-color: #98c72022;
    transition: all 0.3s ease 0s;
}

.form_footer{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    flex-wrap: wrap;
}

.left_section{
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 5px; 
}

@media (min-width: 400px){
    .left_section {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
}

.forgot_password{
    color: #2d2d83;
    cursor: pointer;
    text-decoration: none;
}

.forgot_password:hover{
    text-decoration: underline;
}

.right_section{
    display: flex;
    justify-content: flex-end;
}



/* 
******************* Checkbox stylée ******************** 
*/
.custom_checkbox{
    color: #888;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 5px;
    font-size: 14px;
    user-select: none;
}

.custom_checkbox input{
    opacity: 0;
    position: absolute;
}

.custom_checkbox .checkmark{
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 2px solid #93c21c;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
}

.custom_checkbox input:checked + .checkmark {
    background-color: #93c21c;
}

.custom_checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom_checkbox input:checked + .checkmark::after {
    display: block;
}

.custom_checkbox .checkmark::after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/*
*************** Texte lien mot de passe **************** 
*/
.forgot_password{
    font-size: 14px;
    text-align: center;
    color: #2d2d83;
    cursor: pointer;
}

.forgot_password:hover{
    text-decoration: underline;
}


/*
**          Mise en forme du message d'envoie du mail
*/
.message_zone{
    display: none;
    margin: 5px;
    padding: 15px;
    color: #2d2d83;
    text-align: left;
    line-height: 1.5;
}