Customize style of Table of Contents
Hi!
I have set up a custom TOC for my 100+ page document. I've added 2 levels. This is my current setup:

Which produces this result:

However; I would like to add some background and more styling to the entry paragraph. I would like something like this:
Here I've added a colored square behind the page number and made the entry text aligned.

I haven't figured out how to do this "the correct way" without having to do so manually. Is there any possibility to add something like a object style to the page number; or is there a other way? Any help would be greatly appreciated.