

.miniPlayerContainer {
    padding: 0px 0px;
    margin: 10px auto;
}


.audio-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #a9a9a9, #d3d3d3);
    width: 96%;
    max-width: 400px;
    max-height: 100px;
    aspect-ratio: 5 / 1;
    margin-bottom: 10px;
    border-radius: 10px;
    padding: 5px;
    box-sizing: border-box;
    flex-wrap: wrap;
    margin: auto;
}


.audio-container::before {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    border: 1px solid #fff;
    border-radius: 8px;
    pointer-events: none;
    flex-direction: column;
}

.gradientOrange {
    background: linear-gradient(to left, #ffcc00, #ff9000);
}

.playBanner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.audio-container .iconBefore {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1.5;
    /* This line is optional, it will allow the div to grow and shrink as needed */
}

.audio-container .iconAfter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.audio-container .playText {
    font-size: 16px;
    font-weight: 600;
    color: white;
    flex: 4;
    text-align: center;
}

.audio-container .iconBefore img {
    width: 60%;
    height: auto;
    max-width: 95px;
}

.audio-container .iconAfter img {
    width: auto;
    height: auto;
    max-width: 18px;
}

.voicePlayer {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    color: white;
    padding: 8px;
    box-sizing: border-box;
}

.progressBarContainer {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin: 0px 0px 15px 0px;
    padding: 1px 0px 1px 0px;
}


.progressBar {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
}

.progressBar span {
    display: block;
    height: 100%;
    background: white;
    border-radius: 10px;
    width: 0;
}

.bottomContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.charaNameContainer {
    order: 1;
    width: 30%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.charaName:hover {
    animation-play-state: paused;
}

.charaName {
    font-size: 14px;
    white-space: nowrap;
}

/* .marquee .charaName {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 8s linear infinite;
}

.marquee .charaName:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
} */

.controls {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.remainingTime {
    font-size: 12px;
    order: 3;
    text-align: right;
    padding-top: 10px;
    padding-right: 5px;
    width: 30%;
}


.voicePlayer .playPause .playButton,
.voicePlayer .playPause .pauseButton,
.voicePlayer .stop .stopButton,
.voicePlayer .rewindButton {
    font-size: 20px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.playButton img,
.pauseButton img {
    height: 35px;
    width: auto;
}

.stopButton img {
    padding-top: 5px;
    height: 25px;
    width: auto;
}

.rewindButton img {
    padding-top: 5px;
    height: 25px;
    width: auto;
}

.pauseButton {
    display: none;
}


@media (max-width: 375px) {
    .audio-container .playText {
        font-size: 4vw;
    }

    .remainingTime {
        font-size: 3vw;
    }

    .voicePlayer .playPause .playButton,
    .voicePlayer .playPause .pauseButton,
    .voicePlayer .stop .stopButton,
    .voicePlayer .rewindButton {
        font-size: 4vw;
    }

    .charaName {
        font-size: 3vw;
    }
}