
:root {
    --cards-per-row: 5;
}


/*Ribbon Styling  */
.ribbon {
    width: 147px;
    height: 123px;
    overflow: hidden;
    position: absolute;
}

/*.ribbon::before,*/
/*.ribbon::after {*/
/*    position: absolute;*/
/*    z-index: -1;*/
/*    content: '';*/
/*    display: block;*/
/*    border: 5px solid red;*/
/*}*/

.ribbon span {
    /*width: 225px;*/
    /*padding: 15px 0;*/
    /*font: 700 18px/1 'Lato', sans-serif;*/
    position: absolute;
    display: block;
    width: 200px;
    padding: 5px 0 7px 0;
    background-color: red;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    color: #fff;
    font: 700 14px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    text-transform: uppercase;
    text-align: center;
}

/* top left*/
.ribbon-top-left {
    top: -10px;
    left: -10px;
}

.ribbon-top-left::before,
.ribbon-top-left::after {
    border-top-color: transparent;
    border-left-color: transparent;
}

.ribbon-top-left::before {
    top: 0;
    right: 0;
}

.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}

.ribbon-top-left span {
    right: -25px;
    top: 30px;
    transform: rotate(-45deg);
}

/* top right*/
.ribbon-top-right {
    /*top: -10px;*/
    /*right: -10px;*/
    /*margin: -22px 0 0 94px;*/
    margin: -21px 0 0 51px;
}

/*.ribbon-top-right::before,*/
/*.ribbon-top-right::after {*/
/*    border-top-color: transparent;*/
/*    border-right-color: transparent;*/
/*}*/

/*.ribbon-top-right::before {*/
/*    top: 0;*/
/*    left: 0;*/
/*}*/

/*.ribbon-top-right::after {*/
/*    bottom: 0;*/
/*    right: 0;*/
/*}*/

.ribbon-top-right span {
    /*left: -25px;*/
    /*top: 30px;*/
    left: -15px;
    top: 30px;
    transform: rotate(45deg);
}

/* bottom left*/
.ribbon-bottom-left {
    bottom: -10px;
    left: -10px;
}

.ribbon-bottom-left::before,
.ribbon-bottom-left::after {
    border-bottom-color: transparent;
    border-left-color: transparent;
}

.ribbon-bottom-left::before {
    bottom: 0;
    right: 0;
}

.ribbon-bottom-left::after {
    top: 0;
    left: 0;
}

.ribbon-bottom-left span {
    right: -25px;
    bottom: 30px;
    transform: rotate(225deg);
}

/* bottom right*/
.ribbon-bottom-right {
    bottom: -10px;
    right: -10px;
}

.ribbon-bottom-right::before,
.ribbon-bottom-right::after {
    border-bottom-color: transparent;
    border-right-color: transparent;
}

.ribbon-bottom-right::before {
    bottom: 0;
    left: 0;
}

.ribbon-bottom-right::after {
    top: 0;
    right: 0;
}

.ribbon-bottom-right span {
    left: -25px;
    bottom: 30px;
    transform: rotate(-225deg);
}


#plugin-container {
    max-width: none !important;
}

.options-panel {
    flex: 0 0 20%;
    background-color: #F4F4F4;
    padding: 10px;
    box-sizing: border-box;

}

.title-panel {
    flex: 1;
    background-color: #F4F4F4;
    padding: 10px;
    box-sizing: border-box;
}

.title-panel i {
    float: right;
}

.product-panel {
    flex: 1;
    background-color: #F4F4F4;
    padding: 10px;
    box-sizing: border-box;
}

.group-panel label {
    font-size: medium;
    padding: 0 0 0 5px;
}

.group-panel {
    flex: 1;
    padding: 5px 20px 20px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #F4F4F4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px 0 10px 0;
}

.group-panel input {
    /*float: left;*/
}

