I have made this circuit. It works fine with normal Zener diode, however when I replaced it with the LM7812 it works fine but as time passes the regulator keeps getting very hot although the load is just 5mm LED. (I replaced it with a regulator because I need it to be more stable during current fluctuations.) Why is the LM7812 getting hot in this circuit?
Note: The circuit is fully covered inside a plastic enclosure and it would be just used to drive an op-amp without any human interference.
edit: the input voltage for the LM7812 is 60Vdc at 25C
edit 2:tried using LM7824 the voltage just dropped dramatically to 3.4V and the 120ohm started a magic smoke
it would be used in an unstable power area with current fluctuations