Thank you for reaching out for help for your daughter. It is difficult to watch our children be unsuccessful at anything, whether it is academic, athletic or social. You did not share the age of your daughter, which makes it somewhat difficult for us to make age-appropriate suggestions.
Without going into other symptoms of depression, you have enough valid concerns to make an appointment to have her evaluated and begin counseling. We would also encourage you to do some things right away besides making that call for an appointment.
First, identify what your daughter is good at and what her interests are. Find a way to promote those interests and help her get more involved in them. Go to the library and check out books on the topic of interest. Find activities or events where others who have similar interests gather to share ideas or enjoyment of their hobby.
Without being too forceful, invite her out of her room in the evenings to share some time with you. Talk about weekend plans and what you can do as a family. Do not allow her withdrawal to continue. Some private time is OK, but all evening or all weekend is not emotionally healthy.