add style rule for bidirectional text on input, to match textarea