.audio-player {
    max-width: 100%;
    margin: 1rem 0;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    touch-action: manipulation;
}

.controls {
    display: flex;
    align-items: center;
}

.play-pause {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    padding: 0;
    border-radius: 50%;
    background-color: var(--primary-color);
    cursor: pointer;
}

.play-pause .icon {
    width: 70%;
    height: 70%;
}

.play-pause.play .icon polygon {
    fill: var(--background-color); 
}

.play-pause.pause .icon rect {
    /* The "Pause" Icon */
    fill: var(--background-color);
}

.progress {
    position: relative;
    flex: 1;
    height: 2px;
    background-color: lightgray;
    cursor: pointer;
}

.progress-filled {
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
}

.progress input {
    position: absolute;
    top: -.45rem;
    width: 100%;
    height: 16px;
    margin: 0;
    border: 0;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: auto;
    cursor: url(/assets/graphics/point.svg) 5 -5, auto;      
}

.progress input::-webkit-slider-thumb {
    width: 10px;
    height: 10px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--primary-color);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    cursor: url(/assets/graphics/hover.svg) 5 -5, auto;
}

.progress input::-moz-range-thumb {
    width: 10px;
    height: 10px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--primary-color);
    cursor: pointer;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    cursor: url(/assets/graphics/hover.svg) 5 -5, auto;
}