/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Fond global avec dégradé */
body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    animation: bgMove 10s infinite alternate;
}

/* Animation du fond */
@keyframes bgMove {
    0% { background-position: left; }
    100% { background-position: right; }
}

/* Formulaire */
form {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
    animation: fadeIn 1s ease;
}

/* Animation d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Titre */
h2 {
    margin-bottom: 20px;
    color: #333;
}

/* Inputs */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

/* Effet focus */
input:focus {
    border-color: #4facfe;
    box-shadow: 0 0 5px rgba(79, 172, 254, 0.5);
}

/* Bouton */
button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #4facfe;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

/* Hover bouton */
button:hover {
    background: #bb6707;
    transform: scale(1.05);
}

/* Responsive mobile */
@media (max-width: 500px) {
    form {
        padding: 20px;
        margin: 10px;
    }

    h2 {
        font-size: 20px;
    }

    input, button {
        padding: 10px;
    }
}