/* ================================================================
   MODULE PAGE DE CONNEXION
   ================================================================ */

.login-container {

}

.login-wrapper {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.login-welcome {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color, #2563eb);
    margin-bottom: 0.1rem;
    text-align: center;
}

.login-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color, #334155);
    margin-bottom: 2rem;
    text-align: center;
}

.login-card {
    width: 100%;
    background-color: var(--border-color);
    padding: 1.5rem 2.5rem;
    border-radius: var(--radius, 12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.05));
}

.login-card .form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color, #334155);
    margin-bottom: 0.5rem;
    text-align: center;
}

.signup-prompt {
    text-align: center;
    color: var(--text-muted, #64748b);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.signup-prompt a {
    color: var(--primary-color, #2563eb);
    text-decoration: none;
    font-weight: 600;
}

.signup-prompt a:hover {
    text-decoration: underline;
}

/* Style des champs du formulaire */
.custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color, #334155);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    background-color: #fff;
    outline: none;
    transition: var(--transition, all 0.25s ease-in-out);
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--primary-color, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.error-text {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    margin-bottom: 0;
}

.forgot-password {
    text-align: left;
    margin-bottom: 0.5rem;
}

.forgot-password a {
    color: var(--text-muted, #64748b);
    font-size: 0.9rem;
    text-decoration: none;
}

.forgot-password a:hover {
    color: var(--primary-color, #2563eb);
    text-decoration: underline;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.w-100 {
    width: 100%;
}

/* Responsive pour mobiles */
@media (max-width: 576px) {
    .login-card {
        padding: 1.5rem;
    }
    
    .login-main-title {
        font-size: 1.25rem;
    }
}