Question: what is the meaning of smart cookie idioms?
Answer: The Cambridge International Dictionary of Idioms says that a smart cookie is “someone who is clever and good at dealing with difficult situations.” It's a phrase that was first used in 1948, though I couldn't find information on how it was used.