/* Global styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Hauteur de la fenêtre */
    flex-direction: column; /* Empile le titre et le formulaire */
}

.container {
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-top: 7.5vh;
    margin-bottom: 7.5vh;
    max-width: 600px;
    width: 90%;
    padding: 14px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Centre le texte */
}

h1.form-title {
    margin-bottom: 20px;
    font-size: 24px;
    color: #444;
}

.form-message {
    color: green;
    margin-bottom: 20px;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre les champs horizontalement */
}

.form-group {
    margin-bottom: 15px;
    width: 100%; /* Champs prennent toute la largeur */
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
    text-align: left; /* Aligne les labels à gauche */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
}

.form-button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-button:hover {
    background-color: #0056b3;
}

/* Style pour le message de bienvenue */
.welcome-message {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin: 10px 0;
    font-weight: bold;
}