body {
    background-color: #1E1E1E;
    color: #EAEAEA;
}

.sidebar>div {
    height: 72px;
    width: calc(100% - 0px);
    margin: 0px 2px 8px 2px;
    background-color: rgba(49, 0, 29, 0.596);
    border-radius: 10px;
    padding: 0 10px;
    /* color: white; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.sidebar>div strong {
    display: inline-block;
    white-space: nowrap;
    max-width: calc(80px);
}

.sidebar span,
.sidebar p {
    cursor: pointer;
}

.sidebar span:hover,
.sidebar p:hover {
    text-decoration: underline;
}

.sidebar>div>.info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar>div>.status {
    background-color: rgba(240, 248, 255, 0.253);
    width: 45px;
    height: 59px;
    margin: 5px 0;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 19px;
    cursor: pointer;

    backdrop-filter: blur(2px);
    /* بلور پشت */
    -webkit-backdrop-filter: blur(2px);
    /* برای Safari */
}

.sidebar>div>.status>div {
    width: 100%;
    display: flex;
    justify-content: center;
}

.sidebar .add {
    background-color: rgba(0, 0, 0, 0.13);
}

/* Chrome, Edge, Safari */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(85, 0, 0, 0.8);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(85, 0, 0, 0.8);
}

/* Firefox */
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: rgba(85, 0, 0, 0.397) transparent;
    transition: .5s;

    /* transition: .5s; */
    /* position: relative; */
}

.sidebar-mini {
    left: calc(100% - 33px);
    position: fixed;
    /* right: calc(54px - 100%); */
    transition: .5s;
}

.minimize {
    /* content: "Minimize"; */
    position: fixed;
    z-index: 9002;
    left: -128px;
    bottom: 289px;
    width: 300px;
    background-color: rgba(240, 248, 255, 0.096);
    color: #EAEAEA;
    transform: rotate(-90deg);
    border-radius: 25px 25px 0 0;
    display: flex;
    justify-content: center;
    transition: .5s;
}

@media (min-width:1400px) {
    .minimize {
        display: none !important;
    }
}

.minimize-active {
    /* right: -128px !important; */
    left: calc(100% - 172px);
    transition: .5s;
}

.player>div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.player .status {
    width: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

.player .status>span {
    background-color: rgba(255, 255, 255, 0.288);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    /* padding: 3px; */
    font-size: 18px;
    border-radius: 5px;
}

.player .other>div>div {
    display: inline-flex !important;
    flex-direction: column;
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.13);
    margin-right: 4px;
    padding-right: 10px;
    padding-left: 40px;
    height: 40px;
    width: max-content !important;

    border-radius: 5px;
    position: relative;
}

.player .other>div>div>.arrow {
    content: "<";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.363);
    border-radius: 5px 0 0 5px;
    font-size: 18px;
    cursor: pointer;
}


.player .other {
    display: block !important;
    /* justify-content: flex-start; */
    /* width: max-content; */
    flex-wrap: nowrap;

    overflow-x: auto;

    overflow-y: hidden;
    height: 50px;
}

.lyrics {
    white-space: pre-line;
    direction: rtl;
}

@media (min-width:1400px) {
    .sidebar-hide {
        right: -400px !important;
        transition: 1s;
    }

    .player-hide {
        bottom: -200px !important;
        transition: 1s;
    }
}

.search>input {
    background-color: #1E1E1E;
    height: 30px;
    border-radius: 30px;
    border: 0;
    padding: 0 10px;
    color: #EAEAEA;
    font-size: 15px;
    font-weight: 500;
}

.search>input:focus-visible {
    border: 0;
}

.search .result {
    position: fixed;
    background-color: #99999915;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* position: relative; */
    border-radius: 25px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(136 141 144) transparent;
    transition: 0.5s;
}

@media (min-width:1400px) {
    .search .result {
        max-height: calc(100% - 535px);
        width: calc(1280px - var(--sidebar-width) - 10px);
        top: 75px;
        left: calc(50% - 650px);
        /* right: calc(50% - 720px); */

    }
}

@media (max-width:1400px) {
    .search .result {
        max-height: calc(100% - 535px);
        width: calc(100% - 20px);
        top: 75px;
        left: 10px;
        
    }
}

.search > .off{
    top: -50%;
    transition: 0.5s;
}

.search .close{
    padding: 8px;
    border: 0;
    background-color: #5f5f5fa9;
    color: #EAEAEA;
    border-radius: 25px 25px 0 0;
    position: sticky;
    top: 0;
    /* bottom: 0; */
    /* right: 8px; */
    width: 100%;
    cursor: pointer;
}
.search .close:hover{
    background-color: #303030;
}

.search > .content{
    display: flex;
    flex-direction: column;
}

.search > .result > .content > .item{
    height: 70px;
    width: 100%;
    background-color: #23232378;
    border-bottom: 1px solid rgba(0, 0, 0, 0.493);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.search > .result > .content > .item:hover{
    background-color: #5a5a5a78;
}

@media (max-width:1400px) {
    .search > .result > .content > .item{
        font-size: 13px;
        height: 50px;
    }
}

.play-area{
    background-color: rgb(0 0 0 / 11%); padding: 0 8px; border-radius: 10px; height: 50px; align-items: center;
}

#progress-fill{
    width: calc(1% - 30px);
    left: 15px;
    border-radius: 10px;
    height: 50px;
    background: #44020233;
    position: absolute;
    
}

.preloader{
    width: 40% !important;
    animation:loading 1.2s infinite;
}

@keyframes loading{
    0%{left:-40%}
    100%{left:100%}
}