Styling and error handling