@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: 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;
}
/*
 * DISABLE iCheck completely and use Pure CSS Checkboxes
 * This provides better cross-device compatibility including tablets and Apple devices
 */

/* Hide iCheck wrappers completely */
.icheckbox_square-blue,
.iradio_square-blue {
    display: none !important;
}

/* Style all checkboxes with input-icheck class using pure CSS */
input.input-icheck[type="checkbox"],
input.input-icheck[type="radio"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    border: 2px solid #3c8dbc !important;
    border-radius: 3px !important;
    background-color: #fff !important;
    cursor: pointer !important;
    position: relative !important;
    vertical-align: middle !important;
    margin: 0 8px 0 0 !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    /* iOS Safari specific fixes */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    box-sizing: border-box !important;
}

input.input-icheck[type="radio"] {
    border-radius: 50% !important;
}

/* Hover state - only on devices that support hover */
@media (hover: hover) {
    input.input-icheck[type="checkbox"]:hover,
    input.input-icheck[type="radio"]:hover {
        border-color: #2a6496 !important;
        background-color: #f8f9fa !important;
    }
}

/* Active/pressed state for touch feedback */
input.input-icheck[type="checkbox"]:active,
input.input-icheck[type="radio"]:active {
    transform: scale(0.95);
    background-color: #e9ecef !important;
}

/* Focus state */
input.input-icheck[type="checkbox"]:focus,
input.input-icheck[type="radio"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(60, 141, 188, 0.3) !important;
}

/* Focus-visible for keyboard navigation only */
input.input-icheck[type="checkbox"]:focus:not(:focus-visible),
input.input-icheck[type="radio"]:focus:not(:focus-visible) {
    box-shadow: none !important;
}

/* Checked state */
input.input-icheck[type="checkbox"]:checked {
    background-color: #3c8dbc !important;
    border-color: #3c8dbc !important;
}

input.input-icheck[type="radio"]:checked {
    background-color: #fff !important;
    border-color: #3c8dbc !important;
}

