Worried about my screen

My iPhone (iOS 18.2) remained accidentally turned on for the whole night (8 hours), not on max brightness though. Yesterday I experienced the Lift to turn on feature and forgot to switch it off.

How bad is it for the battery, the screen and the overall phone health ?