Universal and shape dependent features of surface superconductivity