/* Page Compte - Styles */

.account-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.account-left {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: white;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-left-content {
    max-width: 500px;
}

.account-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 3rem;
}

.account-left h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.account-left p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.account-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-feature {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.account-feature strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.account-feature p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.875rem;
}

.account-right {
    background: white;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.account-right-content {
    width: 100%;
    max-width: 450px;
}

.account-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.account-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.account-tab:hover {
    color: var(--primary);
}

.account-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.account-form-container {
    display: none;
}

.account-form-container.active {
    display: block;
}

.account-form {
    /* Styles déjà définis dans style.css */
}

.account-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.account-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

.account-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

@media (max-width: 1024px) {
    .account-page {
        grid-template-columns: 1fr;
    }
    
    .account-left {
        display: none;
    }
    
    .account-right {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .account-right {
        padding: 1.5rem 1rem;
    }
    
    .account-right-content {
        max-width: 100%;
    }
    
    .account-tabs {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .account-tab {
        padding: 0.75rem 0.5rem;
        font-size: 0.9375rem;
    }
    
    .account-divider {
        margin: 1rem 0;
    }
    
    .account-form .btn {
        width: 100%;
    }
}

