I removed the css and that works for me. But, I add that css to hide a particular content from account dashboard. Could you please tell how to hide that without affecting the Login button. I attached an image for your clarification.
Like you said hiding those two lines is also ok. But the problem is, after applying that css it hides the whole section of account details from My Account. Please find the attached screenshot for your reference.