A tough cookie
is someone who is not very emotional and not easily hurt. They can handle negative situations and events without getting too upset (mitgenommen). Another phrase in which the word “cookie” means “a specific type of person” is “smart cookie” (cleveres Kerlchen).