
          submenuContent.classList.add('hidden');
          submenuArrow.classList.remove('rotate-180');
        }
      }

      function copyInbound(tag) {
        var textArea = document.getElementById("inbound-" + tag);
        if (!textArea) {
          alert("No text found for tag: " + tag);
          return;
        }
        var textToCopy = textArea.value;
        if (navigator.clipboard && window.isSecureContext) {
          navigator.clipboard.writeText(textToCopy).then(function() {