@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Pixelify+Sans:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

code {
    background: #212134;   
    padding: 10px;
    line-height: 36px;
}

[hidden]{
    display:none !important;
}
html, 
body {
    height: 100%;
    overflow-x: hidden;
    font-family: poppins !important;
}

body {
    color: white;
    background: rgb(97,100,143);
    background: radial-gradient(circle, rgb(77, 76, 116) 0%, rgba(45,50,80,1) 100%);
    justify-content: start;
    display: flex;
    align-items: center;
    flex-direction: column;
}

a {
    color: inherit;
}

/* Hide scrollbar for Chrome, Safari and Opera */
div::-webkit-scrollbar, ul::-webkit-scrollbar{
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
div,ul,li {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}


/* cool placeholder start */

label:not(#versionSwitch) {
  display: block;
  transform: translate(0, -20px);
}

input {
    color: white;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #7077a1;
    transition: border-color 0.2s ease;
}

input:focus {
    outline: none;
    border-color: #f6b17a;
}


@supports (not (-ms-ime-align:auto)) {
    /* if not edge */
    label:not(#versionSwitch) { 
        pointer-events: none;
        color: #999;
        transform: translate(0.25rem, -40px);
        transition: all 0.2s ease-out;
    }
    
    input:focus + label:not(#versionSwitch),
    input:not(:placeholder-shown) + label:not(#versionSwitch) {
      transform: translate(0, -60px);
    }
}

label:not(#versionSwitch).file-input-label {
    transform: none!important;
}
/* Cool Placeholder END */

button {
    cursor: pointer;
}

.mobile {
    display:none;
}

button.primary-button, a.primary-button {
    background-color: #f6b17a;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    color: white;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}


.primary-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2)

}


button.primary-button#add-playlist-popup-button, #add-playlist-popup-button-mobile {
    background-color: rgba(0,0,0,0);
    border: 3px solid #f6b17a;
    font-size: 40px;
    width: 100px;
    min-height: 100px;
    border-radius: 200px;
    margin: 0 0 50px 0;
    color: #f6b17a;
}

#add-playlist-popup-button-mobile {
    scale: 0.7;
    right: 20px;
    margin-top: -8px;
    margin-bottom: 0;
    height: 100px;
    display: none;
}

button.primary-button.open-add-entry-popup {
    width: 150px;
    margin: 0 auto;
}

#header {
    position: relative;
    display: flex;
    justify-content: center;
    float: left;
    width: 100%;
    background: #2f335254;
    margin-bottom: 30px;
    box-shadow: 0px 11px 20px #2e3352;
    align-items: center;
}

.secondary_button div:hover {
    background-color: #f6b17a;
}

.secondary_button p {
    margin-top: 0;
    font-size: 10px;
    text-align: center;
    width: 100%;
}

.secondary_button:hover {
    color: #f6b17a;
}

.secondary_button {
    color: white;   
}

#header .progress_button {
    align-items: center;
}

#header .email {
    margin-top: 10px;
}

#header .how_to_button {
    margin-right: 25px;
}

.logout_button.desktop {
    position: absolute;
    right: 30px;
    top: 45px;
}


#progress_bar {
  position: fixed;
  width: 0%;
  height: 4px;
  background-color: #f6b17a;
}

.column-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.row-container {
  display: flex;
  gap: 5px;
}

#overlay{
    z-index: 90;
    position: fixed;
    width: 100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.main-container {
    justify-content: center;
}

.popup {
    max-width: 100%;
    max-height: 600px;
    overflow-y: scroll;
    z-index: 100;
    position: absolute !important;
    margin: auto;
    min-width: 300px;
    display: none;
    background-color: #424769;
    border: 3px solid #7077a1;
    display: flex;
    align-items: center;
    min-height: 200px;
    top: 20%;
    flex-direction: column;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;

}

.popup .back-button {
    position: absolute;
    left: 20px;
    top: 16px;
    background: #7077a1;
}

.popup .back-button:hover {
    background: #f6b17a;
}


.popup form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.popup form ul.track-select {
    overflow: scroll;
    padding: 0;
    max-height: 300px;
}

.popup form.playlist_add_entry_form div.page {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 15px;
}

.popup form.playlist_add_entry_form button.primary-button{
    margin-top: 15px;
}

.popup .trial-container {
    text-align: center;
}

