If i open my boot lid you can see that the boot is a bit warped so im hoping that its the boot need replacing, but what about my door

I got the car for a good price at R40 000 and i know i wont find a perfect sx but something that really annoys me is when doors and stuff dont sit lined up. Im a bit of a perfectionest.
There is no rust spots atall on the body and theres no evidence of repairs except for the fender and door, and the car was resprayed aswell but to the original color with a spec to it
heres some pics for you guys to see:
right side of boot

left side of boot

passenger door

drivers door

if i put pressure on the boot and the door i can push them in how they are supposed to sit but obviously they dont stay.