                 <span class="text-blue-600 font-medium">Processing... Please wait.</span>
                </div>
            </div>
        </div>
    </main>

    <script>
        document.getElementById("uploadForm").addEventListener("submit", function(event) {
            event.preventDefault();
            document.getElementById("loading").classList.remove("hidden");
            
            const formData = new FormData(this);
            
            fetch("/process", {
               