/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 16 2026 | 15:27:02 */
// Only run on thank you page
if (window.location.pathname.includes('/thank-you')) {
    document.addEventListener('DOMContentLoaded', function() {
        
        // Get the 'reg' parameter from URL
        const urlParams = new URLSearchParams(window.location.search);
        const registrationNumber = urlParams.get('reg');
                
        // Display it
        const displayElement = document.getElementById('registration-display');
        
        if (displayElement) {
            if (registrationNumber && registrationNumber !== 'unknown') {
                displayElement.textContent = registrationNumber;
                displayElement.style.color = '#d4af37';
            } else {
                displayElement.textContent = 'Not Available';
                displayElement.style.color = '#ef4444';
                displayElement.style.fontSize = '18px';
            }
        }
    });
}