/* Style général */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Conteneur du formulaire */
.form-container {
    width: 90%;
    max-width: 500px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

/* Titre */
.form-container h1 {
    color: #D91E18;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Champs de formulaire */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

input:focus {
    border-color: #D91E18;
    outline: none;
    box-shadow: 0 0 5px rgba(217, 30, 24, 0.5);
}

/* Bouton d'inscription */
button {
    background: #D91E18;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

button:hover {
    background: #a61713;
    transform: scale(1.05);
}

/* Message d'erreur ou de succès */
.message {
    font-size: 14px;
    margin-top: 15px;
    font-weight: bold;
}

.success {
    color: green;
}

.error {
    color: red;
}

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

/* Responsive */
@media (max-width: 600px) {
    .form-container {
        width: 95%;
        padding: 20px;
    }

    input {
        font-size: 14px;
    }

    button {
        font-size: 14px;
    }
}
