  paginationContainer.appendChild(lastButton);
                }
            }

            function createPaginationButton(text, onClick, isActive = false, isDisabled = false) {
                const button = document.createElement('button');
                button.textContent = text;

                if (isActive) {
                    button.classList.add('active');
                }

                if (isDisabled) {
                    button.disabled = true;
                    button.classList.add('c