* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Times New Roman', Times, serif; /* Changer la police */
    font-size: 14px; /* Taille de la police */
}

.overlay {
    background-image: url("../images/back.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.15); /* Transparence du fond */
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(10px); /* effet verre flou */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
}

.login-card h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.input-icon {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2); /* Transparence appliquée ici */
    border-radius: 6px;
    padding: 8px 12px;
    color: #fff;
}

.input-icon i {
    margin-right: 8px;
}

.input-icon input {
    border: none;
    outline: none;
    width: 100%;
    background: rgba(255, 255, 255, 1); /* Fond opaque pour les inputs */
    font-size: 14px; /* Taille de la police des inputs */
    color: #333; /* Couleur du texte des inputs */
}

.input-icon input::placeholder {
    color: rgba(0, 0, 0, 0.7); /* Placeholder plus lisible */
}

.btn-login {
    width: 100%;
    padding: 10px;
    background-color: rgba(33, 37, 41, 0.9);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.btn-login:hover {
    background-color: rgba(52, 58, 64, 1);
}

.alert {
    font-size: 14px; /* Taille de la police de l'alerte */
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    background-color: rgba(255, 0, 0, 0.2);
    color: white;
    border: 1px solid red;
}