div.select_item {
    display: flex;
    gap: 10px;
    padding: 5px 10px;
    border-top: 1px solid #7077a1;
    border-bottom: 1px solid #7077a1;
}

div.select_item.selected, div.select_item:hover {
    background-color: rgba(255,255,255,0.1);
}

div.select_item img{
    margin-right:auto;
    width:30px;
    height: 30px;
}

.playlist-container {
    border-radius: 20px;
    width: 450px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: rgb(70,72,102);
    background: linear-gradient(180deg, rgba(70,72,102,1) 0%, #675c69 100%);
    border: 3px solid #7077a199;
    max-width: 500px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    box-shadow: rgba(246, 177, 122, 0.4) 0px 5px, rgba(246, 177, 122, 0.3) 0px 10px, rgba(246, 177, 122, 0.2) 0px 15px, rgba(246, 177, 122, 0.1) 0px 20px, rgba(246, 177, 122, 0.05) 0px 25px;
    /*box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;*/
}

/*.playlist-container:first-child {
    box-shadow: rgba(246, 177, 122, 0.4) -5px 5px, rgba(246, 177, 122, 0.3) -10px 10px, rgba(246, 177, 122, 0.2) -15px 15px, rgba(246, 177, 122, 0.1) -20px 20px, rgba(246, 177, 122, 0.05) -25px 25px;
}

.playlist-container:last-child {
    box-shadow: rgba(246, 177, 122, 0.4) 5px 5px, rgba(246, 177, 122, 0.3) 10px 10px, rgba(246, 177, 122, 0.2) 15px 15px, rgba(246, 177, 122, 0.1) 20px 20px, rgba(246, 177, 122, 0.05) 25px 25px;
}*/

.playlist-container .top {
    display: flex;
    padding: 0 30px;
}

.playlist-container .buttons {
    display: flex;
    margin-left: auto;
    margin-top: 10px;
}


.secondary_button, .playlist-container .buttons button {
    background: none;
    border: none;

}

.playlist-container .buttons button div{
    background-color: #9192a3;
}

.playlist-container .buttons button div:hover{
    background-color: #f6b17a;
}


.playlist-container .playlist-name {
    text-align: left;
    overflow-wrap: anywhere;
}

.playlist-container ul {
    padding: 0;
    max-height: 450px;
    overflow: scroll;
}

.splide__track {
    overflow: visible !important;
}

.splide__list.deleted {
    transition: transform 0.3s !important;
}

.entry {
    transition: opacity 0.3s;
    display: flex;
    justify-content: start;
    margin-left: 20px;
    margin-right: 20px;
    border-top: 2px solid #7077a1;
    min-height: 91px;
    align-items: center;
}

.entry img {
    width: 75px;
    height: 75px;
    margin-right: 15px;
}

.entry .button-container{
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
}

.entry.deactivated {
    opacity:0.5;
}

.entry button{
    background-color: transparent;
    border: none;
    color: white;
}


.entry button div{
    background-color: #9192a3;
}

.entry button div:hover{
    background-color: #f6b17a;
}


.entry .service-edit {
    margin-left: auto;
    margin-right: 20px;
    display: flex;
    flex-flow: column;
    width: 120px;
    text-align: right;
    justify-content: center;
}

.entry .sort-handle:hover {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

 /* (Optional) Apply a "closed-hand" cursor during drag operation. */
.entry .sort-handle:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

#logo {
    z-index: 100;
    position: absolute;
    width: 100px;
    height: 100px;
    left: 30px;
    top: 20px;
}

.highlight {
    border: 1px solid #7077a1;
    font-weight: bold;
    font-size: 45px;
    background-color: #7077a155;
    height: 91px;
 }

 #error-box, #message-box {
    position: absolute;
    top: 0;
    width: 600px;
    text-align: center;
    height: 100px;
    background: #6c5060;
    border: 3px solid #f67a7a;
    z-index: 2000;
    border-top: none;
    border-radius: 0 0 10px 10px;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-content: center;
    align-self: center;
    align-items: center;
}

#error-box .close, #message-box .close{
    position: absolute;
    font-size: 24px;
    right: 14px;
    top: 11px;
    color: #f67a7a;
}

#message-box {
  background: #506c5c;
  border: 3px solid #67ac8f;
  border-top:none;
}

#message-box .close{
  background-color: #67ac8f;
}

