@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;
    z-index: 1060;
    padding: 5px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
} 

/* Shared product-search result treatment. Product search fields throughout the
 * ERP use the jQuery UI autocomplete menu, including custom renderers. */
.ui-autocomplete .ui-menu-item {
    margin: 0 !important;
    border-bottom: 1px dashed #cbd5e1;
    color: #334155;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.ui-autocomplete .ui-menu-item:last-child {
    border-bottom: 0;
}
.ui-autocomplete .ui-menu-item > div,
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
    display: block;
    min-height: 36px;
    margin: 0 !important;
    padding: 9px 11px !important;
    border: 1px solid transparent !important;
    border-radius: 5px;
    line-height: 1.45;
    white-space: normal;
}
.ui-autocomplete .ui-menu-item:hover > div,
.ui-autocomplete .ui-menu-item:hover .ui-menu-item-wrapper,
.ui-autocomplete .ui-menu-item .ui-state-focus,
.ui-autocomplete .ui-menu-item .ui-state-active {
    border-color: #60a5fa !important;
    background: #eff6ff !important;
    color: #1e3a5f !important;
    box-shadow: 0 1px 4px rgba(37, 99, 235, .13);
}
.ui-autocomplete .ui-menu-item.ui-state-disabled {
    border-color: #fecaca;
    background: #fff7f7;
    color: #9f1239;
    opacity: .8;
}
@media (prefers-color-scheme: dark) {
    .ui-autocomplete {
        border-color: #475569;
        background: #1e293b;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
    }
    .ui-autocomplete .ui-menu-item { border-color: #475569; color: #e2e8f0; }
    .ui-autocomplete .ui-menu-item:hover > div,
    .ui-autocomplete .ui-menu-item:hover .ui-menu-item-wrapper,
    .ui-autocomplete .ui-menu-item .ui-state-focus,
    .ui-autocomplete .ui-menu-item .ui-state-active { border-color: #60a5fa !important; background: #243b5a !important; color: #f8fafc !important; }
}
.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;
}
.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;
}
/* "Column visibility" list: neutral card that follows the business theme colour
   (--erp-theme-rgb is set from the header colour by common.js; purple fallback). */
ul.dt-button-collection,
div.dt-button-collection{
    --erp-theme: var(--erp-theme-rgb, 77, 59, 201);
    background: #fff !important;
    border: 1px solid rgba(100,116,139,.25) !important;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(15,23,42,.18);
    padding: 8px !important;
    min-width: 230px;
    max-height: 72vh;
    overflow-y: auto;
}
ul.dt-button-collection > li,
div.dt-button-collection .buttons-columnVisibility{
    background: transparent !important;
}
ul.dt-button-collection > li > a,
div.dt-button-collection .buttons-columnVisibility{
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    margin: 2px 0;
    padding: 8px 12px;
    border-radius: 8px;
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-weight: 600;
}
ul.dt-button-collection > li:hover > a,
ul.dt-button-collection > li > a:hover,
ul.dt-button-collection > li > a:focus,
div.dt-button-collection .buttons-columnVisibility:hover{
    background: rgba(var(--erp-theme), .10) !important;
    color: rgb(var(--erp-theme)) !important;
}
ul.dt-button-collection > li.active > a,
div.dt-button-collection .buttons-columnVisibility.active{
    background: rgba(var(--erp-theme), .14) !important;
    color: rgb(var(--erp-theme)) !important;
    font-weight: 700;
}
ul.dt-button-collection > li.active:before,
div.dt-button-collection .buttons-columnVisibility.active:before{
    color: rgb(var(--erp-theme)) !important;
}
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;
}
/* "DUPLICATE COPY" watermark -- injected server-side (PrintLog::watermarkHtml())
   or toggled client-side (printThis() flows) only for a document's 2nd+
   print. Hidden on screen at all times; only appears once the browser's
   actual print/PDF output is generated, per @media print below.
   pointer-events:none + low opacity keep the underlying transaction
   details fully readable through it. */
.duplicate-copy-watermark{
    display: none;
}
@media print{
    /* Watermark text repeated over the page: PrintLog::watermarkHtml() emits many <span>s, laid out here in rows inside an oversized
       rotated box (so the rotated rows still cover the corners). The colour needs !important to beat Bootstrap's print rule in vendor.css
       (*, ::after, ::before { color: #000 !important }), which printed the old watermark solid black; the faintness comes from opacity, so
       the document underneath stays strong black. Make it lighter/darker with opacity, bigger/smaller with font-size. */
    .duplicate-copy-watermark{
        display: flex !important;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: center;
        gap: 34px 46px;
        position: fixed;
        top: -35%;
        left: -35%;
        width: 170%;
        height: 170%;
        overflow: hidden;
        transform: rotate(-30deg);
        font-size: 12px;
        font-weight: bold;
        letter-spacing: 2px;
        line-height: 1;
        text-transform: uppercase;
        white-space: nowrap;
        color: #000 !important;
        opacity: 0.267;   /* 26.7% black on white paper = #BBBBBB */
        z-index: 9999;
        pointer-events: none;
    }
    .duplicate-copy-watermark span{
        display: block;
    }
}
/* Popover bodies (e.g. the print-log badge's print-history popover) use
   plain newlines instead of <br> markup -- see PrintLog::badgeHtml() for
   why -- so this renders those newlines back as visible line breaks. */