.filter-panel {
    /*border: 1px solid #bbb;*/
    /*padding: 20px;*/
    /*border-radius: 10px;*/
    /*background: #fff;*/
    /*width: fit-content;*/
    /*max-width: 100%;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);*/
    /*display: flex;*/
    flex-direction: column;
    /*gap: 20px;*/

    flex: 1;
    padding: 5px 20px 20px 20px;
    height: 800px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #F4F4F4;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.filter-panel input {
    width: 95%;
    height: 30px;
    font-size: medium;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    appearance: none;
    outline: none;
    transition: all 0.3s ease;
    margin-top: 5px;
    /*margin-bottom: 10px;*/
}

.filter-panel select {
    width: 95%;
    height: 30px;
    font-size: medium;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    appearance: none;
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.filter-panel select:hover {
    border-color: #888;
}

.filter-panel label {
    font-size: medium;
}

.filter-panel option:first-child {
    color: #999;
}

.filter-panel button {
    font-family: arial;
    color: #FFFFFF !important;
    font-size: 16px;
    text-shadow: 1px 1px 0px #7CACDE;
    box-shadow: 1px 1px 1px #BEE2F9;
    padding: 7px 17px;
    border-radius: 10px;
    border: 2px solid #4B8CB5;
    background: #4B8CB5;
    margin-top: 10px;
}

.filter-panel button:hover {
    color: #14396A !important;
    background: #468CCF;
}

.filter-icon {
    position: relative;
    top: -10px;
    left: 0;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    float: right;
    margin-top: 15px;
}

.filter-icon:hover {
    color: #007bff;
}

.multi-select-container {
    border: 1px solid #F4F4F4;
    min-height: 0px;
    padding: 8px;
    width: 350px;
    border-radius: 6px;
    background-color: #F4F4F4;
    position: relative;
    box-sizing: border-box;
}

.multi-selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    box-sizing: border-box;
}

.multi-tag {
    background-color: lightblue;
    padding: 4px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.multi-tag .remove {
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
}

.mulit-search-input {
    border: none;
    outline: none;
    width: 100%;
    margin-top: 5px;
    font-size: 14px;
}

.multi-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.multi-dropdown div {
    padding: 10px;
    cursor: pointer;
    font-size: small;
}

.multi-dropdown div:hover {
    background-color: #f0f8ff;
}

.multi-dropdown div.selected {
    background-color: #d2ebff;
    font-weight: bold;
    font-size: small;
}

.multi-dropdown div.highlighted {
    background-color: #cce5ff !important;
}

.multi-wrapper {
    border: 1px solid #bbb;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    width: fit-content;
    max-width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/*Card Container*/

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 220px;
    /*width: calc(100% / var(--cards-per-row) - 15px);*/
    margin: 0 auto;
}

.group-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 170px;
    /*width: calc(100% / var(--cards-per-row) - 15px);*/
    margin: 0 10px 0 5px;
}

.brand-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 170px;
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 80%, #000000 80%, #000000 100%);
    /*width: calc(100% / var(--cards-per-row) - 15px);*/
    margin: 0 10px 0 5px;
}

.other-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 170px;
    /*width: calc(100% / var(--cards-per-row) - 15px);*/
    margin: 0 10px 0 5px;
}


/* Product Card */
.product-card {
    flex: 1 1 calc(100% / var(--cards-per-row) - 15px);
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #FFFFFF;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 280px;
}


.items-panel {
    width: 100%;

}


.product_modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 25%;
    left: 20%;
    width: 1200px;
    height: 540px;
    background: #F4F4F4;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    /*display: flex; !* Flexbox to center content *!*/
}

.product_modal_header {
    background-color: #FFFFFF;
    border: 1px solid #ccc;
    width: 99%;
    height: 16%;
    border-radius: 8px;
    padding-left: 10px;
}

.product_modal_header button {
    float: right;
    position: relative;;
    top: -40px;
    left: -10px;
}


.product_modal_content {
    display: flex;
    gap: 10px;
    margin: 0 5px 5px 5px;
    width: 99%;
}

