﻿/* ===== CONTAINER ===== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70vh;
    background-color: #f0f2f5; /* Fond gris clair à la FB */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    box-sizing: border-box;
}

    /* ===== FORM ===== */
    .auth-container form {
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        width: 100%;
        max-width: 360px;
        padding:40px 75px;
        text-align: center;
        transition: all 0.3s ease;
    }

    /* ===== FORM TITLE ===== */
    .auth-container h2 {
        font-size: 26px;
        color: #1877f2; /* Bleu FB */
        font-weight: 700;
        margin-bottom: 25px;
    }

    /* ===== INPUTS ===== */
    .auth-container input[type="email"],
    .auth-container input[type="password"] {
        width: 100%;
        padding: 12px 15px;
        margin-bottom: 15px;
        border: 1px solid #ccd0d5;
        border-radius: 6px;
        font-size: 15px;
        box-sizing: border-box;
        transition: all 0.2s;
    }

    .auth-container input:focus {
        border-color: #1877f2;
        box-shadow: 0 0 5px rgba(24,119,242,0.5);
        outline: none;
    }

    /* ===== BUTTON ===== */
    .auth-container button {
        width: 100%;
        padding: 12px 0;
        border: none;
        border-radius: 6px;
        background-color: #1877f2;
        color: #fff;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s;
    }

        .auth-container button:hover {
            background-color: #165ecc;
            transform: translateY(-1px);
        }

    /* ===== LINKS ===== */
    .auth-container a {
        color: #1877f2;
        font-size: 14px;
        text-decoration: none;
        display: inline-block;
        margin-top: 10px;
    }

        .auth-container a:hover {
            text-decoration: underline;
        }

    /* ===== ERROR MESSAGE ===== */
    .auth-container .error {
        color: #f02849; /* rouge FB-like */
        font-size: 14px;
        margin-bottom: 10px;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .auth-container form {
        padding: 20px;
    }

    .auth-container h2 {
        font-size: 22px;
    }
}
