@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;
}

#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: 0;
  padding-bottom: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

/* Space for fixed POS bottom bar so page content can scroll above it (footer can be tall with many buttons) */
#add_pos_sell_form,
#edit_pos_sell_form {
  padding-bottom: clamp(200px, 22vh, 320px);
}
.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 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;
}
/* POS sidebar: fill column down to footer (scoped) */
.pos-sidebar-stack #product_list_body {
    max-height: none !important;
    flex: 1 1 auto;
    min-height: 220px;
    height: calc(100dvh - 320px);
    overflow-y: auto;
    overflow-x: hidden;
}
@media (max-width: 991px) {
    .pos-sidebar-stack #product_list_body {
        height: auto;
        max-height: 485px;
        flex: none;
    }
}
.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 cart: fill viewport down toward the fixed footer (offset = space for header + top form + totals band).
 * Smaller offset = taller cart, closer to footer; form padding-bottom + .pos_form_totals margin keep overlap clear.
 */
:root {
    --pos-cart-height-offset: 328px;
}
.pos_product_div{
    min-height: 240px;
    max-height: calc(100dvh - var(--pos-cart-height-offset));
    overflow-y: auto;
    margin-bottom: 8px;
    box-sizing: border-box;
    height: calc(100vh - var(--pos-cart-height-offset)) !important;
}
@supports (height: 100dvh) {
    .pos_product_div {
        height: calc(100dvh - var(--pos-cart-height-offset)) !important;
        max-height: calc(100dvh - var(--pos-cart-height-offset));
    }
}
@media (max-width: 991px) {
    .pos_product_div {
        height: auto !important;
        min-height: 220px;
        max-height: min(62vh, calc(100dvh - 300px));
    }
}
.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;
}
/* iCheck: visible fallback — sprite path in vendor.css points to missing
   public/images/vendor/icheck/skins/square/blue.png (role edit & all icheck UIs). */
.icheckbox_square-blue,
.iradio_square-blue {
  margin-right: 10px;
  background-image: none !important;
  box-sizing: border-box !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.icheckbox_square-blue {
  background-color: #fff !important;
  border: 2px solid #94a3b8 !important;
  border-radius: 4px !important;
}
.icheckbox_square-blue.hover {
  border-color: #64748b !important;
  background-color: #f8fafc !important;
}
.icheckbox_square-blue.checked {
  background-color: #3c8dbc !important;
  border-color: #2a6f8d !important;
  position: relative;
}
.icheckbox_square-blue.checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.iradio_square-blue {
  background-color: #fff !important;
  border: 2px solid #94a3b8 !important;
  border-radius: 50% !important;
}
.iradio_square-blue.hover {
  border-color: #64748b !important;
  background-color: #f8fafc !important;
}
.iradio_square-blue.checked {
  background-color: #fff !important;
  border-color: #3c8dbc !important;
  position: relative;
}
.iradio_square-blue.checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #3c8dbc;
}
.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-form-actions .pos-total {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

/* POS footer: hide horizontal scrollbars (row still scrolls with wheel / drag) */
.pos-form-actions .pos-form-actions-scroll,
.pos-form-actions .pos-form-actions-buttons-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pos-form-actions .pos-form-actions-scroll::-webkit-scrollbar,
.pos-form-actions .pos-form-actions-buttons-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* POS footer: compact orange action buttons (uniform width) */
.pos-form-actions .pos-footer-action-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-sizing: border-box;
    margin: 0;
    min-height: 2.375rem;
    width: 8.75rem;
    max-width: 9.5rem;
    padding: 0.375rem 0.5rem !important;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff !important;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #f37021;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
}

