BMW headlight issue

BMW 320d 2011 headlight issue

Initially, I noticed a flickering in the dipped beam and went to have the bulb replaced. However, I was informed that the flickering persisted, and the ballast might be the issue. A week later, all the lights on the left headlight stopped working (except one of the orange lights that is constantly on), and I received a warning on the dashboard about a dipped beam issue and a DRL issue. I then replaced the ballast, but the lights still do not work. I have not yet replaced the bulbs. What could be the issue? Indicator still works