What does idle talk mean as I’ve seen it referenced to singing and dancing sometimes but then I heard that it is when you talk about useless things (can’t remember where I heard this from). If it is about talking about “useless” things can we only talk about things related to Islam with friends and colleagues because it’s haram to do otherwise?
Our toungues are the biggest source of sins: lying, backbiting, tale telling, etc. The more you talk the more likely you are to commit these major sins, knowingly or unknowingly. Idle talk is useless talk that has no real value, its a waste of time, distracts you from the rememberence of Allah, and hardens one's heart making you less likely to feel the sweetness / enjoyment / peacefulness of worship. It makes worship feel a burden. One can't classify it as haraam, except that it often leads to sinful conversation.
Some talk is necessary: coordination, asking for help, and much is even worship : seeking Islamic knowledge, etc.
This article covers useless talk in more detail: https://www.dawahskills.com/featured-posts/how-to-avoid-useless-conversations-and-idle-talks/
I also recommend reading https://www.dawateislami.net/bookslibrary/en/silent-prince
May Allah save you from idle talk and give you full understanding of this matter.