A bakery sells cookies in packs of 6. Each pack costs $3. If Sarah buys 7 packs of cookies and then gives away 12 cookies to her friends, how many cookies does she have left, and how much did she spend in total? Let's think step by step and output the final answer within \boxed{}.
user