What is the cause of the itchy, swollen and painful left eyelid?

The causes of itchy, swollen and painful left eyelid are as follows.
Consider inflammation, related to fire and excessive eye use, possibly due to a bacterial infection causing blepharitis, with self-induced itching, stinging and burning sensation in the eye, accompanied by congestion and flushing of the lid margin and scales adhering to the surface of the eyelashes and lid margin, or it may be mydriasis, also known as blepharitis, which usually manifests as localised redness and hot pain in the eyelid.