I got a 2016 Mazda 3 hatchback I Sport automatic from an auction with 52k miles. Damage was cosmetic I took it to a shop and they replaced one fender and straightened everything else then painted and blended. Almost half of the car was painted.
So all in it was about $ 7500 (this includes the car, plus auction fees, plus shipping the car, the cost at the body shop)
Other costs so far: 125 for inspection after repair at body shop
I am still spending a bit more money trying to make it nicer and doing some minor maintenance like filters, oil change, windshield wipers, cleaning products to detail the inside etc.
I am happy even if it is a rebuilt title hehe.
Cheers