                    if (quantity === 1) {
                        createButtonText.textContent = 'Create Device';
                    } else {
                        createButtonText.textContent = `Create ${quantity} Devices`;
                    }
                }
                
                // Update on input change
                quantityInput.addEventListener('input', updateButtonText);
                
                // Initial update
                updateButtonText();
            }
         