.custom-audio-player {
    position: relative;
    margin-bottom: 24px;
}

.custom-audio-player .audio-element {
    display: none;
}

.custom-audio-player .current-time,
.custom-audio-player .duration-time {
    position: absolute;
    font-size: 0.8rem;
}

.custom-audio-player .duration-time {
    text-align: right;
    right: 0;
}

.custom-audio-player .progress-bar {
    height: 20px;
    overflow: visible;
}

.custom-audio-player .progress-track {
    position: relative;
    width: 100%;
    height: 2px;
    background: #cdcccc;
    cursor: pointer;
}

.custom-audio-player .progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #000;
    width: 0;
    transition: width 0.1s linear;
}

.custom-audio-player .progress-handle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    background: #333333;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: left 0.1s linear;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.custom-audio-player .control-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-top: 12px;
}

.custom-audio-player .control-buttons button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: transform 0.2s, opacity 0.2s;
    position: relative;
}

.custom-audio-player .control-buttons button:hover {
    transform: scale(1.1);
}

.custom-audio-player .control-buttons button:active {
    transform: scale(0.95);
}

.custom-audio-player .btn-play-pause {
    width: 36px;
    height: 36px;
}

.custom-audio-player .btn-play-pause svg {
    width: 26px;
    height: 26px;
}

.custom-audio-player .btn-skip-backward svg,
.custom-audio-player .btn-skip-forward svg {
    width: 23px;
    height: 23px;
}

.custom-audio-player .skip-label {
    position: absolute;
    font-size: 0.6rem;
    font-weight: 700;
    top: 51%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    color: #333;
}

.custom-audio-player .language-dropdown {
    position: absolute;
    top: 44px;
    right: 0;
}

.custom-audio-player .btn-language-dropdown {
    padding: 2px 6px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.custom-audio-player .btn-language-dropdown:hover {
    background: #e0e0e0;
}

.custom-audio-player .dropdown-icon {
    width: 10px;
    height: 6px;
    opacity: 0.6;
}

.custom-audio-player .language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 100px;
    z-index: 1000;
}

.custom-audio-player .language-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.custom-audio-player .language-option:hover {
    background: #f5f5f5;
}

.custom-audio-player .language-option.active {
    background: #333;
    color: #fff;
}

.audio-caption {
    margin-top: 18px;
}
