OP I am in my (very) late 40's and I have also been working from home. For the first while there huge novelty in wearing pj / sweatpants for zooms as no-one could see it.
But I started to feel really bad about never dressing properly. I put on weight and the elasticated waist bands definitely didn't help me!
So, I sent time weeding out my wardrobe and decided to buy for my life right now, not my imaginary 'going out for dinner / cocktails' life or my old smart office role, these were my 2 default shopping modes. Somehow I resented spending money on every day / weekend clothes.
So I forced myself to start there. I cleared out the wardrobe and was ruthless! 3 categories - clothes recycling bank (worn out tshirts etc), charity shop and then I sold loads of stuff online. This gave me a nice headstart budget to restock.
I only buy quality things that I love but I don't allow myself to buy things I might love but that I can't wear to the supermarket or for a coffee - so no fancy dresses as I have loads already.
It's far easier to get dressed every day now as I have a nice selection of things that fit (I also worked hard and have lost 1.5 stones since the first lockdown gain) and that make me feel good.
I bought jeans, non skinny, and I invested in them from Sezane. Then it was easy to match lovely shirts / tshirts / blouses and knitwear with them. I also bought straight wide legged trousers and cropped wide legged coulotte style (actually bought them last year from Whistles) and 3 jumpsuits.
I only wear flat shoes and have winter and summer brogues, chelsea boots, birkenstocks, new balance trainers and several pairs of sandals.