.audio-player {
    box-sizing: border-box;
    height: 148px;
    width: calc(100% - 40px);
    margin: 20px;
    max-width: 100vw;
    color: #1270e3;
    font-size: 15px;
    /*display: flex;
    justify-content: space-around;*/
    border: 2px solid rgb(239, 246, 255);
    padding: 8px 10px;
    border-radius: 21px;
    position: relative;
}
.audio-intro-title {
    color: #333333;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
}
.audio-intro-desc {
    text-transform: uppercase;
    color: rgb(59 130 246);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}
.icon-headset {
    position: absolute;
    right: 20px;
    top: 28px;
    opacity: 0.5;
    color: rgb(219, 234, 254);
}
.audio-intro {
    position: absolute;
    left: 90px;
    top: 20px;
}
.play-container {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #0056b3;
    width: 49px;
    height: 49px;
    border-radius: 50%;
}

.toggle-play {

}

.audio-player .time {
    position: absolute;
    bottom: 10px;
    left: 17px;
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}

.audio-player .current {
    width: 33px;
}

.audio-player .timeline {
    background: #e4f0ff;
    max-width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 86px;
    left: 18px;
    right: 18px;
    cursor: pointer;
    height: 6px;
    border-radius: 45px;
}

.audio-player .timeline .progress {
    background: #4590eb;
    width: 0%;
    height: 100%;
    transition: 0.25s;
    border-radius: 45px;
}

.audio-player .controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 4px;
    width: 80%;
}

.audio-divider {
    width: 1px;
    background-color: #1270e3;
    height: 42px;
    margin: -8px 12px -8px 8px;
}

/*.audio-player .controls > * {
    display: flex;
    align-items: center;
}*/

.toggle-play.play .fa-play {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
}

.toggle-play.pause .fa-pause {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.toggle-play.play.show {
    display: block;
}

.toggle-play.play i.fa-pause {
    display: none;
}
.toggle-play.pause i.fa-play {
    display: none;
}

.audio-player .controls .toggle-play.play:hover {

}

.audio-player1 .controls .toggle-play.pause {
    height: 15px;
    width: 20px;
    cursor: pointer;
    position: relative;
}

.audio-player .controls .toggle-play.pause:hover {
}

.toggle-play.pause1::before {
    position: absolute;
    top: 0;
    left: 0px;
    background: #1270e3;
    content: "";
    height: 15px;
    width: 3px;
}

.toggle-play.pause1::after {
    position: absolute;
    top: 0;
    right: 8px;
    background: #1270e3;
    content: "";
    height: 15px;
    width: 3px;
}

.audio-player .controls .time {
    display: flex;
}

.audio-player .controls .time > * {
    padding: 2px;
}

.audio-player .controls .volume-container {
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.audio-player .controls .volume-container .volume-button {
    height: 26px;
    display: flex;
    align-items: center;
}

.volume-container .volume-button .volume {
    width: 20px;
    height: 20px;
    background-image: url(./icon/volumn.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.volume-container .volume-slider {
    position: absolute;
    left: -3px;
    top: 0;
    z-index: -1;
    width: 12px;
    height: 0;
    background: #4796f7;
    border-radius: 45px;
    transition: 0.25s;
    overflow: hidden;
}

.volume-slider .volume-percentage {
    background: #dedede;
    height: 0;
    width: 100%;
}

.volume-container:hover .volume-slider {
    left: 0;
    height: 120px;
    top: -123px;
}

.audio-select {
    display: flex;
    font-size: 14px;
    color: rgb(59 130 246);
    text-wrap-mode: nowrap;
    align-items: center;
    position: absolute;
    bottom: 10px;
    right: 17px;
    cursor: pointer;
    user-select: none;
    padding: 2px 5px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
}



.audio-icon-select {
    width: 22px;
    height: 22px;
    background-image: url(./icon/down-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: 4px;
}

.audio-select.show-options .audio-icon-select {
    width: 22px;
    height: 22px;
    background-image: url(./icon/down-arrow.png);
}

.audio-select-options {
    position: absolute;
    top: 40px;
    left: 0;
    display: none;
}

.audio-select.show-options .audio-select-options {
    display: block;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.audio-select-options > div {
    padding: 6px 8px;
    color: #1270e3;
    background-color: #cce3ff;
    cursor: pointer;
    border-radius: 4px;
}

.audio-select-options > div:hover {
    background-color: #a7cdfc;
}

.more-action-container {
    display: none;
    position: absolute;
    bottom: 10px;
    right: 2px;
}

.more-action {
    width: 20px;
    height: 20px;
    background-image: url(./icon/showmore.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: 4px;
    margin-top: 3px;
}

.more-action-items {
    font-size: 16px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    box-shadow: 0px 0px 12px #aaa;
    display: none;
}

.more-action-items.show {
    display: block;
}

.more-action-items > div {
    padding: 8px 16px 8px 12px;
    background-color: #fff;
    cursor: pointer;
    text-wrap-mode: nowrap;
}

.more-action-items > div:hover {
    background-color: #eee;
}

.more-action-items > div > img {
    width: 15px;
    margin-right: 6px;
}

.item-playback-seep {
    position: relative;
}

.list-item-seeps {
    display: none;
    position: absolute;
    z-index: 101;
    box-shadow: 0px 0px 12px #aaa;
    bottom: 32px;
    right: 12px;
}

.list-item-seeps > div {
    padding: 8px 36px 8px 12px;
    background-color: #fff;
}
.list-item-seeps > div:hover {
    background-color: #eee;
}

.list-item-seeps .choose {
    background-color: #eee;
}

.list-item-seeps.show-item-seep {
    display: block;
}

.time .length {
    text-wrap-mode: nowrap;
    margin-left: 6px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px); /* tùy chọn, cho hiệu ứng mượt hơn */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .audio-player {
        padding: 5px 6px;
        border-radius: 5px;
    }
    .audio-label {
        font-size: 10px;
    }
    .audio-icon-select {
        width: 14px;
    }
    .audio-divider {
        height: 36px;
        margin: -5px 4px -5px 2px;
    }
    .toggle-play.play {
        border: 6px solid transparent;
    }
    .time {
        font-size: 10px;
    }
    .timeline {
        margin: 0 8px !important;
        height: 10px;
    }
    .audio-player .timeline {
        height: 8px;
    }
    .volume-container .volume-button .volume {
        width: 14px;
    }
    .more-action {
        width: 14px;
    }

    .more-action-items {
        font-size: 10px;
    }
    .more-action-items > div > img {
        width: 10px;
    }
    .volume-container .volume-slider {
        width: 8px;
    }
    .volume-container:hover .volume-slider {
        left: 3px;
        height: 90px;
        top: -88px;
    }
}

.audio-label i {
    font-size: 12px;
}