.custom-audio-player-container {
    padding: 16px 20px;
    background-color: #d4c9be;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
    font-family: inherit;
    margin-bottom: 20px;
}
.player-volume-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 5px;
}

.player-mute-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.player-mute-btn:hover {
    color: #736a6a;
}

.player-volume-slider {
    -webkit-appearance: none;
    width: 70px;
    height: 4px;
    background: #e3dad2;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.player-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #736a6a;
    cursor: pointer;
    transition: transform 0.1s;
}
.player-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
@media (max-width: 480px) {
    .player-volume-slider {
        display: none;
    }
}
.player-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.player-label {
    font-size: 13px;
    font-weight: 600;
    color: #3a3434;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

.player-speed-wrapper {
    position: relative;
}

.player-speed-select {
    background: #786f6e;
    font-family: 'Playfair Display', serif;
    color: #e3dad2;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.player-controls-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.player-play-btn {
    background-color: #736a6a;
    color: #e3dad2;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s, background-color 0.2s;
}

.player-play-btn:hover {
    transform: scale(1.05);
}

.player-time {
    font-size: 12px;
    color: #777;
    min-width: 35px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.player-timeline {
    flex-grow: 1;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.player-progress-bar {
    height: 100%;
    width: 0%;
    background-color:#786f6e;
    border-radius: 3px;
    pointer-events: none;
    transition: width 0.1s linear;
}