/* account.css */

.account-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px); /* Ajuster selon hauteur header/footer */
    padding: 40px 5%;
}

.account-container {
    background-color: var(--bg-color);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 450px;
    width: 100%;
    position: relative; /* Nécessaire pour position: absolute de l'overlay */
}

.account-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.account-form h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8em;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.account-form button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
}

.toggle-form {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

.toggle-form a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.toggle-form a:hover {
    text-decoration: underline;
}

/* Classe pour cacher/montrer les formulaires */
.hidden {
    display: none;
}

/* S'assurer que le container peut contenir l'overlay */
.account-container {
    position: relative; /* Peut être retiré si plus nécessaire */
    // ... existing styles ...
}

/* Ajustements Footer pour cette page */
footer {
    margin-top: 0; /* Peut être ajusté si nécessaire */
}