added focus styles for form input error states, fixes #1300