t(this)\">Â§çÂà∂ BBCode</button>
        `;
            container.appendChild(div);
        });
        document.getElementById("result-modal").style.display = "flex";
    }

    function copyText(btn) {
        const textarea = btn.previousElementSibling;
        textarea.select();
        document.execCommand("copy");
        btn.textContent = "‚úÖ Â∑≤Â§çÂà∂ÔºÅ";
        setTimeout(() => btn.textContent = "Â§çÂà∂", 1500);
    }

    function closeModal() {
        document