.product_modal_left {
    flex: 2; /* 40% each */
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.product_modal_left img {
    height: 240px;
    width: 220px;
}


.product_modal_center {
    flex: 1; /* 20% */
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.product_modal_center_item {
    padding: 5px 0 50% 0;
    /*font-weight: bold;*/
    text-transform: uppercase;
    border-bottom: 1px solid #ccc;
    font-size: medium;
}

.product_modal_center_item:last-child {
    border-bottom: none;
}

.product_modal_right {
    flex: 2; /* 40% each */
    background: white;
    padding: 0 20px 20px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.product_modal_right button {
    z-index: 1;
    position: absolute;
    margin-top: 20px;
    margin-left: 20%;
    border: none;
    background-color: white;
}

.product_modal_right table {
    width: 100%;
}

.product_modal_right td {
    font-size: small;
    width: 50%;
    font-weight: bold;
}


.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    text-decoration: none;
    color: #333;
    background-color: #f4f4f4;
    border-radius: 5px;
    transition: 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background-color: #0073aa;
    color: #fff;
}

.pagination a.prev,
.pagination a.first,
.pagination a.last,
.pagination a.next {
    font-weight: bold;
}


.pagination a.first,
.pagination a.last {
    color: red;
}

/*.product-card:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);*/
/*    border-color: <?php echo ($product_card_hover_background); ?>;*/
/*    background-color: <?php echo ($product_card_hover_background); ?>;*/
/*}*/

.product-card h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 8px;
    text-align: left;
}

.product-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    margin-bottom: 15px;
    text-align: left;
}

.product-card img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    text-align: right;
}


.card-header {
    text-align: center;
    background-color: #F4F4F4;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.header-header {
    text-align: center;
    background-color: #F4F4F4;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Default card */
.card {
    flex: 1 1 calc(100% / var(--cards-per-row) - 15px);
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #FFFFFF;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 280px;
}

.card h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 8px;
    text-align: left;
}

.card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    margin-bottom: 15px;
    text-align: left;
}

.card img {
    /*float: right;*/
    width: 180px;
    height: 180px;
    margin-bottom: 10px;
}

.card .price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    text-align: right;
}


/*Group Card*/
.group-card {
    border: 1px solid #ccc;
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 80%, #000000 80%, #000000 100%);
    border-radius: 8px;
    padding: 20px 20px 20px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 173px;
}

.group-card h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 8px;
    text-align: left;
}

.group-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    margin-bottom: 15px;
    text-align: left;
}

.group-card img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/*Category Card*/
.category-card {
    border: 1px solid #ccc;
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 80%, #000000 80%, #000000 100%);
    border-radius: 8px;
    padding: 20px 20px 20px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 173px;
}

.category-card h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 8px;
    text-align: left;
}

.category-card p {
    font-size: 14px;
    margin: 0;
    margin-bottom: 15px;
    height: 40px;
    line-height: 40px;
    max-width: 100%;
    color: white;
    /*background-color: black;*/
    text-align: center;
    border: 1px solid #000;
    border-radius: 8px;
}

.category-card img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/*Class Card*/
.class-card {
    border: 1px solid #ccc;
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 80%, #000000 80%, #000000 100%);
    border-radius: 8px;
    padding: 20px 20px 20px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 173px;
}

.class-card h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 8px;
    text-align: left;
}

.class-card p {
    font-size: 14px;
    margin: 0;
    margin-bottom: 15px;
    height: 40px;
    line-height: 40px;
    max-width: 100%;
    color: white;
    /*background-color: black;*/
    text-align: center;
    border: 1px solid #000;
    border-radius: 8px;
}

.class-card img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/*Brand Card*/
.brand-card {
    border: 1px solid #ccc;
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 80%, #000000 80%, #000000 100%);
    border-radius: 8px;
    padding: 20px 20px 20px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 173px;
}

