How safe is it to maintain money in my Zerodha account?

Please can one explain me how safe it is to keep money in Zerodha? I mean money invested in stocks through Zerodha but money that is idle (margin).
What if company closes? will I loose all my margin available in Zerodha ?
what if there is recession and sebi instructs Zerodha not to allow traders to use their available margin ?
What if company runs away with all money from traders margin available?
After seeing such huge global crashes for first time in my life, and pandemic covid19, I started thinking in multi dimensional way and ended with so many questions. So please don’t take this question in negative way.

A post was merged into an existing topic: How safe is our idle money with Zerodha