/* POS header clock: white chip + #f37021 theme text (no Tailwind text-white) */
.pos-header .pos-header-datetime-pill.pos-footer-action-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-sizing: border-box;
    margin: 0;
    min-height: 2.375rem;
    width: auto;
    max-width: none;
    min-width: max-content;
    overflow: visible;
    padding: 0.375rem 0.5rem !important;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #f37021 !important;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    border-radius: 0.5rem;
    border: 2px solid #f37021 !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(243, 112, 33, 0.18);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    cursor: default;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
}
.pos-header .pos-header-datetime-pill.pos-footer-action-btn .curr_datetime {
    color: #f37021 !important;
    -webkit-text-fill-color: #f37021;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    opacity: 1;
    flex: 0 1 auto;
    min-width: min-content;
}
.pos-header .pos-header-datetime-pill.pos-footer-action-btn .pos-header-datetime-help {
    cursor: help;
    line-height: 1;
    flex-shrink: 0;
    color: #f37021;
}
.pos-header .pos-header-datetime-pill.pos-footer-action-btn .pos-header-datetime-help:focus {
    outline: 2px solid rgba(243, 112, 33, 0.45);
    outline-offset: 2px;
}
.pos-form-actions .pos-footer-action-btn:hover,
.pos-form-actions .pos-footer-action-btn:focus {
    background: #e85f10;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    outline: none;
}
.pos-header .pos-header-datetime-pill.pos-footer-action-btn:hover,
.pos-header .pos-header-datetime-pill.pos-footer-action-btn:focus {
    background: #fff8f4 !important;
    color: #f37021 !important;
    border-color: #e85f10 !important;
    box-shadow: 0 2px 8px rgba(243, 112, 33, 0.22);
    outline: none;
}
.pos-header .pos-header-datetime-pill.pos-footer-action-btn:hover .curr_datetime,
.pos-header .pos-header-datetime-pill.pos-footer-action-btn:focus .curr_datetime {
    color: #f37021 !important;
    -webkit-text-fill-color: #f37021;
}
.pos-form-actions .pos-footer-action-btn:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.12);
}
.pos-header .pos-header-datetime-pill.pos-footer-action-btn:active {
    box-shadow: 0 1px 2px rgba(243, 112, 33, 0.2);
}
.pos-form-actions .pos-footer-action-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}
.pos-form-actions .pos-footer-action-btn i,
.pos-form-actions .pos-footer-action-btn .fas,
.pos-form-actions .pos-footer-action-btn .fa {
    color: #fff !important;
    font-size: 0.8125rem;
    flex-shrink: 0;
}
.pos-header .pos-header-datetime-pill.pos-footer-action-btn i,
.pos-header .pos-header-datetime-pill.pos-footer-action-btn .fas,
.pos-header .pos-header-datetime-pill.pos-footer-action-btn .fa {
    color: #f37021 !important;
    -webkit-text-fill-color: #f37021;
    font-size: 0.8125rem;
    flex-shrink: 0;
}
/* POS screen (body.lockscreen): header toolbar — orange chrome, white icons (matches pos-footer-action-btn) */
body.hold-transition.lockscreen .pos-header-icon-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.375rem;
    background: #f37021;
    color: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    text-decoration: none !important;
}
body.hold-transition.lockscreen .pos-header-icon-btn:hover,
body.hold-transition.lockscreen .pos-header-icon-btn:focus {
    background: #e85f10;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    outline: none;
}
body.hold-transition.lockscreen .pos-header-icon-btn .fa,
body.hold-transition.lockscreen .pos-header-icon-btn .fas,
body.hold-transition.lockscreen .pos-header-icon-btn .far,
body.hold-transition.lockscreen .pos-header-icon-btn strong,
body.hold-transition.lockscreen .pos-header-icon-btn span {
    color: #fff !important;
}
body.hold-transition.lockscreen .pos-header-icon-btn--danger {
    background: #dc2626;
    border-color: rgba(255, 255, 255, 0.2);
}
body.hold-transition.lockscreen .pos-header-icon-btn--danger:hover,
body.hold-transition.lockscreen .pos-header-icon-btn--danger:focus {
    background: #b91c1c;
    border-color: rgba(255, 255, 255, 0.25);
}
body.hold-transition.lockscreen .pos-header-text-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    box-sizing: border-box;
    min-height: 2.25rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #f37021;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    text-decoration: none !important;
}
body.hold-transition.lockscreen .pos-header-text-btn:hover,
body.hold-transition.lockscreen .pos-header-text-btn:focus {
    background: #e85f10;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    outline: none;
}
body.hold-transition.lockscreen .pos-header-text-btn .fa,
body.hold-transition.lockscreen .pos-header-text-btn .fas {
    color: #fff !important;
}

