Geometrical representations of structured light: from paraxial to electromagnetic