The brake lights have nothing to do with the functionality of the actual brake system.
The clutch hydraulics system is not linked to the brake system.
It is most likely either low brake fluid, or there is air in the brake lines.
Next possible thing would be a bad master cyl. $75 at kragens.
Make sure yo bench bleed the master before installation and full brake line bleeding.
Hope you check out
www.ewwiwop.com