Are they fine ?

Will my bc pills be fine if I put them in this pocket??? They will be In a small make up bag in the pocket so they won’t be getting wet from the ice pack and the ice pack is next to the pocket