#loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#wrapper {
    display: none;
}

.mean-bar {
    background: white !important;
}

#ebook_row_container>div {
    max-width: 300px;
}

.container {
    margin-top: 60px;
}

#footer-music-player {
    font-family: sans-serif;
    color: #fff;
    width: 100%;
    padding: 0px;
    position: fixed;
    z-index: 10;
    bottom: 0;
    background: #363c43;
    padding: 10px 10px 0px 10px;
    display: none;
}

#footer-music-player .player-container {
    /* max-width: 800px; */
    margin: 0;
}

#footer-music-player .controls-and-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

#footer-music-player .control-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

#footer-music-player .control-button svg {
    width: 20px;
    height: 20px;
    fill: #ef0029;
}

#footer-music-player .play-pause-button {
    background-color: #ef0029;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer-music-player .play-pause-button svg {
    width: 20px;
    height: 24px;
    fill: white;
}

#footer-music-player .song-info {
    /* flex-grow: 1; */
    /* margin-left: 15px; */
    margin-top: -5px;
}

#footer-music-player #footer-song-title {
    font-size: 14px;
    font-weight: bold;
    line-height: 1em;
    margin-left: 10px;
}

#footer-music-player #footer-artist-name {
    font-size: 10px;
    color: #aaa;
    margin-left: 10px;
    letter-spacing: 0.3px;
    display: none;

}

#footer-music-player .lyrics-button,
#footer-music-player .download-button {
    background: none;
    border: 1px solid #6ec3e8;
    color: #6ec3e8;
    padding: 0.5em;
    margin: 0 5px;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
    font-weight: 600;
    flex-shrink: 0;
    /* Prevent buttons from shrinking */
}

#footer-music-player .download-button {
    display: flex;
    align-items: center;
}

#footer-music-player .download-button svg {
    width: 14px;
    height: 14px;
    margin-left: 5px;
    fill: currentColor;
}

#footer-music-player .time-display {
    font-size: 14px;
    margin-left: 10px;
    min-width: 75px;
    /* Adjust this value as needed */
    text-align: right;
    opacity: 0.8;
}


#footer-music-player .progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(141, 114, 140, 0.3);
    cursor: pointer;
    margin-top: 8px;
}

#footer-music-player .progress {
    width: 0%;
    height: 100%;
    background-color: #6ec3e8;
}

#progress-circle-2 {
    display: none;
}

#show-all-epi-btn,
#show-detail {
    display: none;
    background: #363c43;
    min-height: 40px;
    max-height: 40px;
    min-width: 241px;
    position: fixed;
    z-index: 10;
    bottom: 55px;
    margin-left: 10px;
    padding: 10px;
    overflow: auto;
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#show-detail {
    margin-left: 260px;
    min-width: 125px;
    max-width: 125px;
}

#all-epi-container,
#details-container {
    display: none;
    background: #363c43;
    min-height: 100px;
    max-height: 310px;
    min-width: 240px;
    max-width: 95vw;
    position: fixed;
    z-index: 10;
    bottom: 55px;
    margin-left: 10px;
    padding: 10px;
    /* overflow: auto; */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: scroll;
    /* Allow scrolling */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

#details-container {
    color: white;
    max-width: 200px;
}

#all-epi-container::-webkit-scrollbar,
#details-container {
    display: none;
    /* Chrome, Safari, Edge */
}


#all-episode-list>li {
    margin: 3px auto 3px 10px;
    font-size: 14px;
    cursor: pointer;
}

#all-episode-list>li:hover {
    color: gray;
}

#full-player {
    display: none;
    min-height: 90vh;
    max-width: 550px;
    margin: auto;
    flex-direction: column;
    background: #ef0029;
    color: white;
}

#audio-card-container {
    border-bottom: 1px solid gray;
    display: flex;
    justify-content: center;
}

#all-episode-list-2 {
    padding-left: 15px;
    padding-right: 15px;
}

#all-episode-list-2 li {
    line-height: 45px;
    border-bottom: 1px solid #666565;
    border-bottom-style: dashed;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#all-episode-list-2 li:hover {
    color: black;
}

#all-episode-list-2 li:nth-child(1),
#all-episode-list-2 li:last-child {
    border: none;
}

/* Animation class */
.clicked {
    animation: bounce 0.3s ease-in-out;
}

@keyframes bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.episode-play-icon {
    width: 25px;
    background: #f2002a;
    border-radius: 50%;
    margin: 5px;
    margin-top: 5px;
}

@media only screen and (max-width: 767px) {
    .container {
        margin-top: 0px;
    }

    #progress-circle-2 {
        display: block;
    }

    #ebook_row_container>div {
        width: 49%;
    }

    #footer-artist-name {
        display: none;
    }

    #footer-music-player .lyrics-button {
        display: none;
    }

    #footer-music-player .download-button {
        font-size: 0.9rem;
        padding: 0.4em;
    }

    #footer-music-player .time-display {
        display: none;
    }

    #footer-music-player .player-container {
        padding: 5px;
    }

    #footer-music-player .play-pause-button {
        width: 25px;
        height: 25px;
    }

    #footer-music-player .play-pause-button svg {
        width: 15px;
        height: 15px;
    }

    #footer-music-player .progress-bar {
        margin-top: 5px;
    }

    #footer-music-player .song-info {
        margin-left: 10px;
    }
}