@gingerss – a couple of thoughts from me (at risk of ridicule from those more knowledgable).
It’s quite common to have a natural side, ie favour left vs right, it’s also likely that your technique is slightly different side which feeds into confidence with lack of confidence in one side making things worse.
My second observation based on how I think of things is to learn the bike more than the body, if you look at the berm photo above the bike is angled in and the rider is above the bike. This plus outside foot/inside hand pressure creates grip in the tyres. On slower corners, ie switchbacks, I’ve found it’s all about the right amount of pressure on the front wheel and definitely slow in/fast out with a possible pedal stroke to finish the turn. On a switchback you can learn the bike to inside of turn whilst your body is quite upright. I’d also suggest practicing turns on flat ground, I struggle with these as it exposes my technique.