
html.spa-player {
    background: #000000;
    overflow: hidden;
}

/* background moved to style.css with html.spa-player scope */

body.spa-player {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
}

    .ulogo {
        width: 64px;
        position: absolute;
        margin: 25px;
        opacity: 0.3;
        transition: 800ms;
        z-index: 100;
    }

    .ulogo:hover {
        opacity: 1;
        transform: scale(1.049);
    }

    .glass {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2);
        position: relative;
        background: transparent;
        overflow: hidden;
        z-index: 1;
    }

    .glass:before {
        content: "";
        position: absolute;
        background: transparent;
        z-index: -1;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        box-shadow: inset 0 0 2000px rgba(0, 0, 0, .5);
        filter: blur(10px);
        margin: -20px;
    }

    .live_time {
        color: white;
        font-size: 22px;
        opacity: 0.3;
        display: flex;
        position: absolute;
        top: -25px;
        left: 0;
        width: 100%;
        justify-content: center;
    }

    .live_time .bx {
        width: auto;
        left: 0px;
        text-align: left;
        font-family: system-ui;
        position: relative;
        opacity: 0.4;
    }

    .backdrop_cover img {
        width: 100%;
        object-fit: cover;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0.56;
        filter: blur(25px);
        transform: scale(1.2);
    }
    .player {
        position: absolute;
        left: 50%;
        top: 39vh;
        transform: translate(-50%, -50%);
        padding: 10px;
        z-index: 10;
    }
    .cover img,
    .cover #video {
        width: 100%;
        max-width: 560px;
        height: auto;
        min-height: 200px;
        display: block;
        border-radius: 10px;
        background: #000;
    }
    .cover.has-video img.cover_image {
        display: none;
    }
    body.station-has-video .view-player .backdrop_cover {
        opacity: 0.08;
        pointer-events: none;
    }
    body.station-has-video .view-player .backdrop_cover .cover_image {
        display: none;
    }
    body.station-has-video .view-player #video {
        position: relative;
        z-index: 30;
        width: 100%;
        max-width: 58vw;
        max-height: 50vh;
        aspect-ratio: 16 / 9;
        object-fit: contain;
    }
    .controls {
        position: absolute;
        left: 50%;
        top: 125%;
        width: 500px;
        transform: translate(-50%, -50%);
        padding: 10px;
        text-align: center;
    }
    .view-player .c_icons {
        width: 48px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .view-player .c_icons svg {
        color: white;
        stroke: white;
        width: 48px;
        height: 48px;
    }

    .view-player .player_state {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        margin: 0 auto;
    }

    .view-player .playback-btn {
        position: relative;
        width: 48px;
        height: 48px;
        padding: 0;
        margin: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        vertical-align: middle;
    }

    .view-player .playback-btn .c_icons {
        position: absolute;
        left: 0;
        top: 0;
        transition: opacity 0.15s ease;
    }

    .view-player .playback-btn .stop {
        opacity: 0;
        pointer-events: none;
    }

    .view-player .playback-btn.is-playing .play {
        opacity: 0;
        pointer-events: none;
    }

    .view-player .playback-btn.is-playing .stop {
        opacity: 1;
    }

    .hiden {
        display: none !important;
    }

    .disabled {
        filter: grayscale(1);
        opacity: 0.2;
    }

    .track_state {
        position: relative;
        width: 100%;
        height: 0;
    }

    .percent_bar {
        width: 58%;
        height: 1.6px;
        background: #990EB1;
        border-radius: 10px;
        bottom: 5px;
        position: absolute;
        box-shadow: 0 -1px 8px 1px #990eb1;
    }

    .playlist {
        position: absolute;
        right: 0px;
        height: 100%;
        width: 340px;
        background: #0000001f;
        border-left: 1px solid #ffffff26;
        top: 0px;
        border-radius: 1px;
        display: table;
        backdrop-filter: drop-shadow(2px 4px 6px black);
        z-index: 15;
    }

    .ranger {
        position: absolute;
    }

    .volume {
        position: relative;
        height: 70px;
        top: 10px;
        width: 95%;
        margin: 0 auto;
    }

    .drop_remove_zone {
        width: 100%;
        position: absolute;
        top: 0px;
        right: 0;
        background: #841919d4;
        color: white;
        stroke: white;
        height: 100px;
        z-index: 10001;
        text-align: center;
        padding: 39px;
    }

    /**
    Volume Slider
    **/

    div#app {
        background: transparent;
    }
    .theme--light {
        color: white !important;
    }
    .v-application .primary.lighten-3 {
        background-color: #fefeff1c !important;
    }
    .v-slider__track-fill.orange.darken-3 {
        border-radius: 13px;
    }

    /**
    Playlist Layout
     */

    .tools {
        z-index: 50;
        position: absolute;
        right: 0;
        top: 0;
    }

    .playlist_wraper {
        width: 100%;
        height: 100%;
        color: white;
        overflow: scroll;
        position: relative;
    }

    .playlist_wraper::-webkit-scrollbar {
        display: none;
    }

    .v-slider__thumb:before {
        background: white;
        opacity: 1;
        transform: scale(0.4) !important;
    }

    .v-slider__thumb-container--active .v-slider__thumb:before {
        transform: scale(0.6) !important;
    }

    .playlist_wraper {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .playlist-title {
        font-size: 1.2em;
        color: #ffffff;
        font-weight: bold;
        width: 100%;
        text-align: left;
        padding: 22px;
        padding-top: 33px;
        display: block;
        font-family: 'system-ui';
        position: fixed;

        max-height: 108px;
        overflow: hidden;

    }

    .playlist_row {
        top: 112px;
        margin-bottom: 100px;
        overflow: scroll;
        width: 100%;
        height: 81%;
        position: fixed;
    }

    input.add-track {
        background: none;
        color: white;
        width: 100%;
        height: 100%;
        border-top: 1px solid #ffffff40;
        border-left: 0;
        border-right: 0;
    }

    form {
        width: 100%;
        height: 60px;
        display: flow-root;
        position: fixed;
        bottom: 0;
        z-index: 10;
    }

    form label{
        display: block;
        text-align: center;
        font-size: 1.2em;
    }

    .btn, input {
        line-height: 2em;
        border-radius: 3px;
        border: 0;
        display: inline-block;
        margin: 0;
        padding: 0.2em 1em;
        font-size: 1em;
        font-family: 'system-ui';
        transition-duration: 1s;
    }

    input::placeholder{
        color: rgba(255,255,255,0.7);
        height: 100%;
    }

    input.add-track:focus {
        color: rgba(255,255,255,1) !important;
        transition-duration: 1s;
        border-radius: 0px;
        border-top: 1px solid rgba(255, 255, 255, 1);
        outline: none;
    }

    p.status.busy {
        font-family: system-ui;
        width: 100%;
        text-align: left;
        margin-left: 12px;
        color: #ffffff29;
    }

    .btn{
        text-align: center;
        font-weight: bold;
        cursor: pointer;
        border-width: 1px;
        border-style: solid;
    }

    .btn-add {
        background: none;
        color: #fefefe;
        border: none;
        height: 100%;
        width: 17.8%;
        pointer-events: none;
        transition: all ease-in 0.25s;
        line-height: 0.5em;
        position: absolute;
        float: right;
        padding: 16px;
        right: 0;
    }

    .btn-add.active{
        background: rgba(108, 168, 246, 0.64);
        border-color: rgba(108, 168, 246, 0.64);
        pointer-events: visible;
    }

    .btn-add.active:hover{
        background: rgba(108, 168, 246, 0.84);
        border-color: rgba(108, 168, 246, 0.84);
    }

    .btn-add:active{
        transform: scale(0.95);
    }

    .control-buttons{
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        text-align: center;
    }
    .btn-secondary{
        display: inline-block;
        position: relative;
        border: 0;
        padding: 0;
        margin: 0 10px;
    }

    .btn-secondary:after{
        position: absolute;
        content: '';
        width: 0;
        height: 3px;
        background-color: #f4586e;
        bottom: 0px;
        left: 0;
        transition: all ease-in 0.25s;
    }

    .btn-secondary:hover:after{
        width: 100%;
    }


    ul.play_list{
        padding: 0;
        margin-bottom: 30px;
    }

    ul.play_list li {
        position: relative;
        list-style-type: none;
        display: block;
        cursor: grab;
        background: none;
        padding-left: 12px;
        padding-top: 14px;
        padding-bottom: 14px;
        overflow: hidden;
        font-family: system-ui;
        text-align: left;
        border-top: 1px solid #f5deb31f;
    }

    ul.play_list li:active {
        cursor: grabbing;
    }


    ul.play_list.archived li{
        background: #fff;
    }

    .song-text{
        position: relative;
        display: inline-block;
        padding: 0 0.5em;
        line-height: 1.19rem;
    }

    input::-webkit-input-placeholder {
        line-height:normal!important;
    }

    input::placeholder {
        white-space: normal;
        word-wrap: normal;
        overflow-x: hidden;
        overflow-y: hidden;
        line-height: normal!important;
    }

    ul.play_list li .delete{
        position: absolute;
        height: 100%;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        cursor: pointer;
        opacity: 0;
        width: 0;
        background-color: #f56468;
        color: #fff;
        transition: all ease-in 0.25s;
    }

    ul.play_list li .delete:after{
        position: absolute;
        content: '';
        width: 16px;
        height: 16px;
        top: 50%;
        left: 50%;
        background-image: url('https://nourabusoud.github.io/vue-todo-list/images/trash.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        transform: translate(-50%, -50%) scale(0.5);
        transition: all ease-in 0.25s;
    }

    ul.play_list li:hover .delete{
        width: 44px;
        opacity: 1;
    }

    ul.play_list li:hover .delete:after{
        transform: translate(-50%, -50%) scale(1);
    }


    .todo-checkbox{
        position: absolute;
        opacity: 0;
        display: none;
    }

    .todo-checkbox + label {
        position: absolute;
        cursor: pointer;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 22px;
        height: 22px;
        border-radius: 2px;
        border: 1px solid #cfdcec;
        background-color: #fff;
    }

    .todo-checkbox:checked + label:after{
        position: absolute;
        content: '';
        top: 30%;
        left: 50%;
        height: 3px;
        width: 6px;
        border: solid #fc6c48;
        border-width: 0 0 2px 2px;
        transform-origin: center center;
        transform: rotate(-45deg) translate(-50%, -50%);
    }

    .todo-checkbox:checked + label:after{
        display: block;
    }

    .todo-checkbox:checked ~ .song-text{
        color: #888;
        text-decoration: line-through
    }

    .status.free{
        font-weight: bold;
        text-align: center;
        margin: 40px 0;
    }
    .status.free img{
        display: block;
        width: 50px;
        margin: 10px auto;
        vertical-align: middle;
    }


    /**
    Player Layout
     */

    .processing_track {
        width: 100px;
        height: 100px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        -webkit-animation: rotate-all 1s linear infinite;
    }


    .right-side,
    .left-side {
        width: 50%;
        height: 100%;
        position: absolute;
        top: 0;
        overflow: hidden;
    }

    .left-side {
        left: 0;
    }

    .right-side {
        right: 0;
    }

    .bar {
        width: 100%;
        height: 100%;
        border-radius: 200px 0 0 200px;
        border: 10px solid #666;
        position: relative;
    }
    .bar:after {
        content: "";
        width: 10px;
        height: 10px;
        display: block;
        background: #666;
        position: absolute;
        border-radius: 10px;
    }
    .right-side .bar {
        border-radius: 0 200px 200px 0;
        border-left: none;
        transform: rotate(-10deg);
        transform-origin: left center;
        animation: rotate-right 0.75s linear infinite alternate;
    }
    .right-side .bar:after {
        bottom: -10px;
        left: -5px;
    }
    .left-side .bar {
        border-right: none;
        transform: rotate(10deg);
        transform-origin: right center;
        animation: rotate-left 0.75s linear infinite alternate;
    }
    .left-side .bar:after {
        bottom: -10px;
        right: -5px;
    }


    /**
    Animations
     */

    @keyframes rotate-left {
        to {
            transform: rotate(30deg);
        }
        from {
            transform: rotate(175deg);
        }
    }
    @keyframes rotate-right {
        from {
            transform: rotate(-175deg);
        }
        to {
            transform: rotate(-30deg);
        }
    }
    @keyframes rotate-all {
        from {
            transform: rotate(0deg);
        }
        to {
            transform: rotate(-360deg);
        }
    }

    /**
    Tooltips
     */

    .notiflix-notify {
        padding: 15px !important;
    }

    #NotiflixNotifyWrap {
        text-align: center;
    }


    .ui-slider-range-min {
        height: 5px;
        width: 300px;
        position: absolute;
        background: #ffc06e;
        border: none;
        border-radius: 10px;
        outline: none;
    }

    .ui-slider-handle {
        width: 20px;
        height: 20px;
        border-radius: 20px;
        background: #FFF;
        position: absolute;
        margin-left: -8px;
        margin-top: -8px;
        cursor: pointer;
        outline: none;
    }

    @media only screen and (max-width: 477px) {
        .volume {
            width: 260px;
        }
        .volume_icon {
            width: 203px;
        }
        .ulogo {
            margin: 5px;
        }
    }

    @media only screen and (max-width: 986px) {
        .playlist {
            background: #000000e8 !important;
            backdrop-filter: blur(7px) !important;
        }
        form {
            background: black;
        }
    }

    @media only screen and (hover: none) and (pointer: coarse){

        .volume {
            display: none;
        }

    }

    .notiflix-block-wrap {
        background: none !important;
        backdrop-filter: blur(30px) !important;
    }

