
                    });
                });
            
            // Focus first input on page load
            setTimeout(() => {
                const firstInput = pinContainer.querySelector('input');
                if (firstInput) firstInput.focus();
            }, 100);

            // Set the page and site title from config if available
            if (window.appConfig && window.appConfig.siteTitle) {
                const siteTitleElem = document.getElementById('siteTitle');
                if (s