/* Audio Player Styles */
audio {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --bg-color: #f9fafb;
    --progress-color: #3b82f6;
    height: 50px;
    width: 100%;
    border-radius: 0.5rem;
}

/* Audio Player Controls */
audio::-webkit-media-controls-panel {
    background-color: var(--bg-color);
    border-radius: 0.5rem;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button {
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
}

audio::-webkit-media-controls-play-button:hover,
audio::-webkit-media-controls-mute-button:hover {
    background-color: var(--secondary-color);
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: #374151;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
    font-weight: 500;
}

/* Progress Bar */
audio::-webkit-media-controls-timeline {
    background-color: #e5e7eb;
    border-radius: 0.25rem;
    margin: 0 0.5rem;
}

audio::-webkit-media-controls-timeline::-webkit-slider-thumb {
    background-color: var(--progress-color);
    border: 2px solid white;
    border-radius: 50%;
    height: 12px;
    width: 12px;
}

/* Volume Slider */
audio::-webkit-media-controls-volume-slider {
    background-color: #e5e7eb;
    border-radius: 0.25rem;
    padding: 0 0.25rem;
}

audio::-webkit-media-controls-volume-slider::-webkit-slider-thumb {
    background-color: var(--progress-color);
    border: 2px solid white;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}
