Added color transition for popup elements