Modified style for validation