
.app{
    z-index: 10;
    position: fixed;
    display: flex;
    flex-direction: column;
    bottom:0;
    max-height: 142px;
    padding: 0 !important;
    background-color: #1C1C1C;
    border: none;
    width: 100%;
}

@media screen and (max-width: 600px) {
    .app {
        width: 100vw;
    }
}


.app .time-control {
    background: none;
    width: 100%;
    margin-bottom: 0;
    height: 10px;
    z-index:15;
}
.app .time-control .player {
    background: none;
    width: 100%;
    margin: 0;
    min-height: 10px;

}
.app .time-control .player .time-control-duration {
    width: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 10px 0;
}

.app .time-control .player .time-control-duration input {
    width: 100%;
    max-height: 10px;
    background: #D9D9D9;
    border-color: #57575B;
    border-radius: 0;
}

.app .time-control .player .time-control-duration input::-webkit-slider-thumb {
    width: 0;
    -webkit-appearance: none;
    height: 10px;
    cursor: ew-resize;
    background: #434343;
    box-shadow: -250px 0 0 250px #D9D9D9;
}

.app .time-control .player .time-control-duration div {
    width: 100%;
    max-height: 10px;
    min-height: 10px;
    background: #57575B;
    border-color: #57575B;
    border-radius: 0;
}

.app .time-control .player span {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0;
}

.app .music-control {
    display: flex;
    flex-direction: row;
    /*justify-content: space-between;*/
    align-items: center;
    height: 100px;
    min-height: 100px;
    background-color: #0E0E0E;
    border-radius: 10px;
    padding: 0 10px;
}

@media screen and (max-width: 800px) {
    .app .music-control {
        flex-direction: column;
        height: 150px;
    }
}

.app .song-info {
    margin-left: 5%;
    margin-right: 5%;
    width: 1170px;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    justify-content: flex-start;
    background: rgba(30, 30, 30, 0.85);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 18px 32px;
    gap: 18px;
    transition: box-shadow 0.2s;
}

.app .song-info:hover {
    background: rgba(40, 40, 40, 0.98);
    box-shadow: 0 12px 36px rgba(0,0,0,0.32);
    transform: scale(1.025);
    transition:
            background 0.2s,
            box-shadow 0.2s,
            transform 0.2s;
}

.app .song-info #song-artist-text {
    font-weight: 700;
    font-size: 22px;
    color: #ff5e62;
    letter-spacing: 1px;
    margin-right: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.app .song-info #song-title-text {
    font-weight: 700;
    font-size: 28px;
    color: #fff;
    margin-left: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    animation: song-title-slide 8s linear infinite;
}

@keyframes song-title-slide {
    0% { transform: translateX(0); }
    10% { transform: translateX(0); }
    90% { transform: translateX(-20%); }
    100% { transform: translateX(0); }
}

@media screen and (max-width: 800px) {
    .app .song-info  {
        justify-content: center;
        width: 100%;
    }
}

.app .song-info #song-artist-text {
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: #757575;
}

.app .song-info #song-title-text {
    font-weight: 600;
    font-size: 28px;
    line-height: 33px;
    color: #ffffff;
    margin-left: 10px;
}

.song-info .playing {
    /* -webkit-animation: playRotate 6s infinite forwards linear; */
    animation: none;
}

.player {
    color: white;
}

.app .player-control {
    height: 40px;
    min-height: 40px;
    color: white;
    margin-left:10% ;
}

.app .sound-control i {
    color: #fff;
    transition: color 0.2s, transform 0.2s;
}

.app .sound-control i:hover,
.app .sound-control i:active {
    color: #ff5e62;
    transform: scale(1.15);
    cursor: pointer;
}

