uttons.forEach(btn => btn.classList.remove('active'));
                        pages.forEach(page => page.classList.remove('active'));
                        button.classList.add('active');
                        const targetPageId = button.dataset.page;
                        const targetPage = document.getElementById(targetPageId);
                        if (targetPage) {
                            targetPage.classList.add('active');
                        }
                    });
                }