If one stays in the shower for like 30mins or more, just standing under water and thinking and doing nothing, is it haram?

Wasting water is haraam. If that is regarded as wasting water it would be problematic.