.app .sound-control input[type=range] {
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.app .sound-control input[type=range]:hover,
.app .sound-control input[type=range]:focus {
    box-shadow: 0 4px 16px rgba(255,94,98,0.18);
    outline: none;
}
.app .sound-control input[type=range]::-webkit-slider-thumb {
    background: #ff5e62;
    border: 2px solid #fff;
    transition: background 0.2s, transform 0.2s;
}
.app .sound-control input[type=range]:hover::-webkit-slider-thumb {
    background: #fff;
    border: 2px solid #ff5e62;
    transform: scale(1.2);
}

.app .sound-control {
    height: 40px;
    min-height: 40px;
    max-width: 266px;
    right: 80px;
    position: relative;
    /*margin-left: 25%;*/
}

@media screen and (max-width: 600px) {
    .app .sound-control {
        position: relative;
        right: 0;
        padding-left: 30%;
        width: 350px;
    }
}

.app .sound-control input {
    position: relative;
    height: 10px;
    min-height: 10px;
    background-color: #D9D9D9;
}

.app .sound-control input[type=range] {
    /* Reset the default appearance */
    -webkit-appearance: none;
    max-width: 266px;
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .app .sound-control input[type='range'] {
        overflow: hidden;
        -webkit-appearance: none;
        background-color: #57575B;
        width: 270px;
    }

    .app .sound-control input[type='range']::-webkit-slider-runnable-track {
        height: 10px;
        -webkit-appearance: none;
        color: #D9D9D9;
        margin-top: -1px;
        min-width: 270px;
        max-width: 270px;
        width: 270px;
    }

    .app .sound-control input[type='range']::-webkit-slider-thumb {
        width: 0;
        -webkit-appearance: none;
        height: 10px;
        cursor: ew-resize;
        background: #434343;
        box-shadow: -250px 0 0 250px #D9D9D9;
    }

}

@media only screen and (max-width: 620px) {
    /* For mobile phones: */
    .app .sound-control {
        height: 40px;
        min-height: 40px;
        max-width: 266px;
        margin-left: 1%;
    }
    .app .player-control {
        height: 40px;
        min-height: 40px;
        color: white;
        margin-left:1% ;
    }
    .app .song-info {
        margin-left:1% ;

    }
}

.app .sound-control #audioPlayerMuteButton:hover {
    cursor: pointer;
}
#close-player {
    z-index: 999;
    background: rgba(30, 30, 30, 0.85);
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    width: 36px;
    height: 0;
    border-radius: 50%;
    margin: 0 0 0 auto;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transform: translateY(-24px) scale(0.9);
    transition:
            opacity 0.25s cubic-bezier(.4,0,.2,1),
            transform 0.25s cubic-bezier(.4,0,.2,1),
            height 0.25s cubic-bezier(.4,0,.2,1),
            margin 0.25s cubic-bezier(.4,0,.2,1),
            box-shadow 0.25s,
            background 0.25s;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app:hover #close-player {
    height: 36px;
    margin: 0 0 0 auto;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}

#close-player:hover {
    background: rgba(50, 50, 50, 0.95);
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
    color: #ff5e62;
    transform: translateY(0) scale(1.08);
}

#close-player svg {
    width: 18px;
    height: 18px;
    display: block;
    pointer-events: none;
}
#stop {
    cursor: pointer;
    margin-left: 12px;
    color: #fff;
    transition: color 0.2s;
}
#stop:hover {
    color: #ff5e62;
    transform: scale(1.1);
    transition:
            background 0.2s,
            box-shadow 0.2s,
            transform 0.2s;
}
#play-pause {
    cursor: pointer;
    margin-left: 12px;
    color: #fff;
    transition: color 0.2s;
}
#play-pause:hover {
    color: #ff5e62;
    transform: scale(1.1);
    transition:
            background 0.2s,
            box-shadow 0.2s,
            transform 0.2s;
}

#repeat {
    font-size: 26px;
    margin: 0 10px;
    padding: 10px;
    color: #fff;
    transition: color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#repeat:hover,
#repeat.active {
    color: #ff5e62;
    transform: scale(1.1);
}

#playback-speed {
    margin: 0 10px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(60, 60, 60, 0.85);
    color: #fff;
    border: none;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    outline: none;
}
#playback-speed:hover,
#playback-speed:focus {
    background: #ff5e62;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,94,98,0.18);
}

#seek-bar {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #ff5e62 0%, #ff9966 100%);
    border-radius: 3px;
    outline: none;
    transition: background 0.2s;
    cursor: pointer;

}
#seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ff5e62;
    box-shadow: 0 2px 8px rgba(255,94,98,0.18);
    transition: background 0.2s, border 0.2s;
}
#seek-bar:focus::-webkit-slider-thumb,
#seek-bar:hover::-webkit-slider-thumb {
    background: #ff5e62;
    border: 2px solid #fff;
}
#seek-bar::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ff5e62;
    box-shadow: 0 2px 8px rgba(255,94,98,0.18);
    transition: background 0.2s, border 0.2s;
}
#seek-bar:focus::-moz-range-thumb,
#seek-bar:hover::-moz-range-thumb {
    background: #ff5e62;
    border: 2px solid #fff;
}
#seek-bar::-ms-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ff5e62;
    box-shadow: 0 2px 8px rgba(255,94,98,0.18);
}
#seek-bar:focus::-ms-thumb,
#seek-bar:hover::-ms-thumb {
    background: #ff5e62;
    border: 2px solid #fff;
}
#seek-bar:focus {
    outline: none;
}
#current-time, #total-time {
    font-size: 14px;
    color: #fff;
    min-width: 40px;
    text-align: center;
}