added style to error messages