Error message styling and autofocus