/* profile.css */

.profile-layout {
    display: flex;
    gap: 40px;
    padding-top: 40px;
}

.profile-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.user-info-brief {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 20px;
}

.user-info-brief img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    background: #e0e0e0;
}

.user-info-brief h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.user-info-brief p {
    font-size: 13px;
    color: var(--text-medium);
}

.profile-nav {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
}

.profile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.profile-nav-link:last-child {
    border-bottom: none;
}

.profile-nav-link i {
    width: 20px;
    text-align: center;
    color: var(--text-medium);
    font-size: 18px;
}

.profile-nav-link:hover {
    background: #f9f9f9;
}

.profile-nav-link.active {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.profile-nav-link.active i {
    color: var(--text-dark);
}

.profile-content {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    padding: 30px;
}

/* Reusing checkout.css form styles inside profile.css slightly adapted */
.profile-content .form-section {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.profile-content .section-header {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.profile-content .section-header h2 {
    font-size: 20px;
}

@media (max-width: 768px) {
    .profile-layout {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100%;
    }
}