:root {
    --color-primary: #F1B616;
    --color-secondary: #ffffff;
    --color-bg: #0d0d0d;
    --color-bg-var-I: #121212;
    --color-bg-var-II: #171717;
    --color-bg-var-III: #020202;
    --color-on-primary: #020202;
    --color-on-secondary: #020202;
    --color-on-bg: #ffffff;

    --font: 'montserrat', sans-serif;

    font-size: 16px;
}


.highlightListeAccordion {
    background-color: var(--color-forga-black);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    margin-block: 4px;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: var(--color-davys-grey);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--pump-main-color);
}

@supports(scrollbar-color: var(--color-davys-grey) transparent) {
    * {
        scrollbar-color: var(--color-davys-grey) transparent;
        scrollbar-width: thin;
    }
}

body {
    font-family: montserrat, system-ui;
}

.modal-backdrop {
    opacity: 0.8 !important;
}

:root {
    --color-white: #ffffff;
    --color-black: #020202;
    --color-forga-black: #0d0d0d;
    --color-eerie-black: #1e1e1e;
    --color-davys-grey: #4d4d4d;
    --color-battleship-grey: #8b8b8b;

    --pump-main-color: #F1B616;
}

/* .modal-backdrop {
} */

#wrap {
    display: grid;
    grid-template-columns: 1fr 3fr;
    overflow: hidden;

    border-radius: 8px;

    background-color: var(--color-black);
    color: var(--color-white);
    height: 100vh;
}

#modal-sidebar {
    position: relative;
    height: 100%;
    background-color: var(--color-forga-black);
    overflow-y: scroll;
    overflow-x: hidden;
}

#music-search {
    width: 100%;

    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--color-davys-grey);

    background-color: var(--color-eerie-black);

    color: var(--color-battleship-grey);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 14px;
}

#music-search:focus,
#music-search:active,
#music-search:focus-visible {
    border-color: var(--pump-main-color) !important;
}

.filtersHead {
    position: sticky;
    top: 0px;
    background-color: var(--color-forga-black);
    padding: 16px 16px 6px 16px;
}

#filters {
    padding: 0 16px 40vh 16px;
}

.filtersHeader {
    margin: 16px 0px 6px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#filtersMode {
    cursor: pointer;
}

.filtersBigTitle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h2 {
    font-size: 22px;
    margin: 0;
}

#resetBtn {
    background-color: transparent;
    color: var(--pump-main-color);
    border: none;
}

.resetBtn:hover {
    opacity: 85%;
}

.accordionTitle {
    cursor: pointer;
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: unset;
}

.accordionTitle:hover {
    opacity: 85%;
}

.filterTitle {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--pump-main-color);
    text-transform: capitalize;
}

.filterContent {
    padding-bottom: 10px;
    background: unset;
}

.itemCount {
    color: var(--color-davys-grey);
}

.filterContentItem {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.filterCheckbox {
    display: flex;
    align-items: center;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

.form-check-input {
    margin-top: 0px !important;
    cursor: pointer;
    background-color: var(--color-forga-black);
    border: 1px solid var(--color-davys-grey);
    border-radius: 2px !important;
}

.form-check-input:checked {
    background-color: var(--pump-main-color) !important;
    border-color: var(--color-davys-grey) !important;
}

.form-check-input:focus {
    border-color: var(--pump-main-color) !important;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(241, 182, 22 / 20%) !important;
}

.form-check-input:hover {
    border-color: var(--pump-main-color) !important;
}

.form-check-label {
    margin-left: 10px;
}

.form-check-label:hover {
    opacity: 85%;
}

#liste {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

#listeHeader {
    position: sticky;
    top: 0px;
    background-color: var(--color-black);
    padding: 16px 16px 16px 16px;
    z-index: 10000;
}


.listeTuning {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.listeTuning h2 {
    color: var(--pump-main-color);
}

.sortSyst {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.sortSyst div {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sortSyst label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-battleship-grey);
}

.sortSyst select {
    font-size: 12px;
    padding: 4px;
}

.listeHead {
    display: grid;
    padding: 8px;
    border-bottom: 1px solid var(--color-davys-grey);
    gap: 8px;
    width: 100%;
}

.listeHead>div {
    color: var(--color-davys-grey);
    font-weight: 600;
    font-size: 14px;
}

#listeContent {
    display: flex;
    flex-direction: column;
    padding: 4px 16px 16px 16px;
}

#trackFilters {
    display: none;
}

.containsMusicSearch {
    background-color: rgb(9, 44, 9)
}

.listeAccordion {
    padding: 8px;
    width: 100%;
    display: grid;
    gap: 8px;

}


.listeAccordion:hover {
    background-color: var(--color-forga-black);
}

.trackNumber {
    width: 34px;
    color: var(--color-battleship-grey);
}

