Smart traffic quotas

Good evening, does anyone know how to configure quotas for certain destinations?

Environment:

Radius server with users,

Authentication via Hotspot

Example:

To: youtube.com, netflix.com, … 10 GB

To: whatsapp, messenger, facebook… 20GB

Remaining: 5GB

At the end of the quotas of the specific traffic, they start to be discounted from the quota of the remaining traffic.

When the remaining traffic runs out, I would like the user to receive “some tag, or switching to another IP pool, …” to be able to block and redirect.

Quota resets at the end of the month

I know that mikrotik itself has a total bytes limit setting but obviously that’s not what I want.

Thanks.