Samsung S7 won't charge or turn on after stuck on Odin

A

AC Question

I have a Samsung Galaxy S7 that's about 6 months old. Yesterday, I noticed the odin 'Downloading - do not turn off target' message appeared (without being plugged in to anything). After about 6 hours, I did a hard reset (Power/home/vol buttons) and the phone turned off. I tried turning it on in safe mode, which worked, but the phone is at 0% and died after a few seconds. It won't charge or turn on now. Even if I manage to get it to boot in safe mode, it won't charge and dies after 5 seconds.

Does anyone know how to fix this?