html[data-bs-theme=dark] .app-default, html[data-bs-theme=dark] body{background-color:var(--bs-app-bg-color);}
html[data-bs-theme=dark] .text-dark{color:#F5F5F5 !important;}
html[data-bs-theme=dark] .app-header{border-color:#636674;}
html[data-bs-theme=dark] .ki-duotone, html[data-bs-theme=dark] .ki-outline, html[data-bs-theme=dark] .ki-solid{color:var(--bs-text-muted);}
html[data-bs-theme=dark] .btn.btn-light-primary .svg-icon, html[data-bs-theme=dark] .btn.btn-light-primary i{color:#5D62F4;}

/* New Add */

html[data-bs-theme=dark] .btn.btn-light-primary.show i{color:var(--bs-primary-inverse);}
html[data-bs-theme=dark] .btn.btn-primary .ki-solid{color:#E4E4FB;}
html[data-bs-theme=dark] .btn.btn-primary:hover:not(.btn-active) .ki-solid{color:#5D62F4;}
html[data-bs-theme=dark] .btn.btn-secondary{background-color:#26272f;}

html[data-bs-theme=dark] .text-purple-custom{color: rgb(255, 255, 255) !important;fill: rgb(51, 51, 51) !important; border: 1px solid rgb(51, 51, 51) !important; background: rgb(51, 51, 51) !important;}
html[data-bs-theme=dark] .form-control.form-control-solid{background-color:var(--bs-gray-100);border-color:var(--bs-gray-100);color:var(--bs-gray-700);}
html[data-bs-theme=dark] .dropdown.show>.form-control.form-control-solid, html[data-bs-theme=dark] .form-control.form-control-solid.active, html[data-bs-theme=dark] .form-control.form-control-solid.focus, html[data-bs-theme=dark] .form-control.form-control-solid:active, html[data-bs-theme=dark] .form-control.form-control-solid:focus{background-color:var(--bs-gray-200);border-color:var(--bs-gray-200);color:var(--bs-gray-700);}
/* html[data-bs-theme=dark] .menu-sub-dropdown{background:var(--bs-card-bg) !important;} */
html[data-bs-theme=dark] .menu-sub-dropdown{background:#15171c !important;}
html[data-bs-theme=dark] .scrolltop{opacity:1;}
html[data-bs-theme=dark] .scrolltop>i{color:#E4E4FB;}
html[data-bs-theme=dark] .form-select.form-select-solid{background-color:var(--bs-gray-100) !important;border-color:var(--bs-gray-100);}
html[data-bs-theme=dark] .notification-header{background-color:#1c1d22;}
html[data-bs-theme=dark] .notification-view-all{background-color:#1c1d22;}
html[data-bs-theme=dark] .notification-item:hover{background-color:#0f1014;}

html[data-bs-theme=dark] .card.cust-firstcard{background-color:var(--bs-body-bg);border-color:var(--bs-card-border-color);}
html[data-bs-theme=dark] .download-icon{color:#73738C !important;}
html[data-bs-theme=dark] table.dataTable.table-hover>tbody>tr:hover>*{box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-hover),.075)}
html[data-bs-theme=dark] .nav-line-tabs.custom-cardnav .nav-item .nav-link.active{color:var(--bs-text-gray-900);}
/*html[data-bs-theme=dark] .nav-line-tabs.custom-cardnav .nav-item .nav-link.active{color:#5D62F4;}*/
html[data-bs-theme=dark] .nav-group.nav-group-outline{border-color:#636674;}
html[data-bs-theme=dark] .card-header.custom-cardtab .custom-cardnav{border-color:#636674 !important;}
html[data-bs-theme=dark] thead th{background-color:#1b1c22 !important;}
html[data-bs-theme=dark] .table:not(.table-bordered).table-row-bordered tr{border-bottom-color:#636674;}
html[data-bs-theme=dark] .table.dataTable tbody tr td.dtfc-fixed-left{ border-bottom-color: #636674;}
html[data-bs-theme=dark] .cust-producttitle{color:#F5F5F5;}
html[data-bs-theme=dark] .form-check-price .form-check-label{color:var(--bs-gray-500);}
html[data-bs-theme=dark] .accordion-button{color:#F5F5F5 !important;}
html[data-bs-theme=dark] .form-switch.form-check-solid .form-check-input:not(:checked){background-color:var(--bs-gray-200);}
html[data-bs-theme=dark] #email-notification-form .form-check-input{background-color:var(--bs-gray-200);}
html[data-bs-theme=dark] #email-notification-form .form-check-input:checked{background-color:#0d6efd;}
html[data-bs-theme=dark] #email-notification-form .form-check-input:before{background-color:#5c5d63;}
html[data-bs-theme=dark] #email-notification-form .form-check-input:checked::before{background-color:#ffffff;}

html[data-bs-theme=dark] .custom-filter .card-header .btn.btn-light{background-color:#f9f9f9;}
html[data-bs-theme=dark] .custom-filter .card-header .btn.btn-light:hover:not(.btn-active){background-color:#f9f9f9 !important;}
html[data-bs-theme=dark] .custom-filter .card-header .btn.btn-color-gray-500{color:var(--bs-text-gray-500);}
html[data-bs-theme=dark] .custom-filter .card-header .btn.btn-color-gray-500 .svg-icon, html[data-bs-theme=dark] .custom-filter .card-header .btn.btn-color-gray-500 i{color:var(--bs-text-gray-500);}
html[data-bs-theme=dark] .custom-filter .card-header .btn.btn-color-white {color:var(--bs-text-white);}
html[data-bs-theme=dark] .custom-filter .card-header .btn.btn-color-white .svg-icon, html[data-bs-theme=dark] .custom-filter .card-header .btn.btn-color-white i{color:var(--bs-text-white);}

html[data-bs-theme=dark] .swal2-popup .swal2-title{color:var(--bs-heading-color);}

/* New Add */

html[data-bs-theme=dark] .swal2-styled.swal2-cancel{color:#5d62f4;}

html[data-bs-theme=dark] .price-stock-toggle .toggle-option, html[data-bs-theme=dark] .histo_sub_type{/*border:1px solid #f9f9f9;*/color:#f9f9f9;}

html[data-bs-theme=dark] .price-stock-toggle .toggle-option:hover, html[data-bs-theme=dark] .histo_sub_type:hover{border-color:#4A4FC9;}

html[data-bs-theme=dark] .price-stock-toggle .toggle-option.active, html[data-bs-theme=dark] .histo_sub_type.active{border:1px solid #4A4FC9 !important;border-color:#4A4FC9;}

html[data-bs-theme=dark] .filtermain-div{background-color:var(--bs-body-bg);}

html[data-bs-theme=dark] .productsearch-sidebar{background:var(--bs-body-bg);}

html[data-bs-theme=dark] .select2-hidden-accessible{border:1px solid var(--bs-gray-400) !important;}

html[data-bs-theme=dark] #filterContainer .form-select.form-select-solid{border:1px solid var(--bs-gray-400) !important;margin-bottom:20px;}

html[data-bs-theme=dark] .close-icon{fill:var(--bs-text-muted);}

html[data-bs-theme=dark] .close-icon:hover{fill:var(--bs-text-primary);}

html[data-bs-theme=dark] .custom-accounttextlink{color:var(--bs-gray-800);}

html[data-bs-theme=dark] .custom-accounttextlink:hover{color:var(--bs-text-primary);}

html[data-bs-theme=dark] .custom-accounttextlink i{color:var(--bs-gray-800);}

html[data-bs-theme=dark] .custom-accounttextlink:hover i{color:var(--bs-text-primary);}

html[data-bs-theme=dark] .password-text{color:var(--bs-gray-800);}

html[data-bs-theme=dark] .custom-dashboard-chart-span{border:1px solid transparent;background:transparent;}


html[data-bs-theme="dark"] #common_filters_text,
html[data-bs-theme="dark"] #filter_price_bucket,
html[data-bs-theme="dark"] #filter_price_competitor,
html[data-bs-theme="dark"] #filter_price_change,
html[data-bs-theme="dark"] #filter_historical_table,
html[data-bs-theme="dark"] #filter_buybox_insights
{
  color: var(--bs-text-light) !important;
}

html[data-bs-theme="dark"] .multiselect-native-select .multiselect { background-color:var(--bs-gray-200);color: #F5F5F5 }
html[data-bs-theme="dark"] .live-comp-class{background-color:var(--bs-gray-200);border: 1px solid #000000;}
html[data-bs-theme=dark] #modal_inside_table tbody td,html[data-bs-theme=dark] #modal_inside_table thead tr{background-color:#1b1c22 !important;}



/* Chart CSS */

html[data-bs-theme=dark] .highcharts-title{color:var(--bs-gray-800) !important; fill:#FFFFFF !important;}
html[data-bs-theme=dark] .highcharts-axis-labels text{color:var(--bs-gray-800) !important; fill:var(--bs-gray-800) !important;}
html[data-bs-theme=dark] .highcharts-axis-labels span{color:var(--bs-gray-800) !important;}
html[data-bs-theme=dark] .highcharts-legend-item text{color:var(--bs-gray-800) !important;fill:var(--bs-gray-800) !important;}
html[data-bs-theme=dark] .highcharts-label text{color:var(--bs-gray-900) !important; fill:var(--bs-gray-900) !important;}
html[data-bs-theme=dark] .highcharts-label text tspan{color:var(--bs-gray-900) !important; fill:var(--bs-gray-900) !important;}
html[data-bs-theme=dark] #low-container .highcharts-background,
html[data-bs-theme=dark] #low-category .highcharts-background,
html[data-bs-theme=dark] #low-brand .highcharts-background,
html[data-bs-theme=dark] #low-segment .highcharts-background,
html[data-bs-theme=dark] #low-rating .highcharts-background{fill:transparent !important;}
html[data-bs-theme=dark] #high-container .highcharts-background,
html[data-bs-theme=dark] #high-category .highcharts-background,
html[data-bs-theme=dark] #high-brand .highcharts-background,
html[data-bs-theme=dark] #high-segment .highcharts-background,
html[data-bs-theme=dark] #high-rating .highcharts-background{fill:transparent !important;}
html[data-bs-theme=dark] #pricechange-chart .highcharts-background{fill:transparent !important;}
html[data-bs-theme=dark] .customapp-header-menu.app-header-menu .menu>.menu-item>.menu-link.active{background-color:var(--bs-body-bg);}
html[data-bs-theme=dark] .highcharts-label-box{fill:var(--bs-gray-200) !important}
html[data-bs-theme=dark] .highcharts-tracker span{color:var(--bs-white) !important}
html[data-bs-theme=dark] hr{color:var(--bs-gray-100) !important}
html[data-bs-theme=dark] .highcharts-text-outline{stroke-width:0px !important}

html[data-bs-theme="dark"] .engage-dot {
  border: 2px solid #2c2f7d; /* dark purple ring for contrast on dark background */
}

html[data-bs-theme="dark"] .custom-tooltip{
  color: black;
}



html[data-bs-theme="dark"]  .product-mathcing-total-column{
    color: #5D62F4 !important;
}
html[data-bs-theme="dark"]  #manual_product_matching_title{
    color: #b5b7c8 !important;
} 



html[data-bs-theme="dark"] #kt_app_header{
    background-color: black !important;
}
html[data-bs-theme="dark"] .cancel-btn{
    color: #b5b7c8 !important;
}
html[data-bs-theme="dark"] .myCheckboxes{
    border: 1px solid white;
}
html[data-bs-theme="dark"] #global_product_list{
    border: 1px solid white;
}


html[data-bs-theme="dark"] .page-content-light-mode-logo{
     display: none !important;
}

html[data-bs-theme="dark"] .metrics-filter-text, .historical-filter-text{
    color: black;
}


html[data-bs-theme="dark"] .historical-modal-price-label{
    background: rgb(255, 255, 255) !important;
}

html[data-bs-theme="dark"] .historical-modal-price-text{
    color: rgb(255, 255, 255) !important;
}

html[data-bs-theme=dark] .marketmovement-overall-table.table-hover>tbody>tr:hover>
*{box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-hover),.075)}

html[data-bs-theme=dark] .categorizedsummary-overall-table.table-hover>tbody>tr:hover>
*{box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-hover),.075)}

html[data-bs-theme=dark] .buybox-overall-table.table-hover>tbody>tr:hover>
*{box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-hover),.075)}

html[data-bs-theme=dark] .skuwise_loader{
    background-color: #1b1c22 !important;
} 

html[data-bs-theme="dark"] .scrolldown:hover i .path1,
html[data-bs-theme="dark"] .scrolldown:hover i .path2,
html[data-bs-theme=dark] .scrolltop:hover i .path1,
html[data-bs-theme=dark] .scrolltop:hover i .path2
{
    color: black !important;
}

html[data-bs-theme="dark"] #notification-details-modal{
    background-color: black !important;
    border: white 1px solid !important;
}


/* Text Editor Css starts */
html[data-bs-theme="dark"] .tox.tox-tinymce {
  background-color: #1e1e2d !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .tox .tox-editor-header,
html[data-bs-theme="dark"] .tox .tox-toolbar,
html[data-bs-theme="dark"] .tox .tox-toolbar__primary,
html[data-bs-theme="dark"] .tox .tox-tbtn {
  background-color: #1B1C22 !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .tox .tox-toolbar__button,
html[data-bs-theme="dark"] .tox .tox-toolbar__button svg,
html[data-bs-theme="dark"] .tox .tox-tbtn__select-chevron,
html[data-bs-theme="dark"] .tox .tox-tbtn svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

html[data-bs-theme="dark"] .tox .tox-toolbar__button:hover {
  background-color: #1B1C22 !important;
}

html[data-bs-theme="dark"] .tox-dialog {
  background-color: #1e1e2d !important;
  color: #ffffff !important;
  border-color: #333 !important;
}

html[data-bs-theme="dark"] .tox-dialog__header {
  background-color: #1B1C22 !important;
  color: #ffffff !important;
  border-bottom: 1px solid #333 !important;
}

html[data-bs-theme="dark"] .tox-dialog__footer {
  background-color: #1B1C22 !important;
  border-top: 1px solid #333 !important;
}


html[data-bs-theme="dark"] .tox-dialog__title {
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .tox-dialog__header .tox-button {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.tox .tox-dialog-wrap__backdrop {
  background-color: rgba(0, 0, 0, 0.5) !important; 
}

#white_loading_image{
    display: none !important;
}

html[data-bs-theme="dark"] #dark_loading_image{
    display: inline !important;
}
/* Text Editor Css ends */

html[data-bs-theme="dark"] .highcharts-subtitle{
    fill: #ffffff !important;
}

html[data-bs-theme="dark"] .highcharts-axis-title{
    fill: #ffffff !important;
}
html[data-bs-theme="dark"] .customsub_tab .sub-tab:hover{
  color: #5D62F4 !important;
}
html[data-bs-theme="dark"] .showHide .btn,html[data-bs-theme="dark"] #kt_accordion_1_latest_data_body_1 .chart_view .btn{
  color: #5D62F4 !important;
  background: #172331;
}
html[data-bs-theme="dark"] .showHide .btn.active, html[data-bs-theme="dark"] #kt_accordion_1_latest_data_body_1 .chart_view .btn.active{
  background: #5D62F4 !important;
  color: #ffffff !important;
}
html[data-bs-theme="dark"] .showHide .btn:hover, html[data-bs-theme="dark"] #kt_accordion_1_latest_data_body_1 .chart_view .btn:hover{
  background: #5D62F4 !important;
  color: #ffffff !important;
}
html[data-bs-theme="dark"] .filterdiv .filterbtn{
  background: #1b1c22 !important;
}
html[data-bs-theme="dark"] .filterdiv .filterbtn #common_filters_text{
  color: #ffffff !important;
}
html[data-bs-theme="dark"] #resetFiltersButton{
  color: #808290;
  background-color: #1b1c22;
}
html[data-bs-theme="dark"] #resetFiltersButton:hover{
  background-color: #1f212a !important;
}
html[data-bs-theme="dark"] .menu-active-bg .menu-item .menu-link.active {
  background: #172331 !important;
}
html[data-bs-theme="dark"] .menu-link-lang.active{
  background: #172331 !important;
}
html[data-bs-theme="dark"] .menu-item .menu-link:hover,
html[data-bs-theme="dark"] .menu-sub .menu-link:hover {
  background-color: #1f212a !important;
}
html[data-bs-theme="dark"] #kt_account_profile_details_form .card-footer [type="reset"],
html[data-bs-theme="dark"] #kt_signin_email_button .btn, 
html[data-bs-theme="dark"] #kt_signin_password_button .btn,
html[data-bs-theme="dark"]  #kt_signin_change_email #kt_signin_cancel
html[data-bs-theme="dark"]  #kt_signin_change_password #kt_password_cancel
{
  color: #808290 !important;
  background-color: #1b1c22 !important;
}
html[data-bs-theme="dark"] #kt_account_profile_details_form .card-footer [type="reset"]:hover,
html[data-bs-theme="dark"] #kt_signin_email_button .btn:hover,
html[data-bs-theme="dark"] #kt_signin_password_button .btn:hover,
html[data-bs-theme="dark"]  #kt_signin_change_email #kt_signin_cancel:hover,
html[data-bs-theme="dark"]  #kt_signin_change_password #kt_password_cancel:hover
{
  background-color: #1f212a !important;
  color: #808290 !important;
}
html[data-bs-theme="dark"] #filterContainer .select2-selection__clear{
  position: absolute;
  top: 21px;
}
html[data-bs-theme="dark"] .menu-state-bg .menu-item.show>.menu-link {
  background-color: #1f212a !important;
}
html[data-bs-theme="dark"] .highcharts-series-group .highcharts-pie-series .highcharts-point,
html[data-bs-theme="dark"] .highcharts-series-group .highcharts-bar-series .highcharts-point,
html[data-bs-theme="dark"] .highcharts-series-group .highcharts-column-series .highcharts-point{
  stroke: #1b1c22 !important;
}
html[data-bs-theme="dark"] .live-comp-class .multiselect-native-select .multiselect { background-color:transparent;color: #F5F5F5;}
html[data-bs-theme="dark"] #messagesContainer .mt-1.d-flex.flex-wrap.gap-5{
    background-color: #1b1c22 !important;
}
html[data-bs-theme="dark"] .highcharts-menu hr{color:var(--bs-white) !important;}

html[data-bs-theme="dark"] .pricechange-cardmain #competitor-stack-chart svg,
html[data-bs-theme="dark"] .pricechange-cardmain #stack-chart svg,
html[data-bs-theme="dark"] .pricechange-cardmain #brand-stack-chart svg,
html[data-bs-theme="dark"] .pricechange-cardmain #segment-stack-chart svg,
html[data-bs-theme="dark"] .pricechange-cardmain #rating-stack-chart svg,
html[data-bs-theme="dark"] .pricechange-cardmain #make-stack-chart svg,
html[data-bs-theme="dark"] .pricechange-cardmain #model-stack-chart svg,
html[data-bs-theme="dark"] .pricechange-cardmain #market-stack-chart svg
{background:transparent !important;}

html[data-bs-theme="dark"] .multiselect-native-select .multiselect.dropdown-toggle,
html[data-bs-theme="dark"] .multiselect-native-select .multiselect-container{
  border-color: var(--bs-gray-200) !important;
}
html[data-bs-theme="dark"] .apiguide-sidebar .menu.menu-column.menu-rounded .menu-link.active
{
  background-color: var(--bs-text-gray-200) !important;
}
html[data-bs-theme="dark"] .apiguide-sidebar .menu.menu-column.menu-rounded .menu-link:hover{
  background-color: var(--bs-text-gray-200) !important;
}
html[data-bs-theme=dark] .apiguide-content .table-hover>tbody>tr:hover>*
{
  box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-hover),.075);
}