added red text to style class for validation errors