@media (max-width: 767px) {
    .main-header .navbar-custom-menu {
        float: none !important;
        display: block !important;
    }
    .main-header .navbar-custom-menu .dropdown-menu {
        left: auto !important;
    }
    .skin-blue-light .main-header .navbar .dropdown-menu li a {
        color: #777;
    }
    .main-header .navbar {
      height: auto;
    }
}
.bg-danger {
    background-color: #f2dede !important;
}
.btn-big {
    padding: 10px 30px;
    font-size: 18px;
    line-height: 1.3333333;
}

.of-visible {
    overflow: visible !important;
}

/* Select2 in Bootstrap modals (prevent dropdown behind modal / clipped) */
.select2-container--open {
  z-index: 1055;
}
.modal-open .select2-dropdown {
  z-index: 1055;
}

#online_indicator {
  font-size: 8px;
  vertical-align: middle;
}

.pt-0 {
  padding-top: 0px;
}
.f-right {
  float: right;
}
.mb-10 {
  margin-bottom: 10px;
}
.discount-badge {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 18px;
  padding: 7px;
}

.discount-badge-small {
  position: absolute;
  top: -2px;
  left: 10px;
  font-size: 12px;
  padding: 6px;
}
.product-info-table td, .product-info-table th {
  font-size: 12px;
}
.catalogue {
  max-height: 127px;
  margin: auto;
  margin-bottom: 18px;
}
.catalogue-title {
  display: inline-block;
  font-size: 18px;
  margin: 0;
  line-height: 1;
  margin-bottom: 10px;
}
.bg-light-gray {
  background-color: #f8f8f8 !important;
}
.p-5-5 {
  padding: 5px 5px !important;
}
.m-4 {
  margin: 4px;
}
.skin-black .main-header, .skin-black-light .main-header {
  color: #525f7f !important;
}
.skin-black .main-header .navbar .nav .open>a {
  color: #999 !important;
}
.skin-black .main-header .navbar .nav>li>a:hover{
  color: #999 !important;
}
.skin-black .main-header .navbar > .sidebar-toggle:hover {
  color: #999 !important;
}
.mt-0{
  margin-top: 0 !important;
}
.table-pdf thead tr{
  background-color: #357ca5 !important;
  color: #fff;
}
.table-pdf thead tr th {
  color: #fff !important;
}
.blue-heading {
  background-color: #357ca5;
  color: #fff;
}

.table-pdf .odd {
    background-color: #DCE6F1;
}
.p-4{
  padding: 4px;
}
.p-10{
  padding: 10px !important;
}
.jquery-top-scrollbar{
    height: 6px !important;
}
.jquery-top-scrollbar div {
    height: 6px !important;
}
.scroll-top-bottom {
  width: 100%; 
  overflow: scroll;
}
.scroll-top-bottom::-webkit-scrollbar {
    height: 6px;
}

.scrolltop {
  display:none;
  width:100%;
  margin:0 auto;
  position:fixed;
  bottom:20px;
  right:10px; 
}
.scroll {
  position:absolute;
  right:20px;
  bottom:20px;
  background:#b2b2b2;
  background:rgba(178,178,178,0.7);
  padding:7px;
  text-align: center;
  margin: 0 0 0 0;
  cursor:pointer;
  transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s; 
  border-radius: 6px;   
}
.scroll:hover {
  background:rgba(178,178,178,1.0);
  transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;    
}
.scroll:hover .fas {
  padding-top:-10px;
}
.scroll .fas {
  font-size:25px;
  margin-top:-5px;
  margin-left:1px;
  transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;  
}

.f-left {
  float: left;
}
.align-left {
 text-align: left;
}
.align-right {
 text-align: right;
}

.table-pdf {
  border-collapse: collapse;
  width: 100%;
  border-spacing: 8px 10px;
}
.td-border td, .td-border th{
  border-bottom: 1px solid lightgrey;
  padding: 8px 5px;
}

.ws-nowrap {
  white-space:nowrap;
}

.btn-app>.fas, .btn-app>.fab{
    font-size: 20px;
    display: block;
}
.dropdown-menu>li>a>.fas{
    margin-right: 6px;
}
.mt-5 {
  margin-top: 5px !important;
}
.pos-form-actions{
  height: auto;
  padding-top: 12px;
  padding-bottom: 20px;
  position: fixed;
  bottom: 0px;
  /* background-color: #D1D5DC; */
  width: 100%;
  z-index: 1000;
}
.mb-12 {
  margin-bottom: 12px !important;
}
.pb-0{
  padding-bottom: 0px !important;
}
.pr-12{
  padding-right: 12px !important;
}
.main-header .sidebar-toggle:before {
    content: "" !important;
}
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
} 
.margin-bottom-20 {
  margin-bottom: 20px !important;
}
.text-white {
  color: #fff;
}
.wizard > .steps > ul > li {
  width: 33.33% !important;
}
.wizard > .content {
  /* background: #445867 !important; */
}
legend {
  color: #fff;
  margin-bottom: 6px;
  border-bottom: none;
}
.left-col {
  background: linear-gradient(0deg,rgba(0, 0, 0, 0.76),rgba(51, 51, 51, 0.32)),url(../img/home-bg.jpg); 
  text-align: center;
  background-size: cover;
  background-position: center;
}
.left-col-content {
  color: #1A7BF9;
  width: 100%;
}
.login-header {
  font-size: 27px;
  font-weight: 600;
}
.login-header a {
  color: #fff;
}
.form-header {
  font-size: 18px;
  margin: 16px 0;
}
.btn-login {
  padding: 6px 52px !important;
}
/* .right-col {
  background-color: #243949;
  height: 100%;
  min-height: 100vh;
} */

