@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

:root {
    --main-bg-color: #b29f7c;
    --primary-border-color: #e3e3e3;
    --secondry-border-color: #ccd0dc;
    --black: #000;
    /* --third-bg-color: #b29f7c; */
    --secondry-bg-color: #759109;
    
    --primary-font: 'Lato', sans-serif;

    --primary-font-color: #000;
    --secondry-font-color: #fff;
}

body {
    background: var(--main-bg-color);
    font-family: var(--primary-font);
    color: #eee;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
    font-size: 16px;
    font-family: var(--primary-font);
}

.ct-site {
    display: block !important;
}

.page--home {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 320px;
}

.page--home .card-tabs {
    font-family: var(--primary-font);
    width: 100%;
}

.page--home .tab-buttons {
    display: flex;
    gap: 2px;
    margin-bottom: -2px;
}

.page--home .tab-btn {
    padding: 14px 20px;
    background: var(--main-bg-color);
    border: 1px solid var(--primary-border-color);
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    color: #ebebeb;
    transition: 0.2s;
    font-family: var(--primary-font);
    font-size: 20px;
    font-weight: 300;
    line-height: 17px;
}

.page--home .tab-btn:hover {
    background-color: #fff;
    color: #666;
}

.page--home .tab-btn.active {
    background: var(--main-bg-color);
    border-bottom: 2px solid var(--main-bg-color);
    position: relative;
    z-index: 2;
}

.page--home .tab-card {
    display: none;
    padding: 20px;
    border: 1px solid var(--primary-border-color);
    border-radius: 0 5px 5px 5px;
    background: var(--main-bg-color);
    position: relative;
    z-index: 1;

}

.page--home .tab-card.active {
    display: block;
}