/* Checkmark for checkbox - using border technique for better iOS compatibility */
input.input-icheck[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 5px !important;
    height: 10px !important;
    border: solid white !important;
    border-width: 0 2.5px 2.5px 0 !important;
    transform: rotate(45deg) !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Dot for radio */
input.input-icheck[type="radio"]:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 10px !important;
    height: 10px !important;
    margin-left: -5px !important;
    margin-top: -5px !important;
    border-radius: 50% !important;
    background-color: #3c8dbc !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Disabled state */
input.input-icheck[type="checkbox"]:disabled,
input.input-icheck[type="radio"]:disabled {
    background-color: #e9ecef !important;
    border-color: #ced4da !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

input.input-icheck[type="checkbox"]:disabled:checked {
    background-color: #6c757d !important;
}

input.input-icheck[type="radio"]:disabled:checked::after {
    background-color: #6c757d !important;
}

/* Fix checkbox label alignment and make label clickable */
.checkbox label,
.radio label {
    padding-left: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

/* Ensure labels are tappable on iOS */
.checkbox,
.radio {
    -webkit-tap-highlight-color: transparent;
}

/* Larger touch targets for tablets and touch devices (Apple HIG recommends 44x44) */
@media (pointer: coarse), (hover: none) {
    input.input-icheck[type="checkbox"],
    input.input-icheck[type="radio"] {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }

    input.input-icheck[type="checkbox"]:checked::after {
        left: 8px !important;
        top: 3px !important;
        width: 7px !important;
        height: 14px !important;
        border-width: 0 3px 3px 0 !important;
    }

    input.input-icheck[type="radio"]:checked::after {
        width: 12px !important;
        height: 12px !important;
        margin-left: -6px !important;
        margin-top: -6px !important;
    }

    /* Increase touch target area without increasing visual size */
    .checkbox label,
    .radio label {
        min-height: 44px !important;
        padding: 8px 0 !important;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    input.input-icheck[type="checkbox"],
    input.input-icheck[type="radio"] {
        /* Prevent iOS zoom on focus */
        font-size: 16px !important;
    }
}

/* Section styling for invoice layout form */
.settings-section {
    margin-bottom: 20px;
}

.settings-section-header {
    background: #f7f7f7;
    padding: 12px 15px;
    margin: -15px -15px 15px -15px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.settings-section-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.settings-section-header .toggle-icon {
    transition: transform 0.2s;
}

.settings-section-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.settings-section-body {
    padding: 0;
}

.settings-section-body.collapsed {
    display: none;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

@media (min-width: 992px) {
    .checkbox-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .checkbox-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Touch-friendly sizing */
@media (pointer: coarse) {
    .input-styled {
        width: 24px;
        height: 24px;
    }

    .input-styled:checked::after {
        left: 7px;
        top: 3px;
        width: 6px;
        height: 12px;
    }

    input[type="radio"].input-styled:checked::after {
        left: 5px;
        top: 5px;
        width: 10px;
        height: 10px;
    }

    .checkbox-styled {
        padding: 8px 0;
        min-height: 44px;
    }
}
.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: block !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        position: static !important;
    }
    .modal-xl{
        width: 100% !important;
    }
    ::-webkit-scrollbar{
        display: none !important;
    }
    #toast-container {
      display: none;
    }

    /* Hide all navigation, sidebar, and admin elements when printing */
    /* Comprehensive list for Safari/Chrome/Firefox on Mac */
    .main-sidebar,
    .left-side,
    .main-header,
    .content-header,
    .no-print,
    nav.navbar,
    .navbar-static-top,
    .control-sidebar,
    .main-footer,
    aside.main-sidebar,
    aside.side-bar,
    header.main-header,
    header,
    .sidebar-mini .main-sidebar,
    .sidebar-collapse .main-sidebar,
    .skin-blue .main-sidebar,
    .skin-blue-light .main-sidebar,
    .hold-transition .main-sidebar,
    .thetop > aside,
    .wrapper > aside,
    .side-bar,
    .navbar,
    .breadcrumb,
    .page-header,
    .btn-print,
    button[onclick*="print"],
    .dropdown-menu,
    .select2-container--open,
    .daterangepicker,
    .tooltip,
    .popover {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        max-width: 0 !important;
        min-width: 0 !important;
        max-height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        clip-path: inset(100%) !important;
        -webkit-clip-path: inset(100%) !important;
        -webkit-transform: translateX(-100%) !important;
        transform: translateX(-100%) !important;
        pointer-events: none !important;
        z-index: -9999 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    /* Ensure content takes full width when printing */
    .content-wrapper,
    .right-side,
    .wrapper,
    body,
    html {
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        padding-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        background: white !important;
        -webkit-transform: none !important;
        transform: none !important;
        float: none !important;
        position: static !important;
    }

    /* Fix scrollable container for printing - critical for multi-page invoices */
    #scrollable-container,
    .tw-overflow-y-auto,
    .tw-h-screen,
    [class*="tw-overflow"],
    [class*="tw-h-screen"] {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: static !important;
    }

    /* Reset body classes that affect layout */
    body.sidebar-mini .content-wrapper,
    body.sidebar-collapse .content-wrapper,
    body.sidebar-open .content-wrapper {
        margin-left: 0 !important;
        -webkit-transform: none !important;
        transform: none !important;
    }

    /* Fix for modal content printing */
    .modal-content,
    .modal-body {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Invoice and receipt content - ensure multi-page printing works */
    .invoice,
    #invoice_content,
    #receipt_section,
    .receipt-content {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: static !important;
    }

    /* Table pagination support */
    table { page-break-inside: auto; }
    tr { page-break-inside: avoid; page-break-after: auto; }
    thead { display: table-header-group; }
    tfoot { display: table-footer-group; }

    /* Ensure print colors are preserved on Apple devices */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    /* Reset any fixed positioning that might cause issues on Safari */
    .fixed .content-wrapper,
    .fixed .right-side {
        padding-top: 0 !important;
    }

    /* Force body to not have any sidebar offset */
    body.sidebar-open,
    body.sidebar-collapse,
    body.sidebar-mini {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    /* Additional Apple/Safari-specific print fixes */
    /* Target all AdminLTE sidebar variations */
    .sidebar-mini.sidebar-collapse .main-sidebar,
    .sidebar-mini .main-sidebar,
    .sidebar-mini.sidebar-open .main-sidebar,
    body:not(.sidebar-collapse) .main-sidebar,
    .skin-blue .main-sidebar,
    .skin-blue-light .main-sidebar,
    .skin-green .main-sidebar,
    .skin-purple .main-sidebar,
    .skin-red .main-sidebar,
    .skin-yellow .main-sidebar,
    .skin-black .main-sidebar,
    .skin-black-light .main-sidebar {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        -webkit-transform: translateX(-200%) !important;
        transform: translateX(-200%) !important;
    }

    /* Force content wrapper to ignore sidebar on all browsers including Safari */
    .sidebar-mini .content-wrapper,
    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-open .content-wrapper,
    body.sidebar-mini .content-wrapper,
    body.sidebar-collapse .content-wrapper,
    body.sidebar-open .content-wrapper {
        margin-left: 0 !important;
        -webkit-margin-start: 0 !important;
        margin-inline-start: 0 !important;
        width: 100% !important;
        -webkit-transform: none !important;
        transform: none !important;
    }

    /* Hide all navigation elements on print */
    nav,
    .navbar,
    .navbar-fixed-top,
    .navbar-static-top,
    .logo,
    .sidebar-toggle,
    .user-panel,
    .sidebar-menu,
    .sidebar-form,
    .treeview-menu {
        display: none !important;
        visibility: hidden !important;
    }

    /* Ensure wrapper takes full width */
    .wrapper {
        overflow: visible !important;
        min-height: auto !important;
    }
}





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

/* Print helper classes */
.print-hidden,
body.printing .side-bar,
body.printing .no-print {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

body.printing .content-wrapper,
body.printing .wrapper {
    margin-left: 0 !important;
    width: 100% !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;
}

/* ============================================
   SELECT2 MODERN DESIGN - GLOBAL STYLES
   ============================================ */

/* Multiple selection container */
.select2-container--default .select2-selection--multiple {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    min-height: 38px !important;
    padding: 4px 6px !important;
    cursor: text !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-selection--multiple:hover {
    border-color: #3c8dbc !important;
    box-shadow: 0 0 0 3px rgba(60, 141, 188, 0.1) !important;
}

/* Tags/chips - modern pill design */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    padding: 4px 28px 4px 12px !important;
    margin: 3px 4px 3px 0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    position: relative !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.15s ease !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice:hover {
    background: linear-gradient(135deg, #357abd 0%, #2868a0 100%) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18) !important;
}

/* Remove button (X) - positioned on right with circle background */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ffffff !important;
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    opacity: 0.7 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 14px !important;
    text-align: center !important;
    transition: all 0.15s ease !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.35) !important;
}

/* Inline search input */
.select2-container--default .select2-selection--multiple .select2-search--inline {
    display: inline-block !important;
    float: none !important;
    margin-left: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #333333 !important;
    font-size: 13px !important;
    line-height: 26px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    min-width: 100px !important;
    height: 28px !important;
    -webkit-appearance: none !important;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
    color: #aaa !important;
    font-style: italic !important;
}

/* Rendered area - flex container */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Single selection - modern style */
.select2-container--default .select2-selection--single {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    height: 38px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.select2-container--default .select2-selection--single:hover,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #3c8dbc !important;
    box-shadow: 0 0 0 3px rgba(60, 141, 188, 0.1) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    padding-left: 12px !important;
    color: #333 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
    right: 8px !important;
}

/* Dropdown container */
.select2-dropdown {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    z-index: 99999 !important;
    margin-top: 4px !important;
    overflow: hidden !important;
}

/* Dropdown search input */
.select2-search--dropdown {
    padding: 10px !important;
    background: #f8f9fa !important;
    border-bottom: 1px solid #e9ecef !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #ffffff !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #333 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #3c8dbc !important;
    outline: none !important;
}

/* Dropdown options */
.select2-results__options {
    padding: 4px !important;
    max-height: 280px !important;
}

.select2-container--default .select2-results__option {
    padding: 10px 14px !important;
    font-size: 13px !important;
    border-radius: 4px !important;
    margin: 2px 0 !important;
    transition: background-color 0.15s ease !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #3c8dbc !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e8f4fc !important;
    color: #2c5282 !important;
}