/* Background color added by Prashant */
.right-col {
  background: linear-gradient(to right, #6366f1, #3b82f6);
  height: 100%;
}

/* .right-col label {
  color: #fff;
}

.right-col a, .text-white a {
  color: #fff;
  font-weight: 600;
  font-size: 15px
}
.right-col a:hover, .text-white a:hover {
  color: #ccc;
}
.right-col-content {
  padding: 10% 16%;
  padding-bottom: 3%;
}
.right-col-content-register {
  padding: 2% 8%;
} */

.input_inline {
  width: 100%;
  display: inline-flex;
}
.input_inline input, .input_inline span {
  width: 50%;
}
.bg-manufacturing {
  background-color: #ff851b;
}
.img-thumbnail {
  position: relative;
  width: 70px;
  height: 70px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
  transition: border .2s ease-in-out;
  padding: 4px;
  margin: 3px;
  text-align: center;
}
.img-thumbnail>.badge{
  position: absolute;
  top: -5px;
  right: -7px;
  font-size: 9px;
  font-weight: 400;
  cursor: pointer;
}
.navbar-nav>.notifications-menu>.dropdown-menu>li .menu {
  max-height: 350px;
}
.bg-aqua-lite {
  background-color: #7FFFD4;
}
.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a {
  white-space: normal;
}
.spacer {
  margin-top: 20px;
}
#product_list_body {
    max-height: 485px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.div-overlay {
    cursor: not-allowed;
    background: #e9e9e9; 
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
}

.d-inline-table {
  display: inline-table;
}

.label-round{
  font-size: 8px;
  border-radius: 44%;
}
.table>tbody+tbody{
  border-top: 0;
}
.table-pl-12 td, .table-pl-12 th{
  padding-left: 12px !important;
}
table tbody td.pl-20-td{
  padding-left: 20px !important;
}
table.table-border-center > tbody > tr > td:first-child, 
table.table-border-center > thead > tr > th:first-child,
table.table-border-center > tfoot > tr > td:first-child
{
  border-right: 1px solid darkgray;
}
table.table-border-center-col > tbody > tr > td:nth-child(2), 
table.table-border-center-col > thead > tr > th:nth-child(2),
table.table-border-center-col > tfoot > tr > td:nth-child(2)
{
  border-right: 1px solid darkgray;
  border-left: 1px solid darkgray;
}
.bg-transparent{
  background-color: transparent !important;
}
.mb-0{
  margin-bottom: 0;
}

.nav-tabs>li>a{
  font-size: 18px;
  font-weight: 600;
}
.table-transparent, .table-transparent th {
    background-color: transparent !important;
    color: #000 !important;
}
.td-full-width {
  white-space:nowrap;
}
.font-17{
    font-size: 17px !important;
}
table.dataTable tbody>tr.selected{
    background-color: #B0BED9;
}
tr.footer-total > td {
    vertical-align: middle !important;
}
.error{
	color: red !important;
}
/*  pos tab */
div.pos-tab-container{
  z-index: 10;
  background-color: #ffffff;
  padding: 0 !important;
  border-radius: 4px;
  -moz-border-radius: 4px;
  border:1px solid #ddd;
    margin-bottom: 28px;
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
  -moz-box-shadow: 0 6px 12px rgba(0,0,0,.175);
  background-clip: padding-box;
}
div.pos-tab-menu{
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 0;
}
div.pos-tab-menu div.list-group{
  margin-bottom: 0;
}
div.pos-tab-menu div.list-group>a{
  margin-bottom: 0;
}
div.pos-tab-menu div.list-group>a .glyphicon,
div.pos-tab-menu div.list-group>a .fa {
  color: #5A55A3;
}
div.pos-tab-menu div.list-group>a:first-child{
  border-top-right-radius: 0;
  -moz-border-top-right-radius: 0;
}
div.pos-tab-menu div.list-group>a:last-child{
  border-bottom-right-radius: 0;
  -moz-border-bottom-right-radius: 0;
}


/* div.pos-tab-menu div.list-group>a.active,
div.pos-tab-menu div.list-group>a.active .glyphicon,
div.pos-tab-menu div.list-group>a.active .fa{
  background-color: #3c8dbc;
  color: #ffffff;
    border-color: #3c8dbc;
} */

div.pos-tab-menu div.list-group > a.active,
div.pos-tab-menu div.list-group > a.active .glyphicon,
div.pos-tab-menu div.list-group > a.active .fa {
  background: linear-gradient(to right, #6366f1, #3b82f6);
  color: #ffffff;
  border-color: transparent;
}


div.pos-tab-menu div.list-group>a.active:after{
  /* content: ''; */
  position: absolute;
  left: 100%;
  top: 50%;
  margin-top: -13px;
  border-left: 0;
  border-bottom: 13px solid transparent;
  border-top: 13px solid transparent;
  border-left: 10px solid #3c8dbc;
}

div.pos-tab-content{
  background-color: #ffffff;
  /* border: 1px solid #eeeeee; */
  padding-left: 20px;
  padding-top: 20px;
}

div.pos-tab div.pos-tab-content:not(.active){
  display: none;
}

.add-product-price-table th{
	background-color: #5cb85c;
    color: white;
}
.blue-header th {
	background-color: #3c8dbc;
    color: white;
}
.table-th-green th{
	background-color: #5cb85c;
    color: white;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}
.active-cell {
    border: 2px dotted #3c8dbc !important;
}
.cursor-pointer{
    cursor: pointer !important;
}
.pos_product_div{
    /* min-height: 47vh;
    max-height: 57vh; */
    overflow-y: auto;
    /* margin-bottom: 20px; */
    height: 40vh !important;
}
.bg-lightgray{
    background-color: #F0EDED !important;
}
.balance_due_box >li{
    padding: 11px 5px 0px 5px;
}
.option-div {
    padding: 15px;
    background-color: #d2d6de;
    color: #333;
    border:1px solid #d2d6de;
    cursor: pointer;
}
.option-div input[type="radio"]{
    display: none;
}
.option-div-group .icon {
    color: #d33724;
    display: none;
}
.option-div-group .option-div:hover{
    border:1px solid gray;
}
.option-div-group .active .icon{
    display: block;
}
.margin-left-10 {
    margin-left: 10px;
}
.margin-bottom-12{
    margin-bottom: 12px;
}
.bg-info{
    background-color: #00c0ef !important;
}
.bg-info > a{
    color: #FFFFFF !important;
}
.bg-info>a:hover{
    background-color: #337ab7 !important;
}
ul.dt-button-collection{
    background-color: #00c0ef;
}
td.details-control {
    background: url('/img/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.details td.details-control {
    background: url('/img/details_close.png') no-repeat center center;
}
.icheckbox_square-blue, .iradio_square-blue{
    margin-right: 10px;
}
.header-right-div{
    right: 10px;
    float: right;
    position: absolute;
    top: 15px;
}
.header-left-div{
    margin-top: 15px;
    display: inline-flex;
}
.m-8 {
    margin: 8px;
}
.mt-10{
    margin-top: 10px;
}
.mt-15{
    margin-top: 15px;
}
.m-5 {
    margin: 5px;
}
.icon-link{
  text-align:center;
  display:block;
  margin-bottom: 18px;
}
.icon-link > a {
    display:grid;
}
.icon-link > .badge{
    position: absolute;
    top: 20px;
    right: 67px;
}
.link-des {
    display: inline-block;
    text-align: left;
}

.navbar-nav>.user-menu>.dropdown-menu>li.user-header>img {
    border: none;
    height: auto;
    width: 100%;
    max-height: 120px;
}
.bg-light-green{
    background-color: #98D973 !important;
    color: #fff !important
}
.hover-q {
    font-size: 16px;
    margin-left: 3px;
    cursor: help;
}
.input-group-addon .hover-q{
    margin-left: 0px;
}
.text-bold{
    font-weight: bold;
}
.tour .popover-content{
    padding: 18px 14px;
}
.table-slim>tbody>tr>td, .table-slim>tbody>tr>th, .table-slim>tfoot>tr>td, .table-slim>tfoot>tr>th, .table-slim>thead>tr>td, .table-slim>thead>tr>th{
    padding: 1px;
}

/* Custom scroll bar start*/

/* width */
/* ::-webkit-scrollbar {
    width: 7px;
} */

/* Track */
/* ::-webkit-scrollbar-track {
    background: #f1f1f1; 
} */
 
/* Handle */
/* ::-webkit-scrollbar-thumb {
    background: #888; 
} */

/* Handle on hover */
/* ::-webkit-scrollbar-thumb:hover {
    background: #555; 
} */

/* Custom scroll bar end*/

.product_cell{
    height: 100px;
    padding: 1%;
}
.product_cell_div{
    height: 100% !important;
    width: 100% !important;
    text-align: center;
    vertical-align: middle;
    padding-top: 5px;
    cursor: pointer;
    overflow: hidden;
}

/*CSS to print receipts*/
.print_section{
    display: none;
}
@media print{
    .print_section{
        display: inline !important;
    }
    .modal-xl{
        width: 100% !important;
    }
    ::-webkit-scrollbar{
        display: none !important;
    }
    #toast-container {
      display: none;
    }
}

.input-number .btn-default{
    background-color: white;
    padding: 6px 9px;
}

.width-50{
    width: 50% !important;
}
.width-40{
    width: 40% !important;
}
.width-60{
    width: 60% !important;
}
.width-100{
    width: 100% !important;
}

.font-30{
    font-size: 30px !important;
}

.font-23{
    font-size: 23px !important;
}
.padding-5{
    padding: 5px !important;
}
.padding-10{
    padding: 10px !important;
}
.padding-side-15{
    /*padding-left: 15px !important;
    padding-right: 15px !important;*/
}
.text-muted-imp{
    color: #A3A3A3 !important;
}

.table-no-top-cell-border td{
    border-top: 0px !important;
    border-bottom: 0px !important;
}
.table-no-top-cell-border th{
    border-top: 0px !important;
    border-bottom: 0px !important;
}

.table-no-side-cell-border td{
    border-left: 0px !important;
    border-right: 0px !important;
}
.table-no-side-cell-border th{
    border-left: 0px !important;
    border-right: 0px !important;
}

.color-555 {
    color: #555555 !important;
}
.color-555 *{
    color: #555555 !important;
}
.color-white {
    color: white !important;
}
.col-no-padding{
    padding-left: 0px;
    padding-right: 0px;
}
.col-2px-padding{
    padding: 2px;
}

.pos-express-btn{
    font-size: 23px !important;
    overflow: hidden !important;
    height: 73px !important;
    white-space: normal;
}
.word-wrap{
    word-wrap: break-word !important;
}

.modal-xl{
    width: 90%; /* respsonsive width */
    margin-left: auto !important;
    margin-right: auto !important;
}
table.ajax_view tbody tr{
    cursor: pointer;
}
.bg-white{
    background-color: #fff;
}

.product-thumbnail-small{
    height: 50px;
    width: 50px;
}

table.table-text-center td, table.table-text-center th{
    vertical-align: middle !important;
}
.product_list{
    padding-left: 3px;
    padding-right: 3px;
}
.product_box{
  width: 100%;
  /*padding-top: 5px;
  padding-bottom: 2px;*/
  margin-bottom: 10px;
  text-align: center;
  cursor: pointer;
  /*border: 1px solid darkgray;*/
  font-weight: 600;
  background-color: #fff;
  border-radius: 12px;
  padding: 8px;
}
.product_box .image-container{
  height: 50px;
  margin: auto;
  width: 100%;
  margin-bottom: 4px;
  
}
.product_box .image-container img{
  height: 100%;
  width: 100%;
  border-radius: 12px;
}
.eq-height-row{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:flex;
    flex-wrap: wrap;
}
.eq-height-col{
    display: flex;
}

.product_box .text_div{
    margin-top: 3px;
}
.product_box .text{
    width: 100%;
    overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 1; /* number of lines to show */
   line-height: 14px;        /* fallback */
   max-height: 14px;       /* fallback */
}
.small-box.bg-gray:hover{
    color: #000;
    text-decoration: none;
}

#calendar table tbody td {
    cursor: pointer;
}

.min-height-90hv{
    min-height: 90vh !important;
}

/* Grow Shadow */
.hvr-grow-shadow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: box-shadow, transform;
  transition-property: box-shadow, transform;
}
.hvr-grow-shadow:hover, .hvr-grow-shadow:focus, .hvr-grow-shadow:active {
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.text-link{
    cursor: pointer;
}

.text-link:hover{
    text-decoration: underline;
}

.v-center{
    vertical-align: middle !important;
}

.bg-woocommerce{
  background-color: #9E458B !important;
}

/*.box, .info-box, .nav-tabs-custom, .external-event{
  box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.2) !important;
}*/

.user_avatar {
  border-radius: 50%;
  width: 25px;
  height: 25px;
  margin: 1px;
}

.fs-10 {
  font-size: 10px;
}

.timeline-lode-more-btn {
  margin-left: 50px;
  margin-top: 25px;
  padding-right: 12px;
  padding-left: 12px;
}

.pa-0 {
  padding: 0px !important;
}

.mt-56{
  margin-top: 56px !important;
}

.m-2{
  margin: 2px !important;
}

.treeview-menu i{
  display: none !important;
}
.treeview-menu a{
  padding-left: 25px !important;
  font-size: 95% !important;
}
.treeview-menu a::before{
  content: "\2192 ";
}

@media only screen and (max-width: 600px) {
  .pos-form-actions{
    position: absolute;
  }
}
.mr-8 {
  margin-right: 8px !important;
}

@media (max-width: 1024px) {
   .pos_form_totals{
        margin-bottom: 40px;
    }
}

.swal-modal .swal-text {
    text-align: center;
}

.pos-total {
    /* display: inline-block; */
    padding: 8px 10px;
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 5px;
}
.pos-total span.number{
    font-size: 26px;
    vertical-align: middle;
    font-weight: bolder;
}

.pos-total span.text{
    font-weight: bolder;
    display: inline-block;
    width: 60px;
    vertical-align: middle;
}
.mb-40 {
    margin-bottom: 40px !important;
}

@media print {
    a:after { content:''; }
    a[href]:after { content: none !important; }
}

.fa-times{
    font-size: 30px
}
.mb-5{
  margin-bottom: 5px !important;
}
.tree-actions {
  margin-left: 20px;
  display: none;
}
.jstree-hovered .tree-actions {
  display: inherit;
}

/* Force strong black text in all browser printouts and receipt previews. */
@media print {
  html,
  body,
  body *,
  .print_section,
  .print_section *,
  #receipt_section,
  #receipt_section *,
  .invoice-info,
  .invoice-info *,
  .ledger-statement-wrapper,
  .ledger-statement-wrapper *,
  .ledger-statement-wrap,
  .ledger-statement-wrap *,
  .table,
  .table *,
  .color-555,
  .color-555 *,
  .text-muted,
  .text-muted *,
  .text-muted-imp,
  .text-muted-imp *,
  .text-gray,
  .text-gray *,
  .tw-text-gray-400,
  .tw-text-gray-500,
  .tw-text-gray-600 {
    color: #000000 !important;
    text-shadow: none !important;
  }
}

.dc-table-action-menu {
  z-index: 13000 !important;
  overflow: visible !important;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.dc-table-action-menu > li > a,
.dc-table-action-menu > a {
  color: #1f2937;
  white-space: nowrap;
}

.dc-table-action-menu > li > a:hover,
.dc-table-action-menu > li > a:focus,
.dc-table-action-menu > a:hover,
.dc-table-action-menu > a:focus {
  background: #f3f4f6;
  color: #111827;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) {
  background: #f3f4f6 !important;
  color: #111827;
}

.dc-theme-light.dark-command-app:not(.dark-command-pos) main,
.dc-theme-light.dark-command-app:not(.dark-command-pos) #scrollable-container {
  background: #f3f4f6 !important;
  color: #111827;
}

body.dark-command-app:not(.dark-command-pos).dc-command-open {
  overflow: hidden;
}

.dark-command-app:not(.dark-command-pos) .dc-command-trigger {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1035;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(5, 150, 105, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #047857, #059669);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.2);
  font-weight: 800;
}

.dark-command-app:not(.dark-command-pos) .dc-command-trigger:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.dark-command-app:not(.dark-command-pos) .dc-command-trigger kbd {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 800;
}

.dark-command-app:not(.dark-command-pos) .dc-command-center {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 18px 24px;
}

.dark-command-app:not(.dark-command-pos) .dc-command-center.is-open {
  display: flex;
}

.dark-command-app:not(.dark-command-pos) .dc-command-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(6px);
}

.dark-command-app:not(.dark-command-pos) .dc-command-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(720px, 84vh);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.22);
}