.listenTrackBtn {
    display: none;
    margin-right: 8px;
    border: none;
    background: transparent;
    padding: 0px;
}

.listenTrackBtn img {
    height: 24px;
    width: 24px;
}


.listeAccordion:hover .listenTrackBtn {
    display: block;
    cursor: pointer;
}

.grid-cell {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#listeModalContent .listeModalTitreMorceau {
    cursor: pointer;
}

#listeModalContent .listeModalTitreMorceau:hover {
    text-decoration: underline;
}

.trackName {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis !important;
    line-height: 1.3em;
}

.trackName div:last-child {
    font-size: 14px;
    color: var(--color-battleship-grey);
}

.trackChar {
    display: flex;
    gap: 2px;
}

.trackQualite {
    opacity: 0.1;
}

.hasQualite {
    opacity: 1;
}

.trackTags {
    width: max-content;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.trackTags:hover {
    transform: translateX(calc(-100%));
    transition: 5s linear;

}

.tag {
    white-space: nowrap;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 12px;
    color: var(--color-battleship-grey);
    background-color: var(--color-eerie-black);
}

.tagPrive {
    color: var(--pump-main-color);
}

.listeItemContent {
    padding: 8px;
    display: grid;
    grid-template-columns: 1fr 230px;
    gap: 8px;
    background: linear-gradient(180deg, rgba(13, 13, 13, 1) 9.38%, rgba(242, 183, 5, 0.16) 100%);
    border-radius: 0px 0px 6px 6px;
}

/* .listeAccordion:nth-of-type(1n+100) {
    display: none;
}

.listeItemContent:nth-of-type(1n+100) {
    display: none;
} */


.listeItemContentLeft {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 300px;
}

.listeItemContentLeft h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--pump-main-color);
    margin: 0;
}

.listeItemContentLeft p {
    font-size: 14px;
    line-height: 22px;
    color: var(--color-white);
    margin: 0;
}

.trackDesc {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    /* height: 400px; */
}

.trackPump {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trackDescriptionPump {
    display: none;
}

.select {
    border: 1px solid var(--color-battleship-grey);
    border-radius: 4px;
    padding: 8px;
    background-color: var(--color-eerie-black);
    color: var(--color-battleship-grey);
}

.listeItemContentRight {
    background-color: var(--color-forga-black);
    padding: 8px;
    border-radius: 4px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.trackProps {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.propItem {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 14px;
}

.propItem div:first-child {
    font-weight: 500;
    color: var(--color-battleship-grey);
}

.playBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    background-color: var(--pump-main-color);
    color: var(--color-black);
    font-weight: 500;
    margin-top: 32px;

}

.playBtn:hover {
    opacity: 85%;
}

@media screen and (min-width: 576px) {

    /* .modal-lg, */
    .modal-xl {
        --bs-modal-width: 98vw !important;
    }

    #wrap {
        grid-template-columns: 220px 3fr;
    }

    .listeHead {
        grid-template-columns: 2fr 1fr 70px 100px 100px;
    }

    .listeAccordion {
        grid-template-columns: 2fr 1fr 70px 100px 100px;
    }

    .trackDifficulty img {
        width: 18px;
    }

    .trackChar img {
        width: 18px;
    }
}

@media screen and (min-width: 992px) {

    /* .modal-lg, */
    .modal-xl {
        --bs-modal-width: 98vw !important;
    }

    #wrap {
        grid-template-columns: 1fr 3fr;
    }

    .listeHead {
        grid-template-columns: 2fr 1fr 70px 100px 190px;
    }

    .listeAccordion {
        grid-template-columns: 2fr 1fr 70px 100px 190px;
    }

}

@media screen and (min-width: 1200px) {
    .modal-xl {
        --bs-modal-width: 1190px !important;
    }

    .listeHead {
        grid-template-columns: 4fr 1fr 95px 140px 230px;
    }

    .listeAccordion {
        grid-template-columns: 4fr 1fr 95px 140px 230px;
    }

    .trackDifficulty img {
        width: 24px;
    }

    .trackChar img {
        width: 24px;
    }
}

/* .btn {
    display: inline-block;
    padding: 1em 2em;
    border: none;
    transition: .2s ease;
    cursor: pointer;

    text-transform: uppercase;
} */

.prim--btn {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
}

.bradius-tr25 {
    border-radius: 1.563rem 0 1.563rem 0;
}

#filterBtn {
    padding: 9px;
    width: 100%;
}

#listeFooter {
    position: sticky;
    bottom: 0px;
    background-color: var(--color-black);
    padding: 16px 16px 0px 16px;
    text-align: center;
}

.listeContent {
    display: none;
}

.listeContentActive {
    display: block;
}

.listePaginator {
    display: none;
    flex: auto;
}

.listePaginatorActive {
    display: inline-block;
}

.page-link {
    cursor: pointer;
}

.filterExcluded {
    color: red;
    text-decoration: line-through;
}