Supplier Group arrangements

Hello, I have a question,
I want to make a special arrangement in the Erpnext supplier group.

When adding a supplier, when I select MEC-1 as an example for the supplier group, I want only the groups connected to MEC-1 to be visible in the additional sub-supplier group I created.(from customize)

When I select MEC-2, I want to see only the sub-supplier groups and only the supplier classes connected to the MEC-2 group.

Thank you.

WhatsApp Image 2025-05-15 at 17.24.01