.dark-command-app:not(.dark-command-pos) .dc-command-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.dark-command-app:not(.dark-command-pos) .dc-command-head p {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

.dark-command-app:not(.dark-command-pos) .dc-command-head span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.dark-command-app:not(.dark-command-pos) .dc-command-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
  background: #f8fafc;
  color: #334155;
}

.dark-command-app:not(.dark-command-pos) .dc-command-close:hover {
  background: #fee2e2;
  color: #991b1b;
}

.dark-command-app:not(.dark-command-pos) .dc-command-search {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 16px 20px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: #f8fafc;
}

.dark-command-app:not(.dark-command-pos) .dc-command-search > i {
  color: #047857;
  text-align: center;
}

.dark-command-app:not(.dark-command-pos) .dc-command-search input {
  width: 100%;
  height: 40px;
  border: 0 !important;
  background: transparent !important;
  color: #0f172a !important;
  font-size: 15px;
  outline: 0 !important;
  box-shadow: none !important;
}

.dark-command-app:not(.dark-command-pos) .dc-command-search input::placeholder {
  color: #64748b;
}

.dark-command-app:not(.dark-command-pos) .dc-command-search kbd,
.dark-command-app:not(.dark-command-pos) .dc-command-foot kbd {
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  padding: 3px 7px;
  font-size: 11px;
}

.dark-command-app:not(.dark-command-pos) .dc-command-results {
  display: grid;
  gap: 6px;
  max-height: min(440px, 48vh);
  overflow-y: auto;
  padding: 0 14px 14px;
}

.dark-command-app:not(.dark-command-pos) .dc-command-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #ffffff;
  color: #334155;
  text-align: left;
  padding: 8px 10px;
}

.dark-command-app:not(.dark-command-pos) .dc-command-item.is-active,
.dark-command-app:not(.dark-command-pos) .dc-command-item:hover {
  border-color: rgba(5, 150, 105, 0.32);
  background: #ecfdf5;
  color: #0f172a;
}

.dark-command-app:not(.dark-command-pos) .dc-command-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #d1fae5;
  color: #047857;
}

.dark-command-app:not(.dark-command-pos) .dc-command-copy {
  min-width: 0;
}

.dark-command-app:not(.dark-command-pos) .dc-command-copy strong,
.dark-command-app:not(.dark-command-pos) .dc-command-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dark-command-app:not(.dark-command-pos) .dc-command-copy strong {
  color: inherit;
  font-size: 14px;
  font-weight: 900;
}

.dark-command-app:not(.dark-command-pos) .dc-command-copy small {
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
}

.dark-command-app:not(.dark-command-pos) .dc-command-go {
  color: #047857;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.08s ease, transform 0.08s ease;
}

.dark-command-app:not(.dark-command-pos) .dc-command-item.is-active .dc-command-go,
.dark-command-app:not(.dark-command-pos) .dc-command-item:hover .dc-command-go {
  opacity: 1;
  transform: translateX(0);
}

.dark-command-app:not(.dark-command-pos) .dc-command-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 44px 20px;
  color: #64748b;
  text-align: center;
}

.dark-command-app:not(.dark-command-pos) .dc-command-empty i {
  color: #047857;
  font-size: 24px;
}

.dark-command-app:not(.dark-command-pos) .dc-command-empty strong {
  color: #0f172a;
}

.dark-command-app:not(.dark-command-pos) .dc-command-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #64748b;
  font-size: 12px;
}

.dark-command-app:not(.dark-command-pos) .dc-command-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 640px) {
  .dark-command-app:not(.dark-command-pos) .dc-command-trigger {
    right: 14px;
    bottom: 14px;
  }

  .dark-command-app:not(.dark-command-pos) .dc-command-trigger span,
  .dark-command-app:not(.dark-command-pos) .dc-command-trigger kbd {
    display: none;
  }

  .dark-command-app:not(.dark-command-pos) .dc-command-center {
    padding-top: 6vh;
  }
}

