Refactor forms styles