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

#login-form {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

h2 {
    color: #333;
    white-space: nowrap;
}

p {
    color: #555;
    margin-top: -10px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 10px;
    text-align: left;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}


button {
    background-color: #f78e1a;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #f78e1a;
}

@media only screen and (max-width: 600px) {
    body {
        background-size: cover; 
    }

    #login-form {
        width: 80%; 
        padding: 15px; 
    }

    input {
        width: calc(100% - 20px); 
    }

    .password-container input {
        width: calc(100% - 15px)!important; 
    }
    button {
        width: calc(100% - 20px); 
    }
    .password-container .toggle-password {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
    }
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #000;
    display: flex; /* Ajout de flexbox */
    flex-direction: column; /* Affichage en colonne pour empiler les éléments */
    padding-top: 20px; /* Ajout d'un espace au-dessus pour éviter le chevauchement */
}
footer a {
    color: #ffffff; /* Couleur du texte blanc */
    text-decoration: none; /* Optionnel: supprimer le soulignement des liens */
}


.copyright {
    font-size: 15px;
    margin-top: 10px;
    color: #ffffff;
}

.button-container {
    text-align: center;
}

.button-container span.asterisk {
    display: block;
    margin-top: 5px;
    color: red;
    font-size: 1.2em;
}
.username-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.username-label i.fa-user {
    margin-right: 10px; 
    color: #555; 
}
.password-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.password-label i.fa-lock {
    margin-right: 10px; 
    color: #555; 
}
.red-asterisk {
    color: red; 
}

.small-text {
    color: black; 
}

.small-text::before {
    content: "*";
    color: red; 
}

#custom-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 70px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(10px); 
}
.logo {
    width: 100px; 
    height: auto;
}
.small-text {
    font-size: 12px; 
    margin-top: 15px;
}
.password-container {
    position: relative;
}
.password-container input {
    width: 100%;
    padding-right: 40px; 
}
.password-container .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}