Just keep in mind how you thought of your own parents during these years.
Yes, for a short time you will be seen as ignorant by your new immensely knowledgeable child who now knows all things. . (hahaha. funny but true).
You may as well run around with rollers in your hair because no matter what you are embarrassing if her friends are around.
Hugs will be few and far between and a private occurance.
But this is temporary I promise you. All you can do right now is to be there when she needs you, and parent her the best you can. As much as she pushes you away right now parenting is the need of the day.
While there has to be some measure of independence and freedom, you have to know what's going on in her life, and make sure her influences are positive - which has to be balanced with becoming a person she trusts she can go to when she really needs.
So you have to become something between parent and freind, ignoramus and confident, and be able to walk this line..
There's a balance, and I'm sure you'll find it. Every time you feel like crying just remember some funny thing you thought about your own mother, and how that all changed when you became an adult.
My daughter actually called me up and apologized for all she put me through.. yours will too one day.