/* POS: customer row / search input-group action buttons */
body.hold-transition.lockscreen form#add_pos_sell_form .input-group-btn > .btn.pos-input-group-action-btn,
body.hold-transition.lockscreen form#edit_pos_sell_form .input-group-btn > .btn.pos-input-group-action-btn {
    background: #f37021 !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body.hold-transition.lockscreen form#add_pos_sell_form .input-group-btn > .btn.pos-input-group-action-btn:hover,
body.hold-transition.lockscreen form#add_pos_sell_form .input-group-btn > .btn.pos-input-group-action-btn:focus,
body.hold-transition.lockscreen form#edit_pos_sell_form .input-group-btn > .btn.pos-input-group-action-btn:hover,
body.hold-transition.lockscreen form#edit_pos_sell_form .input-group-btn > .btn.pos-input-group-action-btn:focus {
    background: #e85f10 !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}
body.hold-transition.lockscreen form#add_pos_sell_form .input-group-btn > .btn.pos-input-group-action-btn .fa,
body.hold-transition.lockscreen form#add_pos_sell_form .input-group-btn > .btn.pos-input-group-action-btn .fas,
body.hold-transition.lockscreen form#edit_pos_sell_form .input-group-btn > .btn.pos-input-group-action-btn .fa,
body.hold-transition.lockscreen form#edit_pos_sell_form .input-group-btn > .btn.pos-input-group-action-btn .fas {
    color: #fff !important;
}

/* POS cart row: +/- quantity controls (product_row partial) */
body.hold-transition.lockscreen form#add_pos_sell_form #pos_table .input-group-btn > .btn.pos-input-group-action-btn,
body.hold-transition.lockscreen form#edit_pos_sell_form #pos_table .input-group-btn > .btn.pos-input-group-action-btn {
    background: #f37021 !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    min-width: 2rem;
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
}
body.hold-transition.lockscreen form#add_pos_sell_form #pos_table .input-group-btn > .btn.pos-input-group-action-btn:hover,
body.hold-transition.lockscreen form#add_pos_sell_form #pos_table .input-group-btn > .btn.pos-input-group-action-btn:focus,
body.hold-transition.lockscreen form#edit_pos_sell_form #pos_table .input-group-btn > .btn.pos-input-group-action-btn:hover,
body.hold-transition.lockscreen form#edit_pos_sell_form #pos_table .input-group-btn > .btn.pos-input-group-action-btn:focus {
    background: #e85f10 !important;
    color: #fff !important;
}
body.hold-transition.lockscreen form#add_pos_sell_form #pos_table .input-group-btn > .btn.pos-input-group-action-btn .fa,
body.hold-transition.lockscreen form#edit_pos_sell_form #pos_table .input-group-btn > .btn.pos-input-group-action-btn .fa {
    color: #fff !important;
}

/* Remove line: red chip, white X */
body.hold-transition.lockscreen form#add_pos_sell_form #pos_table .pos_remove_row,
body.hold-transition.lockscreen form#edit_pos_sell_form #pos_table .pos_remove_row {
    color: #fff !important;
    background: #dc2626;
    border-radius: 0.35rem;
    padding: 0.35rem 0.45rem;
    display: inline-block;
    line-height: 1;
}
body.hold-transition.lockscreen form#add_pos_sell_form #pos_table .pos_remove_row:hover,
body.hold-transition.lockscreen form#edit_pos_sell_form #pos_table .pos_remove_row:hover {
    background: #b91c1c;
}

