Hack to apply border spacing in specific columns in a table

Hello, world :wave: :wave:
I had a task this week to design a report that has a table displaying statics for the subject’s scoring.

This table was required. The problem was when I tried to apply:

  border-collapse: collapse;

I haven’t been able to apply border-spacing before the last two columns.
my table was like that:

I couldn’t find how to apply border-spacing for specif columns.
so I thought to create empty columns and make it invisible to act like empty space.

you can access the code here

that’s it if you have a better way please contact me on my twitter account
I hope everyone is healthy and safe.