Validation and styling for visits