/* POS sidebar: primary / category nav — white icons on orange */
body.hold-transition.lockscreen .pos-sidebar-stack .btn-primary,
body.hold-transition.lockscreen .pos-sidebar-stack .btn-primary:focus {
    background: #f37021 !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
}
body.hold-transition.lockscreen .pos-sidebar-stack .btn-primary:hover {
    background: #e85f10 !important;
    color: #fff !important;
}

@media (min-width: 768px) {
    .pos-form-actions .pos-footer-action-btn {
        /* font-size: 0.75rem; */
        /* min-height: 2.5rem; */
        /* width: 9.25rem; */
        /* max-width: 10rem; */
        /* padding: 0.4375rem 0.625rem !important; */
        margin-right: 10px;
    }
    .pos-form-actions .pos-footer-action-btn i,
    .pos-form-actions .pos-footer-action-btn .fas,
    .pos-form-actions .pos-footer-action-btn .fa,
    .pos-header .pos-header-datetime-pill.pos-footer-action-btn i,
    .pos-header .pos-header-datetime-pill.pos-footer-action-btn .fas,
    .pos-header .pos-header-datetime-pill.pos-footer-action-btn .fa {
        font-size: 0.875rem;
    }
}
.pos-form-actions .pos-footer-action-btn--danger {
    background: #dc2626;
    border-color: rgba(255, 255, 255, 0.2);
}
.pos-form-actions .pos-footer-action-btn--danger:hover,
.pos-form-actions .pos-footer-action-btn--danger:focus {
    background: #b91c1c;
    border-color: rgba(255, 255, 255, 0.25);
}

/* Total payable / total lines: never wrap label + amount */
.pos-form-actions .pos-total-payable-line {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-wrap: nowrap;
}
.pos-form-actions .pos-total-payable-line .pos-bar-total-payable {
    white-space: nowrap;
}
.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;
}

/* Variation Table Column Widths */
.variation_value_table th:nth-child(3),
.variation_value_table td:nth-child(3) {
  min-width: 200px;
}