#storage_progress{
    position: relative;
}


#footer {
    height: 50px;
    justify-content: center;
    background: #2f335254;
    box-shadow: 0px -11px 20px #2e3352;
    width: 100%;
    padding: 20px;
    display: flex;
    gap: 33px;
    align-items: center;
    margin-top: auto;
}
 

section.splide {
    width:100%;
}

.splide__track {
    margin-bottom: 50px;
} 


/* Start storage-meter */
#storage_progress svg {
  width: 114px;
  height: 114px;
  margin: 1em;
}

#storage-text {
    position: absolute;
    margin: auto;
    top: 63px;
    left: 22px;
    text-align: center;
    color: #ffffffd9;
    min-width: 100px;
    font-size: 11px;
}

.bg {
  fill: none;
  stroke-width: 4px;
  stroke: #1A2C34;
}

[class^="meter-"] {
  fill: none;
  stroke-width: 5px;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  
}

.meter-1 {
  stroke-dasharray: 360;
  stroke-dashoffset: 100;
  stroke: #f6b17a;
  transition: stroke-dashoffset 0.3s ease-out;
}

/* End storage-meter */


 /* HTML: <div class="loader"></div> */
  .loader {
    width: 50px;
    aspect-ratio: 1;
    color: #f6b17a;
    border: 2px solid;
    display: grid;
    box-sizing: border-box;
    animation: l1 4s infinite linear;
  }
  .loader::before,
  .loader::after {
    content: "";
    grid-area: 1/1;
    margin: auto;
    width: 70.7%;
    aspect-ratio: 1;
    border: 2px solid;
    box-sizing: content-box;
    animation: inherit;
  }
  .loader::after {
    width: 50%;
    aspect-ratio: 1;
    border: 2px solid;
    animation-duration: 2s;
  }
  @keyframes l1{
    100% {transform:rotate(1turn)}
  }

/* Scroll shadow start*/

.scrollbox {
  position: relative;
  z-index: 1;
  overflow: auto;
  background-repeat: no-repeat;
  background-image: -webkit-radial-gradient(50% 0, farthest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)), -webkit-radial-gradient(50% 100%, farthest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
  background-image: -moz-radial-gradient(50% 0, farthest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)), -moz-radial-gradient(50% 100%, farthest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
  background-image: radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
  background-position: 0 0, 0 100%;
  background-size: 100% 14px;
}

.scrollbox:before,
.scrollbox:after {
  content: "";
  position: relative;
  z-index: -1;
  display: block;
  height: 30px;
  margin: 0 0 -30px;
  background: -webkit-linear-gradient(top, #4C4C67, #4F4D67 30%, rgba(255, 255, 255, 0));
  background: -moz-linear-gradient(top, #4C4C67, #4F4D67 30%, rgba(255, 255, 255, 0));
  background: linear-gradient(to bottom, #4C4C67, #4F4D67 30%, rgba(255, 255, 255, 0))


}

.scrollbox:after {
  margin: -30px 0 0;
  background: #635a69;
}

/* scroll shadow end*/



/*MOBILE*/

@media only screen and (max-width: 1024px) {
    #storage_progress {
        margin-left: -20px;
    }

    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    #logo {
        display:none ;
    }



    button.primary-button#add-playlist-popup-button {
        margin-left: auto;
        margin-right: 50px;
        scale: 0.7;
        margin-top: -128px;
        margin-bottom: 0px;
    }

    #header {
        padding-top: 20px;
        flex-direction: column;
    }

    #header .progress_button {
        margin-top: -40px;
        margin-bottom: -20px;
    }

    .playlist-container {
        max-height: 400px;
    }

    #add-playlist-popup-button-mobile {
        display: block;
    }

    #add-playlist-popup-button {    
        display: none;
    }
}

@media only screen and (max-width: 550px) { 
    .style_button {
        opacity: 0.5;
    }

    .splide__arrow {
        display: none!important;
    } 
}

/* FANCY FILE INPUT */
input[type="file"] {
    width: 100%;
    cursor: pointer;
    border: 2px dashed #ccc;
    background: transparent;
    padding: 20px;
    color: #fff;
    border-radius: 6px;
    pointer-events: initial;
    transition: background 0.4s;
}

input[type="file"].dragover {
    border-color:#f6b17a;
}

input[type="file"].dragover.hover {
    background: #f6b17a60;
}