 {
            previewSection.style.display = 'none';
        }
    }

    nameInput.addEventListener('input', updatePreview);
    contentInput.addEventListener('input', updatePreview);

    // Photo upload preview
    fileInput.addEventListener('change', function(e) {
        const file = e.target.files[0];
        if (file) {
            // Show selected file name
            fileName.textContent = file.name;
            selectedFile.style.display = 'block';

            // Show preview
            const 