styling for validation