The toilet does not have transposition conditions.
Because the bathroom has water supply and drainage, it does not have the conditions for transposition.
Proper deviation of the door
In geomantic omen, the opposite door refers to the situation that the center line of the door is opposite. You can properly offset the bathroom door and try to avoid the door being straight.
Set up a screen
You can set a screen near the letter "B" in the picture.
Make a porch
It is necessary for you to make a porch at the entrance of the door leading to the living room, so as not to let the guests know at a glance when they open the door.