/p>
            </div>
            
            <!-- Pagination - visible when results are available -->
            <div x-show="formSubmitted && !isLoading && totalPages > 1" class="flex justify-center mt-6" x-cloak>
                <div class="join">
                    <button class="join-item btn" @click="goToPage(currentPage - 1)" :disabled="currentPage <= 1">«</button>
                    <button class="join-item btn">Page <span x-text="currentPage"></span> of <span x-text="totalPages"></span></butt