Implemented loading animation and styling