What is the difference between давно and долго?

Давно вас не видела.

Ты долго стояла в очереди?

Can you use them both the same?