.brand-card h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 8px;
    text-align: left;
}

.brand-card p {
    font-size: 14px;
    margin: 0;
    margin-bottom: 15px;
    height: 40px;
    line-height: 40px;
    max-width: 100%;
    color: white;
    /*background-color: black;*/
    text-align: center;
    border: 1px solid #000;
    border-radius: 8px;
}

.brand-card img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/*Other Cards*/
.other-card {
    flex: 1 1 calc(100% / var(--cards-per-row) - 15px);
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #FFFFFF;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 174px;
}

.other-card h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 8px;
    text-align: left;
}

.other-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    margin-bottom: 15px;
    text-align: left;
}

.other-card img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.other-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.clearfix::after {
    content: "";
    display: table;
    clear: both;
}


.options-panel.collapsed {
    width: 0;
    overflow: hidden;
    padding: 0;
}

.toggle-panel-btn {
    background: none;
    border: none;
    cursor: pointer;
    /*position: absolute;*/
    float: right;
    top: 10px;
    right: 10px;
}


/*The Search Box*/
.search-panel {
    flex: 1;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #F4F4F4;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-box {
    display: flex;
    width: 100%;
}

.search-left {
    width: 80%;
    background-color: #f0f0f0;
    padding: 10px;
}

.search-right {
    width: 20%;
    background-color: #d0d0d0;
    padding: 10px;
}

.search-box input {
    width: 89%;
    padding: 10px 10px 10px 25px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}

.search-box .icon {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #888;
    pointer-events: none;
}

.search-panel button {
    font-family: arial;
    color: #FFFFFF !important;
    width: 40%;
    font-size: 16px;
    text-shadow: 1px 1px 0px #7CACDE;
    box-shadow: 1px 1px 1px #BEE2F9;
    /*padding: 7px 17px;*/
    height: 42px;
    border-radius: 10px;
    border: 2px solid #4B8CB5;
    background: #4B8CB5;
    margin-top: 0px;
}

.search-panel button:hover {
    color: #14396A !important;
    background: #468CCF;
}


.searchbox {
    --target-size: 48px; /* https://web.dev/accessible-tap-targets/ */
    --box-height: var(--target-size);
    --border-radius: calc(var(--box-height) / 2);
    --border-width: 2px;
    --icon-size: calc(var(--box-height) * 3 / 4);
    --side-margin: calc(var(--border-radius) / 2);
    --icon-vertical-margin: calc((var(--box-height) - var(--icon-size)) / 2);
}

/* shaping the box */
.searchbox {
    height: var(--box-height);
    max-width: 561px; /* to follow the search box of google.com */
}

.searchbox input[type="search"] {
    border: var(--border-width) solid var(--dark-gray);
    border-radius: var(--border-radius);
    height: 100%;
    width: 100%;
}

/* Styling each component */
.searchbox svg {
    fill: var(--dark-gray);
    height: var(--icon-size);
    width: var(--icon-size);
}

.searchbox input[type="search"] {
    -webkit-appearance: none; /* to prevent Safari from ignoring font-size */
    color: var(--dark-gray);
    font-family: 'Noto Sans', Verdana, sans-serif;
    font-size: 1rem;
}

.searchbox input[type="search"]::placeholder {
    color: var(--light-gray);
    opacity: 1; /* to override the default of Firefox */
}

/* positioning inner elements */
.searchbox {
    position: relative;
}

.searchbox svg {
    position: absolute;
    left: var(--side-margin);
    top: var(--icon-vertical-margin);
    bottom: var(--icon-vertical-margin);
}

.searchbox input[type="search"] {
    padding-left: calc(var(--side-margin) + var(--icon-size) + 4px);
    padding-right: var(--side-margin);
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none; /* Remove the left padding inside the box for Safari; see https://github.com/filipelinhares/ress/blob/master/ress.css */
}


/* Ensuring that tapping the icon focuses the search box */
.searchbox svg {
    z-index: -1;
}

