body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #141e30, #243b55);
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

h1 {
    color: #ffcc00;
}

form {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 500px; /* Réduction de la largeur du formulaire */
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 12px;
    text-align: left;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

input, textarea {
    width: 100%;
    padding: 5px; /* Réduction du padding */
    border: 1px solid #2d3b61;
    border-radius: 5px;
    background: #1e2a47;
    color: #fff;
    font-size: 0.9rem; /* Légèrement réduit */
}

textarea {
    height: 80px; /* Zone de texte réduite */
    resize: none;
}

button {
    background: linear-gradient(45deg, #ffcc00, #ff9933);
    color: #fff;
    border: none;
    padding: 8px; /* Réduction du padding */
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

button:hover {
    background: linear-gradient(45deg, #ff9933, #ffcc00);
    transform: scale(1.05);
}

.success {
    color: #00ff00;
    font-weight: bold;
}

.error {
    color: #ff4444;
    font-weight: bold;
}
