refactored inline css styles