body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 22rem;
}

h3 {
    margin-bottom: 1rem;
    color: #333;
}

.error {
    color: red;
    font-size: 0.9em;
    margin-bottom: 0.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    margin-bottom: 0.8rem;
}

.label {
    font-size: 0.9em;
    margin-bottom: 0.2rem;
    color: #555;
    width: 100%;
    max-width: 18rem;
}

input {
    padding: 0.5rem;
    border: 0.063rem solid #ccc;
    border-radius: 0.313rem;
    font-size: 1em;
    width: 100%;
    max-width: 18rem;
}

button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.313rem;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    width: auto;
    min-width: 9rem;
    margin-top: 0.5rem;
}

button:hover {
    background-color: #0056b3;
}

.request-access {
    margin-top: 1rem;
    text-align: center;
}

.btn-request {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.313rem;
    font-size: 1em;
    min-width: 9rem;
    transition: background 0.3s ease-in-out;
}

.btn-request:hover {
    background-color: #0056b3;
}

input, textarea {
    padding: 0.5rem;
    border: 0.063rem solid #ccc;
    border-radius: 0.313rem;
    font-size: 1em;
    width: 100%;
    max-width: 18rem;
    box-sizing: border-box;
}

/* Styles pour l'input du mot de passe */
.password-container input {
    padding: 0.5rem;
    border: 0.063rem solid #ccc;
    border-radius: 0.313rem;
    font-size: 1em;
    width: 100%;
    max-width: 18rem;
    box-sizing: border-box;
    cursor: pointer;

}

/* Ajouter un espace entre le texte et l'icône et aligner l'icône à droite */
label {
    display: flex;               /* Utilisation de flex pour aligner les éléments */
    justify-content: space-between; /* Assure que le texte et l'icône sont aux extrémités */
    align-items: center;         /* Aligne verticalement l'icône et le texte */
}

label .eye-icon {
    margin-left: 8px;           /* Espacement entre le texte et l'icône */
    cursor: pointer;           /* Change le curseur en main quand on survole l'icône */
    font-size: 1.2em;           /* Vous pouvez ajuster la taille de l'icône si nécessaire */
}
