body {
    margin: 0px;
    background-color: var(--background-color-login);
    color: var(--text-color);
}

/* Centrage Global (Flexbox) */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Le Conteneur de la Carte */
.login-container {
    width: 100%;
    max-width: 380px; 
    padding: 35px;
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    text-align: center;
}

.login-title {
    font-size: 1.8em;
    font-weight: 300; 
    margin-bottom: 30px;
    color: var(--primary-color);
}

/* Message d'Erreur */
.error-message {
    color: var(--error-color);
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

/* Champs de Formulaire */
.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fcfcfc;
}

.input-group i {
    color: var(--primary-color);
    margin-right: 15px;
}

.input-group input {
    flex-grow: 1; 
    border: none;
    outline: none;
    padding: 5px 0;
    font-size: 1em;
    background-color: transparent;
}

/* Bouton de Soumission */
.submit-button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 10px;
}

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

.submit-button:active {
    transform: translateY(1px); 
}

/* Lien "Mot de passe oublié" */
.forgot-password {
    margin-top: 20px;
    font-size: 0.9em;
}

.forgot-password a {
    color: #666;
    text-decoration: none;
}

.forgot-password a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}