http://www.vishay.com/docs/83821/lh1522ab.pdf
First!...you need a current limiting resistor in series with the SSR's LED.
Then simplify.
Second, I would just put the indicator LED in series with the SSR's LED, and scale the current limiting resistor accordingly.
Third, I would eliminate the regulator and capacitor in the 12VDC input version. The limiting resistor would be (12V-3.3V-1.2V)/10mA=750Ω...for 10% tolerance use 680Ω
Fourth, I would eliminate the regulator in the 18-24VAC input. Increase the voltage rating on the capacitor to ~50VDC, and change the limiting resistor to ((24V*1.414)-3.3V-1.2V))/10mA=2.9KΩ...for 10% use 2.7KΩ
Ken