Can one wash their hands in the bathroom? what if there is a wall from ceiling to floor between the toilet and the sink, but still in the same room?
B’dieved one may wash their hands in a bathroom, but they should dry them and make the bracha outside. L’chatchila however it has to be halachically considered a different room. If there is only a wall, even if it is from ceiling to floor if it doesn’t have a doorway (tzuras hapesach) meaning a doorpost and the top of the doorway, it is considered the same room.
Minchas Yitzchok 4-36, Sharei Teshuva, O:CH 4-1