refactored css styles