add styling to form validation