Police Powers to Take Driver's Licence for Non-DUI
I was wondering when police have the power or ability to take a driver's licence. Or suspend the licence. Or impound the vehicle.
Essentially, what are police powers to immediately prevent a driver from driving after a traffic stop?
For example, in BC's IRP program (and other areas' equivalents) and 24-hour suspension, police have the power to immediately remove a driver from the road for alcohol or drug impaired driving. For excessive speeding, police have the power to immediately impound the vehicle.
But is there some sort of legislation that allows police to immediately take a person's driver's licence away in general, for reasons like public safety? For example, this type of legislation may apply if a person has impairment due to a medical condition (that the legislation might not explicitly refer to).
What are immediate police options in BC? In other provinces and terrorities of Canada?
What about in the United States?
Thanks for your answers!