.page--home .tab-card-cover {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.page--home .tab-card-cover .text-label {
    color: var(--primary-font-color);
    font-size: 18px;
}

.page--home .tab-card-cover .item {
    width: calc(33.73% - 16px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page--home .tab-card-cover .select select {
    background-color: var(--main-bg-color);
    border: 1px solid var(--secondry-border-color);
    padding: 8px;
    font-family: var(--primary-font);
    color: var(--primary-font-color);
    font-size: 16px;
    background-image: unset !important;
}

.submit-filter_query {
    padding-top: 20px;
}



.btn-search {
    display: block;
    width: 90px;
    height: 45px;
    margin: auto;
    background: var(--black);
    border: var(--primary-border-color) 1px solid;
    padding: 8px 16px;
    border-radius: 3px;
    transition: 0.5s;
    cursor: pointer;
    font-size: 18px;
    color: var(--secondry-font-color);
}

.btn-search:hover {
    color: #000;
    background: #fff !important;
    border-color: var(--primary-border-color);
}

.btn-search.active {
    background: #0073aa !important;
    cursor: pointer;
    opacity: 1;
}

.search-result {
    display: flex;
    justify-content: center;

}

.search-result .wrapper {
    display: block;
    width: 100%;
}

.btn-back {
    width: 100%;
    padding-bottom: 5px;
}

.btn-back img {
    padding: 1px;
    cursor: pointer;
    width: 40px;
    display: inline-block;
    background-color: transparent;
}

.description span {
    color: #fff;
    font-size: 16px;
    font-family: var(--primary-font);
    color: LightGoldenrodYellow;
    font-family: var(--primary-font);
    font-weight: bold;
}

.search-result .description {
    width: unset;
}

.search-result .records {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: 8px;
}

.search-result table {
    border-collapse: collapse;
    background-color: var(--main-bg-color);
    width: 100%;
    min-width: 1024px;
}

.search-result tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.search-result tbody tr:nth-child(odd) {
    background-color: #fafad2;
}

.search-result table thead {
    background-color: #000;
}

.search-result table td {
    color: #000;
}

.search-result th {
    font-weight: 300;
    color: #fff;
    vertical-align: middle;
}

.search-result table td,
th {
    text-align: center;
    padding: 8px 4px;
    vertical-align: middle;
    border: none !important;
    font-family: var(--primary-font) !important;
}


.search-result table a {
    text-decoration: none;
    cursor: pointer;
    color: #0000ee !important;
}

.music {
    min-width: 768px;
    width: 50%;
}

.music table {
    border-collapse: collapse;
    font-size: 14px;
    color: #000;
}

.music th,
.music td {
    border: none;
    padding: 2px;
    text-align: left;
    vertical-align: middle;
}

.music th {
    background: #bdb76b;
    color: #000;
    font-weight: bold;
    text-align: center;
}

.music tr:nth-child(even) {
    background: #eee8aa;
}

.music tr:nth-child(odd) {
    background: #fafad2;
}

.music td img {
    width: 100px;
    height: auto;
    display: block;
}

.music a {
    color: blue;
    text-decoration: none;
}

.music a:hover {
    text-decoration: underline;
}

.cd-detail .cover {
    width: 740px;
}

.cd-detail .line-item {
    max-width: 360px;
    width: 70%;
    margin-left: inherit;
}

.wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}

.container .cover {
    background-image: url(../images/Yuri_conducting_with_small_concert.jpg);
    background-position: right center;
    background-repeat: no-repeat;
    padding: 10px;
    width: 80%;
    min-height: 360px !important;
    background-color: var(--secondry-bg-color) !important;
}

.container .bg {
    position: absolute;
    width: 100%;
    display: flex;
    z-index: -1;
    max-width: 800px;
}

.container .bg .empty {
    flex: 1;
    background: var(--secondry-bg-color);
}

.container .bg img {
    display: block;
}

.left {
    padding: 20px;
}

.right {
    background: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav {
    box-sizing: content-box;
    padding: 1px;
}

.nav a {
    box-sizing: content-box;
    font-family: var(--primary-font);
    padding: 8px 16px;
    border-collapse: separate;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    font-weight: normal;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 0;
    margin-right: 2px;
}

.nav a:active {
    color: #000;
    background: #fff;
}

.nav a.active {
    background: #fff;
    color: #333;
    font-weight: normal;
}

.checkbox-list {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.checkbox-list label {
    display: inline-block;
    width: 33%;
    font-size: 18.666px;
    padding: 1px;
    font-family: var(--primary-font);

}

.close-window {
    text-align: right;
    margin: 12px 0;
    line-height: 15px;
}

.close-window a {
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
    font-family: var(--primary-font);
}

.description {
    font-size: 18.667px;
    color: #fff;
    font-family: var(--primary-font);
    margin: 0;
}

.listen-music a {
    font-size: 18.667px;
    color: #eee8aa;
    font-family: var(--primary-font);
}

.select-category {
    width: 300px;
}

#selected-item {
    font-size: 19.2px;
    font-family: var(--primary-font);
    color: #fff;
    margin: 0;
}

.nav,
.description,
.listen-music,
#filter-box,
.checkbox-list {
    width: 370px;
}

#filter-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* New Filter Container Styles */
#new-filter-container {
    background: #fff;
    border: 1px solid #fff;
    padding: 20px;
    margin-top: 10px;
    width: 100%;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-category {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-category label {
    color: #fff;
    font-family: var(--primary-font);
    font-size: 16px;
    font-weight: normal;
}

.filter-placeholder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #666;
    font-size: 14px;
}

.filter-placeholder span:first-child {
    color: #666;
}

.help-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ccc;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.filter-dropdown {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-family: var(--primary-font);
    cursor: pointer;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #007cba;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-reset {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    font-family: var(--primary-font);
}

.btn-reset:hover {
    background: #f5f5f5;
}

.btn-apply {
    background: #007cba;
    border: 1px solid #007cba;
    color: #fff;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    font-family: var(--primary-font);
}

.btn-apply:hover {
    background: #005a87;
}

.edit-filter-link {
    color: #999;
    font-size: 12px;
    font-family: var(--primary-font);
    margin-left: 10px;
}

.page--home .text-error {
    font-size: 18px;
    color: #f00;
}

.page--home .alert.error {
    padding: 16px;
    border: 1px solid var(--primary-border-color);
    border-radius: 3px;
    margin-bottom: 16px;
}

@media only screen and (max-width: 768px) {
    .page--home .tab-btn {
        padding: 12px 12px;
        font-size: 18px;
    }
}

@media only screen and (max-width: 520px) {
    .page--home .tab-card-cover {
        gap: 16px;
    }

    .page--home .tab-card-cover .item {
        width: calc(50.8% - 16px);
    }

    .page--home .tab-btn {
        padding: 10px 10px;
        font-size: 16px;
    }
}

@media only screen and (max-width: 425px) {
    .page--home .tab-btn {
        font-size: 14px;
        padding: 8px 8px;
    }
}

@media only screen and (max-width: 375px) {
    .page--home .tab-card-cover .item {
        width: 100%;
    }
}