// Cover letter generator free user popup
const sendButton = document.getElementById("free-user-cover-letter");
const popup = document.getElementById("popup");
const overlay = document.getElementById("overlay");
const closeButton = document.querySelector(".close-btn");
sendButton?.addEventListener("click", function() {
    popup.classList.add("show");
    overlay.classList.add("show");
});
closeButton?.addEventListener("click", function() {
    popup.classList.remove("show");
    overlay.classList.remove("show");
});
overlay?.addEventListener("click", function() {
    popup.classList.remove("show");
    overlay.classList.remove("show");
});