/* Variation Image Upload Styles */
.variation-image-cell {
  width: 50px;
  min-width: 50px;
  max-width: 60px;
  text-align: center;
}
.variation-image-upload {
  position: relative;
}
.variation-upload-btn {
  position: relative;
  min-width: 36px;
}
.variation-upload-btn .image-count-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff6b6b;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
}
.variation-image-preview {
  max-width: 200px;
}
.variation-image-preview .preview-thumb img {
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.existing-images .img-thumbnail {
  max-width: 50px;
  max-height: 50px;
  overflow: hidden;
}
.existing-images .img-thumbnail img {
  width: 100%;
  height: auto;
}

/* ============================================
 * Custom theme: Greyish Orange
 * Key: greyish_orange
 * Palette:
 *   Primary   #343A40 (greyish)
 *   Secondary #EB7514 (orange)
 *   Background/Text #FFFFFF
 * This follows the existing pattern where
 *  - body gets class "skin-{theme_color}"
 *  - header/home gradients use "tw-from-{theme_color}-800 tw-to-{theme_color}-900"
 * ============================================ */

/* Tailwind-style utility classes for the new theme
   These are used where we dynamically build classes like:
   tw-bg-{theme_color}-800, tw-from-{theme_color}-800, tw-to-{theme_color}-900
*/
.tw-bg-greyish_orange-800 {
  background-color: #343A40 !important;
  color: #FFFFFF !important;
}

.tw-bg-greyish_orange-900 {
  background-color: #343A40 !important;
  color: #FFFFFF !important;
}

/* Gradient usage:
   Elements typically have:
     tw-bg-gradient-to-r tw-from-...-800 tw-to-...-900
   We emulate that gradient specifically for Greyish Orange.
*/
.tw-from-greyish_orange-800.tw-to-greyish_orange-900 {
  background-image: linear-gradient(to right, #343A40, #EB7514) !important;
  background-color: #343A40 !important;
  color: #FFFFFF !important;
}

.tw-from-greyish_orange-800 {
  background-color: #343A40 !important;
  color: #FFFFFF !important;
}

.tw-to-greyish_orange-900 {
  background-color: #EB7514 !important;
  color: #FFFFFF !important;
}

/* AdminLTE-like skin support so that body.skin-greyish_orange
   styles the header and sidebar similarly to other skins. */
.skin-greyish_orange .main-sidebar {
  background: #343A40 !important;
  border-right: 0 !important;
}

.skin-greyish_orange .sidebar-menu > li:hover > a,
.skin-greyish_orange .sidebar-menu > li.active > a,
.skin-greyish_orange .sidebar-menu > li.menu-open > a {
  background-color: #343A40 !important;
  background-image: linear-gradient(to right, #343A40, #2b3036) !important;
  border-left: 4px solid #EB7514 !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange .sidebar-menu > li > .treeview-menu {
  background: #2b3036 !important;
}

/* Highlight icons/text for active/hovered sidebar entries */
.skin-greyish_orange .sidebar-menu > li:hover > a > i,
.skin-greyish_orange .sidebar-menu > li.active > a > i,
.skin-greyish_orange .sidebar-menu > li.menu-open > a > i {
  color: #EB7514 !important;
}

/* Submenu (treeview) active/hover state */
.skin-greyish_orange .sidebar-menu > li > .treeview-menu > li > a:hover,
.skin-greyish_orange .sidebar-menu > li > .treeview-menu > li.active > a {
  background-color: #2b3036 !important;
  border-left: 3px solid #EB7514 !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange .main-header .logo {
  background: #343A40;
  color: #FFFFFF;
}

.skin-greyish_orange .main-header .logo:hover {
  background: #343A40;
}

.skin-greyish_orange .main-header .navbar {
  background-color: #343A40;
  background-image: linear-gradient(to right, #343A40, #EB7514);
}

.skin-greyish_orange .main-header li.user-header {
  background-color: #343A40;
}

.skin-greyish_orange .content-wrapper .content-header-custom {
  background-color: #343A40;
  background-image: linear-gradient(to right, #343A40, #EB7514);
  color: #FFFFFF !important;
  padding: 15px 15px 200px;
}

.skin-greyish_orange .content-wrapper .content-header-custom h1,
.skin-greyish_orange .content-wrapper .content-header-custom small,
.skin-greyish_orange .content-wrapper .content-header-custom a {
  color: #FFFFFF !important;
}

.skin-greyish_orange .content-wrapper .content-header-custom .breadcrumb {
  color: #FFFFFF;
}

.skin-greyish_orange .content-wrapper .content-header-custom .breadcrumb > .active {
  color: #FFFFFF;
}

.skin-greyish_orange .content-wrapper .content-custom {
  margin-top: -210px;
}

/* --------------------------------------------
 * Theme-aware default link color for Greyish Orange
 * -------------------------------------------- */
.skin-greyish_orange a {
  color: #EB7514;
}

.skin-greyish_orange a:hover,
.skin-greyish_orange a:focus {
  color: #c55a0d;
}

/* --------------------------------------------
 * Theme-aware pagination (DataTables, bootstrap)
 * -------------------------------------------- */
.skin-greyish_orange .dataTables_paginate .pagination > li > a,
.skin-greyish_orange .dataTables_paginate .pagination > li > span {
  border-color: #e0e0e0;
  color: #343A40;
}

.skin-greyish_orange .dataTables_paginate .pagination > li.active > a,
.skin-greyish_orange .dataTables_paginate .pagination > li.active > span,
.skin-greyish_orange .dataTables_paginate .pagination > li > a:focus,
.skin-greyish_orange .dataTables_paginate .pagination > li > a:hover,
.skin-greyish_orange .dataTables_paginate .pagination > li > span:focus,
.skin-greyish_orange .dataTables_paginate .pagination > li > span:hover {
  background-color: #EB7514;
  border-color: #d9650f;
  color: #FFFFFF;
}

.skin-greyish_orange .dataTables_paginate .pagination > li.disabled > a,
.skin-greyish_orange .dataTables_paginate .pagination > li.disabled > span {
  background-color: #f3f3f3;
  border-color: #e0e0e0;
  color: #a0a0a0;
}

/* --------------------------------------------
 * Theme-aware "Choose file" (bootstrap-fileinput)
 * -------------------------------------------- */
.skin-greyish_orange .btn-file,
.skin-greyish_orange .file-input .btn,
.skin-greyish_orange .file-caption .btn {
  background-color: #EB7514 !important;
  border-color: #d9650f !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange .btn-file:hover,
.skin-greyish_orange .file-input .btn:hover,
.skin-greyish_orange .file-caption .btn:hover {
  background-color: #d9650f !important;
  border-color: #c55a0d !important;
  color: #FFFFFF !important;
}

/* --------------------------------------------
 * Theme-aware modals (POS and others)
 * -------------------------------------------- */
.skin-greyish_orange .modal-content {
  border-top: 4px solid #EB7514;
  border-radius: 8px;
}

.skin-greyish_orange .modal-header {
  background-color: #343A40;
  background-image: linear-gradient(to right, #343A40, #EB7514);
  color: #FFFFFF;
  border-bottom: none;
}

.skin-greyish_orange .modal-header .close,
.skin-greyish_orange .modal-header .close span {
  color: #FFFFFF;
  opacity: 0.8;
}

.skin-greyish_orange .modal-header .close:hover,
.skin-greyish_orange .modal-header .close span:hover {
  opacity: 1;
}

.skin-greyish_orange .modal-footer {
  border-top: 1px solid #e0e0e0;
}

/* Neutral / secondary modal buttons (e.g. Close) */
.skin-greyish_orange .tw-dw-btn-neutral,
.skin-greyish_orange .btn-default {
  background-color: #343A40 !important;
  border-color: #2b3036 !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange .tw-dw-btn-neutral:hover,
.skin-greyish_orange .btn-default:hover {
  background-color: #2b3036 !important;
  border-color: #22262b !important;
  color: #FFFFFF !important;
}

/* Within the Greyish Orange skin, re-map generic
   "primary" accents and buttons to the new palette. */

.skin-greyish_orange .bg-light-blue,
.skin-greyish_orange .label-primary,
.skin-greyish_orange .modal-primary .modal-body,
.skin-greyish_orange .progress-bar,
.skin-greyish_orange .text-light-blue,
.skin-greyish_orange .text-primary {
  background-color: #EB7514 !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange .btn-primary {
  background: #EB7514 !important;
  border-color: #d9650f !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange .btn-primary:hover {
  background: #d9650f !important;
  border-color: #c55a0d !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange .btn-border-primary {
  background: transparent !important;
  border-color: #EB7514 !important;
  color: #EB7514 !important;
}

.skin-greyish_orange .btn-border-primary:hover {
  background: transparent !important;
  border-color: #d9650f !important;
  color: #d9650f !important;
}

/* Make all standard Bootstrap-style buttons follow the
   Greyish Orange palette inside this theme. */
.skin-greyish_orange .btn,
.skin-greyish_orange .btn-success,
.skin-greyish_orange .btn-info,
.skin-greyish_orange .btn-warning,
.skin-greyish_orange .btn-danger {
  background-color: #EB7514 !important;
  border-color: #d9650f !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange .btn:hover,
.skin-greyish_orange .btn-success:hover,
.skin-greyish_orange .btn-info:hover,
.skin-greyish_orange .btn-warning:hover,
.skin-greyish_orange .btn-danger:hover {
  background-color: #d9650f !important;
  border-color: #c55a0d !important;
  color: #FFFFFF !important;
}

/* Override common Tailwind gradient buttons that are hard-coded
   to indigo/blue so they adopt the Greyish Orange palette when
   this theme is active (e.g. "Add", "Download" buttons). */
.skin-greyish_orange .tw-bg-gradient-to-r.tw-from-indigo-600.tw-to-blue-500,
.skin-greyish_orange .tw-bg-gradient-to-r.tw-from-indigo-500.tw-to-blue-500 {
  background-image: linear-gradient(to right, #343A40, #EB7514) !important;
  background-color: #343A40 !important;
  color: #FFFFFF !important;
  border-color: #d9650f !important;
}

.skin-greyish_orange .tw-bg-gradient-to-r.tw-from-indigo-600.tw-to-blue-500:hover,
.skin-greyish_orange .tw-bg-gradient-to-r.tw-from-indigo-500.tw-to-blue-500:hover {
  background-image: linear-gradient(to right, #343A40, #EB7514) !important;
  background-color: #d9650f !important;
  color: #FFFFFF !important;
  border-color: #c55a0d !important;
}

/* POS /pos/create primary action bar buttons */
.skin-greyish_orange #pos-finalize,
.skin-greyish_orange .pos-express-finalize,
.skin-greyish_orange #recent-transactions {
  background-image: linear-gradient(to right, #343A40, #EB7514) !important;
  background-color: #343A40 !important;
  border-color: #d9650f !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange #pos-finalize:hover,
.skin-greyish_orange .pos-express-finalize:hover,
.skin-greyish_orange #recent-transactions:hover {
  background-image: linear-gradient(to right, #343A40, #EB7514) !important;
  background-color: #d9650f !important;
  border-color: #c55a0d !important;
  color: #FFFFFF !important;
}

/* POS cancel button – keep red but align with theme text contrast */
.skin-greyish_orange #pos-cancel {
  background-color: #f44336 !important;
  border-color: #d32f2f !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange #pos-cancel:hover {
  background-color: #d32f2f !important;
  border-color: #b71c1c !important;
  color: #FFFFFF !important;
}

/* Greyish Orange theme for all "primary" action buttons based on
   the custom tw-dw-btn design system (used for most Save/Submit buttons) */
.skin-greyish_orange .tw-dw-btn-primary {
  background-color: #EB7514 !important;
  border-color: #d9650f !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange .tw-dw-btn-primary:hover {
  background-color: #d9650f !important;
  border-color: #c55a0d !important;
  color: #FFFFFF !important;
}

/* Secondary DW "success" buttons (e.g. download template on import-expense) */
.skin-greyish_orange .tw-dw-btn-success {
  background-color: #EB7514 !important;
  border-color: #d9650f !important;
  color: #FFFFFF !important;
}

.skin-greyish_orange .tw-dw-btn-success:hover {
  background-color: #d9650f !important;
  border-color: #c55a0d !important;
  color: #FFFFFF !important;
}

/* Shell + sidebar: gradient column stretches to at least viewport and matches main height (all pages) */
.thetop {
    align-items: stretch;
    min-height: 100vh;
    min-height: 100dvh;
}
.thetop > aside.side-bar {
    align-self: stretch;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Dark sidebar nav items hover */
.side-bar .sidebar-nav-item:hover {
  background: rgba(255,255,255,0.10) !important;
  color: #ffffff !important;
}

/* Child items hover */
.side-bar .sidebar-child-item:hover {
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;
}

/* ── Clean white top bar ─────────────────────────────────────── */
/* White background + orange bottom border */
.no-print {
  background: #ffffff !important;
  background-image: none !important;
  border-bottom: 2px solid #F97316 !important;
}
.no-print > div:first-child {
  background: transparent !important;
}

/* All buttons / summaries / action links → orange */
.no-print button,
.no-print summary,
.no-print a.sm\:tw-inline-flex,
.no-print a[class*="tw-bg-"] {
  background: #F97316 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.no-print button:hover,
.no-print summary:hover,
.no-print a.sm\:tw-inline-flex:hover,
.no-print a[class*="tw-bg-"]:hover {
  background: #EA580C !important;
  color: #ffffff !important;
}

/* SVG icons inside header buttons → white */
.no-print button svg,
.no-print summary svg,
.no-print a.sm\:tw-inline-flex svg,
.no-print a[class*="tw-bg-"] svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

/* Dropdown panels themselves stay white */
.no-print .tw-dw-dropdown ul,
.no-print details ul {
  background: #ffffff !important;
  border: 1px solid #E5E7EB !important;
}