/* ----- Conteneur principal ----- */
.connexion-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 120px);
}

/* ----- Bloc formulaire ----- */
.form-action {
    background-color: #98C7EB;
    border-radius: 20px;
    padding: 40px;
    width: 400px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ----- Ligne d’un champ (logo + input) ----- */
.identifiant-connexion,
.password-connexion {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* Icône dans un cercle bleu foncé avec contour blanc */
.logo-container img {
    width: 40px;
    height: 40px;
    border-radius: 20%;
    padding: 8px;
    background-color: #fff;
    margin-right: 12px;
    box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* Champ input */
.input-group {
    flex: 1;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.15);
    padding: 12px;
}

.input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}

/* Placeholder */
.input-group input::placeholder {
    color: #98C7EB;
    font-size: 14px;
}

/* ----- Bouton connexion ----- */
.btn-connexion {
    background-color: #0b4ea2;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    padding: 14px;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-connexion:hover {
    background-color: #093f85;
}

/* ----- Inscription ----- */
.inscription p {
    color: white;
    font-size: 15px;
    margin-top: 10px;
}

/* ----- Message d’erreur ----- */
#error {
    color: red;
    font-size: 14px;
    margin-bottom: 15px;
}

/* ----- Message ----- */
.messages {
    list-style: none;
    padding: 0;
    text-align: center;
    color: rgb(21, 224, 21);
    margin-top: 15px;
}