.popover-content{
    white-space: pre-line;
}
@media print{
    .print_section{
        display: inline !important;
    }
    .modal-xl{
        width: 100% !important;
    }
    ::-webkit-scrollbar{
        display: none !important;
    }
    /* The .no-print class is already applied throughout the app (list
       sections, filter panels, the print-log-badge, etc.) but had no
       matching print rule, so none of it was actually hidden when
       printing -- this is what makes it take effect. */
    .no-print{
        display: none !important;
    }
    /* Bootstrap injects .modal-backdrop as a fixed, full-viewport
       sibling of <body> whenever a modal is open -- printing (e.g. the
       Print button inside a modal) left it un-hidden, which rendered as
       a blank leading page the size of the backdrop. */
    .modal-backdrop{
        display: none !important;
    }
    #toast-container {
      display: none;
    }
}
.hrm-pro-badge{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:999px;background:linear-gradient(135deg,#f7d774,#d4a017);color:#4a3600;font-size:9px;font-weight:850;letter-spacing:.07em;vertical-align:super;line-height:1;box-shadow:0 1px 3px rgba(160,120,10,.35)}

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

/* FTMS PRO 6.11 — controlled cargo, billing and transport documents */
.ftms-document-workspace-dialog{width:min(96vw,1500px)}
.ftms-document-preview-dialog{width:min(96vw,1180px)}
.ftms-cargo-summary{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:0 0 16px}
.ftms-cargo-summary>div{width:auto;padding:12px 14px;border:1px solid #dbe4f0;border-radius:11px;background:linear-gradient(145deg,#f8fafc,#fff)}
.ftms-cargo-summary small,.ftms-cargo-summary strong{display:block}.ftms-cargo-summary small{color:#64748b;font-size:11px;font-weight:700;text-transform:uppercase}.ftms-cargo-summary strong{margin-top:4px;color:#172554;font-size:18px}.ftms-cargo-summary .is-overload{border-color:#f87171;background:#fff1f2}.ftms-cargo-summary .is-overload strong{color:#b91c1c}
.ftms-form-panel{margin-bottom:16px;padding:15px;border:1px solid #dbe4f0;border-radius:11px;background:#f8fafc}.ftms-form-panel h5{margin:0 0 12px;color:#273b8f;font-weight:800}
.ftms-doc-action-form{display:inline-flex;align-items:center;gap:7px}.ftms-doc-action-form .form-control{width:210px}.ftms-document-preview-body{overflow:auto;max-height:74vh;background:#e7edf5;padding:18px}
.ftms-a4-document{position:relative;box-sizing:border-box;max-width:210mm;min-height:270mm;margin:0 auto;padding:14mm;background:#fff;color:#172033;box-shadow:0 12px 35px rgba(15,23,42,.13);font:12px/1.45 Arial,sans-serif}
.ftms-doc-header{display:grid;grid-template-columns:72px 1fr minmax(220px,35%);align-items:start;padding-bottom:12px;border-bottom:4px solid #3157c8}.ftms-company-mark img{max-width:62px;max-height:62px}.ftms-company-mark>i{display:grid;place-items:center;width:58px;height:58px;border-radius:13px;background:#e8edff;color:#3157c8;font-size:29px}.ftms-company-details h2{margin:0;color:#101d3a;font-size:21px}.ftms-company-details p{margin:4px 0;color:#64748b}.ftms-document-identity{text-align:right}.ftms-document-identity small,.ftms-document-identity span{display:block;color:#64748b;font-weight:700;letter-spacing:.04em}.ftms-document-identity h1{margin:2px 0;color:#3157c8;font-size:20px;text-transform:uppercase}.ftms-document-identity strong{font-size:15px}
.ftms-doc-meta{display:grid;grid-template-columns:repeat(4,1fr);margin:12px 0;border:1px solid #dbe4f0;border-radius:9px;overflow:hidden}.ftms-doc-meta>div{padding:9px 11px;border-right:1px solid #dbe4f0}.ftms-doc-meta>div:last-child{border:0}.ftms-doc-meta small,.ftms-doc-meta strong{display:block}.ftms-doc-meta small{color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase}.ftms-doc-parties{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.ftms-doc-parties>div{padding:10px;border:1px solid #dbe4f0;border-radius:8px}.ftms-doc-parties h3,.ftms-doc-notes h3{margin:0 0 5px;color:#3157c8;font-size:11px;text-transform:uppercase}.ftms-doc-parties p{margin:3px 0;color:#64748b}
.ftms-doc-section-title{margin:13px 0 0;padding:7px 9px;border-radius:7px 7px 0 0;background:#edf1ff;color:#273b8f;font-size:12px;text-transform:uppercase}.ftms-doc-table,.ftms-doc-info{width:100%;border-collapse:collapse}.ftms-doc-table th,.ftms-doc-table td,.ftms-doc-info th,.ftms-doc-info td{padding:6px;border:1px solid #dbe4f0;vertical-align:top}.ftms-doc-table th,.ftms-doc-info th{background:#f8fafc;color:#334155;font-size:10px;text-transform:uppercase}.ftms-doc-table .num{text-align:right;white-space:nowrap}.ftms-doc-table tfoot{background:#eef6ff}
.ftms-doc-financial-grid{display:grid;grid-template-columns:1fr minmax(280px,40%);gap:20px;padding:10px;border:1px solid #dbe4f0}.ftms-doc-financial-grid p{display:flex;justify-content:space-between;margin:0;padding:5px;border-bottom:1px dashed #dbe4f0}.ftms-doc-financial-grid table{border-collapse:collapse}.ftms-doc-financial-grid th,.ftms-doc-financial-grid td{padding:6px;border-bottom:1px solid #dbe4f0}.ftms-doc-financial-grid td{text-align:right}.ftms-doc-financial-grid .total{background:#eaf8f0;color:#11643a;font-size:14px}.ftms-doc-financial.is-confidential{border:2px solid #b42318}.ftms-doc-financial.is-confidential .ftms-doc-section-title{margin-top:0;background:#fff0ee;color:#b42318}.ftms-doc-cost-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:10px}.ftms-doc-cost-grid>div{padding:9px;border-radius:7px;background:#fff4f2}.ftms-doc-cost-grid small,.ftms-doc-cost-grid strong{display:block}
.ftms-doc-notes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.ftms-doc-notes>div{min-height:55px;padding:9px;border:1px solid #dbe4f0;border-radius:7px}.ftms-doc-signatures{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:42px;text-align:center}.ftms-doc-signatures span{display:block;border-top:1px solid #334155;margin-bottom:5px}.ftms-doc-signatures small{display:block;color:#64748b}.ftms-a4-document footer{display:flex;align-items:flex-end;justify-content:space-between;margin-top:18px;padding-top:7px;border-top:1px solid #dbe4f0;color:#64748b;font-size:10px}.ftms-doc-verify{display:flex;align-items:center;gap:6px;text-align:right}.ftms-doc-verify img{width:62px;height:62px}.ftms-doc-watermark{position:absolute;top:42%;left:22%;z-index:2;transform:rotate(-28deg);color:rgba(180,0,0,.12);font-size:76px;font-weight:900;letter-spacing:.12em;pointer-events:none}
@media(max-width:900px){.ftms-cargo-summary{grid-template-columns:repeat(2,1fr)}.ftms-doc-header{grid-template-columns:55px 1fr}.ftms-document-identity{grid-column:1/-1;margin-top:8px;text-align:left}.ftms-doc-meta,.ftms-doc-parties{grid-template-columns:1fr 1fr}.ftms-doc-financial-grid{grid-template-columns:1fr}.ftms-doc-action-form{display:flex;margin-bottom:6px}.ftms-a4-document{padding:20px}.ftms-document-preview-body{padding:5px}}
@media print{.ftms-a4-document{box-shadow:none;max-width:none;min-height:0;padding:0}.ftms-doc-table thead{display:table-header-group}.ftms-doc-table tr{page-break-inside:avoid}.ftms-doc-section-title{page-break-after:avoid}}

/* FTMS PRO 6.11.1 - document register export toolbar */
.ftms-trip-document-register .ftms-register-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 15px;padding:12px 14px;border:1px solid #dbe4f0;border-radius:12px;background:linear-gradient(135deg,#f8fafc,#eef3ff);box-shadow:0 4px 14px rgba(30,64,175,.06)}
.ftms-trip-document-register .dt-buttons{display:flex;align-items:center;gap:8px;float:none!important;margin:0!important}
.ftms-trip-document-register .dt-buttons .ftms-export-btn{--export:#334155;display:inline-flex!important;align-items:center;gap:9px;min-height:44px;margin:0!important;padding:6px 13px 6px 7px!important;border:1px solid color-mix(in srgb,var(--export) 34%,white)!important;border-radius:10px!important;background:#fff!important;color:#172033!important;box-shadow:0 3px 9px rgba(15,23,42,.06)!important;font-size:13px!important;font-weight:800!important;line-height:1.05!important;text-decoration:none!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important}
.ftms-trip-document-register .dt-buttons .ftms-export-btn:hover,.ftms-trip-document-register .dt-buttons .ftms-export-btn:focus{transform:translateY(-2px);border-color:var(--export)!important;box-shadow:0 7px 15px color-mix(in srgb,var(--export) 18%,transparent)!important;color:var(--export)!important;outline:0}
.ftms-trip-document-register .ftms-export-btn .ftms-export-icon{display:inline-grid;place-items:center;width:31px;height:31px;border-radius:8px;background:color-mix(in srgb,var(--export) 12%,white);color:var(--export);font-size:16px}
.ftms-trip-document-register .ftms-export-btn>span:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.ftms-trip-document-register .ftms-export-btn small{color:#8794a7;font-size:8px;font-weight:800;letter-spacing:.08em;line-height:1;text-transform:uppercase}
.ftms-trip-document-register .ftms-export-excel{--export:#15803d!important}.ftms-trip-document-register .ftms-export-csv{--export:#0f766e!important}.ftms-trip-document-register .ftms-export-pdf{--export:#c2413a!important}.ftms-trip-document-register .ftms-export-print{--export:#4338ca!important}
.ftms-trip-document-register .ftms-register-toolbar .dataTables_filter{float:none!important;margin-left:auto;text-align:right}.ftms-trip-document-register .ftms-register-toolbar .dataTables_filter label{display:flex;align-items:center;gap:7px;margin:0;color:#52627a}.ftms-trip-document-register .ftms-register-toolbar .dataTables_filter input{min-width:220px;height:38px;margin-left:0!important;border:1px solid #ccd7e5;border-radius:9px;background:#fff;box-shadow:none}
@media(max-width:900px){.ftms-trip-document-register .ftms-register-toolbar{align-items:stretch;flex-direction:column}.ftms-trip-document-register .dt-buttons{flex-wrap:wrap}.ftms-trip-document-register .ftms-register-toolbar .dataTables_filter,.ftms-trip-document-register .ftms-register-toolbar .dataTables_filter label{width:100%}.ftms-trip-document-register .ftms-register-toolbar .dataTables_filter input{flex:1;min-width:0}}

/* FTMS PRO 6.10 — Trip Details, documents and sharing */
.ftms-trip-details-dialog{width:min(1180px,94vw);margin:24px auto}.ftms-trip-form-dialog{width:min(1040px,92vw)}
.ftms-trip-modal-header{display:flex;align-items:center;gap:18px;padding:16px 22px;background:linear-gradient(125deg,#0f172a,#1d4ed8);color:#fff;border-radius:6px 6px 0 0}.ftms-trip-modal-header .close{color:#fff;opacity:.9;order:3;margin-left:8px}.ftms-modal-eyebrow{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#bfdbfe}.ftms-trip-modal-header h4{font-weight:800;margin-top:3px}.ftms-trip-actions{margin-left:auto;display:flex;flex-wrap:wrap;gap:6px}
.ftms-trip-sheet{color:#1f2937}.ftms-trip-identity{display:flex;justify-content:space-between;align-items:center;padding:4px 2px 14px;border-bottom:1px solid #dbe4f0}.ftms-trip-company{display:flex;align-items:center;gap:12px}.ftms-trip-company>img{width:64px;height:54px;object-fit:contain}.ftms-trip-company>i{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#dbeafe;color:#1d4ed8;font-size:24px}.ftms-trip-company h3{font-weight:800;margin:0;color:#0f172a}.ftms-trip-company p{margin:3px 0 0;color:#64748b}.ftms-trip-reference{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:5px}.ftms-trip-reference>strong{font-size:20px;color:#1d4ed8}.ftms-copy-badge{font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;padding:4px 9px;border-radius:999px}.ftms-copy-badge.is-customer{background:#dcfce7;color:#166534}.ftms-copy-badge.is-internal{background:#ffedd5;color:#9a3412}
.ftms-trip-kpis{margin-top:14px;margin-bottom:2px}.ftms-trip-kpis>div>div{position:relative;min-height:72px;background:linear-gradient(145deg,#eff6ff,#f8fafc);border:1px solid #dbeafe;border-radius:12px;padding:12px 12px 10px 46px}.ftms-trip-kpis i{position:absolute;left:14px;top:22px;color:#2563eb;font-size:19px}.ftms-trip-kpis small,.ftms-detail-card small{display:block;color:#64748b;text-transform:uppercase;font-size:9px;font-weight:700;letter-spacing:.45px}.ftms-trip-kpis strong{display:block;margin-top:5px;font-size:13px;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ftms-detail-card{height:calc(100% - 12px);margin-top:12px;padding:14px 16px;background:#fff;border:1px solid #dbe4f0;border-radius:12px;box-shadow:0 5px 18px rgba(15,23,42,.05)}.ftms-detail-card h4{font-size:13px;font-weight:800;color:#1e3a8a;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid #e5e7eb}.ftms-detail-card h4 i{width:22px;color:#2563eb}.ftms-detail-card p{margin:4px 0 10px;white-space:normal}.ftms-detail-grid{display:grid;grid-template-columns:minmax(130px,38%) 1fr;margin:0}.ftms-detail-grid dt,.ftms-detail-grid dd{padding:5px 0;border-bottom:1px dashed #e5e7eb;margin:0}.ftms-detail-grid dt{color:#64748b;font-size:11px}.ftms-detail-grid dd{font-weight:600;color:#111827}.ftms-audit-grid{grid-template-columns:minmax(120px,18%) 1fr minmax(120px,18%) 1fr}.ftms-financial-card{background:linear-gradient(145deg,#fff7ed,#fff);border-color:#fed7aa}.ftms-financial-card h4{color:#9a3412}.ftms-financial-card .total{background:#ffedd5}.ftms-financial-card .profit{color:#047857;font-size:14px}
.ftms-share-panel{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:12px;padding:14px;margin-bottom:14px}.ftms-share-result{margin:0 0 12px}.ftms-share-history{max-height:180px;overflow:auto;background:#fff;border-radius:8px}.ftms-form-section{clear:both;margin:13px 0 12px;padding:9px 12px;background:#eff6ff;border-left:4px solid #2563eb;color:#1e3a8a;font-weight:800;border-radius:0 7px 7px 0}
@media(max-width:767px){.ftms-trip-details-dialog,.ftms-trip-form-dialog{width:auto;margin:10px}.ftms-trip-modal-header{display:block;padding-right:42px}.ftms-trip-actions{margin-top:12px}.ftms-trip-identity{align-items:flex-start}.ftms-trip-company h3{font-size:16px}.ftms-trip-kpis>div{margin-bottom:8px}.ftms-detail-grid,.ftms-audit-grid{grid-template-columns:1fr}.ftms-detail-grid dt{padding-bottom:0;border:0}.ftms-trip-reference>strong{font-size:15px}.ftms-trip-modal-header .close{position:absolute;right:16px;top:13px}}

/* Duplicate-product confirmation: scoped so other SweetAlert dialogs are unchanged. */
.swal-modal.duplicate-product-modal {
    position: relative;
    width: min(560px, calc(100vw - 32px));
    padding: 30px;
    overflow: visible;
    text-align: left;
    border: 1px solid #e7ebf2;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24), 0 4px 14px rgba(15, 23, 42, 0.08);
}

.duplicate-product-modal .swal-icon {
    width: 54px;
    height: 54px;
    margin: 0 0 18px;
    border-width: 2px;
    background: #fff1f2;
    border-color: #e5484d;
}

.duplicate-product-modal .swal-icon--warning__body {
    top: 12px;
    width: 4px;
    height: 24px;
    background-color: #d92d20;
}

.duplicate-product-modal .swal-icon--warning__dot {
    bottom: 8px;
    width: 5px;
    height: 5px;
    background-color: #d92d20;
}

.duplicate-product-modal .swal-title {
    margin: -68px 42px 4px 72px;
    padding: 0;
    color: #172033;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.duplicate-product-modal .swal-content {
    margin: 0;
    padding: 0;
}

.duplicate-product-content {
    color: #5f6b7a;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}

.duplicate-product-message {
    margin: 4px 36px 24px 72px;
}

.duplicate-product-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #fff5f5;
    border: 1px solid #f4c7c7;
    border-left: 4px solid #d92d20;
    border-radius: 10px;
}

.duplicate-product-name {
    color: #a61b1b;
    font-size: 16px;
    font-weight: 650;
}

.duplicate-product-sku {
    align-self: flex-start;
    padding: 2px 7px;
    color: #9f2d2d;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: #ffe3e3;
    border-radius: 999px;
}

.duplicate-product-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.duplicate-product-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 70px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e2e7ef;
    border-radius: 10px;
}

.duplicate-product-stat span {
    color: #697586;
    font-size: 12px;
    font-weight: 500;
}

.duplicate-product-stat strong {
    color: #1d2738;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.duplicate-product-question {
    margin: 20px 0 0;
    color: #344054;
    font-weight: 600;
}

.duplicate-product-modal .swal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 22px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid #edf0f5;
}

.duplicate-product-modal .swal-button-container {
    margin: 0;
}

.duplicate-product-modal .swal-button {
    min-height: 42px;
    margin: 0;
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    background: #315bea;
    border: 1px solid #315bea;
    border-radius: 9px;
    box-shadow: none;
}

.duplicate-product-modal .swal-button--new_row:hover {
    background: #244bd1;
    border-color: #244bd1;
}

.duplicate-product-modal .swal-button--existing {
    color: #315bea;
    background: #fff;
    border-color: #aebdf7;
}

.duplicate-product-modal .swal-button--existing:hover {
    color: #244bd1;
    background: #f5f7ff;
    border-color: #7891ef;
}

.duplicate-product-modal .swal-button--cancel {
    color: #526071;
    background: #fff;
    border-color: #d8dee8;
}

.duplicate-product-modal .swal-button--cancel:hover {
    color: #273449;
    background: #f6f8fb;
    border-color: #c9d1dc;
}

.duplicate-product-modal .swal-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 91, 234, 0.2);
}

.duplicate-product-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #718096;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.duplicate-product-close:hover,
.duplicate-product-close:focus {
    color: #263244;
    background: #f1f4f8;
    outline: none;
}

@media (max-width: 600px) {
    .swal-modal.duplicate-product-modal {
        padding: 24px 20px 20px;
        border-radius: 14px;
    }

    .duplicate-product-modal .swal-title {
        margin-right: 34px;
        font-size: 20px;
    }

    .duplicate-product-message {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .duplicate-product-modal .swal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .duplicate-product-modal .swal-button-container,
    .duplicate-product-modal .swal-button {
        width: 100%;
    }
}

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

/* 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;
}

/* FTMS PRO product badge shared by the application sidebar and package screens. */
.ftms-pro-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #dc2626;
  color: #fff !important;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  vertical-align: super;
  box-shadow: 0 2px 5px rgba(220, 38, 38, .28);
}

/* Product Catalogue PRO badge shown on the Superadmin package screens. */
.productcatalogue-pro-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #16a34a;
  color: #fff !important;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  vertical-align: super;
  box-shadow: 0 2px 5px rgba(22, 163, 74, .28);
}

/* FTMS PRO v6.6 shared workspace design system. */
.content-wrapper .ftms-pro-page-header {
  position: relative;
  padding: 20px 28px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 58%, #eff6ff 100%);
  border-bottom: 1px solid #dbe4f0;
}
.content-wrapper .ftms-pro-page-header h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  color: #0f172a;
  letter-spacing: -.02em;
}
.content-wrapper .ftms-pro-page-header .ftms-brand {
  display: inline-flex;
  align-items: flex-start;
  flex: 0 0 auto;
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
}
.content-wrapper .ftms-pro-page-header .ftms-brand .ftms-pro-badge {
  margin-top: -2px;
  margin-left: 5px;
}
.content-wrapper .ftms-pro-page-header h1 > i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fee2e2;
  color: #dc2626 !important;
  font-size: 15px;
}
.content-wrapper .ftms-pro-page-header p {
  max-width: 850px;
  margin: 6px 0 0;
  color: #64748b !important;
  font-size: 14px;
  line-height: 1.55;
}
.ftms-title-divider {
  flex: 0 0 1px;
  width: 1px;
  height: 25px;
  margin: 0 2px;
  background: #cbd5e1;
}
.ftms-pro-page {
  --ftms-blue: #4f46e5;
  --ftms-ink: #0f172a;
  --ftms-muted: #64748b;
  --ftms-line: #e2e8f0;
  background: #f4f7fb;
  font-size: 15px;
}
.ftms-pro-context {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 10px 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 13px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .05);
}
.ftms-pro-context-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 150px;
  padding-right: 13px;
  border-right: 1px solid #e2e8f0;
}
.ftms-pro-context-brand > i {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 9px;
  background: #fee2e2;
  color: #dc2626;
}
.ftms-pro-context-brand span { display: flex; flex-direction: column; }
.ftms-pro-context-brand strong { color: #0f172a; font-size: 14px; text-transform: uppercase; letter-spacing: .07em; }
.ftms-pro-context-brand small { color: #64748b; font-size: 12px; }
.ftms-pro-context-links {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: thin;
}
.ftms-pro-context-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 9px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  transition: .16s ease;
}
.ftms-pro-context-links a:hover { color: #4338ca; background: #eef2ff; text-decoration: none; }
.ftms-pro-context-links a.active { color: #fff; background: linear-gradient(135deg, #4f46e5, #2563eb); box-shadow: 0 4px 10px rgba(79, 70, 229, .2); }
.ftms-pro-page .box {
  border: 1px solid var(--ftms-line);
  border-top: 0;
  border-radius: 13px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .055);
  overflow: hidden;
}
.ftms-pro-page .box-header {
  min-height: 51px;
  padding: 15px 17px 11px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border-bottom: 1px solid #edf2f7;
}
.ftms-pro-page .box-header .box-title { color: var(--ftms-ink); font-size: 18px; font-weight: 750; }
.ftms-pro-page .box-body { padding: 16px 17px; }
.ftms-pro-page .small-box {
  min-height: 104px;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--ftms-line);
  border-left: 4px solid var(--ftms-card, #4f46e5);
  border-radius: 13px;
  color: var(--ftms-ink) !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, .065);
  transition: transform .16s ease, box-shadow .16s ease;
}
.ftms-pro-page .small-box:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(15, 23, 42, .11); }
.ftms-pro-page .small-box.bg-red { --ftms-card: #dc2626; }
.ftms-pro-page .small-box.bg-yellow, .ftms-pro-page .small-box.bg-orange { --ftms-card: #d97706; }
.ftms-pro-page .small-box.bg-green { --ftms-card: #16a34a; }
.ftms-pro-page .small-box.bg-aqua { --ftms-card: #0891b2; }
.ftms-pro-page .small-box.bg-blue { --ftms-card: #2563eb; }
.ftms-pro-page .small-box.bg-purple { --ftms-card: #7c3aed; }
.ftms-pro-page .small-box > .inner { padding: 16px 17px; }
.ftms-pro-page .small-box h3 { margin: 0 0 7px; color: var(--ftms-ink); font-size: 28px; font-weight: 800; }
.ftms-pro-page .small-box p { color: var(--ftms-muted); font-size: 14px; font-weight: 700; letter-spacing: .01em; line-height: 1.4; }
.ftms-pro-page .small-box .icon { top: 8px; right: 12px; color: var(--ftms-card); font-size: 55px; opacity: .24; }
.ftms-pro-page .small-box .small-box-footer { padding: 8px; background: #f8fafc; color: var(--ftms-card); font-size: 13px; font-weight: 700; }
.ftms-pro-page a.small-box.ftms-clickable-stat { display: block; padding-bottom: 34px; color: var(--ftms-ink) !important; text-decoration: none; cursor: pointer; }
.ftms-pro-page a.small-box.ftms-clickable-stat:focus { outline: 3px solid color-mix(in srgb,var(--ftms-card) 25%,transparent); outline-offset: 2px; }
.ftms-pro-page a.small-box.ftms-clickable-stat .small-box-footer { position: absolute; right: 0; bottom: 0; left: 0; display: block; }
.ftms-pro-page a.small-box.ftms-clickable-stat:hover .small-box-footer { background: color-mix(in srgb,var(--ftms-card) 9%,white); }
.ftms-pro-page .nav-tabs-custom {
  border: 1px solid var(--ftms-line);
  border-radius: 13px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .055);
  overflow: hidden;
}
.ftms-pro-page .nav-tabs-custom > .nav-tabs { padding: 7px 9px 0; background: #f8fafc; border-bottom-color: #e2e8f0; }
.ftms-pro-page .nav-tabs-custom > .nav-tabs > li > a { border-radius: 9px 9px 0 0; color: #64748b; font-size: 14px; font-weight: 750; }
.ftms-pro-page .nav-tabs-custom > .nav-tabs > li.active { border-top-color: #4f46e5; }
.ftms-pro-page .table-responsive {
  border: 0;
  border-radius: 10px;
}
.ftms-pro-page table.table { margin-bottom: 0; color: #334155; }
.ftms-pro-page table.table > thead > tr > th {
  padding: 11px 10px;
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ftms-pro-page table.table > tbody > tr > td { padding: 11px 10px; border-color: #edf2f7; vertical-align: middle; font-size: 14px; line-height: 1.45; }
.ftms-pro-page table.table > tbody > tr:hover { background: #f8fafc; }
.ftms-pro-page table.table > tbody > tr > td[colspan].text-muted { padding: 34px 15px; color: #94a3b8; }
.ftms-pro-page .form-control, .ftms-pro-page .select2-container .select2-selection {
  min-height: 42px;
  border-color: #dbe3ee;
  border-radius: 8px;
  box-shadow: none;
  font-size: 14px;
}
.ftms-pro-page .form-control:focus { border-color: #818cf8; box-shadow: 0 0 0 3px rgba(99, 102, 241, .1); }
.ftms-pro-page label { color: #475569; font-size: 14px; font-weight: 700; }
.ftms-pro-page .btn:not(.btn-xs), .ftms-pro-page .tw-dw-btn { border-radius: 8px; font-size: 14px; font-weight: 700; }
.ftms-pro-page small, .ftms-pro-page .help-block, .ftms-pro-page .text-muted { font-size: 13px; line-height: 1.45; }
.ftms-pro-page .dataTables_info, .ftms-pro-page .dataTables_length, .ftms-pro-page .dataTables_filter { font-size: 14px; }
.ftms-pro-page .btn-primary { background: linear-gradient(135deg, #4f46e5, #2563eb); border-color: #4f46e5; }
.ftms-pro-page .alert { border: 0; border-left: 4px solid currentColor; border-radius: 10px; }
.ftms-pro-page .label, .ftms-pro-page .badge { border-radius: 999px; font-weight: 700; }
.ftms-pro-page .dataTables_wrapper .dataTables_filter input { border: 1px solid #dbe3ee; border-radius: 8px; }
.ftms-pro-page .pagination > li > a, .ftms-pro-page .pagination > li > span { margin: 0 2px; border-radius: 7px; }
@media (max-width: 991px) {
  .content-wrapper .ftms-pro-page-header { padding: 16px 18px 13px; }
  .ftms-pro-context { align-items: flex-start; flex-direction: column; }
  .ftms-pro-context-brand { width: 100%; border-right: 0; border-bottom: 1px solid #e2e8f0; padding: 0 0 9px; }
  .ftms-pro-context-links { width: 100%; }
}
@media (max-width: 767px) {
  .content-wrapper .ftms-pro-page-header h1 { font-size: 22px !important; }
  .content-wrapper .ftms-pro-page-header h1 .ftms-brand { width: auto; }
  .ftms-title-divider { display: none; }
  .ftms-pro-page { padding-left: 10px; padding-right: 10px; }
  .ftms-pro-page .small-box { min-height: 92px; }
  .ftms-pro-page .box-body { padding: 12px; }
}

/* ERP desktop navigation: keep complete module names visible. */
@media (min-width: 768px) {
  body .side-bar {
    width: 280px !important;
  }
  body .side-bar .drop_down {
    white-space: normal !important;
  }
  body .side-bar .tw-truncate {
    min-width: 0;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  body.sidebar-mini:not(.sidebar-collapse) .main-sidebar,
  body.sidebar-mini:not(.sidebar-collapse) .left-side,
  body.sidebar-mini:not(.sidebar-collapse) .main-header .logo {
    width: 280px;
  }
  body.sidebar-mini:not(.sidebar-collapse) .content-wrapper,
  body.sidebar-mini:not(.sidebar-collapse) .main-footer,
  body.sidebar-mini:not(.sidebar-collapse) .right-side {
    margin-left: 280px;
  }
  body.sidebar-mini:not(.sidebar-collapse) .main-header .navbar {
    margin-left: 280px;
  }
  body.sidebar-mini:not(.sidebar-collapse) .sidebar-menu > li > a,
  body.sidebar-mini:not(.sidebar-collapse) .sidebar-menu .treeview-menu > li > a {
    height: auto;
    min-height: 44px;
    line-height: 1.35;
    white-space: normal;
  }
  body.sidebar-mini:not(.sidebar-collapse) .sidebar-menu > li > a > span:not(.pull-right-container),
  body.sidebar-mini:not(.sidebar-collapse) .sidebar-menu .treeview-menu > li > a > span {
    display: inline-block;
    width: auto;
    max-width: calc(100% - 62px);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    vertical-align: middle;
  }
  html[dir="rtl"] body.sidebar-mini:not(.sidebar-collapse) .content-wrapper,
  html[dir="rtl"] body.sidebar-mini:not(.sidebar-collapse) .main-footer,
  html[dir="rtl"] body.sidebar-mini:not(.sidebar-collapse) .right-side {
    margin-right: 280px !important;
    margin-left: 0 !important;
  }
  html[dir="rtl"] body.sidebar-mini:not(.sidebar-collapse) .main-header .navbar {
    margin-right: 280px;
    margin-left: 0 !important;
  }
}
@media (min-width: 1200px) {
  body.sidebar-mini:not(.sidebar-collapse) .main-sidebar,
  body.sidebar-mini:not(.sidebar-collapse) .left-side,
  body.sidebar-mini:not(.sidebar-collapse) .main-header .logo {
    width: 320px;
  }
  body.sidebar-mini:not(.sidebar-collapse) .content-wrapper,
  body.sidebar-mini:not(.sidebar-collapse) .main-footer,
  body.sidebar-mini:not(.sidebar-collapse) .right-side,
  body.sidebar-mini:not(.sidebar-collapse) .main-header .navbar {
    margin-left: 320px;
  }
  html[dir="rtl"] body.sidebar-mini:not(.sidebar-collapse) .content-wrapper,
  html[dir="rtl"] body.sidebar-mini:not(.sidebar-collapse) .main-footer,
  html[dir="rtl"] body.sidebar-mini:not(.sidebar-collapse) .right-side,
  html[dir="rtl"] body.sidebar-mini:not(.sidebar-collapse) .main-header .navbar {
    margin-right: 320px !important;
    margin-left: 0 !important;
  }
}

/* Accounting PRO badge shown in the sidebar and Superadmin package screens. */
.accounting-pro-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #f97316;
  color: #fff !important;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  vertical-align: super;
  box-shadow: 0 2px 5px rgba(249, 115, 22, .28);
}

/* Asset Management PRO badge shown in the sidebar and Superadmin package screens. */
.assetmanagement-pro-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #2563eb;
  color: #fff !important;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  vertical-align: super;
  box-shadow: 0 2px 5px rgba(37, 99, 235, .28);
}

/* CRM PRO badge shown in the sidebar and Superadmin package screens. */
.crm-pro-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #7c3aed;
  color: #fff !important;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  vertical-align: super;
  box-shadow: 0 2px 5px rgba(124, 58, 237, .28);
}

/* Project PRO badge shown in the sidebar and Superadmin package screens. */
.project-pro-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #0d9488;
  color: #fff !important;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  vertical-align: super;
  box-shadow: 0 2px 5px rgba(13, 148, 136, .28);
}

/* C&S Portal PRO badge shown in the sidebar and Superadmin package screens. */
.portal-pro-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #db2777;
  color: #fff !important;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  vertical-align: super;
  box-shadow: 0 2px 5px rgba(219, 39, 119, .28);
}

/* Repair PRO badge shown in the sidebar and Superadmin package screens. */
.repair-pro-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #92400e;
  color: #fff !important;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  vertical-align: super;
  box-shadow: 0 2px 5px rgba(146, 64, 14, .28);
}

/* Manufacturing PRO badge shown in the sidebar and Superadmin package screens. */
.manufacturing-pro-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #4338ca;
  color: #fff !important;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  vertical-align: super;
  box-shadow: 0 2px 5px rgba(67, 56, 202, .28);
}

/* ---------- "Move to Trash Bin" confirmation (reason for deletion) ---------- */
.swal-overlay:has(.erp-del-dialog) { background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.swal-modal.erp-del-dialog { width: 460px; max-width: 94vw; padding: 0; border-radius: 18px; overflow: hidden; text-align: left;
    box-shadow: 0 30px 70px rgba(15, 23, 42, .35); animation: erpDelIn .22s cubic-bezier(.2, .9, .3, 1.2); }
.swal-modal.erp-del-dialog .swal-content { margin: 0; padding: 0; }
@keyframes erpDelIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.erp-del { --erp-theme: var(--erp-theme-rgb, 77, 59, 201); color: #334155; font-family: inherit; }
.erp-del-head { padding: 26px 28px 8px; display: flex; gap: 16px; align-items: flex-start; }
.erp-del-icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 22px;
    color: #e11d48; background: linear-gradient(145deg, #fff1f2, #ffe4e6); box-shadow: inset 0 0 0 1px rgba(225, 29, 72, .18), 0 6px 14px rgba(225, 29, 72, .15); }
.erp-del-title { margin: 2px 0 4px; font-size: 20px; font-weight: 700; color: #0f172a; line-height: 1.25; }
.erp-del-sub { margin: 0; font-size: 13.5px; line-height: 1.5; color: #64748b; }
.erp-del-what { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #0f172a; }
.erp-del-body { padding: 14px 28px 4px; }
.erp-del-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #475569; margin-bottom: 8px; }
.erp-del-label small { font-weight: 600; letter-spacing: 0; text-transform: none; color: #94a3b8; }
.erp-del-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.erp-del-chip { border: 1px solid #e2e8f0; background: #f8fafc; color: #475569; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; line-height: 1.2; cursor: pointer; transition: all .15s; }
.erp-del-chip:hover { border-color: rgba(var(--erp-theme), .55); color: rgb(var(--erp-theme)); background: rgba(var(--erp-theme), .06); }
.erp-del-chip.is-on { border-color: rgb(var(--erp-theme)); background: rgba(var(--erp-theme), .1); color: rgb(var(--erp-theme)); font-weight: 600; }
.erp-del-ta { box-sizing: border-box; font-family: inherit; width: 100%; min-height: 84px; resize: vertical; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 11px 13px; font-size: 14px; line-height: 1.5; color: #0f172a; background: #fff; transition: border-color .15s, box-shadow .15s; }
.erp-del-ta::placeholder { color: #94a3b8; }
.erp-del-ta:focus { outline: none; border-color: rgb(var(--erp-theme)); box-shadow: 0 0 0 4px rgba(var(--erp-theme), .14); }
.erp-del-hint { min-height: 18px; margin-top: 6px; font-size: 12px; color: #94a3b8; display: flex; justify-content: space-between; }
.erp-del-note { margin: 10px 28px 0; padding: 10px 12px; border-radius: 10px; background: #f1f5f9; color: #64748b; font-size: 12.5px; line-height: 1.45; display: flex; gap: 9px; align-items: flex-start; }
.erp-del-note i { color: #0f9d78; margin-top: 2px; }
.erp-del-foot { padding: 18px 28px 24px; display: flex; justify-content: flex-end; gap: 10px; }
.erp-del-btn { border: 0; border-radius: 11px; padding: 11px 20px; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform .1s, box-shadow .15s, background .15s, opacity .15s; }
.erp-del-btn:active { transform: translateY(1px); }
.erp-del-cancel { background: #f1f5f9; color: #475569; }
.erp-del-cancel:hover { background: #e2e8f0; }
.erp-del-ok { color: #fff; background: linear-gradient(135deg, #f43f5e, #e11d48); box-shadow: 0 8px 18px rgba(225, 29, 72, .32); }
.erp-del-ok:hover:not(:disabled) { box-shadow: 0 10px 22px rgba(225, 29, 72, .42); filter: brightness(1.04); }
.erp-del-ok:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.erp-del-ok i { margin-right: 7px; }
@media (max-width: 480px) { .erp-del-head, .erp-del-body, .erp-del-foot { padding-left: 18px; padding-right: 18px; } .erp-del-note { margin-left: 18px; margin-right: 18px; } .erp-del-foot { flex-direction: column-reverse; } .erp-del-btn { width: 100%; } }

/* ---------- shared dialog variants (Trash Bin: restore, permanent delete) ---------- */
.erp-del-icon.is-restore { color: #0f9d78; background: linear-gradient(145deg, #ecfdf5, #d1fae5); box-shadow: inset 0 0 0 1px rgba(15, 157, 120, .2), 0 6px 14px rgba(15, 157, 120, .15); }
.erp-del-icon.is-critical { color: #fff; background: linear-gradient(145deg, #f43f5e, #be123c); box-shadow: 0 8px 18px rgba(190, 18, 60, .4); }
.erp-del-ok.is-restore { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 8px 18px rgba(5, 150, 105, .3); }
.erp-del-ok.is-restore:hover:not(:disabled) { box-shadow: 0 10px 22px rgba(5, 150, 105, .4); }
.erp-del-warn { margin: 6px 28px 0; padding: 11px 13px; border-radius: 11px; background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; font-size: 13px; line-height: 1.45; display: flex; gap: 10px; align-items: flex-start; }
.erp-del-warn i { margin-top: 2px; }
.erp-del-input { box-sizing: border-box; width: 100%; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 10px 13px; font-size: 14px; color: #0f172a; background: #fff; font-family: inherit; transition: border-color .15s, box-shadow .15s; }
.erp-del-input:focus { outline: none; border-color: rgb(var(--erp-theme)); box-shadow: 0 0 0 4px rgba(var(--erp-theme), .14); }
.erp-del-field { margin-bottom: 12px; }
.erp-del-error { margin: 2px 28px 0; padding: 9px 12px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 13px; font-weight: 600; display: none; }
.erp-del-error.is-on { display: block; }
.erp-del-ok.is-busy { opacity: .7; cursor: wait; }

/* ===== erp-theme-orange-navy-v1 : theme "orange" = navy header/banner + orange accents ===== */
.skin-orange { --p: 74% 0.172 64; --pc: 100% 0 0; --fallback-p: #f68b00; --fallback-pc: #ffffff; }
.skin-orange aside.side-bar a.tw-bg-gray-200.tw-text-primary-700 { background-color: #f68b00; background-image: linear-gradient(90deg, #f6a21a, #f58a00); color: #fff; box-shadow: 0 4px 12px rgba(245, 138, 0, .28); }
.skin-orange aside.side-bar a.tw-bg-gray-200.tw-text-primary-700:hover { background-image: linear-gradient(90deg, #f7ac33, #f68b00); color: #fff; }
/* gold/orange 1px line under the top menu bar (POS, calculator ...), under the business-name block, and on that block's right edge */
.skin-orange .tw-bg-gradient-to-r.tw-shrink-0.tw-border-b { border-bottom: 1px solid #f6a21a; }
.skin-orange aside.side-bar a.tw-bg-orange-800.tw-border-r { border-bottom: 1px solid #f6a21a; border-right: 1px solid #f6a21a; }
.skin-orange .btn-primary, .skin-orange .btn-primary:focus { background-color: #f68b00; border-color: #e27d00; color: #fff; }
.skin-orange .btn-primary:hover, .skin-orange .btn-primary:active { background-color: #e27d00; border-color: #cf7000; color: #fff; }
.skin-orange .tw-dw-btn-primary.tw-dw-btn-outline { border-color: #f68b00; color: #fff; background-color: #f68b00; }
.skin-orange .tw-dw-btn-primary.tw-dw-btn-outline:hover { background-color: #e27d00; border-color: #e27d00; color: #fff; }

/* ===== erp-mobile-topbar-v2 : phones - top bar always visible, no package "i" icon ===== */
@supports (height: 100dvh) { .thetop.tw-h-screen { height: 100dvh; } }
@media (max-width: 1023px) {
    .thetop > main > .tw-bg-gradient-to-r.tw-shrink-0.tw-border-b { position: sticky; top: 0; z-index: 60; }
    .thetop > main > .tw-bg-gradient-to-r.tw-shrink-0.tw-border-b i.fa-info-circle[data-toggle="popover"] { display: none !important; }
}
