Refactored form css rules