spinner);
                button.appendChild(text);
            } else if (peerConnection && peerConnection.connectionState === 'connected') {
                // Create pulse circle
                const pulseCircle = document.createElement('div');
                pulseCircle.className = 'pulse-circle';

                // Create mic icon
                const micIcon = document.createElement('div');
                micIcon.className = 'mute-toggle';
                micIcon.innerHTML = isMuted ? micMutedIco