ment.currentTime / audioElement.duration) * 100;
                    progressIndicator.style.width = `${percent}%`;
                    currentTimeDisplay.textContent = formatTime(audioElement.currentTime);
                    
                    // Update position indicator
                    positionIndicator.style.left = `${percent}%`;
                    positionIndicator.style.opacity = 
                        (audioElement.currentTime === 0 || audioElement.currentTime === audioElement.duration) ? '