updated styles with horizontal form