@Thawk welcome to Reach Out and thanks for sharing your situation with us. It sounds like you're going through so much anxiety and worry about the future. We all go through this life making mistakes and learning from them. It sounds like you have been doing quite well so I would encourage you to stay focused on how far you've come.
It sucks that you won't be able to drive for a bit but it's not a permanent thing and really it shouldn't completely prevent you from working. There are other alternatives like public transportation, carpooling or even cycling. Have you considered looking into one of those options? Time will go by pretty fast and before you know it, you'll have permission to drive again.
Facing courts is extremely anxiety-inducing and our minds have a way of making things seem the worst possible they could ever be. Fortunately, reality is never as bad as our worst imagination. Do you have any support in the legal matters? You could also try talking to a counselor about your worries about the upcoming court appointments. They can come up with strategies to help you distract or find a place of calm when you're feeling very anxious about this. Have you tried deep breathing or any other kind of grounding technique?
You can try Kids Help Line at 1800 55 1800 and talk to a counselor right away.
Keep us updated on how you're doing. RO is here to support and listen. Take care.