/* ✅ Style global */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #007bff, #6610f2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* ✅ Conteneur du formulaire */
.login-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.5s ease-in-out;
}

/* ✅ Animation d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✅ Titre */
.login-container h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

/* ✅ Champs du formulaire */
.login-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

/* ✅ Effet focus sur les champs */
.login-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0px 0px 8px rgba(0, 123, 255, 0.3);
}

/* ✅ Bouton de connexion */
.login-button {
    background: #007bff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.login-button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* ✅ Lien d'inscription ou de récupération de mot de passe */
.login-links {
    margin-top: 15px;
}

.login-links a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.login-links a:hover {
    color: #0056b3;
}

/* ✅ Responsive */
@media screen and (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 20px;
    }

    .login-input {
        font-size: 14px;
    }

    .login-button {
        font-size: 14px;
    }
}