.searchbox input[type="search"] {
    background: transparent;
}

/* Styling focus state */
.searchbox input[type="search"]:focus {
    border-color: var(--focus-blue);
    box-shadow: 0px 0px 5px var(--focus-blue);
    outline: 1px solid transparent; /* fallback for forced color modes; see https://www.sarasoueidan.com/blog/focus-indicators/#tips-for-styling-focus-indicators */
    /* it also removes the default focus ring imposed by browsers */
}

/* Custom-style the delete button that appears once the user enters text (Chrome and Safari only); see https://css-tricks.com/webkit-html5-search-inputs/#aa-styling-search-graphical-widgets */
.searchbox input[type="search"]::-webkit-search-cancel-button {
    /* Remove default */
    -webkit-appearance: none;
    /* Now your own custom styles */
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgb(148, 148, 148)' %3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z' /%3E%3C/svg%3E%0A");
    height: calc(var(--box-height) / 2);
    width: calc(var(--box-height) / 2);
}

input[type="search"] {
    -webkit-tap-highlight-color: transparent; /* Otherwise, tapping will show a flash of grey background on iOS Safari; see https://twitter.com/masa_kudamatsu/status/1429387005658468356 */
}


/* Positioning the search box */
.searchbox {
    width: 50%;
    top: 48px;
    float: left;
    height: 30px;
    top: 0;
    border: 1px solid black;
    border-radius: 12px;
    padding: 5px;
    margin-left: 0;
}


/*The Options Box*/
.options-panel-collapse {
    writing-mode: vertical-rl;
    /*text-orientation: upright;*/
    background-color: #F4F4F4;
    /*border: 1px solid #ccc;*/
    padding: 10px;
    font-size: 16px;
    text-align: left;
    width: fit-content;
}

#plugin-toolbar {
    /*position: sticky;
    z-index: 1000; */
    width: 98%;
    background-color: #F4F4F4;
    color: #fff;
    padding: 10px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /*margin-bottom: -1.2em;*/
    height: 50px;
}


#plugin-panel {
    display: flex;
    width: 100%;
    /*height: 100%;*/
}

.toolbar-panel {
    background-color: #FFFFFF;
    color: black;
    flex: 0 0 100%;
    border-radius: 10px;
    height: 50px;
}

.toolbar-panel button {
    background-color: #FFFFFF;
    border: none;
    font-size: large;
    position: relative;
    outline: none;
    cursor: pointer;
}

.tooltip-button::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.tooltip-button:hover::after {
    opacity: 1;
    visibility: visible;
}

.toolbar-panel nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.toolbar-panel nav ul li {
    cursor: pointer;
}

.toolbar-panel nav ul li.active {
    text-decoration: underline;
}

.toolbar-controls {
    display: flex;
    align-items: center;
    float: right;
    gap: 10px;
}

.toolbar-controls select {
    padding: 5px;
}

.header-container {
    display: grid;
    grid-template-columns: 20% 80%;
}

.header-container h2 {
    text-align: center;
}


label.ktmz-select-title {
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
    font-size: 16px;
}

.ktmz-multiselect-container {
    border: 1px solid #ccc;
    min-height: 40px;
    padding: 8px;
    width: 95%;
    border-radius: 6px;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    transition: min-height 0.2s ease-in-out;
}

.ktmz-selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-width: 100%;
    box-sizing: border-box;
}

.ktmz-tag {
    background-color: lightblue;
    padding: 4px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.ktmz-tag .remove {
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
}

.ktmz-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ktmz-dropdown div {
    padding: 10px;
    cursor: pointer;
}

.ktmz-dropdown div:hover {
    background-color: #f0f8ff;
}

.ktmz-dropdown div.selected {
    background-color: #d2ebff;
    font-weight: bold;
}

#clear-brands {
    margin-top: 10px;
    background-color: #f44336;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#clear-brands:hover {
    background-color: #d32f2f;
}



