
/* FORM CONTAINER */
.form-container {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 60px auto; /* centré */
    text-align: center;
}

/* FORM HEADER */
h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

/* INPUT FIELDS */
form label {
    display: block;
    margin: 15px 0 5px;
    text-align: left;
    font-weight: bold;
    color: #555;
}

form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

form input:focus {
    border-color: #0071c2;
    outline: none;
}

/* SUBMIT BUTTON */
button {
    background-color: #0071c2;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #005b9f;
}

/* LINKS */
p {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

a {
    color: #0071c2;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* ERROR MESSAGES */
.error {
    background-color: #ffdddd;
    color: #d8000c;
    padding: 10px;
    border: 1px solid #d8000c;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

.divider {
    margin: 15px 0;
    position: relative;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    display: inline-block;
    width: 40%;
    height: 1px;
    background-color: #ddd;
    vertical-align: middle;
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 30px;
}

.icon {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.icon img {
    width: 24px;
    height: 24px;
}

.icon:hover {
    background-color: #f0f0f0;
    border-color: #0071c2;
}

.terms {
    font-size: 12px;
    color: #777;
    margin-bottom: 20px;
    text-align: center;
}

footer {
    font-size: 12px;
    color: #777;
    margin-top: 30px;
    text-align: center;
}


/* ----------- VERSION MOBILE ----------- */
@media (max-width: 600px) {
    html, body {
        width: 100vw;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        background-color: #fff;
    }

    .form-container {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    h2 {
        font-size: 22px;
        text-align: left;
        margin-bottom: 10px;
        font-weight: bold;
    }

    form label {
        font-size: 14px;
        margin-bottom: 5px;
    }

    form input {
        font-size: 15px;
        padding: 12px;
        border: 1px solid #ccc;
    }

    .btn-email {
        background-color: #0071c2;
        color: #fff;
        font-size: 16px;
        padding: 14px;
        border-radius: 5px;
        margin-top: 10px;
    }

    .divider {
        margin: 25px 0 15px;
        font-size: 14px;
        color: #666;
    }

    .divider::before,
    .divider::after {
        width: 25%;
    }

    .social-icons {
        gap: 15px;
        margin-bottom: 20px;
    }

    .icon {
        width: 55px;
        height: 55px;
        padding: 10px;
        border-radius: 10px;
    }

    .icon img {
        width: 26px;
        height: 26px;
    }

    .terms,
    .terms a {
        font-size: 12px;
        text-align: center;
        color: #777;
    }

    p {
        font-size: 13px;
        text-align: center;
    }

    footer {
        font-size: 11px;
        color: #999;
        text-align: center;
        margin-top: 30px;
    }
}