/* =====================================================*/
/*                                                      */
/*                                                      */
/*                   PAGE CONNEXION                     */
/*                                                      */
/*                                                      */
/* =====================================================*/

html, body {
    overflow-x: hidden;
}

.connexion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    margin-left: 0;
}

.form-container {
    width: 80%;
    max-width: 400px;
    padding: 20px;
}

.form-field {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    text-align: start;
}

.connexion input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--blue);
    border-radius: 20px;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.form-field {
    position: relative;
}

.password-toggle-icon {
    position: absolute;
    margin-top: 13px;
    margin-left: -40px;
    cursor: pointer;
}

.password-toggle-icon i {
    display: block;
    font-size: 18px;
    line-height: 1;
    color: var(--blue);
    transition: color 0.3s ease-in-out;
}

.form-field.checkbox-field {
    display: flex;
    align-items: center;
}

.checkbox-field input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-field label {
    cursor: pointer;
}

.connect-btn {
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin: 35px auto 15px;
    width: 180px;
    text-align: center;
    border: 1px solid var(--orange);
    transition: background-color 0.3s ease;
    color: var(--orange);
}

.connect-btn:hover {
    background-color: var(--orange);
    color: white;
}

.forgot-password {
    text-align: center;
    margin-top: 10px;
    font-size: smaller;
}

.forgot-password a:hover {
    font-weight: bold;
}

.forgot-password a {
    color: #000;
    text-decoration: underline;
}

#modal{
    width: 300px;
}

.modal-content h2{
    margin-left: 0;
}

#modal p{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}


/* A supprimer plus tard */

.dev {
    border: 2px dashed var(--blue);
    border-radius: 30px;
    padding: 0 25px 25px 25px;
    margin-top: 50px;
    background-color: #f9f9f9;
    width: 80%;
}

.dev h2 {
    margin-left: 0;
    text-align: center;
}

.dev p {
    margin-bottom: 15px;
    text-align: center;
}

.dev-roles {
    padding-left: 0;
    margin-bottom: 25px;
}

.dev-roles li {
    list-style: none;
    margin-bottom: 6px;
    padding-left: 1em;
    position: relative;
}

.dev-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.dev form {
    display: inline-block;
}



@media (min-width: 992px) {
    .connexion h1{
        margin-left: 0;
    }

    .connexion h3{
        margin-left: 0;
    }

    #modal{
        width: 800px;
    }

    #modal h2{
        text-align: center;
    }

    .dev-buttons form button {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .dev-buttons form button:hover {
        transform :translateY(-5px);
        box-shadow: 0 4px 12px rgba(0, 2, 95, 0.5);
    }

}