/* Style général identique à l'inscription */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.conteneur-principal {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.bloc-formulaire {
    background-color: #f0f0f0;
    width: 100%;
    max-width: 380px;
    padding: 50px 30px;
    border-radius: 60px; /* Coins très arrondis de la maquette */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
}

.titre-page {
    color: #38b44a;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 40px;
}

/* Champs de saisie */
form input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    margin-bottom: 25px;
    border: none;
    border-bottom: 2px solid #ff4d4d; /* Rouge par défaut */
    background: white;
    font-size: 1.1rem;
    outline: none;
    text-align: center;
    transition: border-color 0.3s ease;
}

form input::placeholder {
    color: #333;
}

/* Changement de couleur interactif vers le vert */
form input:not(:placeholder-shown),
form input:focus {
    border-bottom: 2px solid #38b44a;
}

/* Bouton vert principal */
.bouton-connexion {
    background-color: #38b44a;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    width: 85%;
    margin-top: 10px;
    margin-bottom: 20px;
}

.bouton-connexion:hover {
    background-color: #2e9d4d;
}

/* Liens du bas */
.lien-secondaire {
    display: block;
    color: #38b44a;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
}

.lien-vert {
    display: block;
    color: #38b44a;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.lien-vert:hover, .lien-secondaire:hover {
    text-decoration: underline;
}