/* Dashboard refresh - light mode baseline */
body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero {
  position: relative;
  padding: 18px 20px 22px !important;
  background: linear-gradient(180deg, #f8fbff 0%, #edf3f7 100%) !important;
  border-bottom: 1px solid #dbe6ee;
  color: #111827;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero > .tw-px-5,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero > .tw-relative .tw-px-5,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-main {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero > .tw-px-5 > .sm\:tw-flex {
  align-items: flex-start !important;
  gap: 16px !important;
  min-height: 86px;
  padding: 18px !important;
  background: #ffffff;
  border: 1px solid #dbe6ee;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero h1 {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 32px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

.dc-dashboard-subtitle {
  margin: 8px 0 0;
  max-width: 620px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero .select2-container--default .select2-selection--single,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero #dashboard_date_filter {
  min-height: 40px;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero > .tw-px-5 > .tw-grid,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero > .tw-relative .tw-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 14px !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero > .tw-relative > .tw-absolute {
  display: none !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero .tw-grid > .tw-transition-all {
  min-height: 104px;
  background: #ffffff !important;
  border: 1px solid #dbe6ee !important;
  border-left: 4px solid #0ea5e9 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
  transform: none !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero .tw-grid > .tw-transition-all:nth-child(2n) {
  border-left-color: #16a34a !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero .tw-grid > .tw-transition-all:nth-child(3n) {
  border-left-color: #f59e0b !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero .tw-grid > .tw-transition-all:nth-child(4n) {
  border-left-color: #ef4444 !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero .tw-grid > .tw-transition-all:hover {
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1) !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero .tw-grid > .tw-transition-all > div,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero .tw-grid > .tw-transition-all > div > div {
  height: 100%;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero .tw-grid p:first-of-type {
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero .tw-grid .tw-font-mono,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero .tw-grid .total_expense {
  color: #0f172a !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-main {
  background: #f3f6f9 !important;
  padding-top: 18px !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-main > .tw-grid {
  gap: 16px !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-main > .tw-grid > .tw-transition-all {
  background: #ffffff !important;
  border: 1px solid #dbe6ee !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-main h3 {
  color: #0f172a !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-main .tw-border-2.tw-rounded-full {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  border-color: #dbe6ee !important;
  background: #f8fafc !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-main .tw-h-100 {
  min-height: 380px;
  border-color: #dbe6ee !important;
  border-radius: 8px !important;
  background: #fbfdff !important;
}

.dc-dashboard-pulse {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(360px, 1.35fr);
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #dbe6ee;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.dc-pulse-score-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dc-pulse-score-ring {
  --dc-pulse-color: #059669;
  display: grid;
  place-items: center;
  position: relative;
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--dc-pulse-color) calc(var(--dc-pulse-score) * 1%), #e5e7eb 0);
}

.dc-pulse-score-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.dc-pulse-score {
  position: relative;
  z-index: 1;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.dc-pulse-eyebrow {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dc-pulse-status {
  margin: 0;
  color: #0f172a;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
}

.dc-pulse-summary {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.dc-pulse-content {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.1fr);
  gap: 12px;
  min-width: 0;
}

.dc-pulse-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dc-pulse-metrics > div,
.dc-pulse-action-box {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.dc-pulse-metrics span,
.dc-pulse-action-box span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.dc-pulse-metrics strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.2;
}

.dc-pulse-action-box strong {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.35;
}

.dc-pulse-action-box p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.dc-dashboard-pulse.is-warn .dc-pulse-score-ring {
  --dc-pulse-color: #f59e0b;
}

.dc-dashboard-pulse.is-risk .dc-pulse-score-ring {
  --dc-pulse-color: #ef4444;
}

.dc-dashboard-pulse.is-good .dc-pulse-action-box {
  border-color: rgba(5, 150, 105, 0.28);
  background: #f0fdf4;
}

.dc-dashboard-pulse.is-warn .dc-pulse-action-box {
  border-color: rgba(245, 158, 11, 0.34);
  background: #fffbeb;
}

.dc-dashboard-pulse.is-risk .dc-pulse-action-box {
  border-color: rgba(239, 68, 68, 0.3);
  background: #fff1f2;
}

/* Light sidebar refresh */
body.dc-theme-light.dark-command-app:not(.dark-command-pos) .side-bar {
  background: #f8fafc !important;
  border-right: 1px solid #dbe6ee !important;
  box-shadow: 8px 0 24px rgba(15, 23, 42, 0.05);
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .side-bar > a {
  height: 72px !important;
  justify-content: flex-start !important;
  padding: 0 18px !important;
  background: #ffffff !important;
  border-right: 0 !important;
  border-bottom: 1px solid #dbe6ee !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) .side-bar-heading {
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  text-align: left !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar {
  padding: 14px 10px !important;
  border-right: 0 !important;
  background: transparent !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar a,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .drop_down {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px !important;
  color: #334155 !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar a:hover,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .drop_down:hover {
  background: #eef6f2 !important;
  border-color: #cfe5da !important;
  color: #064e3b !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .tw-bg-gray-200 {
  background: #e7f6ef !important;
  border-color: #a7d8bf !important;
  color: #065f46 !important;
  box-shadow: inset 3px 0 0 #059669;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar svg,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar i {
  color: #64748b !important;
  stroke: #64748b !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar a:hover svg,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar a:hover i,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active svg,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active i,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down svg,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down i {
  color: #059669 !important;
  stroke: #059669 !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .chiled {
  margin: 8px 0 12px !important;
  padding-left: 34px !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .chiled .tw-absolute {
  left: 16px !important;
  background: #dbe6ee !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .chiled a {
  min-height: 32px;
  padding: 5px 8px;
  border-radius: 7px !important;
  color: #475569 !important;
}

body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .chiled a:hover,
body.dc-theme-light.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-child-active {
  background: #ffffff !important;
  color: #047857 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

@media (max-width: 1199px) {
  body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero > .tw-px-5 > .tw-grid,
  body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero > .tw-relative .tw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dc-dashboard-pulse,
  .dc-pulse-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero {
    padding: 10px !important;
  }

  body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero h1 {
    font-size: 24px !important;
  }

  body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero > .tw-px-5 > .sm\:tw-flex {
    padding: 14px !important;
  }

  body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero > .tw-px-5 > .tw-grid,
  body.dc-theme-light.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero > .tw-relative .tw-grid,
  .dc-pulse-metrics {
    grid-template-columns: 1fr !important;
  }

  .dc-pulse-score-card {
    align-items: flex-start;
  }
}

/* ==========================================================================
   ANTIGRAVITY ULTIMATE MODERN REDESIGN SYSTEM & CURATED ACCENT THEMES
   ========================================================================== */

/* Global Dynamic Variable Defaults */
:root {
  --theme-bg-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  --theme-primary: #3b82f6;
  --theme-primary-hover: #2563eb;
  --theme-primary-soft: #eff6ff;
  --theme-accent: #0ea5e9;
  --theme-border-glow: rgba(59, 130, 246, 0.15);
  --card-hover-translate: -5px;
  --dc-card-bg: #ffffff;
  --dc-card-border: rgba(226, 232, 240, 0.8);
  --dc-card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.03), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --dc-card-shadow-hover: 0 20px 25px -5px rgba(59, 130, 246, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --dc-text-primary: #0f172a;
  --dc-text-secondary: #64748b;
  --dc-glass-blur: blur(12px);
}

/* Dynamic Smooth Transitions */
*, *::before, *::after {
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.2s ease;
}

/* CURATED PREMIUM PALETTES */

/* Preset 1: Default Corporate Blue */
body.dark-command-app.dc-palette-default:not(.dark-command-pos) {
  --theme-bg-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  --theme-primary: #3b82f6;
  --theme-primary-hover: #2563eb;
  --theme-primary-soft: #eff6ff;
  --theme-accent: #0ea5e9;
  --theme-border-glow: rgba(59, 130, 246, 0.15);
}

/* Preset 2: Sage Emerald (Organic Mint) */
body.dark-command-app.dc-palette-sage:not(.dark-command-pos) {
  --theme-bg-gradient: linear-gradient(135deg, #064e3b 0%, #047857 60%, #10b981 100%);
  --theme-primary: #10b981;
  --theme-primary-hover: #059669;
  --theme-primary-soft: #ecfdf5;
  --theme-accent: #34d399;
  --theme-border-glow: rgba(16, 185, 129, 0.18);
}

/* Preset 3: Sunset Crimson (Warm Crimson Orange) */
body.dark-command-app.dc-palette-sunset:not(.dark-command-pos) {
  --theme-bg-gradient: linear-gradient(135deg, #7c2d12 0%, #c2410c 50%, #ea580c 100%);
  --theme-primary: #ea580c;
  --theme-primary-hover: #d97706;
  --theme-primary-soft: #fff7ed;
  --theme-accent: #f59e0b;
  --theme-border-glow: rgba(234, 88, 12, 0.22);
}

/* Preset 4: Polar Glacier (Frost Cyan/Turquoise) */
body.dark-command-app.dc-palette-polar:not(.dark-command-pos) {
  --theme-bg-gradient: linear-gradient(135deg, #0f766e 0%, #0891b2 50%, #06b6d4 100%);
  --theme-primary: #06b6d4;
  --theme-primary-hover: #0891b2;
  --theme-primary-soft: #ecfeff;
  --theme-accent: #22d3ee;
  --theme-border-glow: rgba(6, 182, 212, 0.18);
}

/* Preset 5: Amethyst Violet (Creative Velvet Purple) */
body.dark-command-app.dc-palette-purple:not(.dark-command-pos) {
  --theme-bg-gradient: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #8b5cf6 100%);
  --theme-primary: #8b5cf6;
  --theme-primary-hover: #7c3aed;
  --theme-primary-soft: #f5f3ff;
  --theme-accent: #a78bfa;
  --theme-border-glow: rgba(139, 92, 246, 0.18);
}

/* Preset 6: Rose Gold Lux (Premium Rose Red) */
body.dark-command-app.dc-palette-rose:not(.dark-command-pos) {
  --theme-bg-gradient: linear-gradient(135deg, #881337 0%, #be123c 50%, #f43f5e 100%);
  --theme-primary: #f43f5e;
  --theme-primary-hover: #e11d48;
  --theme-primary-soft: #fff1f2;
  --theme-accent: #fb7185;
  --theme-border-glow: rgba(244, 63, 94, 0.18);
}

/* Preset 7: Minimalist Slate (Sleek Charcoal Gray) */
body.dark-command-app.dc-palette-charcoal:not(.dark-command-pos) {
  --theme-bg-gradient: linear-gradient(135deg, #1e293b 0%, #334155 50%, #64748b 100%);
  --theme-primary: #64748b;
  --theme-primary-hover: #475569;
  --theme-primary-soft: #f8fafc;
  --theme-accent: #94a3b8;
  --theme-border-glow: rgba(100, 116, 139, 0.15);
}

/* Preset 8: Deep Forest Teal (High-End Corporate Teal) */
body.dark-command-app.dc-palette-teal:not(.dark-command-pos) {
  --theme-bg-gradient: linear-gradient(135deg, #115e59 0%, #0d9488 50%, #14b8a6 100%);
  --theme-primary: #0d9488;
  --theme-primary-hover: #0f766e;
  --theme-primary-soft: #f0fdfa;
  --theme-accent: #2dd4bf;
  --theme-border-glow: rgba(13, 148, 136, 0.18);
}

/* Preset 9: Radiant Amber (Rich Golden Amber) */
body.dark-command-app.dc-palette-amber:not(.dark-command-pos) {
  --theme-bg-gradient: linear-gradient(135deg, #78350f 0%, #b45309 50%, #f59e0b 100%);
  --theme-primary: #d97706;
  --theme-primary-hover: #b45309;
  --theme-primary-soft: #fffbeb;
  --theme-accent: #f59e0b;
  --theme-border-glow: rgba(217, 119, 6, 0.2);
}

/* Preset 10: Metallic Steel (Technical Steel Blue) */
body.dark-command-app.dc-palette-steel:not(.dark-command-pos) {
  --theme-bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #475569 100%);
  --theme-primary: #475569;
  --theme-primary-hover: #334155;
  --theme-primary-soft: #f1f5f9;
  --theme-accent: #64748b;
  --theme-border-glow: rgba(71, 85, 105, 0.18);
}

/* GLOBAL THEME MAPPING OVERRIDES */

/* Main App Header Accent Override */
.dc-main-header {
  background: var(--theme-bg-gradient) !important;
  border-bottom: 1px solid var(--theme-border-glow) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  position: relative;
  z-index: 1030;
  overflow: visible !important;
}

/* Keep header dropdowns (profile, calendar, etc.) above page content */
.dc-main-header > div,
.dc-main-header .tw-flex,
.dc-main-header details,
.dc-main-header .tw-dw-dropdown {
  overflow: visible !important;
}

.dc-main-header details {
  position: relative;
  z-index: 1040;
}

.dc-main-header details[open] {
  z-index: 1045;
}

.dc-main-header details > ul,
.dc-main-header .tw-dw-dropdown-content,
.dc-main-header .dropdown-menu {
  z-index: 1050 !important;
  position: absolute;
}

/* Do not trap modals/dropdowns in a low stacking context */
.dark-command-app:not(.dark-command-pos) main > #scrollable-container {
  position: relative;
  z-index: auto;
}

/* Business theme color only when Corporate (default) palette is active */
body.dark-command-app.skin-primary.dc-palette-default:not(.dark-command-pos),
body.dark-command-app.skin-blue-light.dc-palette-default:not(.dark-command-pos) {
  --theme-primary: #3b82f6;
  --theme-primary-hover: #2563eb;
  --theme-accent: #60a5fa;
  --theme-bg-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  --theme-border-glow: rgba(59, 130, 246, 0.22);
}

body.dark-command-app.skin-sky.dc-palette-default:not(.dark-command-pos) {
  --theme-primary: #0284c7;
  --theme-primary-hover: #0369a1;
  --theme-accent: #38bdf8;
  --theme-bg-gradient: linear-gradient(135deg, #075985 0%, #0284c7 55%, #38bdf8 100%);
  --theme-border-glow: rgba(2, 132, 199, 0.24);
}

body.dark-command-app.skin-green.dc-palette-default:not(.dark-command-pos) {
  --theme-primary: #16a34a;
  --theme-primary-hover: #15803d;
  --theme-accent: #4ade80;
  --theme-bg-gradient: linear-gradient(135deg, #14532d 0%, #16a34a 55%, #4ade80 100%);
  --theme-border-glow: rgba(22, 163, 74, 0.22);
}

body.dark-command-app.skin-red.dc-palette-default:not(.dark-command-pos) {
  --theme-primary: #dc2626;
  --theme-primary-hover: #b91c1c;
  --theme-accent: #f87171;
  --theme-bg-gradient: linear-gradient(135deg, #7f1d1d 0%, #dc2626 55%, #f87171 100%);
  --theme-border-glow: rgba(220, 38, 38, 0.22);
}

body.dark-command-app.skin-yellow.dc-palette-default:not(.dark-command-pos) {
  --theme-primary: #ca8a04;
  --theme-primary-hover: #a16207;
  --theme-accent: #facc15;
  --theme-bg-gradient: linear-gradient(135deg, #713f12 0%, #ca8a04 55%, #facc15 100%);
  --theme-border-glow: rgba(202, 138, 4, 0.22);
}

body.dark-command-app.skin-orange.dc-palette-default:not(.dark-command-pos) {
  --theme-primary: #ea580c;
  --theme-primary-hover: #c2410c;
  --theme-accent: #fb923c;
  --theme-bg-gradient: linear-gradient(135deg, #7c2d12 0%, #ea580c 55%, #fb923c 100%);
  --theme-border-glow: rgba(234, 88, 12, 0.22);
}

body.dark-command-app.skin-purple.dc-palette-default:not(.dark-command-pos) {
  --theme-primary: #7c3aed;
  --theme-primary-hover: #6d28d9;
  --theme-accent: #a78bfa;
  --theme-bg-gradient: linear-gradient(135deg, #4c1d95 0%, #7c3aed 55%, #a78bfa 100%);
  --theme-border-glow: rgba(124, 58, 237, 0.22);
}

/* Header toolbar buttons follow active theme color */
.dc-main-header button,
.dc-main-header summary,
.dc-main-header .dropdown-toggle,
.dc-main-header details > summary,
.dc-main-header .notifications-menu > a {
  background: var(--theme-primary) !important;
  border: 1px solid color-mix(in srgb, var(--theme-primary-hover) 75%, #000000) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--theme-primary) 28%, transparent) !important;
}

.dc-main-header button:hover,
.dc-main-header summary:hover,
.dc-main-header .dropdown-toggle:hover,
.dc-main-header details > summary:hover,
.dc-main-header .notifications-menu > a:hover {
  background: var(--theme-primary-hover) !important;
  border-color: var(--theme-primary-hover) !important;
  color: #ffffff !important;
}

.dc-main-header button svg,
.dc-main-header summary svg,
.dc-main-header .dropdown-toggle svg,
.dc-main-header details > summary svg,
.dc-main-header .notifications-menu > a svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Welcome Dashboard Banner Redesign */
body.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero {
  background: var(--theme-bg-gradient) !important;
  border-radius: 16px !important;
  margin: 20px 24px 10px !important;
  padding: 24px 28px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid var(--theme-border-glow) !important;
  position: relative;
  overflow: hidden;
}

body.dark-command-app:not(.dark-command-pos) .dc-dashboard-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

body.dark-command-app:not(.dark-command-pos) .dc-dashboard-subtitle {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px !important;
  margin-top: 6px !important;
  font-weight: 500;
}

/* Sidebar Custom Accent Overrides */
body.dark-command-app:not(.dark-command-pos) .side-bar {
  border-right: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 8px 0 30px rgba(15, 23, 42, 0.03) !important;
}

body.dc-theme-dark.dark-command-app:not(.dark-command-pos) .side-bar {
  background: #0b0f19 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}

body.dark-command-app:not(.dark-command-pos) .side-bar > a {
  background: transparent !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
}

body.dc-theme-dark.dark-command-app:not(.dark-command-pos) .side-bar > a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

body.dark-command-app:not(.dark-command-pos) #side-bar a,
body.dark-command-app:not(.dark-command-pos) #side-bar .drop_down {
  border-radius: 12px !important;
  padding: 10px 14px !important;
  margin-bottom: 4px;
}

body.dark-command-app:not(.dark-command-pos) #side-bar a:hover,
body.dark-command-app:not(.dark-command-pos) #side-bar .drop_down:hover {
  background: var(--theme-primary-soft) !important;
  color: var(--theme-primary-hover) !important;
  transform: translateX(4px);
}

body.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  background: var(--theme-primary-soft) !important;
  border-color: var(--theme-border-glow) !important;
  color: var(--theme-primary-hover) !important;
  box-shadow: inset 4px 0 0 var(--theme-primary) !important;
  font-weight: 700 !important;
}

body.dark-command-app:not(.dark-command-pos) #side-bar a:hover svg,
body.dark-command-app:not(.dark-command-pos) #side-bar a:hover i,
body.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active svg,
body.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active i,
body.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down svg,
body.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down i {
  color: var(--theme-primary) !important;
  stroke: var(--theme-primary) !important;
}

/* Online Indicator Pulse animation */
.tw-bg-green-400 {
  background-color: #10b981 !important;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: dc-online-pulse 1.8s infinite;
}

@keyframes dc-online-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* PREMIUM METRICS CARDS REDESIGN */

body.dark-command-app:not(.dark-command-pos) .tw-grid > .tw-transition-all {
  border: 1px solid var(--dc-card-border) !important;
  border-radius: 16px !important;
  background: var(--dc-card-bg) !important;
  box-shadow: var(--dc-card-shadow) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

body.dark-command-app:not(.dark-command-pos) .tw-grid > .tw-transition-all:hover {
  transform: translateY(var(--card-hover-translate)) !important;
  box-shadow: var(--dc-card-shadow-hover) !important;
  border-color: var(--theme-primary) !important;
}

/* Dynamic Left accent border colors for metrics */
body.dark-command-app:not(.dark-command-pos) .tw-grid > .tw-transition-all:nth-child(1) { border-left: 5px solid #0ea5e9 !important; }
body.dark-command-app:not(.dark-command-pos) .tw-grid > .tw-transition-all:nth-child(2) { border-left: 5px solid #10b981 !important; }
body.dark-command-app:not(.dark-command-pos) .tw-grid > .tw-transition-all:nth-child(3) { border-left: 5px solid #f59e0b !important; }
body.dark-command-app:not(.dark-command-pos) .tw-grid > .tw-transition-all:nth-child(4) { border-left: 5px solid #ef4444 !important; }
body.dark-command-app:not(.dark-command-pos) .tw-grid > .tw-transition-all:nth-child(5) { border-left: 5px solid #6366f1 !important; }
body.dark-command-app:not(.dark-command-pos) .tw-grid > .tw-transition-all:nth-child(6) { border-left: 5px solid #ec4899 !important; }
body.dark-command-app:not(.dark-command-pos) .tw-grid > .tw-transition-all:nth-child(7) { border-left: 5px solid #d97706 !important; }
body.dark-command-app:not(.dark-command-pos) .tw-grid > .tw-transition-all:nth-child(8) { border-left: 5px solid #ef4444 !important; }

/* Text Color mapping inside cards */
body.dark-command-app:not(.dark-command-pos) .tw-grid p {
  color: var(--dc-text-secondary) !important;
}
body.dark-command-app:not(.dark-command-pos) .tw-grid .tw-font-mono,
body.dark-command-app:not(.dark-command-pos) .tw-grid .tw-text-gray-900,
body.dark-command-app:not(.dark-command-pos) .tw-grid .tw-text-xl {
  color: var(--dc-text-primary) !important;
  font-family: 'Outfit', 'Inter', 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
}

/* Glassmorphism for Dark Mode */
body.dc-theme-dark.dark-command-app:not(.dark-command-pos) .tw-grid > .tw-transition-all {
  background: rgba(30, 41, 59, 0.7) !important;
  backdrop-filter: var(--dc-glass-blur) !important;
  -webkit-backdrop-filter: var(--dc-glass-blur) !important;
}

/* EXECUTIVE PULSE REDESIGN & OVERLAPPING FIX */

.dc-dashboard-pulse {
  grid-column: 1 / -1 !important; /* Forces full width to completely fix overlapping */
  display: grid !important;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.4fr) !important;
  gap: 20px !important;
  margin-top: 18px !important;
  padding: 20px !important;
  background: var(--dc-card-bg) !important;
  border: 1px solid var(--dc-card-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--dc-card-shadow) !important;
}

body.dc-theme-dark .dc-dashboard-pulse {
  background: rgba(30, 41, 59, 0.7) !important;
  backdrop-filter: var(--dc-glass-blur) !important;
  -webkit-backdrop-filter: var(--dc-glass-blur) !important;
}

/* Score Ring and Labels tweaks */
.dc-pulse-score-ring {
  background: conic-gradient(var(--dc-pulse-color) calc(var(--dc-pulse-score) * 1%), rgba(226, 232, 240, 0.6) 0) !important;
  width: 90px !important;
  height: 90px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dc-pulse-score-ring::before {
  background: var(--dc-card-bg) !important;
}

.dc-pulse-score {
  color: var(--dc-text-primary) !important;
}

.dc-pulse-status {
  color: var(--dc-text-primary) !important;
  font-weight: 800 !important;
}

.dc-pulse-summary {
  color: var(--dc-text-secondary) !important;
}

/* Metrics and Recommended Action box stylings */
.dc-pulse-metrics > div {
  background: rgba(248, 250, 252, 0.8) !important;
  border: 1px solid var(--dc-card-border) !important;
  border-radius: 10px !important;
}

body.dc-theme-dark .dc-pulse-metrics > div {
  background: rgba(15, 23, 42, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.dc-pulse-metrics span,
.dc-pulse-action-box span {
  color: var(--dc-text-secondary) !important;
}

.dc-pulse-metrics strong {
  color: var(--dc-text-primary) !important;
  font-weight: 800 !important;
}

.dc-pulse-action-box {
  background: rgba(248, 250, 252, 0.8) !important;
  border: 1px solid var(--dc-card-border) !important;
  border-radius: 10px !important;
}

body.dc-theme-dark .dc-pulse-action-box {
  background: rgba(15, 23, 42, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.dc-pulse-action-box strong {
  color: var(--dc-text-primary) !important;
  font-weight: 700 !important;
}

.dc-pulse-action-box p {
  color: var(--dc-text-secondary) !important;
}

/* Visual Customizer overlay panel */
.dc-accent-panel {
  position: fixed;
  top: 75px;
  right: 20px;
  width: 320px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  padding: 18px;
  z-index: 9999;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dc-accent-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

body.dc-theme-dark .dc-accent-panel {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

.dc-accent-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--dc-text-primary);
  margin-bottom: 4px;
}

.dc-accent-desc {
  font-size: 11px;
  color: var(--dc-text-secondary);
  margin-bottom: 16px;
}

.dc-palette-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dc-palette-btn {
  border: 1px solid var(--dc-card-border);
  background: var(--dc-card-bg);
  color: var(--dc-text-primary);
  padding: 12px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.dc-palette-btn:hover {
  border-color: var(--theme-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.dc-palette-btn.active {
  background: var(--theme-primary-soft);
  border-color: var(--theme-primary);
  box-shadow: inset 0 0 0 1px var(--theme-primary);
}

.dc-palette-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dc-dot-default  { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.dc-dot-sage     { background: linear-gradient(135deg, #064e3b, #10b981); }
.dc-dot-sunset   { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.dc-dot-polar    { background: linear-gradient(135deg, #0f766e, #06b6d4); }
.dc-dot-purple   { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.dc-dot-rose     { background: linear-gradient(135deg, #881337, #f43f5e); }
.dc-dot-charcoal { background: linear-gradient(135deg, #1e293b, #64748b); }
.dc-dot-teal     { background: linear-gradient(135deg, #115e59, #14b8a6); }
.dc-dot-amber    { background: linear-gradient(135deg, #78350f, #f59e0b); }
.dc-dot-steel    { background: linear-gradient(135deg, #0f172a, #475569); }

/* ==========================================================================
   VISUAL POP REDESIGN: SIDEBAR, TABLES, SELECTORS & MIDNIGHT NEBULA LEGIBILITY
   ========================================================================== */



/* --------------------------------------------------------------------------
   2. SIDEBAR AESTHETIC VISUAL POP
   -------------------------------------------------------------------------- */

/* Sidebar Outer Container Redesign */
body.dark-command-app:not(.dark-command-pos) .side-bar {
  background: rgba(255, 255, 255, 0.95) !important;
  border-right: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 12px 0 40px rgba(15, 23, 42, 0.04) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.dc-theme-dark.dark-command-app:not(.dark-command-pos) .side-bar {
  background: rgba(11, 15, 25, 0.95) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Sidebar Brand Logo Redesign */
body.dark-command-app:not(.dark-command-pos) .side-bar > a {
  background: var(--theme-bg-gradient) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  height: 75px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 16px !important;
  position: relative;
  overflow: hidden;
}

body.dark-command-app:not(.dark-command-pos) .side-bar > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

body.dark-command-app:not(.dark-command-pos) .side-bar-heading {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-weight: 800 !important;
  font-size: 17px !important;
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar Links Redesign */
body.dark-command-app:not(.dark-command-pos) #side-bar a,
body.dark-command-app:not(.dark-command-pos) #side-bar .drop_down {
  border: 1px solid transparent !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  margin-bottom: 5px;
}

body.dark-command-app:not(.dark-command-pos) #side-bar a:hover,
body.dark-command-app:not(.dark-command-pos) #side-bar .drop_down:hover {
  background: var(--theme-primary-soft) !important;
  border-color: var(--theme-border-glow) !important;
  color: var(--theme-primary-hover) !important;
  transform: translateX(6px) scale(1.02) !important;
}

body.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  background: var(--theme-primary-soft) !important;
  border-color: var(--theme-primary) !important;
  color: var(--theme-primary-hover) !important;
  box-shadow: inset 4px 0 0 var(--theme-primary), 0 8px 20px var(--theme-border-glow) !important;
  font-weight: 700 !important;
  transform: translateX(4px) !important;
}

/* Submenu/Nested Links visual track line */
body.dark-command-app:not(.dark-command-pos) #side-bar .chiled {
  margin: 4px 0 10px !important;
  padding-left: 28px !important;
}

body.dark-command-app:not(.dark-command-pos) #side-bar .chiled .tw-absolute {
  left: 14px !important;
  width: 2px !important;
  background: linear-gradient(180deg, var(--theme-primary) 0%, rgba(226, 232, 240, 0.4) 100%) !important;
}

body.dark-command-app:not(.dark-command-pos) #side-bar .chiled a {
  padding: 8px 12px !important;
  font-size: 13px !important;
}

body.dark-command-app:not(.dark-command-pos) #side-bar .chiled a:hover,
body.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-child-active {
  background: #ffffff !important;
  color: var(--theme-primary-hover) !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05) !important;
  transform: translateX(4px) !important;
}

body.dc-theme-dark.dark-command-app:not(.dark-command-pos) #side-bar .chiled a:hover,
body.dc-theme-dark.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-child-active {
  background: rgba(30, 41, 59, 0.8) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* --------------------------------------------------------------------------
   3. PREMIUM FLOATING SAAS TABLES & ELEMENTS
   -------------------------------------------------------------------------- */

/* Beautiful Table Container Wrapper */
.dataTables_wrapper,
.tw-flow-root .tw-overflow-x-auto {
  border-radius: 16px !important;
  border: 1px solid var(--dc-card-border) !important;
  background: var(--dc-card-bg) !important;
  padding: 20px !important;
  box-shadow: var(--dc-card-shadow) !important;
  margin-top: 14px !important;
}

body.dc-theme-dark .dataTables_wrapper,
body.dc-theme-dark .tw-flow-root .tw-overflow-x-auto {
  background: rgba(30, 41, 59, 0.7) !important;
  backdrop-filter: var(--dc-glass-blur) !important;
  -webkit-backdrop-filter: var(--dc-glass-blur) !important;
}

/* Redesign tables to have isolated floating rows */
table.table {
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
  width: 100% !important;
  background: transparent !important;
}

table.table thead th,
table.table tr:first-child th,
.table thead th,
.table tr:first-child th {
  background: var(--theme-primary-soft) !important;
  color: var(--theme-primary-hover) !important;
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  letter-spacing: 0.5px !important;
  padding: 14px 16px !important;
  border: none !important;
  border-radius: 0 !important;
}

table.table thead th:first-child,
table.table tr:first-child th:first-child,
.table thead th:first-child,
.table tr:first-child th:first-child {
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}

table.table thead th:last-child,
table.table tr:first-child th:last-child,
.table thead th:last-child,
.table tr:first-child th:last-child {
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

body.dc-theme-dark table.table thead th,
body.dc-theme-dark table.table tr:first-child th,
body.dc-theme-dark .table thead th,
body.dc-theme-dark .table tr:first-child th {
  background: rgba(99, 102, 241, 0.1) !important;
  color: var(--theme-accent) !important;
}

/* Force dark, highly readable theme colors for all table headers in Light Theme, overriding bootstrap bg/text classes */
body.dc-theme-light table.table thead th,
body.dc-theme-light table.table tr:first-child th,
body.dc-theme-light .table thead th,
body.dc-theme-light .table tr:first-child th,
body.dc-theme-light table.table thead tr th,
body.dc-theme-light table.table tr:first-child th,
body.dc-theme-light table.table thead tr.bg-green th,
body.dc-theme-light table.table tr.bg-green th,
body.dc-theme-light table.table thead tr.bg-blue th,
body.dc-theme-light table.table tr.bg-blue th,
body.dc-theme-light table.table thead tr.bg-gray th,
body.dc-theme-light table.table tr.bg-gray th,
body.dc-theme-light table.table thead tr.bg-primary th,
body.dc-theme-light table.table tr.bg-primary th,
body.dc-theme-light table.table thead tr.bg-info th,
body.dc-theme-light table.table tr.bg-info th,
body.dc-theme-light table.table thead tr.bg-success th,
body.dc-theme-light table.table tr.bg-success th,
body.dc-theme-light table.table thead tr.bg-warning th,
body.dc-theme-light table.table tr.bg-warning th,
body.dc-theme-light table.table thead tr.bg-danger th,
body.dc-theme-light table.table tr.bg-danger th,
body.dc-theme-light table.table thead tr th.text-white,
body.dc-theme-light table.table tr th.text-white,
body.dc-theme-light .table thead tr th,
body.dc-theme-light .table tr:first-child th,
body.dc-theme-light .table thead tr.bg-green th,
body.dc-theme-light .table tr.bg-green th,
body.dc-theme-light .table thead tr.bg-blue th,
body.dc-theme-light .table tr.bg-blue th,
body.dc-theme-light .table thead tr.bg-gray th,
body.dc-theme-light .table tr.bg-gray th,
body.dc-theme-light .table thead tr.bg-primary th,
body.dc-theme-light .table tr.bg-primary th,
body.dc-theme-light .table thead tr.bg-info th,
body.dc-theme-light .table tr.bg-info th,
body.dc-theme-light .table thead tr.bg-success th,
body.dc-theme-light .table tr.bg-success th,
body.dc-theme-light .table thead tr.bg-warning th,
body.dc-theme-light .table tr.bg-warning th,
body.dc-theme-light .table thead tr.bg-danger th,
body.dc-theme-light .table tr.bg-danger th,
body.dc-theme-light .table thead tr th.text-white,
body.dc-theme-light .table tr th.text-white {
  color: var(--theme-primary-hover) !important;
}

table.table tbody tr {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: 10px !important;
}

body.dark-command-app:not(.dark-command-pos) table.table tbody tr:nth-child(even) {
  background: var(--dc-card-bg) !important;
}

body.dark-command-app:not(.dark-command-pos) table.table tbody tr:nth-child(odd) {
  background: var(--theme-primary-soft) !important;
}

table.table tbody tr:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 24px -5px var(--theme-border-glow), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
}

table.table tbody td {
  padding: 14px 18px !important;
  border-top: 1px solid var(--dc-card-border) !important;
  border-bottom: 1px solid var(--dc-card-border) !important;
  border-left: none !important;
  border-right: none !important;
  color: var(--dc-text-primary) !important;
  font-size: 13.5px !important;
}

body.dc-theme-dark table.table tbody td {
  border-top-color: rgba(255, 255, 255, 0.05) !important;
  border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

/* Table Row Rounded Corners */
table.table tbody td:first-child {
  border-left: 1px solid var(--dc-card-border) !important;
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}

body.dc-theme-dark table.table tbody td:first-child {
  border-left-color: rgba(255, 255, 255, 0.05) !important;
}

table.table tbody td:last-child {
  border-right: 1px solid var(--dc-card-border) !important;
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

body.dc-theme-dark table.table tbody td:last-child {
  border-right-color: rgba(255, 255, 255, 0.05) !important;
}

/* Pagination buttons redesign */
.dataTables_paginate .paginate_button {
  border-radius: 999px !important;
  padding: 6px 12px !important;
  margin: 0 3px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border: 1px solid var(--dc-card-border) !important;
  background: var(--dc-card-bg) !important;
  color: var(--dc-text-secondary) !important;
  transition: all 0.2s ease !important;
}

.dataTables_paginate .paginate_button:hover {
  background: var(--theme-primary-soft) !important;
  border-color: var(--theme-primary) !important;
  color: var(--theme-primary-hover) !important;
}

.dataTables_paginate .paginate_button.current {
  background: var(--theme-bg-gradient) !important;
  color: #ffffff !important;
  border-color: var(--theme-primary) !important;
}

/* Search input glassmorphism */
.dataTables_filter input {
  min-height: 36px;
  border: 1px solid var(--dc-card-border) !important;
  border-radius: 8px !important;
  padding: 4px 12px !important;
  background: var(--dc-card-bg) !important;
  color: var(--dc-text-primary) !important;
}

.dataTables_filter input:focus {
  border-color: var(--theme-primary) !important;
  box-shadow: 0 0 0 2px var(--theme-border-glow) !important;
  outline: 0 !important;
}

/* ==========================================================================
   CHARTS ENHANCEMENTS, DYNAMIC PALETTES & ADVANCED SIDEBAR ARCHITECTURES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HIGHCHARTS MODERN REDESIGN & BLENDING
   -------------------------------------------------------------------------- */

.highcharts-container {
  font-family: 'Outfit', 'Inter', 'Segoe UI', sans-serif !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

.highcharts-background {
  fill: transparent !important;
}

.highcharts-title {
  fill: var(--dc-text-primary) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 16px !important;
}

.highcharts-axis-labels text {
  fill: var(--dc-text-secondary) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.highcharts-axis-line,
.highcharts-tick {
  stroke: var(--dc-card-border) !important;
}

.highcharts-grid-line {
  stroke: rgba(226, 232, 240, 0.12) !important;
  stroke-dasharray: 4 !important; /* Elegant dashed gridlines */
}

body.dc-theme-light .highcharts-grid-line {
  stroke: rgba(15, 23, 42, 0.05) !important;
}

.highcharts-tooltip-box {
  fill: var(--dc-card-bg) !important;
  stroke: var(--theme-primary) !important;
  stroke-width: 2px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  rx: 8px !important;
}

.highcharts-tooltip text {
  fill: var(--dc-text-primary) !important;
  font-size: 12px !important;
}

.highcharts-legend-item text {
  fill: var(--dc-text-primary) !important;
  font-weight: 700 !important;
}

.highcharts-series path {
  stroke-width: 3px !important;
  filter: drop-shadow(0px 6px 8px var(--theme-border-glow)); /* Glowing lines! */
}

/* --------------------------------------------------------------------------
   2. DETAILED SIDEBAR COLOR PALETTES INTEGRATION
   -------------------------------------------------------------------------- */

/* Sage Emerald Sidebar Override */
body.dc-palette-sage.dark-command-app:not(.dark-command-pos) .side-bar {
  background: #f0fdf4 !important;
  border-right-color: rgba(16, 185, 129, 0.12) !important;
}
body.dc-palette-sage.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dc-palette-sage.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.2), inset 4px 0 0 var(--theme-primary) !important;
}

/* Sunset Glow Sidebar Override */
body.dc-palette-sunset.dark-command-app:not(.dark-command-pos) .side-bar {
  background: #fff7ed !important;
  border-right-color: rgba(234, 88, 12, 0.12) !important;
}
body.dc-palette-sunset.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dc-palette-sunset.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  box-shadow: 0 0 18px rgba(234, 88, 12, 0.22), inset 4px 0 0 var(--theme-primary) !important;
}

/* Polar Glacier Sidebar Override */
body.dc-palette-polar.dark-command-app:not(.dark-command-pos) .side-bar {
  background: #ecfeff !important;
  border-right-color: rgba(6, 182, 212, 0.12) !important;
}
body.dc-palette-polar.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dc-palette-polar.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.2), inset 4px 0 0 var(--theme-primary) !important;
}

/* Amethyst Violet Sidebar Override */
body.dc-palette-purple.dark-command-app:not(.dark-command-pos) .side-bar {
  background: #f5f3ff !important;
  border-right-color: rgba(139, 92, 246, 0.12) !important;
}
body.dc-palette-purple.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dc-palette-purple.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.2), inset 4px 0 0 var(--theme-primary) !important;
}

/* Rose Gold Lux Sidebar Override */
body.dc-palette-rose.dark-command-app:not(.dark-command-pos) .side-bar {
  background: #fff1f2 !important;
  border-right-color: rgba(244, 63, 94, 0.12) !important;
}
body.dc-palette-rose.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dc-palette-rose.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.2), inset 4px 0 0 var(--theme-primary) !important;
}

/* Minimalist Slate Sidebar Override */
body.dc-palette-charcoal.dark-command-app:not(.dark-command-pos) .side-bar {
  background: #f8fafc !important;
  border-right-color: rgba(100, 116, 139, 0.12) !important;
}
body.dc-palette-charcoal.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dc-palette-charcoal.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  box-shadow: 0 0 18px rgba(100, 116, 139, 0.15), inset 4px 0 0 var(--theme-primary) !important;
}

/* Deep Forest Teal Sidebar Override */
body.dc-palette-teal.dark-command-app:not(.dark-command-pos) .side-bar {
  background: #f0fdfa !important;
  border-right-color: rgba(13, 148, 136, 0.12) !important;
}
body.dc-palette-teal.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dc-palette-teal.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  box-shadow: 0 0 18px rgba(13, 148, 136, 0.2), inset 4px 0 0 var(--theme-primary) !important;
}

/* Radiant Amber Sidebar Override */
body.dc-palette-amber.dark-command-app:not(.dark-command-pos) .side-bar {
  background: #fffbeb !important;
  border-right-color: rgba(217, 119, 6, 0.12) !important;
}
body.dc-palette-amber.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dc-palette-amber.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  box-shadow: 0 0 18px rgba(217, 119, 6, 0.2), inset 4px 0 0 var(--theme-primary) !important;
}

/* Metallic Steel Sidebar Override */
body.dc-palette-steel.dark-command-app:not(.dark-command-pos) .side-bar {
  background: #f1f5f9 !important;
  border-right-color: rgba(71, 85, 105, 0.12) !important;
}
body.dc-palette-steel.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.dc-palette-steel.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  box-shadow: 0 0 18px rgba(71, 85, 105, 0.2), inset 4px 0 0 var(--theme-primary) !important;
}

/* --------------------------------------------------------------------------
   3. MODERN ACTIVE OPEN SIDEBAR DROPDOWN STATE
   -------------------------------------------------------------------------- */

/* Rotate Chevron cleanly when parent item is open */
body.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down svg.svg {
  transform: rotate(90deg) !important;
  color: var(--theme-primary) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Redesign Open Child Submenu as a Floating Glass Card */
body.dark-command-app:not(.dark-command-pos) #side-bar .chiled {
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(226, 232, 240, 0.5) !important;
  border-radius: 12px !important;
  margin: 6px 4px 12px 4px !important;
  padding: 10px 10px 10px 24px !important;
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.02) !important;
  backdrop-filter: blur(8px);
}

body.dc-theme-dark.dark-command-app:not(.dark-command-pos) #side-bar .chiled {
  background: rgba(15, 23, 42, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2) !important;
}

/* Submenu vertical neon tracker stripe */
body.dark-command-app:not(.dark-command-pos) #side-bar .chiled .tw-absolute {
  left: 12px !important;
  width: 2.5px !important;
  background: linear-gradient(180deg, var(--theme-primary) 0%, rgba(226, 232, 240, 0.1) 100%) !important;
  border-radius: 99px;
}

/* Bullet Dots for Submenu items */
body.dark-command-app:not(.dark-command-pos) #side-bar .chiled a::before {
  content: '';
  position: absolute;
  left: -16px;
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme-accent);
  opacity: 0.5;
  transition: all 0.25s ease;
}

body.dark-command-app:not(.dark-command-pos) #side-bar .chiled a:hover::before,
body.dark-command-app:not(.dark-command-pos) #side-bar .chiled a.dc-sidebar-child-active::before {
  opacity: 1;
  transform: scale(1.4);
  background: var(--theme-primary);
  box-shadow: 0 0 8px var(--theme-primary);
}

body.dark-command-app:not(.dark-command-pos) #side-bar .chiled a {
  position: relative;
  font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   4. SLEEK COLLAPSED SIDEBAR BUBBLE ARCHITECTURE
   -------------------------------------------------------------------------- */

body.sidebar-collapse.dark-command-app:not(.dark-command-pos) .side-bar {
  width: 78px !important;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

body.sidebar-collapse.dark-command-app:not(.dark-command-pos) .side-bar > a {
  padding: 0 !important;
  justify-content: center !important;
}

/* Centered Circular Icon Bubbles inside the collapsed Sidebar */
body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar {
  padding: 18px 8px !important;
}

body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar a,
body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar .drop_down {
  justify-content: center !important;
  padding: 0 !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 auto 12px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid rgba(226, 232, 240, 0.5) !important;
  background: var(--dc-card-bg) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
}

body.dc-theme-dark.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar a,
body.dc-theme-dark.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar .drop_down {
  border-color: rgba(255, 255, 255, 0.05) !important;
  background: rgba(30, 41, 59, 0.8) !important;
}

body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar a span,
body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar a .svg,
body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar .drop_down span,
body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar .drop_down .svg {
  display: none !important; /* Hide labels and arrows */
}

body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar a i,
body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar .drop_down i,
body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar a svg:first-child,
body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar .drop_down svg:first-child {
  margin: 0 !important;
  font-size: 16px !important;
  display: block !important;
}

/* Hover effects for Collapsed Dock Icon */
body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar a:hover,
body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar .drop_down:hover {
  transform: scale(1.12) !important;
  border-color: var(--theme-primary) !important;
  background: var(--theme-primary-soft) !important;
  box-shadow: 0 10px 20px var(--theme-border-glow) !important;
}

body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-active,
body.sidebar-collapse.dark-command-app:not(.dark-command-pos) #side-bar .dc-sidebar-open > .drop_down {
  transform: scale(1.06) !important;
  border-color: var(--theme-primary) !important;
  background: var(--theme-primary-soft) !important;
  box-shadow: 0 0 0 3px var(--theme-primary), 0 8px 16px var(--theme-border-glow) !important;
}

/* Sell return register: keep wide columns scrollable instead of spilling outside the register. */
#sell_return_table_wrapper .dataTables_scroll,
#sell_return_table_wrapper .dataTables_scrollHead,
#sell_return_table_wrapper .dataTables_scrollBody,
#sell_return_table_wrapper .dataTables_scrollFoot {
  width: 100% !important;
}

#sell_return_table_wrapper .dataTables_scrollBody {
  overflow-x: auto !important;
  overflow-y: visible !important;
}

#sell_return_table_wrapper table.sell-return-register-table {
  width: 100% !important;
  margin-bottom: 0 !important;
}

#sell_return_table_wrapper table.sell-return-register-table th,
#sell_return_table_wrapper table.sell-return-register-table td {
  vertical-align: middle;
}

#sell_return_table_wrapper .dt-nowrap {
  white-space: nowrap;
}

#sell_return_table_wrapper .dt-wrap {
  min-width: 150px;
  white-space: normal;
}

#sell_return_table_wrapper table.sell-return-register-table th:last-child,
#sell_return_table_wrapper table.sell-return-register-table td:last-child {
  min-width: 96px;
  overflow: visible;
  text-align: center;
  white-space: nowrap;
}

#sell_return_table_wrapper .dropdown-menu {
  left: auto;
  right: 0;
  z-index: 13000;
}

@media (max-width: 991px) {
  #sell_return_table_wrapper .dt-wrap {
    min-width: 180px;
  }
}

/* Browser print: force light printable surfaces after theme styles have loaded. */
@media print {
  html,
  body {
    background: #ffffff !important;
    color: #000000 !important;
    color-scheme: light !important;
    height: auto !important;
    overflow: visible !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.dark-command-app,
  body.dark-command-app main,
  body.dark-command-app #scrollable-container,
  .wrapper,
  .content-wrapper,
  .right-side,
  .box,
  .box-body,
  .box-header,
  .panel,
  .panel-body,
  .modal-content,
  .invoice,
  .print_section,
  #receipt_section {
    background: #ffffff !important;
    box-shadow: none !important;
    color: #000000 !important;
    text-shadow: none !important;
  }

  main,
  #scrollable-container {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .print_section {
    display: block !important;
    width: 100% !important;
  }

  .print_section:empty {
    display: none !important;
  }

  body *,
  .print_section *,
  #receipt_section *,
  .invoice-info *,
  .ledger-statement-wrapper *,
  .ledger-statement-wrap *,
  .table,
  .table *,
  .text-muted,
  .text-muted-imp,
  .text-gray,
  .tw-text-gray-400,
  .tw-text-gray-500,
  .tw-text-gray-600 {
    color: #000000 !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }

  .modal-backdrop,
  .overlay,
  .dc-command-trigger,
  .dc-command-center,
  .dc-accent-panel,
  #dcAccentPanel,
  #toast-container,
  .scrolltop {
    display: none !important;
  }

  .table,
  .table th,
  .table td {
    background: #ffffff !important;
  }

  thead {
    display: table-header-group;
  }

  tfoot {
    display: table-footer-group;
  }

  tr,
  img {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}


