pendChild(card);
        }
        mappingSection.appendChild(mappingContainer);
        summaryDiv.appendChild(mappingSection);
    }

    projectForm.addEventListener('submit', async (e) => {
        e.preventDefault();
        if (!setupInput.value) {
            alert('Please select a setup type');
            return;
        }
        const uploadId = getStoredUploadId();
        if (!uploadId) {
            alert('Please import at least one image to create a project');
            return;
        }
  