Why is my straight edge getting distorted when I bevel it?
It looks like not all the adjacent faces are connected. The big face on top of the side panels are the problem (image 1). You just need to connect them to the rest. To do that, just create an edge loop on it and merge (Alt+M) the bottom vertex with the one on the top of the wheel hole (image 2). That should do it (image 3).