/* --- Style général de la page --- */
body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* Dégradé bleu/vert foncé */
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column; /* empile les éléments verticalement */
    align-items: center;    /* centre horizontalement */
    justify-content: center; /* centre verticalement */
    height: 100vh;
    margin: 0;
    text-align: center;      /* centre le texte du PHP et des <p> */
}

/* --- Conteneur du formulaire --- */
form {
    background-color: #1f2a38; /* rectangle légèrement plus clair */
    padding: 40px 30px;
    border-radius: 20px;
    width: 350px;
    border: 2px solid #4fc3f7; /* bordure bleue claire */
    box-sizing: border-box;
}

/* --- Titre --- */
h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
    color: #4fc3f7; /* couleur fun et visible */
}

/* --- Labels --- */
label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #b0bec5;
}

/* --- Champs texte / password / select --- */
input[type="text"],
input[type="password"],
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 12px;
    border: none;
    background-color: #37474f; /* gris foncé */
    color: #ffffff;
    font-size: 15px;
}

/* --- Bouton --- */
input[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #ff6f61; /* orange fun */
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* --- Bouton au survol --- */
input[type="submit"]:hover {
    background-color: #ff3b2e; /* orange plus vif */
}