Add styling for invalid required fields