/* Profile Page Styles - Flat Design Without Cards */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Profile Header - No Card */
.profile-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 48px;
    box-shadow: none;
    overflow: visible;
}

.profile-card-header {
    padding: 32px 0;
    text-align: center;
    background: transparent;
}

.profile-avatar-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
}

.profile-avatar-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid var(--color-primary);
    box-shadow: 0 4px 20px rgba(12, 149, 30, 0.2);
}

.avatar-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.avatar-badge svg {
    color: #0a7a1e;
}

.profile-card-name {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-gray-800);
    margin-bottom: 8px;
}

.profile-card-email {
    font-size: 16px;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.member-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    padding: 10px 24px;
    border-radius: 24px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(12, 149, 30, 0.25);
}

/* Profile Stats - No Card Background */
.profile-stats {
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent;
    margin-bottom: 48px;
    gap: 32px;
}

.stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-gray-200);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.stat-icon-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0a7a1e 100%);
    color: white;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--color-gray-600);
    font-weight: 500;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gray-800);
}

.stat-divider {
    display: none;
}

/* Quick Actions - No Card */
.profile-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0;
    background: transparent;
    margin-bottom: 48px;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    color: var(--color-gray-700);
    transition: all 0.3s ease;
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quick-action-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(12, 149, 30, 0.2);
}

.action-icon {
    width: 48px;
    height: 48px;
    background: var(--color-gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-action-btn:hover .action-icon {
    background: rgba(255, 255, 255, 0.2);
}

.quick-action-btn span {
    font-size: 14px;
    font-weight: 600;
}

/* Profile Menu Section - No Card */
.profile-menu-section {
    margin-bottom: 32px;
}

.menu-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 16px;
    padding: 0;
}

.profile-menu-list {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: none;
    text-decoration: none;
    background: white;
    width: 100%;
    border: 1px solid var(--color-gray-200);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.menu-item:hover {
    background: var(--color-gray-50);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.menu-item-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0a7a1e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.menu-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.menu-item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-gray-800);
}

.menu-item-desc {
    font-size: 13px;
    color: var(--color-gray-600);
}

.menu-item-arrow {
    color: var(--color-gray-400);
    flex-shrink: 0;
}

/* Edit Profile Section */
.profile-edit-section {
    margin-bottom: 32px;
}

.profile-section {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-gray-200);
}

.profile-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-gray-100);
}

.profile-section .section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin: 0;
}

.btn-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--color-gray-100);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-gray-600);
}

.btn-close:hover {
    background: var(--color-gray-200);
    color: var(--color-gray-800);
}

/* Form Styles */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-700);
}

.form-group .input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    font-size: 14px;
    color: var(--color-gray-800);
    background: white;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group .input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(12, 149, 30, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0a7a1e 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(12, 149, 30, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(12, 149, 30, 0.4);
}

.btn-secondary {
    background: var(--color-gray-100);
    color: var(--color-gray-700);
    border: 2px solid var(--color-gray-200);
}

.btn-secondary:hover {
    background: var(--color-gray-200);
    border-color: var(--color-gray-300);
}

/* Responsive */
@media (max-width: 768px) {
    .profile-card-header {
        padding: 24px 0;
    }
    
    .profile-avatar-circle {
        width: 100px;
        height: 100px;
    }
    
    .profile-card-name {
        font-size: 24px;
    }
    
    .profile-card-email {
        font-size: 14px;
    }
    
    .profile-stats {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .profile-quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .quick-action-btn {
        padding: 16px 12px;
        gap: 8px;
    }
    
    .action-icon {
        width: 40px;
        height: 40px;
    }
    
    .quick-action-btn span {
        font-size: 13px;
    }
    
    .menu-section-title {
        font-size: 18px;
    }
    
    .menu-item {
        padding: 16px 20px;
    }
    
    .menu-item:hover {
        transform: translateX(2px);
    }
    
    .menu-item-icon {
        width: 44px;
        height: 44px;
    }
    
    .menu-item-title {
        font-size: 14px;
    }
    
    .menu-item-desc {
        font-size: 12px;
    }
    
    .profile-section {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}
