Fixed styling and error messages.