@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: see full definition at bottom of file */
.mb-12 {
margin-bottom: 12px !important;
}
.pb-0{
padding-bottom: 0px !important;
}
.pr-12{
padding-right: 12px !important;
}
.main-header .sidebar-toggle:before {
  content: "" !important;
}
.ui-autocomplete {
  max-height: 300px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
} 
.margin-bottom-20 {
margin-bottom: 20px !important;
}
.text-white {
color: #fff;
}
.wizard > .steps > ul > li {
width: 33.33% !important;
}
.wizard > .content {
/* background: #445867 !important; */
}
legend {
color: #fff;
margin-bottom: 6px;
border-bottom: none;
}
.left-col {
background: linear-gradient(0deg,rgba(0, 0, 0, 0.76),rgba(51, 51, 51, 0.32)),url(../img/home-bg.jpg); 
text-align: center;
background-size: cover;
background-position: center;
}
.left-col-content {
color: #1A7BF9;
width: 100%;
}
.login-header {
font-size: 27px;
font-weight: 600;
}
.login-header a {
color: #fff;
}
.form-header {
font-size: 18px;
margin: 16px 0;
}
.btn-login {
padding: 6px 52px !important;
}


/* .right-col label {
color: #fff;
}

.right-col a, .text-white a {
color: #fff;
font-weight: 600;
font-size: 15px
}
.right-col a:hover, .text-white a:hover {
color: #ccc;
}
.right-col-content {
padding: 10% 16%;
padding-bottom: 3%;
}
.right-col-content-register {
padding: 2% 8%;
} */

.input_inline {
width: 100%;
display: inline-flex;
}
.input_inline input, .input_inline span {
width: 50%;
}
.bg-manufacturing {
background-color: #ff851b;
}
.img-thumbnail {
position: relative;
width: 70px;
height: 70px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 2px;
transition: border .2s ease-in-out;
padding: 4px;
margin: 3px;
text-align: center;
}
.img-thumbnail>.badge{
position: absolute;
top: -5px;
right: -7px;
font-size: 9px;
font-weight: 400;
cursor: pointer;
}
.navbar-nav>.notifications-menu>.dropdown-menu>li .menu {
max-height: 350px;
}
.bg-aqua-lite {
background-color: #7FFFD4;
}
.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a {
white-space: normal;
}
.spacer {
margin-top: 20px;
}
/* #product_list_body: see full definition at bottom of file */
.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: var(--theme-800, #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, var(--theme-700, #6366f1), var(--theme-900, #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 var(--theme-800, #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{
  overflow-y: auto;
  overflow-x: hidden;
}
.bg-lightgray{
  background-color: #F0EDED !important;
}
.balance_due_box >li{
  padding: 11px 5px 0px 5px;
}
.option-div {
  padding: 15px;
  background-color: #d2d6de;
  color: #333;
  border:1px solid #d2d6de;
  cursor: pointer;
}
.option-div input[type="radio"]{
  display: none;
}
.option-div-group .icon {
  color: #d33724;
  display: none;
}
.option-div-group .option-div:hover{
  border:1px solid gray;
}
.option-div-group .active .icon{
  display: block;
}
.margin-left-10 {
  margin-left: 10px;
}
.margin-bottom-12{
  margin-bottom: 12px;
}
.bg-info{
  background-color: #00c0ef !important;
}
.bg-info > a{
  color: #FFFFFF !important;
}
.bg-info>a:hover{
  background-color: #337ab7 !important;
}
ul.dt-button-collection{
  background-color: #00c0ef;
}
td.details-control {
  background: url('/img/details_open.png') no-repeat center center;
  cursor: pointer;
}
tr.details td.details-control {
  background: url('/img/details_close.png') no-repeat center center;
}
.icheckbox_square-blue, .iradio_square-blue{
  margin-right: 10px;
}
.header-right-div{
  right: 10px;
  float: right;
  position: absolute;
  top: 15px;
}
.header-left-div{
  margin-top: 15px;
  display: inline-flex;
}
.m-8 {
  margin: 8px;
}
.mt-10{
  margin-top: 10px;
}
.mt-15{
  margin-top: 15px;
}
.m-5 {
  margin: 5px;
}
.icon-link{
text-align:center;
display:block;
margin-bottom: 18px;
}
.icon-link > a {
  display:grid;
}
.icon-link > .badge{
  position: absolute;
  top: 20px;
  right: 67px;
}
.link-des {
  display: inline-block;
  text-align: left;
}

.navbar-nav>.user-menu>.dropdown-menu>li.user-header>img {
  border: none;
  height: auto;
  width: 100%;
  max-height: 120px;
}
.bg-light-green{
  background-color: #98D973 !important;
  color: #fff !important
}
.hover-q {
  font-size: 16px;
  margin-left: 3px;
  cursor: help;
}
.input-group-addon .hover-q{
  margin-left: 0px;
}
.text-bold{
  font-weight: bold;
}
.tour .popover-content{
  padding: 18px 14px;
}
.table-slim>tbody>tr>td, .table-slim>tbody>tr>th, .table-slim>tfoot>tr>td, .table-slim>tfoot>tr>th, .table-slim>thead>tr>td, .table-slim>thead>tr>th{
  padding: 1px;
}

/* Custom scroll bar start*/

/* width */
/* ::-webkit-scrollbar {
  width: 7px;
} */

/* Track */
/* ::-webkit-scrollbar-track {
  background: #f1f1f1; 
} */

/* Handle */
/* ::-webkit-scrollbar-thumb {
  background: #888; 
} */

/* Handle on hover */
/* ::-webkit-scrollbar-thumb:hover {
  background: #555; 
} */

/* Custom scroll bar end*/

/* .product_cell, .product_cell_div: unused, removed */

/*CSS to print receipts*/
.print_section{
  display: none;
}
#receipt_section,
#invoice_content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  box-sizing: border-box;
}
/* Thermal 80mm receipts only (slim / r80) */
#receipt_section.receipt-container--thermal,
#invoice_content.receipt-container--thermal,
html.r80-page #receipt_section,
html.r80-page #invoice_content {
  width: 80mm;
  max-width: 80mm;
}
/* A4 invoice layouts must never inherit thermal width */
#receipt_section .classic-invoice-receipt,
#invoice_content .classic-invoice-receipt,
#receipt_section .invoice-receipt-a4,
#invoice_content .invoice-receipt-a4 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}
#receipt_section:not(.receipt-container--thermal),
#invoice_content:not(.receipt-container--thermal) {
  width: 100% !important;
  max-width: 100% !important;
}
.invoice-receipt-a4 table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto;
}
#receipt_section .r80,
#invoice_content .r80,
html.r80-page .r80 {
  width: 72mm;
  max-width: 72mm;
  margin-left: 8mm;
  margin-right: auto;
  padding: 2mm 3mm;
  direction: rtl;
  font-family: var(--app-font-family, "Noto Kufi Arabic", ui-sans-serif, system-ui, sans-serif);
  font-size: 10px;
  color: #000;
  box-sizing: border-box;
  overflow: visible;
}
#receipt_section .r80 .r80-table-wrap,
#invoice_content .r80 .r80-table-wrap {
  margin-top: 1mm !important;
  border: 1px solid #94a3b8 !important;
  border-radius: 2px !important;
  overflow: hidden !important;
  background: #fff !important;
}
#receipt_section .r80 .totals-row + .r80-table-wrap,
#invoice_content .r80 .totals-row + .r80-table-wrap {
  margin-top: 2mm !important;
}
#receipt_section .r80 .r80-table-wrap table,
#invoice_content .r80 .r80-table-wrap table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  border: none !important;
  margin: 0 !important;
}
#receipt_section .r80 .r80-table-wrap th,
#receipt_section .r80 .r80-table-wrap td,
#invoice_content .r80 .r80-table-wrap th,
#invoice_content .r80 .r80-table-wrap td {
  box-sizing: border-box !important;
  padding: 0.5mm 0.3mm !important;
  border: none !important;
  border-bottom: 1px solid #94a3b8 !important;
  border-left: 1px solid #94a3b8 !important;
  font-size: 8px !important;
  background: #fff !important;
  color: #000 !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
#receipt_section .r80 .r80-table-wrap th:first-child,
#receipt_section .r80 .r80-table-wrap td:first-child,
#invoice_content .r80 .r80-table-wrap th:first-child,
#invoice_content .r80 .r80-table-wrap td:first-child {
  border-right: 1px solid #94a3b8 !important;
}
#receipt_section .r80 .r80-table-wrap th:last-child,
#receipt_section .r80 .r80-table-wrap td:last-child,
#invoice_content .r80 .r80-table-wrap th:last-child,
#invoice_content .r80 .r80-table-wrap td:last-child {
  border-left: 1px solid #94a3b8 !important;
}
#receipt_section .r80 .r80-table-wrap th,
#invoice_content .r80 .r80-table-wrap th {
  font-weight: 700 !important;
}
#receipt_section .r80 .r80-table-wrap tbody tr:last-child td,
#invoice_content .r80 .r80-table-wrap tbody tr:last-child td {
  border-bottom: none !important;
}
#receipt_section .r80 .items-table th,
#receipt_section .r80 .items-table td,
#invoice_content .r80 .items-table th,
#invoice_content .r80 .items-table td {
  text-align: center !important;
  vertical-align: top !important;
}
#receipt_section .r80 .items-table .r80-col-name,
#invoice_content .r80 .items-table .r80-col-name { text-align: right !important; }
#receipt_section .r80 .r80-col-no,
#invoice_content .r80 .r80-col-no { width: 7% !important; }
#receipt_section .r80 .r80-col-name,
#invoice_content .r80 .r80-col-name { width: 37% !important; }
#receipt_section .r80 .r80-col-qty,
#invoice_content .r80 .r80-col-qty { width: 14% !important; }
#receipt_section .r80 .r80-col-price,
#invoice_content .r80 .r80-col-price { width: 21% !important; font-size: 7px !important; }
#receipt_section .r80 .r80-col-total,
#invoice_content .r80 .r80-col-total { width: 21% !important; font-size: 7px !important; }
#receipt_section .r80 .totals-row,
#invoice_content .r80 .totals-row {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 10px;
  margin-bottom: 1mm;
}
#receipt_section .r80 .payments-table th,
#receipt_section .r80 .payments-table td,
#invoice_content .r80 .payments-table th,
#invoice_content .r80 .payments-table td {
  text-align: right !important;
}
#receipt_section .r80 .r80-col-pay-amount,
#invoice_content .r80 .r80-col-pay-amount {
  text-align: center !important;
}
#receipt_section .r80 .tax-table th,
#receipt_section .r80 .tax-table td,
#invoice_content .r80 .tax-table th,
#invoice_content .r80 .tax-table td {
  text-align: center !important;
}
#receipt_section .r80 .barcode-wrap,
#invoice_content .r80 .barcode-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
  margin: 3mm auto 0 !important;
  direction: ltr !important;
}
#receipt_section .r80 .barcode-wrap img,
#invoice_content .r80 .barcode-wrap img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 110px;
  height: 28px;
}
@media print{
  html.r80-page, html.r80-page body {
    width: 80mm !important;
    max-width: 80mm !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .print_section,
  #receipt_section,
  #invoice_content {
    display: block !important;
    visibility: visible !important;
    overflow: visible !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
  }
  html.r80-page .print_section,
  html.r80-page #receipt_section,
  html.r80-page #invoice_content,
  #receipt_section.receipt-container--thermal,
  #invoice_content.receipt-container--thermal {
    width: 80mm !important;
    max-width: 80mm !important;
    margin: 0 auto !important;
  }
  html:not(.r80-page) .print_section,
  html:not(.r80-page) #receipt_section,
  html:not(.r80-page) #invoice_content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  body.receipt-print-active .no-print,
  body.receipt-print-active header,
  body.receipt-print-active .side-bar,
  body.receipt-print-active .pos-header,
  body.receipt-print-active footer,
  body.receipt-print-active .scrolltop,
  body.receipt-print-active .modal,
  body.receipt-print-active .modal-backdrop,
  body.receipt-print-active #scrollable-container > *:not(#receipt_section) {
    display: none !important;
  }
  #receipt_section .r80,
  #invoice_content .r80 {
    width: 72mm !important;
    max-width: 72mm !important;
    margin-left: 8mm !important;
    margin-right: auto !important;
    padding: 2mm 3mm !important;
  }
  .modal-xl{
      width: 100% !important;
  }
  ::-webkit-scrollbar{
      display: none !important;
  }
  #toast-container {
    display: none;
  }
}

.input-number .btn-default{
  background-color: white;
  padding: 6px 9px;
}

.width-50{
  width: 50% !important;
}
.width-40{
  width: 40% !important;
}
.width-60{
  width: 60% !important;
}
.width-100{
  width: 100% !important;
}

.font-30{
  font-size: 30px !important;
}

.font-23{
  font-size: 23px !important;
}
.padding-5{
  padding: 5px !important;
}
.padding-10{
  padding: 10px !important;
}
.padding-side-15{
  /*padding-left: 15px !important;
  padding-right: 15px !important;*/
}
.text-muted-imp{
  color: #A3A3A3 !important;
}

.table-no-top-cell-border td{
  border-top: 0px !important;
  border-bottom: 0px !important;
}
.table-no-top-cell-border th{
  border-top: 0px !important;
  border-bottom: 0px !important;
}

.table-no-side-cell-border td{
  border-left: 0px !important;
  border-right: 0px !important;
}
.table-no-side-cell-border th{
  border-left: 0px !important;
  border-right: 0px !important;
}

.color-555 {
  color: #555555 !important;
}
.color-555 *{
  color: #555555 !important;
}
.color-white {
  color: white !important;
}
.col-no-padding{
  padding-left: 0px;
  padding-right: 0px;
}
.col-2px-padding{
  padding: 2px;
}

.pos-express-btn{
  font-size: 23px !important;
  overflow: hidden !important;
  height: 73px !important;
  white-space: normal;
}

/* Primary action button icon+label alignment fix */
#pos-finalize,
.pos-express-finalize,
#pos-cancel,
#pos-delete {
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
}
#pos-finalize i,
.pos-express-finalize i,
#pos-cancel i,
#pos-delete i {
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
}

/* POS: hide help info icons */
.pos-unified-page i.fa-info-circle.text-info.hover-q.no-print,
.pos-unified-page i.fa-info-circle.hover-q,
.pos-unified-page .hover-q.no-print,
.close-register-modal__content i.fa-info-circle.text-info.hover-q.no-print,
.register-details-modal__content i.fa-info-circle.text-info.hover-q.no-print,
.recent-transactions-modal__content i.fa-info-circle.text-info.hover-q.no-print,
.suspended-sales-modal__content i.fa-info-circle.text-info.hover-q.no-print,
.suspend-note-modal__content i.fa-info-circle.text-info.hover-q.no-print,
.pos-expense-modal__content i.fa-info-circle.text-info.hover-q.no-print {
  display: none !important;
}

/* Cart row remove button centering (used with Tailwind touch classes in blade) */
.pos_remove_row { line-height: 1; }

.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, .product_box base+hover+active, .image-container, .image-container img: moved to Tailwind in blade */
.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, .text, .product_price, .product_out_of_stock base: moved to Tailwind in blade */
.product_box.product_out_of_stock .text,
.product_box.product_out_of_stock .text-muted,
.product_box.product_out_of_stock .product_price {
  color: #9ca3af !important;
}
.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: 88% !important;
font-weight: 700 !important;
}
.treeview-menu a::before{
content: "\2192 ";
}

/* pos-form-actions mobile: see definition at bottom of file */
.mr-8 {
margin-right: 8px !important;
}

/* pos_form_totals responsive: see definition at bottom of file */

.swal-modal .swal-text {
  text-align: center;
}

/* pos-total: see definition at bottom of file */
.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;
}

/* pos-form-actions: base styles moved to Tailwind in blade */

@media (max-width: 1024px) {
.pos_form_totals {
  margin-bottom: 54px;
}
}

/* pos-total: base styles moved to Tailwind in blade */

/* pos-nav-divider + pos_header_more_options: moved to Tailwind in blade */

/* ===== POS Footer ===== */
/* pos-footer-divider: base styles moved to Tailwind in blade */
body.lockscreen .pos-footer-secondary button {
opacity: 0.85;
transition: opacity 0.12s;
flex-shrink: 0;
}
body.lockscreen .pos-footer-secondary button:hover {
opacity: 1;
}
body.lockscreen .pos-footer-secondary .col-xs-6,
body.lockscreen .pos-form-actions .col-xs-6 {
width: auto !important;
float: none !important;
padding-left: 0 !important;
padding-right: 0 !important;
min-height: 0 !important;
}
@media (min-width: 768px) and (max-width: 1279px) {
body.lockscreen .pos-footer-secondary {
  gap: 6px !important;
}
body.lockscreen .pos-total span.tw-text-base.md\:tw-text-xl,
body.lockscreen .pos-total span {
  font-size: 15px !important;
}
body.lockscreen #recent-transactions {
  font-size: 0 !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
}
body.lockscreen #recent-transactions i {
  font-size: 14px !important;
}
}
/* ===== End POS Footer ===== */

/* ===== POS Layout Spacing ===== */
body.lockscreen #scrollable-container {
overflow: hidden !important;
}
body.lockscreen .content {
padding: 2px 8px 0 8px !important;
}
body.lockscreen .pos-header {
padding: 0 8px !important;
margin: 0 !important;
}
body.lockscreen .pos-header > div {
margin-bottom: 2px !important;
}
#add_pos_sell_form,
#edit_pos_sell_form {
margin: 0 !important;
}
#add_pos_sell_form .box-body.pb-0,
#edit_pos_sell_form .box-body.pb-0 {
padding: 0 !important;
padding-top: 6px !important;
}
body.lockscreen .pos_product_div,
body.lockscreen .pos_product_div table,
body.lockscreen .pos_form_totals {
margin: 0 !important;
padding-bottom: 0 !important;
}
/* ===== End POS Layout Spacing ===== */

/* ===== POS Form Top Section Compact ===== */
#add_pos_sell_form .box-body.pb-0 > .row,
#edit_pos_sell_form .box-body.pb-0 > .row {
margin: 0 !important;
padding-left: 8px;
padding-right: 8px;
}
#add_pos_sell_form .box-body.pb-0 > .row:first-child,
#edit_pos_sell_form .box-body.pb-0 > .row:first-child {
padding-top: 6px;
}
#add_pos_sell_form .box-body.pb-0 > .row .form-group,
#edit_pos_sell_form .box-body.pb-0 > .row .form-group {
margin-bottom: 4px !important;
margin-top: 0 !important;
}
#add_pos_sell_form .box-body.pb-0 > .row:has(.pos_product_div),
#edit_pos_sell_form .box-body.pb-0 > .row:has(.pos_product_div) {
padding: 0 !important;
}
#add_pos_sell_form .box-body.pb-0 > .row .form-control,
#edit_pos_sell_form .box-body.pb-0 > .row .form-control {
height: 32px;
font-size: 13px;
padding: 4px 8px;
}
#add_pos_sell_form .box-body.pb-0 > .row .input-group-addon,
#edit_pos_sell_form .box-body.pb-0 > .row .input-group-addon {
padding: 4px 8px;
font-size: 13px;
}
#add_pos_sell_form .box-body.pb-0 > .row .input-group-btn .btn,
#edit_pos_sell_form .box-body.pb-0 > .row .input-group-btn .btn {
height: 32px;
/* padding: 4px 8px; */
}
/* ===== End POS Form Top Section Compact ===== */

/* #product_list_body: moved to Tailwind in blade */

/* ===== POS Cart Clean Table ===== */
/* #pos_table base + thead th: moved to Tailwind in blade */
body.lockscreen #pos_table > tbody > tr > td {
border-top: 1px solid #e8edf2 !important;
border-left: none !important;
border-right: none !important;
border-bottom: none !important;
overflow: hidden;
word-break: break-word;
}
body.lockscreen #pos_table > tbody > tr:nth-child(odd) {
background: #ffffff !important;
}
body.lockscreen #pos_table > tbody > tr:nth-child(even) {
background: #f8fafc !important;
}
body.lockscreen #pos_table > tbody > tr:hover {
background: #eff6ff !important;
}
body.lockscreen #pos_table td {
width: auto !important;
}
body.lockscreen #pos_table .form-control {
width: 100% !important;
box-sizing: border-box;
}
body.lockscreen #pos_table .input-group {
width: 100%;
}
body.lockscreen #pos_table .input-group .form-control {
min-width: 0;
}
body.lockscreen #pos_table select.form-control {
width: 100% !important;
}
body.lockscreen #pos_table > tbody > tr.product_row > td {
padding: 4px 8px !important;
vertical-align: middle !important;
font-size: 13px;
line-height: 1.4;
}
body.lockscreen #pos_table .form-control,
body.lockscreen #pos_table .input-group .form-control.pos_quantity,
body.lockscreen #pos_table .input-group .form-control.pos_unit_price_inc_tax,
body.lockscreen #pos_table .form-control.pos_line_total {
height: 32px;
font-size: 13px;
font-weight: 500;
padding: 2px 8px;
color: #1e293b;
border-color: #cbd5e1;
border-radius: 0 !important;
font-family: inherit;
}
body.lockscreen #pos_table .input-group-btn .btn {
border-radius: 0 !important;
height: 32px;
padding: 0 10px;
font-size: 14px;
line-height: 32px;
}
body.lockscreen #pos_table .display_currency.pos_line_total_text {
font-size: 13px;
font-weight: 500;
color: #1e293b;
font-family: inherit;
display: block;
text-align: center;
}
body.lockscreen #pos_table .sub_unit {
height: 26px !important;
font-size: 11px !important;
padding: 0 4px !important;
margin-top: 2px;
}
body.lockscreen #pos_table .lot_number {
height: 26px !important;
font-size: 11px !important;
padding: 0 4px !important;
margin-top: 2px;
}
/* ===== End POS Cart Clean Table ===== */

/* ===== POS Totals Section: all styles now in blade (Tailwind + inline) ===== */
body.lockscreen .pos_totals_cell.hide { display: none !important; }

/* ===== POS Cart Delete Button ===== */
/* .fa-times font-size + th:last-child .fa-times: moved to Tailwind in blade */
body.lockscreen #pos_table td:last-child {
padding: 4px 8px 4px 0 !important;
text-align: right !important;
vertical-align: middle !important;
}
body.lockscreen #pos_table > tbody > tr.product_row > td:last-child {
padding: 4px 8px 4px 0 !important;
text-align: right !important;
}
/* pos_remove_row + pos-unit-label: moved to Tailwind in blade */
/* ===== End POS Cart Delete Button + Unit Label ===== */

/* ===== POS Column Widths + Header Action Icon: moved to Tailwind in blade ===== */

/* ===== POS Thin Scrollbar ===== */
body.lockscreen .pos_product_div::-webkit-scrollbar,
body.lockscreen #product_list_body::-webkit-scrollbar,
#scrollable-container::-webkit-scrollbar,
body.lockscreen::-webkit-scrollbar {
width: 4px;
height: 4px;
}
body.lockscreen .pos_product_div::-webkit-scrollbar-track,
body.lockscreen #product_list_body::-webkit-scrollbar-track,
#scrollable-container::-webkit-scrollbar-track,
body.lockscreen::-webkit-scrollbar-track {
background: transparent;
}
body.lockscreen .pos_product_div::-webkit-scrollbar-thumb,
body.lockscreen #product_list_body::-webkit-scrollbar-thumb,
#scrollable-container::-webkit-scrollbar-thumb,
body.lockscreen::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}
body.lockscreen .pos_product_div::-webkit-scrollbar-thumb:hover,
body.lockscreen #product_list_body::-webkit-scrollbar-thumb:hover,
#scrollable-container::-webkit-scrollbar-thumb:hover,
body.lockscreen::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* ===== End POS Thin Scrollbar ===== */

/* ===================================================================
 POS MOBILE VIEW FIXES (≤ 767px)
 =================================================================== */
@media (max-width: 767px) {
body.lockscreen,
body.lockscreen #scrollable-container {
  overflow: hidden !important;
  height: 100vh !important;
  max-height: 100vh !important;
}
#pos_sidebar_wrap {
  display: none !important;
}
body.lockscreen .pos-form-actions {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1030;
}
body.lockscreen #add_pos_sell_form .box-body.pb-0,
body.lockscreen #edit_pos_sell_form .box-body.pb-0 {
  display: flex !important;
  flex-direction: column !important;
  height: calc(100vh - 60px) !important;
  max-height: calc(100vh - 60px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding-bottom: 125px !important;
}
body.lockscreen #add_pos_sell_form .box-body.pb-0 > .row:has(.pos_product_div),
body.lockscreen #edit_pos_sell_form .box-body.pb-0 > .row:has(.pos_product_div) {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}
body.lockscreen #add_pos_sell_form .box-body.pb-0 > .row:has(.pos_product_div) > .pos_product_div,
body.lockscreen #edit_pos_sell_form .box-body.pb-0 > .row:has(.pos_product_div) > .pos_product_div {
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
body.lockscreen .pos_form_totals {
  position: static !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}
body.lockscreen .pos_form_totals .pos_totals_cell.hide { display: none !important; }
body.lockscreen .pos_product_div {
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}
body.lockscreen #pos_table {
  table-layout: auto !important;
  width: 100% !important;
  min-width: 0 !important;
}
body.lockscreen #pos_table.table-responsive,
body.lockscreen .table-responsive > #pos_table {
  display: table !important;
  overflow: visible !important;
  border: 0 !important;
}
body.lockscreen #pos_table > thead > tr,
body.lockscreen #pos_table > tbody > tr {
  display: table-row !important;
}
body.lockscreen #pos_table > tbody > tr > td,
body.lockscreen #pos_table > thead > tr > th {
  display: table-cell !important;
  vertical-align: middle !important;
  white-space: nowrap;
}
body.lockscreen #pos_table > tbody > tr.product_row > td {
  padding: 6px 8px !important;
  font-size: 12px;
  line-height: 1.35;
}
body.lockscreen #pos_table .form-control {
  font-size: 12px;
  height: 30px;
}
body.lockscreen #pos_table th.pos-th-product,
body.lockscreen #pos_table th.pos-th-qty,
body.lockscreen #pos_table th.pos-th-staff,
body.lockscreen #pos_table th.pos-th-price,
body.lockscreen #pos_table th.pos-th-subtotal,
body.lockscreen #pos_table td:first-child,
body.lockscreen #pos_table td {
  width: auto !important;
  min-width: 0 !important;
}
body.lockscreen #pos_table th.pos-th-product {
  min-width: 150px !important;
}
body.lockscreen #pos_table th.pos-th-qty {
  min-width: 110px !important;
}
body.lockscreen #pos_table th.pos-th-staff {
  min-width: 110px !important;
}
body.lockscreen #pos_table th.pos-th-price {
  min-width: 80px !important;
}
body.lockscreen #pos_table th.pos-th-subtotal {
  min-width: 90px !important;
}
body.lockscreen #pos_table .display_currency.pos_line_total_text,
body.lockscreen #pos_table .pos_line_total_text {
  white-space: nowrap !important;
  display: inline-block !important;
  text-align: right;
}
body.lockscreen #pos_table .hide-on-mobile {
  display: none !important;
}
body.lockscreen .pos-form-actions > div,
body.lockscreen .pos-form-actions > .row > div > div {
  padding: 4px 8px !important;
  gap: 4px !important;
  min-height: 0 !important;
}
body.lockscreen .pos-form-actions > .row > div > div {
  flex-direction: column !important;
  align-items: stretch !important;
}
body.lockscreen .pos-form-actions .md\:\!tw-hidden.tw-pos-total,
body.lockscreen .pos-form-actions > .row > div > div > div:first-child {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}
body.lockscreen .pos-form-actions .tw-pos-total {
  width: 100% !important;
  justify-content: center !important;
}
body.lockscreen .pos-form-actions .tw-pos-total > div:first-child {
  font-size: 13px !important;
}
body.lockscreen .pos-form-actions #total_payable {
  font-size: 16px !important;
  font-weight: 800 !important;
}
body.lockscreen .pos-form-actions .\!tw-w-full.md\:\!tw-hidden {
  width: 100% !important;
  gap: 6px !important;
}
body.lockscreen .pos-form-actions .\!tw-w-full.md\:\!tw-hidden > button {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 8px 4px !important;
  font-size: 12px !important;
  white-space: nowrap;
}
body.lockscreen .pos-footer-secondary {
  width: 100% !important;
  gap: 4px !important;
  overflow: visible !important;
  justify-content: space-between !important;
}
body.lockscreen .pos-footer-secondary > button {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 4px 2px !important;
  font-size: 10px !important;
}
body.lockscreen .pos-footer-secondary > button i {
  font-size: 16px !important;
  margin-bottom: 2px;
}
body.lockscreen .pos-footer-secondary .pos-footer-divider,
body.lockscreen .pos-footer-secondary .pos-total.md\:tw-flex,
body.lockscreen .pos-footer-secondary > button.tw-hidden,
body.lockscreen .pos-footer-secondary > button.md\:tw-flex {
  display: none !important;
}
#pos_header_more_options {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  padding: 8px !important;
  width: 100% !important;
  background: #fff;
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
#pos_header_more_options > a,
#pos_header_more_options > button {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 36px !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  float: none !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}
#pos_header_more_options > a.tw-h-8,
#pos_header_more_options > button.tw-h-8,
#pos_header_more_options > a.tw-h-auto,
#pos_header_more_options > button.tw-h-auto {
  width: 100% !important;
  min-width: 100% !important;
  height: auto !important;
  min-height: 36px !important;
  padding: 8px 12px !important;
}
#pos_header_more_options > a > strong,
#pos_header_more_options > button > strong {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  width: 100%;
}
#pos_header_more_options > a > strong > i,
#pos_header_more_options > button > strong > i {
  font-size: 14px !important;
  min-width: 18px;
  text-align: center;
}
#pos_header_more_options > a > strong > span,
#pos_header_more_options > button > strong > span {
  display: inline !important;
  font-size: 13px;
  font-weight: 500;
}
#pos_header_more_options .pos-nav-divider {
  display: block !important;
  width: 100% !important;
  height: 1px !important;
  background: #e2e8f0;
  margin: 2px 0 !important;
}
.pos-header .hamburger.fa-bars {
  font-size: 18px;
  color: #334155;
  cursor: pointer;
}
}

/* ============================================================
 POS Sidebar — drawer, cards, filter badge, subcategory strip
 ============================================================ */

/* Layout lock (desktop) */
@media (min-width: 1024px) {
  body.lockscreen #scrollable-container { height: 100vh !important; overflow: hidden !important; }
  body.lockscreen #scrollable-container > section.content { height: calc(100vh - 60px); overflow: hidden; }
  body.lockscreen #scrollable-container > section.content > .row,
  body.lockscreen #scrollable-container > section.content > .row > .col-md-12,
  body.lockscreen #scrollable-container > section.content > .row > .col-md-12 > .row.tw-flex { height: 100%; }
  body.lockscreen #scrollable-container > section.content > .row > .col-md-12 > .row.tw-flex > div:first-child > div > .box-body { max-height: 100%; overflow-y: auto; }
  #pos_sidebar_wrap { max-height: 100%; overflow: visible; }
}

/* Scrollbars */
#product_list_body::-webkit-scrollbar       { width: 8px; }
#product_list_body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
#product_list_body::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Featured products box */
#featured_products_box:empty { display: none; }
#featured_products_box:not(:empty) {
  padding: 6px 4px 4px; margin-bottom: 6px;
  background: linear-gradient(180deg, #fef9c3 0%, #fef3c7 100%);
  border: 1px solid #fde68a; border-radius: 8px;
  position: relative; display: flex; flex-wrap: wrap; box-sizing: border-box; width: 100%;
}
.pos-featured-products__head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-basis: 100%;
  width: 100%;
  margin: 0 4px 6px;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 0.02em;
}
.pos-featured-products__head i {
  font-size: 10px;
}
.pos-featured-products__out-of-stock {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #dc2626;
  margin-top: 2px;
}
#featured_products_box > .col-md-3 { flex: 0 0 25%; max-width: 25%; }
@media (max-width: 991px) {
  #featured_products_box > .col-xs-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

/* Drawer panel */
.pos-drawer-panel {
  width: min(520px, 96vw) !important; padding: 0 !important;
  position: relative; display: flex; flex-direction: column;
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 320ms !important;
}
.pos-drawer-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 1; }

/* Drawer: full viewport + hide panel off-screen when closed (fixes half-screen ghost) */
#pos_sidebar_wrap,
.pos-sidebar-root { overflow: visible !important; }

.pos-sidebar-root .tw-dw-drawer-side {
  width: 100vw !important;
  max-width: 100vw !important;
  inset-inline-start: 0 !important;
}

.pos-sidebar-root .tw-dw-drawer-end .tw-dw-drawer-toggle:not(:checked) ~ .tw-dw-drawer-side > .pos-drawer-panel {
  transform: translate3d(100%, 0, 0) !important;
  visibility: hidden;
  pointer-events: none;
}
[dir="rtl"] .pos-sidebar-root .tw-dw-drawer-end .tw-dw-drawer-toggle:not(:checked) ~ .tw-dw-drawer-side > .pos-drawer-panel {
  transform: translate3d(-100%, 0, 0) !important;
}

.pos-sidebar-root .tw-dw-drawer-end .tw-dw-drawer-toggle:checked ~ .tw-dw-drawer-side > .pos-drawer-panel {
  transform: translate3d(0, 0, 0) !important;
  visibility: visible;
  pointer-events: auto;
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1), visibility 0s !important;
}
.pos-drawer-category::before { background: linear-gradient(90deg, #4f46e5, #6366f1); }
.pos-drawer-brand::before    { background: linear-gradient(90deg, #7c3aed, #a855f7); }

/* POS filter buttons: unify category + brand icon/border */
#product_category_div .tw-dw-drawer-content > label,
#product_brand_div .tw-dw-drawer-content > label {
  border-color: rgba(47, 111, 203, 0.26) !important;
}
#product_category_div .tw-dw-drawer-content > label svg,
#product_brand_div .tw-dw-drawer-content > label svg {
  color: #2f6fcb !important;
}
#product_category_div .tw-dw-drawer-content > label:hover,
#product_brand_div .tw-dw-drawer-content > label:hover,
#product_category_div .tw-dw-drawer-content > label:focus,
#product_brand_div .tw-dw-drawer-content > label:focus {
  border-color: #2f6fcb !important;
}
#product_category_div .tw-dw-drawer-content > label:hover svg,
#product_brand_div .tw-dw-drawer-content > label:hover svg,
#product_category_div .tw-dw-drawer-content > label:focus svg,
#product_brand_div .tw-dw-drawer-content > label:focus svg {
  color: #255fb4 !important;
}

/* Drawer body scrollbar */
.pos-drawer-body::-webkit-scrollbar       { width: 8px; }
.pos-drawer-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.pos-drawer-body::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Category / brand card */
.pos-card {
  position: relative; background: white; border: 1px solid #e2e8f0; border-radius: 12px;
  height: 78px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 10px 14px; cursor: pointer; overflow: hidden;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none;
  transition: transform 180ms cubic-bezier(0.32, 0.72, 0, 1), border-color 160ms ease, box-shadow 180ms ease, background 160ms ease;
}
.pos-card:hover            { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(15,23,42,.18); }
.pos-card.cat:hover        { border-color: #818cf8; }
.pos-card.brand:hover      { border-color: #c4b5fd; }
.pos-card.featured:hover   { border-color: #fcd34d; }
.pos-card.is-active.cat    { border-color: #4f46e5; background: linear-gradient(180deg, #eef2ff 0%, white 65%); }
.pos-card.is-active.brand  { border-color: #7c3aed; background: linear-gradient(180deg, #f5f3ff 0%, white 65%); }
.pos-card-name {
  font-size: 13px; font-weight: 600; color: #0f172a; line-height: 1.3; margin: 0;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word;
}
.pos-card-subcat-dot { position: absolute; bottom: 5px; right: 7px; font-size: 10px; color: #a5b4fc; line-height: 1; pointer-events: none; }
.pos-card-subcat-dot::after { content: '▾'; }
.pos-card-grid [class*="col-"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }

/* Card entrance stagger */
@keyframes pos-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pos-card-grid.is-animating > [class*="col-"] > .pos-card { animation: pos-card-in 320ms cubic-bezier(0.32, 0.72, 0, 1) both; }
.pos-card-grid.is-animating > [class*="col-"]:nth-child(1)  > .pos-card { animation-delay:  20ms; }
.pos-card-grid.is-animating > [class*="col-"]:nth-child(2)  > .pos-card { animation-delay:  50ms; }
.pos-card-grid.is-animating > [class*="col-"]:nth-child(3)  > .pos-card { animation-delay:  80ms; }
.pos-card-grid.is-animating > [class*="col-"]:nth-child(4)  > .pos-card { animation-delay: 110ms; }
.pos-card-grid.is-animating > [class*="col-"]:nth-child(5)  > .pos-card { animation-delay: 140ms; }
.pos-card-grid.is-animating > [class*="col-"]:nth-child(6)  > .pos-card { animation-delay: 170ms; }
.pos-card-grid.is-animating > [class*="col-"]:nth-child(7)  > .pos-card { animation-delay: 200ms; }
.pos-card-grid.is-animating > [class*="col-"]:nth-child(8)  > .pos-card { animation-delay: 230ms; }
.pos-card-grid.is-animating > [class*="col-"]:nth-child(9)  > .pos-card { animation-delay: 260ms; }
.pos-card-grid.is-animating > [class*="col-"]:nth-child(n+10) > .pos-card { animation-delay: 290ms; }

/* Active filter badge */
.pos-active-filter-badge { display: none !important; }
.pos-active-filter-badge.is-active { display: inline-flex !important; align-items: center; animation: pos-card-in 200ms cubic-bezier(0.32, 0.72, 0, 1) both; }
.pos-active-filter-badge.is-active ~ .pos-count-badge { display: none !important; }
.pos-filter-chip-clear { width: 14px; height: 14px; border-radius: 999px; border: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: transparent; transition: all 140ms ease; }
.pos-filter-chip-clear:hover { background: #fecaca !important; color: #b91c1c !important; }

/* Subcategory row-injection strip */
@keyframes pos-strip-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pos-subcat-strip {
  flex: 0 0 100%; width: 100%; background: #eef2ff; border: 1.5px solid #c7d2fe;
  border-radius: 14px; padding: 10px 12px; margin-bottom: 4px;
  display: flex; flex-wrap: wrap; gap: 8px;
  animation: pos-strip-in 240ms cubic-bezier(0.32, 0.72, 0, 1) both;
}
.pos-subcat-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #a5b4fc;
  background: white; color: #4338ca; font-size: 13px; font-weight: 600; cursor: pointer;
  white-space: nowrap; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
  transition: background 130ms ease, border-color 130ms ease, color 130ms ease, transform 100ms ease;
}
.pos-subcat-pill:active,
.pos-subcat-pill.is-active { background: #4f46e5; border-color: #4f46e5; color: white; transform: scale(0.96); }
.pos-subcat-pill--all { border-style: dashed; }

/* ============================================================
   Dashboard — old ERP desktop theme (from old/Dashboard.vue)
   ============================================================ */
.dashboard-desktop {
  background: #e9edf3 !important;
  color: #0f172a;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 2rem 1.25rem 2rem;
  padding-inline: max(1.25rem, 16px);
  min-height: calc(100vh - 50px);
  box-sizing: border-box;
}
.dashboard-subscription-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 55%, #f8fafc 100%);
  border: 1px solid #93c5fd;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.dashboard-subscription-banner__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #dbeafe;
  color: #2563eb;
  font-size: 1.125rem;
}
.dashboard-subscription-banner__content {
  flex: 1 1 14rem;
  min-width: 0;
}
.dashboard-subscription-banner__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1e3a8a;
}
.dashboard-subscription-banner__message {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #334155;
}
.dashboard-subscription-banner__hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
}
.dashboard-subscription-banner__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
[dir="ltr"] .dashboard-subscription-banner__cta .fa-arrow-left {
  transform: scaleX(-1);
}
@media (max-width: 639px) {
  .dashboard-subscription-banner__cta {
    width: 100%;
    justify-content: center;
  }
}
.dashboard-desktop .dashboard-toolbar {
  margin-bottom: 1.75rem;
  gap: 1rem 2.5rem;
}
.dashboard-desktop .dashboard-filters {
  gap: 1rem;
}
.dashboard-desktop .dashboard-stat-card,
.dashboard-desktop .dashboard-panel,
.dashboard-desktop .dashboard-widgets > .tw-grid > div[class*="tw-bg-white"],
.dashboard-desktop .dashboard-widgets .tw-bg-white.tw-shadow-sm {
  background: #f7f9fc !important;
  border: 1px solid #cfd8e3 !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
}
.dashboard-desktop .dashboard-stat-card:hover,
.dashboard-desktop .dashboard-widgets > .tw-grid > div[class*="tw-bg-white"]:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1) !important;
}
.dashboard-stat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  padding: 0;
}
.dashboard-stat-card__icon-img,
.dashboard-stat-card__icon svg {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  display: block;
}
.dashboard-desktop .dashboard-title,
.dashboard-desktop .dashboard-panel h3,
.dashboard-desktop .dashboard-widgets h3,
.dashboard-desktop .dashboard-quick-row__card-title,
.dashboard-desktop .dashboard-alert-card__title {
  color: #0f172a !important;
  font-family: var(--app-font-family, "Noto Kufi Arabic", ui-sans-serif, system-ui, sans-serif) !important;
}
.dashboard-desktop .dashboard-stat-card p[class^="total_"],
.dashboard-desktop .dashboard-stat-card p.net,
.dashboard-desktop .dashboard-stat-card p.invoice_due,
.dashboard-desktop .dashboard-stat-card p.purchase_due {
  font-family: var(--app-font-family, "Noto Kufi Arabic", ui-sans-serif, system-ui, sans-serif) !important;
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
.dashboard-desktop .dashboard-mini-card [id^="dash_summary_"] {
  font-family: var(--app-font-family, "Noto Kufi Arabic", ui-sans-serif, system-ui, sans-serif) !important;
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
.dashboard-desktop .dashboard-alert-card__badge,
.dashboard-desktop .display_currency {
  font-family: var(--app-font-family, "Noto Kufi Arabic", ui-sans-serif, system-ui, sans-serif) !important;
  font-variant-numeric: tabular-nums;
}
.dashboard-desktop .dashboard-filter-btn {
  background: #f7f9fc !important;
  border-color: #cfd8e3 !important;
  color: #334155 !important;
  border-radius: 6px !important;
}
.dashboard-desktop .dashboard-filter-btn:hover {
  background: #eaf2ff !important;
  border-color: #93c5fd !important;
}
.dashboard-filter-branch {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 220px;
  max-width: 100%;
  flex-shrink: 0;
}
.dashboard-filter-branch--compact {
  width: 100%;
}
.dashboard-filter-branch__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.3;
}
.dashboard-filter-branch__field {
  width: 100%;
}
.dashboard-filter-branch__field .select2-container,
.dashboard-filter-branch__select + .select2-container {
  width: 100% !important;
  max-width: 220px;
}
.dashboard-filter-branch--compact .dashboard-filter-branch__field .select2-container,
.dashboard-filter-branch--compact .dashboard-filter-branch__select + .select2-container {
  max-width: none;
}
.dashboard-filter-branch .select2-container--default .select2-selection--single {
  min-height: 38px;
  height: 38px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  background: #f7f9fc;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dashboard-filter-branch .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
  padding-right: 2rem;
  padding-left: 0.75rem;
  color: #334155;
  font-size: 0.875rem;
}
.dashboard-filter-branch .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
  right: auto;
  left: 0.5rem;
}
.dashboard-filter-branch .select2-container--default.select2-container--open .select2-selection--single,
.dashboard-filter-branch .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.12);
}
.dashboard-filter-branch .select2-dropdown {
  border-color: #cfd8e3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.dashboard-filter-branch .select2-results__option {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}
.dashboard-desktop .dashboard-action-btn--primary {
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%) !important;
  border: 1px solid #2f6fcb !important;
}
/* Header — attendance (clock in / out) */
.app-header-attendance-btn {
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}
.app-header-attendance-btn--in {
  color: #fff !important;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-color: #2f6fcb;
  --tw-ring-color: rgba(255, 255, 255, 0.1);
}
.app-header-attendance-btn--in:hover,
.app-header-attendance-btn--in:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #3f84df 0%, #255fb4 100%);
  border-color: #255fb4;
}
.app-header-attendance-btn--out {
  color: #fff !important;
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
  border-color: #dc2626;
  --tw-ring-color: rgba(255, 255, 255, 0.1);
}
.app-header-attendance-btn--out:hover,
.app-header-attendance-btn--out:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  border-color: #b91c1c;
}
.app-header-attendance-btn.hide {
  display: none !important;
}
/* Primary action button — list pages (users, etc.) */
.app-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: #fff !important;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border: 1px solid #2f6fcb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.app-btn-primary:hover,
.app-btn-primary:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #3f84df 0%, #255fb4 100%);
  border-color: #255fb4;
  text-decoration: none;
}
.app-btn-primary--lg {
  padding: 0.65rem 1.75rem;
  font-size: 1rem;
  border-radius: 0.5rem;
}
.app-btn-cancel {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  color: #475569 !important;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.app-btn-cancel:hover,
.app-btn-cancel:focus {
  color: #334155 !important;
  background: linear-gradient(180deg, #f1f5f9 0%, #d8e0ea 100%);
  border-color: #94a3b8;
}
.commission_agent_modal .modal-content.user-form-page .modal-header,
.commission_agent_modal .modal-content.user-form-page .modal-footer,
.contact_modal .modal-content.user-form-page .modal-header,
.contact_modal .modal-content.user-form-page .modal-footer {
  border-color: #e2e8f0;
}
.commission_agent_modal .modal-content.user-form-page .modal-footer,
.contact_modal .modal-content.user-form-page .modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.app-table-actions .btn-group {
  display: inline-flex;
}
.app-dropdown {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}
.app-dropdown.open > .app-btn-table--options,
.app-dropdown .app-btn-table--options:hover,
.app-dropdown .app-btn-table--options:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #3f84df 0%, #255fb4 100%);
  border-color: #255fb4;
  text-decoration: none;
}
.app-dropdown .dropdown-toggle::after {
  display: none !important;
}
.app-btn-table--options {
  color: #fff !important;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-color: #2f6fcb;
}
.app-dropdown-caret {
  font-size: 0.65rem;
  opacity: 0.9;
  margin-right: 0;
  margin-left: 0.15rem;
}
[dir="rtl"] .app-dropdown-caret {
  margin-right: 0.15rem;
  margin-left: 0;
}
.app-dropdown.open .app-dropdown-caret {
  transform: rotate(180deg);
}
.app-dropdown-menu {
  min-width: 12rem;
  padding: 0.35rem 0;
  margin-top: 0.25rem;
  border: 1px solid #b8c5d6;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.app-dropdown-menu.app-dropdown-menu--portal {
  position: fixed;
  z-index: 1060;
  display: block;
  float: none;
  margin-top: 0;
}
.app-dropdown-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  color: #334155 !important;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}
.app-dropdown-menu > li > a:hover,
.app-dropdown-menu > li > a:focus {
  background: #eaf2ff !important;
  color: #1d4ed8 !important;
  text-decoration: none;
}
.app-dropdown-menu > li > a i {
  width: 1rem;
  text-align: center;
  color: #64748b;
}
.app-dropdown-menu > li > a:hover i,
.app-dropdown-menu > li > a:focus i {
  color: #2f6fcb;
}
.app-dropdown-menu > li.divider {
  margin: 0.35rem 0;
  background-color: #e2e8f0;
  height: 1px;
}
.app-dropdown-menu > li > a.app-dropdown-item--danger {
  color: #b91c1c !important;
}
.app-dropdown-menu > li > a.app-dropdown-item--danger:hover,
.app-dropdown-menu > li > a.app-dropdown-item--danger:focus {
  background: #fef2f2 !important;
  color: #991b1b !important;
}
.app-dropdown-menu > li > a.app-dropdown-item--danger:hover i,
.app-dropdown-menu > li > a.app-dropdown-item--danger:focus i {
  color: #dc2626;
}
[dir="rtl"] .app-dropdown .dropdown-menu {
  right: 0;
  left: auto;
}
[dir="ltr"] .app-dropdown .dropdown-menu {
  left: 0;
  right: auto;
}
/* Table row actions — edit / view / delete */
/* Supplier add/edit modal form */
.supplier-contact-form__section {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.supplier-contact-form__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.supplier-contact-form__title {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.supplier-contact-form__title i {
  color: #2f6fcb;
  font-size: 0.875rem;
}
.supplier-contact-form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.35rem;
}
.supplier-contact-form__radio-label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #334155;
}
.supplier-contact-form .form-group {
  margin-bottom: 1rem;
}
.supplier-contact-form .help-block {
  margin-bottom: 0;
  font-size: 0.75rem;
  color: #64748b;
}
.user-form-page .supplier-contact-form .iradio_square-blue {
  border-radius: 50% !important;
}
/* Contacts list (suppliers & customers) — filters panel */
.contact-list-filters__intro,
.contact-supplier-filters__intro {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}
.contact-list-filters__section,
.contact-supplier-filters__section {
  margin-bottom: 1.25rem;
}
.contact-list-filters__section-title,
.contact-supplier-filters__section-title {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-list-filters__section-title i,
.contact-supplier-filters__section-title i {
  color: #2f6fcb;
  font-size: 0.875rem;
}
.contact-list-filters__chips,
.contact-supplier-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.contact-list-filters__chip,
.contact-supplier-filters__chip {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.5rem 0.85rem;
  font-weight: 500;
  font-size: 0.8125rem;
  color: #334155;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.contact-list-filters__chip:hover,
.contact-supplier-filters__chip:hover {
  border-color: #93b4ee;
  background: #eaf2ff;
}
.contact-list-filters__chip:has(.icheckbox_square-blue.checked),
.contact-supplier-filters__chip:has(.icheckbox_square-blue.checked) {
  border-color: #2f6fcb;
  background: #eaf2ff;
  box-shadow: 0 0 0 1px rgba(47, 111, 203, 0.15);
}
.contact-list-filters__chip .icheckbox_square-blue,
.contact-supplier-filters__chip .icheckbox_square-blue {
  margin-inline-end: 0.5rem !important;
  flex-shrink: 0;
}
.contact-list-filters__fields,
.contact-supplier-filters__fields {
  margin-bottom: 0.5rem;
}
.contact-list-filters__actions,
.contact-supplier-filters__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid #e2e8f0;
}
.contact-supplier-list .pf-btn::before,
.contact-customer-list .pf-btn::before {
  background: #2f6fcb;
}
.contact-supplier-list .pf-chevron,
.contact-customer-list .pf-chevron {
  color: #2f6fcb !important;
}
.contact-supplier-list [class*="tw-ring"] span[style*="color-mix"],
.contact-customer-list [class*="tw-ring"] span[style*="color-mix"] {
  background: rgba(47, 111, 203, 0.1) !important;
  color: #2f6fcb !important;
}
/* Contacts list — full-width DataTable without side gaps */
.contact-supplier-list .table-responsive,
.contact-customer-list .table-responsive,
.contact-supplier-list #contact_table_wrapper,
.contact-customer-list #contact_table_wrapper {
  width: 100% !important;
}
.contact-supplier-list #contact_table_wrapper .dataTables_scroll,
.contact-customer-list #contact_table_wrapper .dataTables_scroll,
.contact-supplier-list #contact_table_wrapper .dataTables_scrollHead,
.contact-customer-list #contact_table_wrapper .dataTables_scrollHead,
.contact-supplier-list #contact_table_wrapper .dataTables_scrollBody,
.contact-customer-list #contact_table_wrapper .dataTables_scrollBody {
  width: 100% !important;
}
.contact-supplier-list #contact_table_wrapper .dataTables_scrollHeadInner,
.contact-customer-list #contact_table_wrapper .dataTables_scrollHeadInner,
.contact-supplier-list #contact_table_wrapper .dataTables_scrollHeadInner table,
.contact-customer-list #contact_table_wrapper .dataTables_scrollHeadInner table,
.contact-supplier-list #contact_table_wrapper .dataTables_scrollBody table,
.contact-customer-list #contact_table_wrapper .dataTables_scrollBody table {
  width: 100% !important;
}
.contact-supplier-list #contact_table,
.contact-customer-list #contact_table {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
}
.contact-supplier-list #contact_table th,
.contact-customer-list #contact_table th,
.contact-supplier-list #contact_table td,
.contact-customer-list #contact_table td {
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .contact-supplier-list .table-responsive,
  .contact-customer-list .table-responsive,
  .contact-supplier-list .contact-show-tab-panel__table-wrap,
  .contact-customer-list .contact-show-tab-panel__table-wrap {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .contact-supplier-list #contact_table_wrapper,
  .contact-customer-list #contact_table_wrapper {
    width: 100% !important;
    overflow: visible !important;
  }
  .contact-supplier-list #contact_table_wrapper .dataTables_scroll,
  .contact-customer-list #contact_table_wrapper .dataTables_scroll,
  .contact-supplier-list #contact_table_wrapper .dataTables_scrollHead,
  .contact-customer-list #contact_table_wrapper .dataTables_scrollHead,
  .contact-supplier-list #contact_table_wrapper .dataTables_scrollBody,
  .contact-customer-list #contact_table_wrapper .dataTables_scrollBody {
    overflow: visible !important;
    width: auto !important;
    min-width: 100%;
  }
  .contact-supplier-list #contact_table,
  .contact-customer-list #contact_table {
    width: max-content !important;
    min-width: 100%;
    max-width: none;
    table-layout: auto !important;
  }
  .contact-supplier-list #contact_table th,
  .contact-customer-list #contact_table th,
  .contact-supplier-list #contact_table td,
  .contact-customer-list #contact_table td {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    word-break: normal;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }
  .contact-supplier-list #contact_table th:first-child,
  .contact-customer-list #contact_table th:first-child,
  .contact-supplier-list #contact_table td:first-child,
  .contact-customer-list #contact_table td:first-child {
    white-space: nowrap;
  }
  .contact-supplier-list #contact_table th:nth-child(3),
  .contact-customer-list #contact_table th:nth-child(3),
  .contact-supplier-list #contact_table td:nth-child(3),
  .contact-customer-list #contact_table td:nth-child(3),
  .contact-supplier-list #contact_table th:nth-child(4),
  .contact-customer-list #contact_table th:nth-child(4),
  .contact-supplier-list #contact_table td:nth-child(4),
  .contact-customer-list #contact_table td:nth-child(4) {
    white-space: normal;
    min-width: 6rem;
    max-width: 10rem;
  }
  .contact-supplier-list #contact_table_wrapper .dataTables_length,
  .contact-customer-list #contact_table_wrapper .dataTables_length,
  .contact-supplier-list #contact_table_wrapper .dataTables_filter,
  .contact-customer-list #contact_table_wrapper .dataTables_filter {
    float: none !important;
    text-align: right;
    margin-bottom: 0.5rem;
  }
  .contact-supplier-list #contact_table_wrapper .dataTables_filter input,
  .contact-customer-list #contact_table_wrapper .dataTables_filter input {
    width: 100% !important;
    max-width: 100%;
    margin-right: 0;
  }
  .contact-supplier-list #contact_table_wrapper .dt-buttons,
  .contact-customer-list #contact_table_wrapper .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
  }
  .contact-supplier-list #contact_table_wrapper .dataTables_info,
  .contact-customer-list #contact_table_wrapper .dataTables_info,
  .contact-supplier-list #contact_table_wrapper .dataTables_paginate,
  .contact-customer-list #contact_table_wrapper .dataTables_paginate {
    float: none !important;
    text-align: center !important;
    margin-top: 0.5rem;
  }
}
/* Business locations list — full-width table without horizontal scroll (same as suppliers) */
.business-location-page .table-responsive,
.business-location-page #business_location_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.business-location-page #business_location_table_wrapper .dataTables_scroll,
.business-location-page #business_location_table_wrapper .dataTables_scrollHead,
.business-location-page #business_location_table_wrapper .dataTables_scrollBody {
  width: 100% !important;
  overflow: visible !important;
}
.business-location-page #business_location_table_wrapper .dataTables_scrollHeadInner,
.business-location-page #business_location_table_wrapper .dataTables_scrollHeadInner table,
.business-location-page #business_location_table_wrapper .dataTables_scrollBody table {
  width: 100% !important;
}
.business-location-page #business_location_table {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
}
.business-location-page #business_location_table th,
.business-location-page #business_location_table td {
  overflow: hidden;
  text-overflow: ellipsis;
}
.business-location-page #business_location_table > thead > tr > th {
  white-space: normal !important;
  word-break: break-word;
  line-height: 1.35;
  vertical-align: top;
}
.business-location-page #business_location_table th:first-child,
.business-location-page #business_location_table td:first-child {
  overflow: visible;
  text-overflow: clip;
}
@media (max-width: 767px) {
  .business-location-page .table-responsive,
  .business-location-page .contact-show-tab-panel__table-wrap {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .business-location-page #business_location_table_wrapper {
    width: 100% !important;
    overflow: visible !important;
  }
  .business-location-page #business_location_table_wrapper .dataTables_scroll,
  .business-location-page #business_location_table_wrapper .dataTables_scrollHead,
  .business-location-page #business_location_table_wrapper .dataTables_scrollBody {
    overflow: visible !important;
    width: auto !important;
    min-width: 100%;
  }
  .business-location-page #business_location_table {
    width: max-content !important;
    min-width: 100%;
    max-width: none;
    table-layout: auto !important;
  }
  .business-location-page #business_location_table th,
  .business-location-page #business_location_table td {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    word-break: normal;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }
  .business-location-page #business_location_table th:first-child,
  .business-location-page #business_location_table td:first-child {
    white-space: nowrap;
  }
  .business-location-page #business_location_table th:nth-child(2),
  .business-location-page #business_location_table td:nth-child(2) {
    white-space: normal;
    min-width: 7rem;
    max-width: 11rem;
  }
  .business-location-page #business_location_table_wrapper .dataTables_length,
  .business-location-page #business_location_table_wrapper .dataTables_filter {
    float: none !important;
    text-align: right;
    margin-bottom: 0.5rem;
  }
  .business-location-page #business_location_table_wrapper .dataTables_filter input {
    width: 100% !important;
    max-width: 100%;
    margin-right: 0;
  }
  .business-location-page #business_location_table_wrapper .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
  }
  .business-location-page #business_location_table_wrapper .dataTables_info,
  .business-location-page #business_location_table_wrapper .dataTables_paginate {
    float: none !important;
    text-align: center !important;
    margin-top: 0.5rem;
  }
}
.location-settings-page .supplier-contact-form__section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.location-settings-page .supplier-contact-form__section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.location-settings-page__submit {
  margin-top: 1.25rem;
  padding-top: 0.5rem;
}
.location-settings-page .form-group {
  margin-bottom: 1rem;
}
/* Invoice schemes & layouts page */
.invoice-schemes-page .contact-show-tabs__content {
  padding-top: 0.5rem;
}
.invoice-schemes-page__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.invoice-schemes-page .table-responsive,
.invoice-schemes-page #invoice_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.invoice-schemes-page #invoice_table {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
}
.invoice-schemes-page #invoice_table th,
.invoice-schemes-page #invoice_table td {
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle !important;
}
.invoice-schemes-page #invoice_table th:last-child,
.invoice-schemes-page #invoice_table td:last-child {
  overflow: visible;
  text-overflow: clip;
}
@media (max-width: 767px) {
  .invoice-schemes-page .table-responsive,
  .invoice-schemes-page .contact-show-tab-panel__table-wrap {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .invoice-schemes-page #invoice_table_wrapper {
    width: 100% !important;
    overflow: visible !important;
  }
  .invoice-schemes-page #invoice_table_wrapper .dataTables_scroll,
  .invoice-schemes-page #invoice_table_wrapper .dataTables_scrollHead,
  .invoice-schemes-page #invoice_table_wrapper .dataTables_scrollBody {
    overflow: visible !important;
    width: auto !important;
    min-width: 100%;
  }
  .invoice-schemes-page #invoice_table {
    width: max-content !important;
    min-width: 100%;
    max-width: none;
    table-layout: auto !important;
  }
  .invoice-schemes-page #invoice_table th,
  .invoice-schemes-page #invoice_table td {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    word-break: normal;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }
  .invoice-schemes-page #invoice_table th:first-child,
  .invoice-schemes-page #invoice_table td:first-child {
    white-space: normal;
    min-width: 7rem;
    max-width: 11rem;
  }
  .invoice-schemes-page #invoice_table_wrapper .dataTables_length,
  .invoice-schemes-page #invoice_table_wrapper .dataTables_filter {
    float: none !important;
    text-align: right;
    margin-bottom: 0.5rem;
  }
  .invoice-schemes-page #invoice_table_wrapper .dataTables_filter input {
    width: 100% !important;
    max-width: 100%;
    margin-right: 0;
  }
  .invoice-schemes-page #invoice_table_wrapper .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
  }
  .invoice-schemes-page #invoice_table_wrapper .dataTables_info,
  .invoice-schemes-page #invoice_table_wrapper .dataTables_paginate {
    float: none !important;
    text-align: center !important;
    margin-top: 0.5rem;
  }
  .invoice-schemes-page__layout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .invoice-schemes-page .contact-show-tabs__nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }
  .invoice-schemes-page .contact-show-tabs__nav > li {
    flex: 0 0 auto;
  }
}
.invoice-schemes-page__layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.invoice-schemes-page__layout-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.invoice-schemes-page__layout-card:hover,
.invoice-schemes-page__layout-card:focus {
  border-color: #93b4ee;
  box-shadow: 0 4px 12px rgba(47, 111, 203, 0.12);
  text-decoration: none;
  color: #1d4ed8;
}
.invoice-schemes-page__layout-card-icon {
  font-size: 2rem;
  color: #2f6fcb;
}
.invoice-schemes-page__layout-card-title {
  font-weight: 600;
  font-size: 0.9375rem;
}
.invoice-schemes-page__layout-card-meta {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}
.invoice-schemes-page__layout-badge {
  align-self: flex-start;
}
.invoice-schemes-page__empty {
  color: #64748b;
  margin: 0;
}
.invoice-schemes-page__preview {
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px dashed #cbd5e1;
  border-radius: 0.375rem;
  background: #f8fafc;
  font-weight: 600;
}
/* Barcode settings list */
.barcode-page .catalog-settings-page__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.barcode-page .table-responsive,
.barcode-page #barcode_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.barcode-page #barcode_table {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
}
.barcode-page #barcode_table th,
.barcode-page #barcode_table td {
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle !important;
}
.barcode-page #barcode_table th:last-child,
.barcode-page #barcode_table td:last-child {
  overflow: visible;
  text-overflow: clip;
}
.barcode-form-page .supplier-contact-form__section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.barcode-form-page .supplier-contact-form__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.barcode-form-page .form-group {
  margin-bottom: 1rem;
}
.barcode-form-page .input-group-addon {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.barcode-form-page__submit {
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}
/* Printers list & form */
.printer-page .catalog-settings-page__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.printer-page .table-responsive,
.printer-page #printer_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.printer-page #printer_table {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
}
.printer-page #printer_table th,
.printer-page #printer_table td {
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle !important;
}
.printer-page #printer_table th:last-child,
.printer-page #printer_table td:last-child {
  overflow: visible;
  text-overflow: clip;
}
.printer-form-page .supplier-contact-form__section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.printer-form-page .supplier-contact-form__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.printer-form-page .form-group {
  margin-bottom: 1rem;
}
.printer-form-page__submit {
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}
.printer-form-page .hover-q,
.printer-form-page .fa-info-circle.text-info.no-print {
  display: none !important;
}
/* Tax rates page */
.tax-rates-page .catalog-settings-page__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.tax-rates-page .table-responsive,
.tax-rates-page #tax_rates_table_wrapper,
.tax-rates-page #tax_groups_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.tax-rates-page #tax_rates_table,
.tax-rates-page #tax_groups_table {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
}
.tax-rates-page #tax_rates_table th,
.tax-rates-page #tax_rates_table td,
.tax-rates-page #tax_groups_table th,
.tax-rates-page #tax_groups_table td {
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle !important;
}
.tax-rates-page #tax_rates_table th:last-child,
.tax-rates-page #tax_rates_table td:last-child,
.tax-rates-page #tax_groups_table th:last-child,
.tax-rates-page #tax_groups_table td:last-child {
  overflow: visible;
  text-overflow: clip;
}
.tax-rates-page .box-primary + .box-primary {
  margin-top: 1.5rem;
}
@media (max-width: 767px) {
  .barcode-page .table-responsive,
  .barcode-page .contact-show-tab-panel__table-wrap,
  .printer-page .table-responsive,
  .printer-page .contact-show-tab-panel__table-wrap,
  .tax-rates-page .table-responsive,
  .tax-rates-page .contact-show-tab-panel__table-wrap {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .barcode-page #barcode_table_wrapper,
  .printer-page #printer_table_wrapper,
  .tax-rates-page #tax_rates_table_wrapper,
  .tax-rates-page #tax_groups_table_wrapper {
    width: 100% !important;
    overflow: visible !important;
  }
  .barcode-page #barcode_table_wrapper .dataTables_scroll,
  .barcode-page #barcode_table_wrapper .dataTables_scrollHead,
  .barcode-page #barcode_table_wrapper .dataTables_scrollBody,
  .printer-page #printer_table_wrapper .dataTables_scroll,
  .printer-page #printer_table_wrapper .dataTables_scrollHead,
  .printer-page #printer_table_wrapper .dataTables_scrollBody,
  .tax-rates-page #tax_rates_table_wrapper .dataTables_scroll,
  .tax-rates-page #tax_rates_table_wrapper .dataTables_scrollHead,
  .tax-rates-page #tax_rates_table_wrapper .dataTables_scrollBody,
  .tax-rates-page #tax_groups_table_wrapper .dataTables_scroll,
  .tax-rates-page #tax_groups_table_wrapper .dataTables_scrollHead,
  .tax-rates-page #tax_groups_table_wrapper .dataTables_scrollBody {
    overflow: visible !important;
    width: auto !important;
    min-width: 100%;
  }
  .barcode-page #barcode_table,
  .printer-page #printer_table,
  .tax-rates-page #tax_rates_table,
  .tax-rates-page #tax_groups_table {
    width: max-content !important;
    min-width: 100%;
    max-width: none;
    table-layout: auto !important;
  }
  .barcode-page #barcode_table th,
  .barcode-page #barcode_table td,
  .printer-page #printer_table th,
  .printer-page #printer_table td,
  .tax-rates-page #tax_rates_table th,
  .tax-rates-page #tax_rates_table td,
  .tax-rates-page #tax_groups_table th,
  .tax-rates-page #tax_groups_table td {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    word-break: normal;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }
  .barcode-page #barcode_table th:first-child,
  .barcode-page #barcode_table td:first-child,
  .printer-page #printer_table th:first-child,
  .printer-page #printer_table td:first-child,
  .tax-rates-page #tax_rates_table th:first-child,
  .tax-rates-page #tax_rates_table td:first-child,
  .tax-rates-page #tax_groups_table th:first-child,
  .tax-rates-page #tax_groups_table td:first-child {
    white-space: normal;
    min-width: 7rem;
    max-width: 11rem;
  }
  .barcode-page #barcode_table th:nth-child(2),
  .barcode-page #barcode_table td:nth-child(2),
  .tax-rates-page #tax_groups_table th:nth-child(3),
  .tax-rates-page #tax_groups_table td:nth-child(3) {
    white-space: normal;
    min-width: 8rem;
    max-width: 14rem;
  }
  .barcode-page #barcode_table_wrapper .dataTables_length,
  .barcode-page #barcode_table_wrapper .dataTables_filter,
  .printer-page #printer_table_wrapper .dataTables_length,
  .printer-page #printer_table_wrapper .dataTables_filter,
  .tax-rates-page #tax_rates_table_wrapper .dataTables_length,
  .tax-rates-page #tax_rates_table_wrapper .dataTables_filter,
  .tax-rates-page #tax_groups_table_wrapper .dataTables_length,
  .tax-rates-page #tax_groups_table_wrapper .dataTables_filter {
    float: none !important;
    text-align: right;
    margin-bottom: 0.5rem;
  }
  .barcode-page #barcode_table_wrapper .dataTables_filter input,
  .printer-page #printer_table_wrapper .dataTables_filter input,
  .tax-rates-page #tax_rates_table_wrapper .dataTables_filter input,
  .tax-rates-page #tax_groups_table_wrapper .dataTables_filter input {
    width: 100% !important;
    max-width: 100%;
    margin-right: 0;
  }
  .barcode-page #barcode_table_wrapper .dt-buttons,
  .printer-page #printer_table_wrapper .dt-buttons,
  .tax-rates-page #tax_rates_table_wrapper .dt-buttons,
  .tax-rates-page #tax_groups_table_wrapper .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
  }
  .barcode-page #barcode_table_wrapper .dataTables_info,
  .barcode-page #barcode_table_wrapper .dataTables_paginate,
  .printer-page #printer_table_wrapper .dataTables_info,
  .printer-page #printer_table_wrapper .dataTables_paginate,
  .tax-rates-page #tax_rates_table_wrapper .dataTables_info,
  .tax-rates-page #tax_rates_table_wrapper .dataTables_paginate,
  .tax-rates-page #tax_groups_table_wrapper .dataTables_info,
  .tax-rates-page #tax_groups_table_wrapper .dataTables_paginate {
    float: none !important;
    text-align: center !important;
    margin-top: 0.5rem;
  }
}
/* Payment accounts page */
.payment-accounts-page__alert {
  margin-bottom: 1rem;
}
.payment-accounts-page__alert-text {
  margin: 0;
}
.payment-accounts-page__tabs .contact-show-tab-panel {
  padding-top: 1rem;
}
.payment-accounts-page__toolbar {
  margin-bottom: 1rem;
}
.payment-accounts-page__status-filter {
  min-width: 11rem;
}
.payment-accounts-page #other_account_table_wrapper,
.payment-accounts-page #account_types_table {
  width: 100% !important;
}
.payment-accounts-page #other_account_table th:last-child,
.payment-accounts-page #other_account_table td:last-child {
  overflow: visible;
  text-overflow: clip;
}
.payment-accounts-page .app-table-actions .btn-group.app-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}
.payment-accounts-page .app-table-actions .app-btn-table--secondary.btn-modal {
  min-width: 2.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.payment-accounts-page .app-table-actions .app-btn-table--secondary.btn-modal .fas {
  font-size: 0.9rem;
}
.payment-accounts-page__footer-total td {
  font-weight: 600;
  background: #f8fafc;
}
.payment-accounts-page #account_types_table th {
  font-weight: 600;
}
.payment-accounts-page__inline-form {
  display: inline;
}
.payment-accounts-page__modal-summary {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}
/* Account book (ledger) page */
.account-book-page__top {
  margin-bottom: 0.75rem;
}
.account-book-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.account-book-page__back:hover,
.account-book-page__back:focus {
  color: #1d4ed8;
  text-decoration: none;
}
.account-book-page__summary-row {
  margin-bottom: 1rem;
}
.account-book-page__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.35rem 1.5rem;
  margin: 0;
}
.account-book-page__balance-row dd {
  font-weight: 700;
  color: #0f172a;
}
.account-book-page__balance-value {
  font-size: 1.05rem;
}
.account-book-page__intro {
  margin-bottom: 1rem;
}
.account-book-page #account_book_wrapper {
  width: 100% !important;
  overflow-x: auto;
}
.account-book-page #account_book th:last-child,
.account-book-page #account_book td:last-child {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
.account-book-page__footer-total td {
  font-weight: 600;
  background: #f8fafc;
}
.account-book-page .app-table-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}
/* Balance sheet page */
.balance-sheet-page__intro {
  margin-bottom: 1rem;
}
.balance-sheet-page__filter-actions {
  margin-bottom: 0;
}
.balance-sheet-page__print-header {
  display: none;
  text-align: center;
  margin-bottom: 1rem;
}
.balance-sheet-page__print-title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.balance-sheet-page__print-range {
  margin: 0;
  color: #475569;
}
.balance-sheet-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 991px) {
  .balance-sheet-page__grid {
    grid-template-columns: 1fr;
  }
}
.balance-sheet-page__column {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.balance-sheet-page__column--liability .profit-loss-report-card__title {
  color: #b45309;
}
.balance-sheet-page__column--assets .profit-loss-report-card__title {
  color: #047857;
}
.balance-sheet-page__column .profit-loss-report-card__title i {
  margin-left: 0.4rem;
}
.balance-sheet-page__table {
  margin-bottom: 0;
  flex: 1 1 auto;
}
.balance-sheet-page__section-row th {
  background: #f8fafc;
  font-size: 0.9rem;
  padding-top: 0.65rem !important;
  padding-bottom: 0.65rem !important;
}
.balance-sheet-page__accounts-body .balance-sheet-page__account-row th {
  padding-right: 1.25rem !important;
  font-weight: 500;
  font-size: 0.9rem;
}
.balance-sheet-page__loading,
.balance-sheet-page__empty {
  text-align: center;
  color: #64748b;
  padding: 0.75rem !important;
}
.balance-sheet-page__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
}
.balance-sheet-page__total--liability {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}
.balance-sheet-page__total--assets {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}
.balance-sheet-page__total-value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media print {
  .balance-sheet-page__print-header {
    display: block !important;
  }
  .balance-sheet-page__grid {
    gap: 0.75rem;
  }
  .balance-sheet-page__column {
    break-inside: avoid;
  }
}
/* Trial balance page */
.trial-balance-page__intro {
  margin-bottom: 1rem;
}
.trial-balance-page__filter-actions {
  margin-bottom: 0;
}
.trial-balance-page__print-header {
  display: none;
  text-align: center;
  margin-bottom: 1rem;
}
.trial-balance-page__print-title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.trial-balance-page__print-range {
  margin: 0;
  color: #475569;
}
.trial-balance-page__table {
  margin-bottom: 0;
}
.trial-balance-page__table thead th {
  background: #f1f5f9;
  font-weight: 700;
  vertical-align: middle;
}
.trial-balance-page__col-debit {
  width: 22%;
  min-width: 8rem;
}
.trial-balance-page__col-credit {
  width: 22%;
  min-width: 8rem;
}
.trial-balance-page__amount {
  text-align: left;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  vertical-align: middle !important;
}
.trial-balance-page__section-row th {
  background: #f8fafc;
  font-size: 0.9rem;
  font-weight: 600;
}
.trial-balance-page__account-row th.trial-balance-page__account-name {
  padding-right: 1.5rem !important;
  font-weight: 500;
  font-size: 0.9rem;
}
.trial-balance-page__loading,
.trial-balance-page__empty {
  text-align: center;
  color: #64748b;
  padding: 0.75rem !important;
}
.trial-balance-page__footer-total th,
.trial-balance-page__footer-total td {
  background: #eef2ff !important;
  font-weight: 700;
  color: #1e3a8a;
  border-top: 2px solid #c7d2fe;
}
@media print {
  .trial-balance-page__print-header {
    display: block !important;
  }
  .trial-balance-page__table {
    font-size: 0.85rem;
  }
}
/* Cash flow page */
.cash-flow-page__intro {
  margin-bottom: 1rem;
}
.cash-flow-page__range {
  font-weight: 600;
  color: #1e40af;
}
.cash-flow-page #cash_flow_table_wrapper {
  width: 100% !important;
  overflow-x: auto;
}
.cash-flow-page #cash_flow_table th,
.cash-flow-page #cash_flow_table td {
  vertical-align: middle !important;
}
.cash-flow-page #cash_flow_table th:nth-child(n+6),
.cash-flow-page #cash_flow_table td:nth-child(n+6) {
  text-align: left;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cash-flow-page__footer-total td {
  font-weight: 600;
  background: #f8fafc;
}
.cash-flow-page__filter-actions {
  margin-bottom: 0;
}
.cash-flow-print__table {
  font-size: 0.72rem;
}
.cash-flow-print__table th,
.cash-flow-print__table td {
  padding: 0.35rem 0.4rem !important;
}
/* Payment account report page */
.payment-account-report-page__intro {
  margin-bottom: 1rem;
}
.payment-account-report-page__range {
  font-weight: 600;
  color: #1e40af;
}
.payment-account-report-page #payment_account_report_wrapper {
  width: 100% !important;
  overflow-x: auto;
}
.payment-account-report-page #payment_account_report th:last-child,
.payment-account-report-page #payment_account_report td:last-child {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
.payment-account-report-page .app-table-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.account-modal-details-table {
  margin-bottom: 0;
}
.account-modal-details-table .form-control {
  min-width: 0;
}
.hrm-dashboard-page .catalog-settings-page__intro {
  margin-bottom: 1rem;
}
.hrm-dashboard-page__grid {
  display: flex;
  flex-wrap: wrap;
}
.hrm-dashboard-page__grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.hrm-dashboard-page__grid .box {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.hrm-dashboard-page__stat-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.hrm-dashboard-page__stat-label {
  display: block;
  font-size: 0.8125rem;
  color: #64748b;
}
.hrm-dashboard-page__stat-value {
  font-weight: 600;
  font-size: 1rem;
}
.hrm-dashboard-page__table-section {
  background: #f1f5f9 !important;
  font-weight: 600;
  font-size: 0.875rem;
}
.hrm-dashboard-page__table-section--spaced {
  border-top: 2px solid #e2e8f0;
}
.hrm-dashboard-page__divider {
  margin: 1.5rem 0;
  border-top: 1px solid #e2e8f0;
}
.hrm-dashboard-page__section-intro {
  margin-bottom: 1rem;
}
.hrm-dashboard-page__action-col {
  display: flex;
  align-items: stretch;
}
.hrm-dashboard-page__payroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3rem;
  text-align: center;
}
.hrm-dashboard-page #sales_targets_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.hrm-dashboard-page #sales_targets_table {
  width: 100% !important;
}
/* Repair dashboard */
.repair-dashboard-page .catalog-settings-page__intro {
  margin-bottom: 1rem;
}
.repair-dashboard-page__status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.85rem;
}
.repair-dashboard-page__status-card {
  padding: 1rem 1.1rem;
  border-radius: 0.65rem;
  background: var(--status-color, #2f6fcb);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.repair-dashboard-page__status-name {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.95;
}
.repair-dashboard-page__status-count {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}
.repair-dashboard-page__empty {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: #f0f7ff;
  border: 1px solid #93b4ee;
  border-radius: 0.5rem;
  color: #1d4ed8;
}
.repair-dashboard-page__empty i {
  font-size: 1.125rem;
  flex-shrink: 0;
}
.repair-dashboard-page__empty p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}
.repair-dashboard-page__table-widget {
  margin-top: 1rem;
}
.repair-dashboard-page__charts-grid > [class*="col-"] {
  margin-bottom: 0;
}
.repair-dashboard-page__chart-wrap {
  min-height: 16rem;
}
/* Repair settings tabs */
.repair-settings-page .catalog-settings-page__intro {
  margin-bottom: 1rem;
}
.repair-settings-page__filters {
  margin-bottom: 0.5rem;
}
.repair-settings-page__toolbar {
  margin-bottom: 0.75rem;
}
.repair-settings-page #status_table_wrapper,
.repair-settings-page #model_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.repair-settings-page #status_table,
.repair-settings-page #model_table {
  width: 100% !important;
}
/* Repair invoices list */
.repair-invoices-page__intro {
  margin-bottom: 1rem;
}
.repair-invoices-page__toolbar {
  margin-bottom: 0.75rem;
}
.repair-invoices-page #pending_repair_table_wrapper,
.repair-invoices-page #sell_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.repair-invoices-page #pending_repair_table,
.repair-invoices-page #sell_table {
  width: 100% !important;
}
.repair-invoices-page #pending_repair_table > thead > tr > th,
.repair-invoices-page #pending_repair_table > tbody > tr > td,
.repair-invoices-page #sell_table > thead > tr > th,
.repair-invoices-page #sell_table > tbody > tr > td {
  vertical-align: middle;
}
/* Repair job sheets list */
.repair-job-sheets-page__intro {
  margin-bottom: 1rem;
}
.repair-job-sheets-page__toolbar {
  margin-bottom: 0.75rem;
}
.repair-job-sheets-page #pending_job_sheets_table_wrapper,
.repair-job-sheets-page #completed_job_sheets_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.repair-job-sheets-page #pending_job_sheets_table,
.repair-job-sheets-page #completed_job_sheets_table {
  width: 100% !important;
}
.repair-job-sheets-page #pending_job_sheets_table > thead > tr > th,
.repair-job-sheets-page #pending_job_sheets_table > tbody > tr > td,
.repair-job-sheets-page #completed_job_sheets_table > thead > tr > th,
.repair-job-sheets-page #completed_job_sheets_table > tbody > tr > td {
  vertical-align: middle;
}
/* Repair job sheet create/edit form */
.repair-job-sheet-form-page .catalog-settings-page__intro {
  margin-bottom: 1rem;
}
.repair-job-sheet-form-page .box-primary + .box-primary {
  margin-top: 1rem;
}
.repair-job-sheet-form-page__service-type .form-group {
  margin-bottom: 0;
}
.repair-job-sheet-form-page__radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 0.35rem;
}
.repair-job-sheet-form-page__radio-group .radio-inline {
  margin: 0;
  padding: 0;
}
.repair-job-sheet-form-page__checklist-panel {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
}
.repair-job-sheet-form-page__checklist-title {
  margin-bottom: 0.35rem;
}
.repair-job-sheet-form-page__checklist-hint {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.repair-job-sheet-form-page__tags-row {
  margin-top: 0.5rem;
}
.repair-job-sheet-form-page__checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 0.35rem;
}
.repair-job-sheet-form-page__checkbox-group label {
  margin: 0;
  font-weight: 500;
}
.repair-job-sheet-form-page__actions {
  justify-content: flex-end;
  margin-top: 1.25rem;
}
.repair-job-sheet-form-page .input-group-btn .app-btn-primary--sm {
  border-radius: 0 0.375rem 0.375rem 0;
  white-space: nowrap;
}
[dir="rtl"] .repair-job-sheet-form-page .input-group-btn .app-btn-primary--sm {
  border-radius: 0.375rem 0 0 0.375rem;
}
.leave-type-page .catalog-settings-page__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.leave-type-page .table-responsive,
.leave-type-page #leave_type_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.leave-type-page #leave_type_table {
  width: 100% !important;
}
.leave-type-page__interval-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.35rem;
}
.leave-type-page__interval-options .radio-inline {
  margin: 0;
}
.leave-page .catalog-settings-page__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.leave-page .table-responsive,
.leave-page #leave_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.leave-page #leave_table {
  width: 100% !important;
}
.leave-page__instructions {
  line-height: 1.6;
}
.leave-page__additional-check {
  margin-top: 1rem;
}
.leave-page__activity-meta {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.attendance-page__intro {
  margin-bottom: 1rem;
}
.attendance-page__clock-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.attendance-page__clocked-in {
  width: 100%;
  text-align: center;
  margin: 0.25rem 0 0;
}
.attendance-page__clock-out-btn {
  background: #d97706;
  border-color: #d97706;
}
.attendance-page__clock-out-btn:hover {
  background: #b45309;
  border-color: #b45309;
}
.attendance-page__tabs {
  margin-top: 0.5rem;
}
.attendance-page__tab-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.attendance-page__tab-toolbar--end {
  padding-top: 1.5rem;
}
.attendance-page__filters {
  margin-bottom: 0.75rem;
}
.attendance-page__summary {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.attendance-page #attendance_table_wrapper,
.attendance-page #shift_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.attendance-page__employee-name {
  margin-bottom: 1rem;
}
.payroll-page__intro {
  margin-bottom: 1rem;
}
.payroll-page__tabs {
  margin-top: 0.5rem;
}
.payroll-page__tab-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.payroll-page__select-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.payroll-page #payrolls_table_wrapper,
.payroll-page #payroll_group_table_wrapper,
.payroll-page #ad_pc_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.payroll-form-page__table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}
.payroll-form-page #payroll_table {
  min-width: 900px;
}
.payroll-form-page__footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.payroll-form-page__notify {
  display: inline-block;
  margin-left: 1rem;
  margin-bottom: 0;
  font-weight: normal;
}
.payroll-form-page__gross {
  text-align: end;
  margin: 1rem 0;
  font-size: 1.1rem;
}
.payroll-form-page__row-action {
  width: 4rem;
  white-space: nowrap;
  vertical-align: middle;
}
.holiday-page__filters {
  margin-bottom: 0.75rem;
}
.holiday-page .catalog-settings-page__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.holiday-page #holidays_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.sales-target-page #sales_target_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.sales-target-page .app-table-actions .app-btn-table {
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
}
.hrm-settings-page__intro {
  margin-bottom: 1rem;
}
.hrm-settings-page__tabs {
  margin-top: 0.5rem;
}
.hrm-settings-page__footer {
  margin-top: 1.25rem;
}
.hrm-settings-page__submit-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}
.hrm-settings-page .contact-show-tab-panel {
  padding-top: 1rem;
}
.hrm-settings-page__note {
  margin: 0.75rem 0 0;
  color: #64748b;
  font-size: 0.875rem;
}
.hrm-settings-page .supplier-contact-form__section {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.hrm-settings-page .supplier-contact-form__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.superadmin-page__filters {
  margin-bottom: 0.75rem;
}
.superadmin-page .catalog-settings-page__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.superadmin-page #superadmin_business_table_wrapper,
.superadmin-page #superadmin_Coupons_table_wrapper,
.superadmin-page #superadmin_subscription_table_wrapper,
.superadmin-page #message-history_wrapper,
.superadmin-page #users_table_wrapper {
  width: 100% !important;
  overflow-x: auto;
}
.superadmin-page #users_table_wrapper .app-table-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}
.superadmin-page #users_table_wrapper .app-btn-table {
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
}
.superadmin-page__packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
  margin-top: 0.5rem;
}
.superadmin-pricing-page__grid-wrap .superadmin-page__packages-grid,
.superadmin-pricing-page__grid.superadmin-page__packages-grid,
.superadmin-subscription-page__packages-grid.superadmin-page__packages-grid,
.superadmin-packages-page__packages-grid.superadmin-page__packages-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__grid-wrap .superadmin-page__packages-grid,
.superadmin-pricing-page--auth .superadmin-pricing-page__grid.superadmin-page__packages-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.superadmin-pricing-page__grid-wrap .superadmin-page__packages-grid > .superadmin-page__packages-grid-item,
.superadmin-pricing-page__grid > .superadmin-page__packages-grid-item,
.superadmin-subscription-page__packages-grid > .superadmin-page__packages-grid-item,
.superadmin-packages-page__packages-grid > .superadmin-page__packages-grid-item {
  display: flex;
  min-width: 0;
  height: 100%;
}
.superadmin-packages-page__packages-grid {
  width: 100%;
  max-width: 1120px;
  margin-inline-start: 0;
  margin-inline-end: auto;
}
[dir="ltr"] .superadmin-packages-page__packages-grid {
  margin-inline-start: auto;
  margin-inline-end: 0;
}
.superadmin-packages-page .superadmin-page__pagination {
  max-width: 1120px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  justify-content: flex-start;
}
[dir="ltr"] .superadmin-packages-page .superadmin-page__pagination {
  margin-inline-start: auto;
  margin-inline-end: 0;
  justify-content: flex-end;
}
.superadmin-page__packages-grid-item {
  display: flex;
  min-width: 0;
}
.superadmin-page__pagination {
  margin-top: 1.25rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
/* Business subscription page */
.superadmin-subscription-page .catalog-settings-page__intro {
  margin-bottom: 1rem;
}
.superadmin-subscription-page__status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
  width: 100%;
}
.superadmin-subscription-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.superadmin-subscription-card--running {
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}
.superadmin-subscription-card--upcoming {
  border-color: #93b4ee;
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
}
.superadmin-subscription-card--waiting {
  border-color: #fcd34d;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}
.superadmin-subscription-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.superadmin-subscription-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}
.superadmin-subscription-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}
.superadmin-subscription-card__badge--running {
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}
.superadmin-subscription-card__badge--upcoming {
  color: #1d4ed8;
  background: #eaf2ff;
  border: 1px solid #93b4ee;
}
.superadmin-subscription-card__badge--waiting {
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fcd34d;
}
.superadmin-subscription-card__meta {
  margin: 0;
  flex: 1 1 auto;
}
.superadmin-subscription-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #e2e8f0;
}
.superadmin-subscription-card__meta-row:last-child {
  border-bottom: none;
}
.superadmin-subscription-card__meta-row dt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
}
.superadmin-subscription-card__meta-row dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  text-align: end;
}
.superadmin-subscription-card__remaining {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 0.375rem;
  text-align: center;
}
.superadmin-subscription-card__status-text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #92400e;
  line-height: 1.45;
}
.superadmin-subscription-card__actions {
  margin-top: auto;
  padding-top: 0.85rem;
}
.superadmin-subscription-card__actions .app-btn-primary {
  width: 100%;
  justify-content: center;
}
/* Subscription expired alert (modal + inline) */
.subscription-expired-modal-dialog {
  max-width: 32rem;
}
.subscription-expired-modal__body {
  padding: 1.25rem 1.25rem 0.5rem;
}
.subscription-expired-modal__footer {
  gap: 0.65rem;
}
.subscription-expired-modal__footer .app-btn-primary {
  min-width: 8.5rem;
  justify-content: center;
}
/* Header active subscription (topbar) */
.header-subscription-btn {
  cursor: pointer;
  border: none;
  max-width: 13rem;
}
.header-subscription-btn__icon {
  flex-shrink: 0;
  font-size: 0.9375rem;
  opacity: 0.95;
}
.header-subscription-btn__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 9rem;
  font-weight: 600;
}
.active-subscription-modal-dialog {
  max-width: 28rem;
}
.active-subscription-modal__body {
  padding: 1rem 1.25rem 0.5rem;
}
.active-subscription-modal__card {
  margin-bottom: 0.25rem;
}
.active-subscription-modal__limits {
  margin-bottom: 0;
  padding: 0.75rem 1.15rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.active-subscription-modal__limits li {
  padding-inline: 0.25rem;
}
.active-subscription-modal__footer {
  gap: 0.65rem;
}
.active-subscription-modal__footer .app-btn-primary {
  min-width: 8.5rem;
  justify-content: center;
}
.view_modal .active-subscription-modal.modal-content,
#active_subscription_modal .active-subscription-modal.modal-content {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.subscription-expired-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #fef2f2 0%, #fff5f5 100%);
  border: 1px solid #fecaca;
  border-radius: 0.65rem;
}
.subscription-expired-alert__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 1.125rem;
}
.subscription-expired-alert__message {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: #991b1b;
}
.subscription-expired-alert__hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
}
.superadmin-subscription-page__no-active {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  color: #b91c1c;
}
.superadmin-subscription-page__no-active i {
  font-size: 1.125rem;
  flex-shrink: 0;
}
.superadmin-subscription-page__no-active p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}
.superadmin-subscription-page__status-grid--after-alert {
  margin-top: 0;
}
.superadmin-subscription-page__packages-toolbar {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.superadmin-subscription-page__packages-grid {
  margin-top: 0.25rem;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card,
.superadmin-pricing-page__grid .superadmin-package-card,
.superadmin-packages-page__packages-grid .superadmin-package-card {
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription,
.superadmin-pricing-page__grid .superadmin-package-card--subscription {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
  border: 1px solid #cfd8e3;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription:hover,
.superadmin-pricing-page__grid .superadmin-package-card--subscription:hover {
  border-color: #b8c5d4;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription.superadmin-package-card--popular,
.superadmin-pricing-page__grid .superadmin-package-card--subscription.superadmin-package-card--popular {
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.14), 0 4px 18px rgba(59, 130, 246, 0.12);
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription.superadmin-package-card--free,
.superadmin-pricing-page__grid .superadmin-package-card--subscription.superadmin-package-card--free {
  border-color: #86efac;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.12), 0 4px 16px rgba(34, 197, 94, 0.08);
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__header,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__header {
  margin: 0;
  padding: 1.15rem 1.25rem 1rem;
  background: linear-gradient(135deg, #eef2f7 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription.superadmin-package-card--free .superadmin-package-card__header,
.superadmin-pricing-page__grid .superadmin-package-card--subscription.superadmin-package-card--free .superadmin-package-card__header {
  background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription.superadmin-package-card--popular .superadmin-package-card__header,
.superadmin-pricing-page__grid .superadmin-package-card--subscription.superadmin-package-card--popular .superadmin-package-card__header {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__title,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__body,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem 0.5rem;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__price,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__price {
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  text-align: center;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__price-amount,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__price-amount {
  font-size: 1.75rem;
  color: #1d4ed8;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__price-free,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__price-free {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #15803d;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__description,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__description {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #475569;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__limits,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__limits {
  margin-bottom: 0.5rem;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__limits li,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__limits li {
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.4rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  border-bottom: none;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__limits li i,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__limits li i {
  color: #3b82f6;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__permissions,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__permissions {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__footer,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__footer {
  margin-top: auto;
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f9 100%);
  border-top: 1px solid #e8edf2;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__cta,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__cta {
  min-height: 46px;
  font-weight: 600;
  border-radius: 10px;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__cta--free,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__cta--free {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-color: #16a34a;
}
.superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__cta--free:hover,
.superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__cta--free:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border-color: #15803d;
}
.superadmin-package-card__badge--trial {
  background: #dcfce7;
  color: #166534;
}
.superadmin-packages-page__packages-grid .superadmin-package-card__header {
  flex-wrap: wrap;
  gap: 0.5rem;
}
.superadmin-packages-page__packages-grid .superadmin-package-card__actions {
  width: 100%;
  flex-basis: 100%;
  justify-content: flex-end;
  gap: 0.35rem;
}
.superadmin-packages-page__packages-grid .superadmin-package-card__actions .app-btn-table {
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
}
@media (max-width: 1199px) {
  .superadmin-pricing-page--auth .superadmin-pricing-page__grid-wrap .superadmin-page__packages-grid,
  .superadmin-pricing-page--auth .superadmin-pricing-page__grid.superadmin-page__packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .superadmin-pricing-page__grid-wrap .superadmin-page__packages-grid,
  .superadmin-pricing-page__grid.superadmin-page__packages-grid,
  .superadmin-subscription-page__packages-grid.superadmin-page__packages-grid,
  .superadmin-packages-page__packages-grid.superadmin-page__packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .superadmin-pricing-page__grid-wrap .superadmin-page__packages-grid,
  .superadmin-pricing-page__grid.superadmin-page__packages-grid,
  .superadmin-subscription-page__packages-grid.superadmin-page__packages-grid,
  .superadmin-packages-page__packages-grid.superadmin-page__packages-grid,
  .superadmin-pricing-page--auth .superadmin-pricing-page__grid-wrap .superadmin-page__packages-grid,
  .superadmin-pricing-page--auth .superadmin-pricing-page__grid.superadmin-page__packages-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}
.superadmin-subscription-page #all_subscriptions_table_wrapper {
  width: 100% !important;
}
@media (max-width: 767px) {
  .superadmin-subscription-page__status-grid {
    grid-template-columns: 1fr;
  }
}
/* Subscription receipt print (hidden on screen) */
.subscription-receipt-print {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Subscription view modal */
.subscription-view-modal-dialog {
  max-width: 52rem;
}
.subscription-view-modal__body {
  padding: 1.25rem;
}
.subscription-view-modal__parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.25rem;
}
.subscription-view-modal__party {
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.subscription-view-modal__party-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  padding-bottom: 0.55rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
}
.subscription-view-modal__party-title i {
  color: #2f6fcb;
}
.subscription-view-modal__meta-list {
  margin: 0;
}
.subscription-view-modal__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.subscription-view-modal__meta-row:last-child {
  margin-bottom: 0;
}
.subscription-view-modal__meta-row dt {
  margin: 0;
  font-weight: 600;
  color: #64748b;
}
.subscription-view-modal__meta-row dt::after {
  content: ':';
}
.subscription-view-modal__meta-row dd {
  margin: 0;
  color: #0f172a;
  word-break: break-word;
}
.subscription-view-modal__table {
  margin-bottom: 0;
}
.subscription-view-modal__price-stack {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
}
.subscription-view-modal__price-original {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.875rem;
}
.subscription-view-modal__price-discount {
  font-size: 0.8125rem;
  color: #15803d;
}
.subscription-view-modal__coupon-badge {
  display: inline-block;
  margin-inline-start: 0.25rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #eaf2ff;
  border-radius: 0.25rem;
}
.subscription-view-modal__price-final {
  font-weight: 600;
  color: #0f172a;
}
.subscription-view-modal__stats {
  margin-top: 0;
}
.subscription-view-modal .supplier-contact-form__section {
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #e2e8f0;
}
.subscription-view-modal .supplier-contact-form__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
@media (max-width: 767px) {
  .subscription-view-modal__parties {
    grid-template-columns: 1fr;
  }
}
/* Subscription pay page */
.superadmin-subscription-pay-page .catalog-settings-page__intro {
  margin-bottom: 0.75rem;
}
.superadmin-subscription-pay-page__toolbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
}
.superadmin-subscription-pay-page__layout {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) 1fr;
  gap: 1.5rem;
  align-items: start;
}
.superadmin-subscription-pay-page__package {
  position: sticky;
  top: 1rem;
}
.superadmin-subscription-pay-page__checkout .supplier-contact-form__section {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.superadmin-subscription-pay-page__checkout .supplier-contact-form__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.superadmin-subscription-pay-page__coupon-form .form-group label {
  font-weight: 500;
  color: #334155;
}
.superadmin-subscription-pay-page__coupon-submit {
  margin-top: 1.65rem;
}
.superadmin-subscription-pay-page__coupon-submit .app-btn-primary,
.superadmin-subscription-pay-page__coupon-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.8125rem;
  padding: 0.45rem 0.75rem;
}
.superadmin-subscription-pay-page__coupon-result {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.superadmin-subscription-pay-page__coupon-result--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.superadmin-subscription-pay-page__coupon-result--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.superadmin-subscription-pay-page__coupon-result-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.superadmin-subscription-pay-page__coupon-result-text {
  margin: 0;
  font-size: 0.875rem;
}
.superadmin-subscription-pay-page__gateways {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.superadmin-subscription-pay-page__gateway {
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #f8fafc;
  overflow: hidden;
}
.superadmin-subscription-pay-page__gateway-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}
.superadmin-subscription-pay-page__gateway-head i {
  color: #2f6fcb;
}
.superadmin-subscription-pay-page__gateway-body {
  padding: 1rem;
  background: #fff;
}
.superadmin-subscription-pay-page__gateway-form .app-btn-primary {
  margin-bottom: 0.5rem;
}
.superadmin-subscription-pay-page__help {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: #64748b;
}
.superadmin-subscription-pay-page__receipt-upload {
  margin: 0.85rem 0 1rem;
}
.superadmin-subscription-pay-page__receipt-upload label {
  font-weight: 600;
  color: #334155;
}
.superadmin-subscription-pay-page__help--after-btn {
  margin-top: 0.65rem;
}
.superadmin-subscription-card__receipt {
  margin-top: 0.75rem;
}
.superadmin-subscription-page__waiting-lock {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0.25rem 0 0.5rem;
  padding: 1rem 1.1rem;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 0.65rem;
  color: #92400e;
}
.superadmin-subscription-page__waiting-lock > i {
  font-size: 1.25rem;
  margin-top: 0.15rem;
  color: #d97706;
}
.superadmin-subscription-page__waiting-lock-title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
}
.superadmin-subscription-page__waiting-lock-hint {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #a16207;
}
.superadmin-subscription-receipt-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.superadmin-subscription-receipt-thumb-wrap {
  margin-top: 0.35rem;
}
.superadmin-subscription-receipt-thumb {
  max-width: 100%;
  max-height: 220px;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  object-fit: contain;
  background: #f8fafc;
}
.subscription-receipt-modal__body {
  text-align: center;
  padding: 1rem;
  background: #f8fafc;
}
.subscription-receipt-modal__image {
  max-width: 100%;
  max-height: 75vh;
  margin: 0 auto;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  object-fit: contain;
  background: #fff;
}
.app-table-actions .view_subscription_receipt i {
  font-size: 0.95rem;
}
.superadmin-subscription-pay-page__offline-details {
  margin-top: 0;
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.superadmin-subscription-pay-page__no-gateway {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 0.5rem;
  color: #92400e;
}
.superadmin-subscription-pay-page__no-gateway p {
  margin: 0;
  font-size: 0.9375rem;
}
@media (max-width: 991px) {
  .superadmin-subscription-pay-page__layout {
    grid-template-columns: 1fr;
  }
  .superadmin-subscription-pay-page__package {
    position: static;
  }
}
/* Register-pay (auth) unified layout */
.auth-single-page--register-pay {
  max-width: min(980px, 96vw);
}
.auth-layout__main:has(.auth-single-page--register-pay) {
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1.25rem 2.5rem;
}
.superadmin-register-pay-page {
  width: 100%;
  max-width: none;
  padding: 0 0 2.5rem;
}
.superadmin-register-pay-page__shell {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
  border: 1px solid #cfd8e3;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
}
.superadmin-register-pay-page__top-bar {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem 0;
  background: linear-gradient(135deg, var(--auth-blue-header-from) 0%, var(--auth-blue-header-to) 100%);
}
.superadmin-register-pay-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--auth-blue);
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: color 0.12s ease;
}
.superadmin-register-pay-page__back:hover,
.superadmin-register-pay-page__back:focus {
  color: var(--auth-blue-dark);
  text-decoration: underline;
}
.superadmin-register-pay-page__hero {
  margin: 0;
  padding: 0.5rem 1.25rem 1.15rem;
  text-align: center;
  background: linear-gradient(135deg, var(--auth-blue-header-from) 0%, var(--auth-blue-header-to) 100%);
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.superadmin-register-pay-page__title-wrap {
  width: 100%;
  text-align: center;
}
.superadmin-register-pay-page__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #2f6fcb;
}
.superadmin-register-pay-page__title {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}
.superadmin-register-pay-page__lead {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
}
.superadmin-register-pay-page__user-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e3a5f;
  background: #eaf2ff;
  border: 1px solid #c5d9f5;
  border-radius: 999px;
}
.superadmin-register-pay-page__user-badge i {
  color: #2f6fcb;
}
.superadmin-register-pay-page__body {
  padding: 1.15rem 1.25rem 1.35rem;
}
.superadmin-register-pay-page__layout {
  display: grid;
  grid-template-columns: minmax(15rem, 20rem) 1fr;
  gap: 1.25rem;
  align-items: start;
}
.superadmin-register-pay-page__summary .superadmin-subscription-pay-page__package {
  position: static;
  margin: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
.superadmin-register-pay-page__summary .superadmin-package-card__header--public {
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #eaf2ff 0%, #f8fafc 100%);
  border-bottom: 1px solid #dbe4f0;
}
.superadmin-register-pay-page__summary .superadmin-package-card__title {
  font-size: 1rem;
  color: #1e3a5f;
}
.superadmin-register-pay-page__summary .superadmin-package-card__price {
  padding: 0.85rem 1rem 0.25rem;
}
.superadmin-register-pay-page__summary .superadmin-package-card__limits {
  padding: 0 1rem 1rem;
}
.superadmin-register-pay-page__checkout {
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.superadmin-register-pay-page__checkout .supplier-contact-form__title {
  color: #1e3a5f;
}
.superadmin-register-pay-page__checkout .supplier-contact-form__title i {
  color: #2f6fcb;
}
.superadmin-register-pay-page__checkout .superadmin-subscription-pay-page__gateway-head {
  background: linear-gradient(180deg, #eaf2ff 0%, #f8fafc 100%);
  border-bottom-color: #dbe4f0;
}
.superadmin-register-pay-page__checkout .superadmin-subscription-pay-page__gateway {
  border-color: #dbe4f0;
  border-radius: 10px;
}
.superadmin-register-pay-page__checkout .superadmin-subscription-pay-page__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
@media (max-width: 991px) {
  .superadmin-register-pay-page__layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .auth-layout__main:has(.auth-single-page--register-pay) {
    padding: 1rem 0.75rem 1.5rem;
  }
  .superadmin-register-pay-page__body {
    padding: 0.9rem 0.85rem 1rem;
  }
  .superadmin-register-pay-page__checkout {
    padding: 0.85rem 0.8rem;
  }
}
.superadmin-packages-page__empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #64748b;
}
.superadmin-packages-page__empty i {
  font-size: 2.5rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}
.superadmin-packages-page__empty p {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.superadmin-package-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.superadmin-package-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.superadmin-package-card--popular {
  border-color: #93c5fd;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15);
}
.superadmin-package-card--inactive {
  opacity: 0.85;
  background: #f8fafc;
}
.superadmin-package-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.superadmin-package-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
}
.superadmin-package-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.superadmin-package-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 9999px;
  line-height: 1.4;
}
.superadmin-package-card__badge--popular {
  background: #dbeafe;
  color: #1d4ed8;
}
.superadmin-package-card__badge--active {
  background: #dcfce7;
  color: #15803d;
}
.superadmin-package-card__badge--inactive {
  background: #f1f5f9;
  color: #64748b;
}
.superadmin-package-card__badge--private,
.superadmin-package-card__badge--onetime {
  background: #fef3c7;
  color: #b45309;
}
.superadmin-package-card__badge--discount {
  background: #dcfce7;
  color: #15803d;
}
.superadmin-package-card__price-compare {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}
.superadmin-package-card__price-compare-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
}
.superadmin-package-card__price-original {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.superadmin-package-card__actions {
  flex-shrink: 0;
}
.superadmin-package-card__price {
  margin-bottom: 0.75rem;
  text-align: center;
}
.superadmin-package-card__price-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.superadmin-package-card__price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  line-height: 1.2;
}
.superadmin-package-card__price-period {
  display: inline-flex;
  flex-direction: row;
  direction: ltr;
  unicode-bidi: isolate;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.3;
  white-space: nowrap;
}
.superadmin-package-card__price-period-count,
.superadmin-package-card__price-period-sep,
.superadmin-package-card__price-period-unit {
  display: inline;
  direction: ltr;
  unicode-bidi: isolate;
}
.superadmin-package-card__price-free {
  font-size: 1.125rem;
  font-weight: 600;
  color: #15803d;
}
.superadmin-package-card__description {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
}
.superadmin-package-card__limits {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}
.superadmin-package-card__limits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: #334155;
  border-bottom: 1px dashed #f1f5f9;
}
.superadmin-package-card__limits li:last-child {
  border-bottom: none;
}
.superadmin-package-card__limits li i {
  width: 1rem;
  color: #64748b;
  text-align: center;
  flex-shrink: 0;
}
.superadmin-package-card__limit-label {
  flex: 1;
  color: #334155;
}
.superadmin-package-card__limit-value {
  font-weight: 600;
  color: #0f172a;
  text-align: end;
  white-space: nowrap;
}
.superadmin-package-card__permissions {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}
.superadmin-package-card__permissions-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.superadmin-package-card__permissions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: #475569;
}
.superadmin-package-card__permissions-list li {
  padding: 0.15rem 0;
}
.superadmin-package-card__permissions-list li::before {
  content: "•";
  margin-left: 0.35rem;
  color: #94a3b8;
}
[dir="ltr"] .superadmin-package-card__permissions-list li::before {
  margin-left: 0;
  margin-right: 0.35rem;
}
.superadmin-package-card--public .superadmin-package-card__header--public {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.75rem;
  margin-bottom: 0;
}
.superadmin-package-card__footer {
  margin-top: auto;
  padding-top: 1rem;
}
.superadmin-package-card__cta {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  line-height: 1.35;
}
.superadmin-pricing-page {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.15rem 2rem;
}
.superadmin-pricing-page--auth {
  width: 100%;
  max-width: none;
  padding: 0 0 2.5rem;
}
.auth-layout__main:has(.auth-single-page--pricing) {
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1.25rem 2.5rem;
}
.superadmin-pricing-page__header-card {
  padding: 0;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
  border: 1px solid #cfd8e3;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
}
.superadmin-pricing-page__top-bar {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.15rem 0;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__top-bar {
  padding: 0.85rem 1.25rem 0;
  background: linear-gradient(135deg, var(--auth-blue-header-from) 0%, var(--auth-blue-header-to) 100%);
}
.superadmin-pricing-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__back {
  padding: 0.2rem 0;
  color: var(--auth-blue);
  font-weight: 600;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.superadmin-pricing-page__back:hover,
.superadmin-pricing-page__back:focus {
  color: var(--auth-blue);
  border-color: #bfdbfe;
  background: #f8fafc;
  text-decoration: none;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__back:hover,
.superadmin-pricing-page--auth .superadmin-pricing-page__back:focus {
  color: var(--auth-blue-dark);
  background: transparent;
  text-decoration: underline;
}
.superadmin-pricing-page__hero {
  text-align: center;
  padding: 1.5rem 1rem 1.25rem;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.superadmin-pricing-page--auth .superadmin-pricing-page__hero {
  margin: 0;
  padding: 0.5rem 1.25rem 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, var(--auth-blue-header-from) 0%, var(--auth-blue-header-to) 100%);
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__title-wrap {
  width: 100%;
  text-align: center;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__lead {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #475569;
}
.superadmin-pricing-page__toggle-wrap {
  margin-top: 1.15rem;
  padding: 0.5rem 0.85rem;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}
.superadmin-pricing-page--auth .superadmin-pricing-page__toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  padding: 0.35rem 0 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__toggle {
  justify-content: center;
  width: 100%;
}
.superadmin-pricing-page__eyebrow {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2f6fcb;
  background: rgba(47, 111, 203, 0.1);
  border-radius: 999px;
}
.superadmin-pricing-page__title {
  margin: 0 0 0.35rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
}
.superadmin-pricing-page__lead {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: #64748b;
}
.superadmin-pricing-page__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.superadmin-pricing-page__toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #94a3b8;
  transition: color 0.15s ease;
}
.superadmin-pricing-page__toggle-label.is-active {
  color: #0f172a;
  font-weight: 600;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__toggle-label.is-active {
  color: var(--auth-blue);
  font-weight: 700;
}
.superadmin-pricing-page__toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 3rem;
  height: 1.625rem;
  margin: 0;
  cursor: pointer;
}
.superadmin-pricing-page__toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.superadmin-pricing-page__toggle-slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.superadmin-pricing-page__toggle-slider::before {
  content: "";
  position: absolute;
  height: 1.25rem;
  width: 1.25rem;
  inset-inline-start: 0.1875rem;
  inset-inline-end: auto;
  bottom: 0.1875rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.15);
  transition: inset-inline-start 0.2s ease, inset-inline-end 0.2s ease;
}
.superadmin-pricing-page__toggle-switch input:checked + .superadmin-pricing-page__toggle-slider {
  background: var(--auth-blue);
}
.superadmin-pricing-page--auth .superadmin-pricing-page__toggle-slider {
  background: #cbd5e1;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__toggle-switch input:checked + .superadmin-pricing-page__toggle-slider {
  background: var(--auth-blue-gradient);
}
.superadmin-pricing-page__toggle-switch input:checked + .superadmin-pricing-page__toggle-slider::before {
  inset-inline-start: auto;
  inset-inline-end: 0.1875rem;
}
.superadmin-pricing-page__grid-wrap {
  width: 100%;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__grid-wrap {
  width: 100%;
  padding: 0;
}
.superadmin-pricing-page__grid {
  margin-top: 0;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__grid {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__grid > .superadmin-page__packages-grid-item {
  display: flex;
  min-height: 100%;
  height: 100%;
}
.superadmin-pricing-page--auth .superadmin-pricing-page__grid .superadmin-package-card--subscription {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  height: 100%;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__header {
  padding: 0.75rem 1rem 0.65rem;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__title {
  font-size: 1.05rem;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 0.65rem 1rem 0.25rem;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__price {
  margin-bottom: 0.55rem;
  padding: 0.55rem 0.75rem;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__price-amount {
  font-size: 1.45rem;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__price-free {
  font-size: 1.05rem;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__description {
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.75rem;
  line-height: 1.45;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__limits li {
  padding: 0.35rem 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.8125rem;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__permissions {
  margin-top: auto;
  padding-top: 0.5rem;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__permissions-list {
  font-size: 0.75rem;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__permissions-list li {
  padding: 0.1rem 0;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__footer {
  margin-top: 0;
  padding: 0.75rem 1rem 0.9rem;
}
.superadmin-pricing-page--auth .superadmin-package-card--subscription .superadmin-package-card__cta {
  min-height: 42px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.9375rem;
}
@media (min-width: 1100px) {
  .superadmin-pricing-page--auth .superadmin-pricing-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .superadmin-pricing-page--auth .superadmin-pricing-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .superadmin-pricing-page--auth .superadmin-pricing-page__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.superadmin-pricing-page__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: #64748b;
}
.superadmin-pricing-page__empty i {
  font-size: 2.5rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}
.superadmin-pricing-page__empty p {
  margin: 0;
  font-size: 1rem;
}
.auth-layout__main:has(.superadmin-pricing-page):not(:has(.auth-single-page--pricing)) {
  align-items: flex-start;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}
.superadmin-settings-page__intro {
  margin-bottom: 1rem;
}
.superadmin-settings-page__tabs {
  margin-top: 0.5rem;
}
.superadmin-settings-page__footer {
  margin-top: 1.25rem;
}
.superadmin-settings-page__submit-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}
.superadmin-settings-page .contact-show-tab-panel {
  padding-top: 1rem;
}
.superadmin-settings-page .supplier-contact-form__section {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.superadmin-settings-page .supplier-contact-form__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.user-profile-page__photo {
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
}
.user-profile-page__submit {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
/* User show — page header (title + user switcher), same width as main card */
.user-show-page__shell {
  width: 100%;
  max-width: none;
  margin: 0;
  float: none;
}
.user-show-page__page-header-card {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  width: 100%;
  margin: 0 0 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}
.user-show-page__page-header-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1 1 16rem;
  min-width: 0;
}
.user-show-page__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  color: #475569;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.user-show-page__back:hover,
.user-show-page__back:focus {
  color: #2f6fcb;
  border-color: #93b4ee;
  background: #eaf2ff;
  text-decoration: none;
}
.user-show-page__page-header-text {
  min-width: 0;
}
.user-show-page__page-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}
@media (min-width: 768px) {
  .user-show-page__page-title {
    font-size: 1.5rem;
  }
}
.user-show-page__page-subtitle {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.4;
  word-break: break-word;
}
@media (min-width: 768px) {
  .user-show-page__page-subtitle {
    font-size: 1rem;
  }
}
.user-show-page__page-header-switcher {
  display: flex;
  align-items: stretch;
  flex: 0 1 22rem;
  min-width: min(100%, 14rem);
  max-width: 100%;
}
.user-show-page__switcher-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.user-show-page__switcher-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-self: center;
  color: #2f6fcb;
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 0.375rem;
  font-size: 0.9rem;
}
.user-show-page__switcher-field {
  flex: 1 1 auto;
  min-width: 0;
}
.user-show-page__switcher-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}
.user-show-page__switcher-field .select2-container {
  width: 100% !important;
}
.user-show-page__switcher-field .select2-container--default .select2-selection--single {
  min-height: 38px;
  border-color: #cbd5e1;
  border-radius: 0.375rem;
  background: #fff;
}
.user-show-page__switcher-field .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
  color: #0f172a;
  font-weight: 500;
}
.user-show-page__switcher-field .select2-container--default.select2-container--focus .select2-selection--single,
.user-show-page__switcher-field .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #2f6fcb;
  box-shadow: 0 0 0 2px rgba(47, 111, 203, 0.15);
}
.user-show-page__main-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.user-show-page__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid #e2e8f0;
}
.user-show-page__hero-media {
  flex-shrink: 0;
}
.user-show-page__avatar {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12);
}
.user-show-page__hero-body {
  flex: 1 1 12rem;
  min-width: 0;
}
.user-show-page__hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.user-show-page__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
}
.user-show-page__name {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  word-break: break-word;
}
.user-show-page__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.user-show-page__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
}
.user-show-page__badge--role {
  color: #1d4ed8;
  background: #eaf2ff;
  border-color: #93b4ee;
}
.user-show-page__badge--active {
  color: #15803d;
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.user-show-page__badge--inactive {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}
.user-show-page__edit-btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.user-show-page__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
}
.user-show-page__stats--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.user-show-page__stat {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.user-show-page__stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.15rem;
  color: #2f6fcb;
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.user-show-page__stat--highlight {
  border-color: #93b4ee;
  background: linear-gradient(180deg, #f0f7ff 0%, #eaf2ff 100%);
}
.user-show-page__stat--highlight .user-show-page__stat-icon {
  color: #1d4ed8;
  border-color: #93b4ee;
  background: #fff;
}
.user-show-page__stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.3;
}
.user-show-page__stat-label[lang="en"] {
  direction: ltr;
  text-align: start;
}
.user-show-page__stat-value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}
.user-show-page__stat-value--wrap {
  font-weight: 500;
  font-size: 0.8125rem;
}
@media (max-width: 991px) {
  .user-show-page__stats,
  .user-show-page__stats--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.user-show-page__tabs {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0;
}
.user-show-page__tabs-nav {
  padding: 0.65rem 1rem 0 !important;
}
.user-show-page__tab-content {
  padding: 0 !important;
}
.user-show-page__panel {
  padding: 1.25rem 1.5rem 1.5rem;
}
.user-show-page__panel--tab {
  padding: 1.1rem 1.35rem 1.35rem;
}
.user-show-page__panel--tab .contact-show-tab-panel__head {
  margin-bottom: 1rem;
}
.user-show-page__info-form .supplier-contact-form__section {
  height: 100%;
  padding: 1rem 1.1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.user-show-page__info-form .supplier-contact-form__section:last-child {
  margin-bottom: 0;
}
.user-show-page__activity-meta {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.45;
}
.user-show-page__activity-meta strong {
  color: #334155;
  font-weight: 600;
}
.user-show-page__inline-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}
.user-show-page__inline-badge--active {
  color: #15803d;
  background: #dcfce7;
}
.user-show-page__inline-badge--inactive {
  color: #b91c1c;
  background: #fee2e2;
}
.user-show-page__module-partials {
  width: 100%;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e2e8f0;
}
.user-show-page__module-partials .contact-show-profile__section,
.user-show-page__module-partials .box {
  margin-top: 0.75rem;
}
.user-show-page .document_note_body .box {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: none;
}
.user-show-page #documents_and_notes_tab .contact-show-tab-panel__ajax-content {
  margin-top: 0;
}
.user-show-page .document_note_body .dataTables_wrapper {
  margin-top: 0.25rem;
}
/* Documents & notes modal — unified */
.docs-note-modal .modal-dialog {
  margin: 1.75rem auto;
}
.docs-note-modal__body {
  padding: 1rem 1.25rem 1.1rem;
  max-height: calc(100vh - 12rem);
  overflow-y: auto;
}
.docs-note-modal__dropzone-wrap {
  margin-bottom: 0;
}
.docs-note-modal__dropzone,
.docs-note-modal .dropzone {
  min-height: 120px;
  border: 2px dashed #cbd5e1;
  border-radius: 0.5rem;
  background: #f8fafc;
}
.docs-note-modal__dropzone.dz-started,
.docs-note-modal .dropzone.dz-started {
  border-style: solid;
  border-color: #93b4ee;
  background: #fff;
}
.docs-note-modal__description {
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.55;
  word-break: break-word;
}
.docs-note-modal__files {
  list-style: none;
  margin: 0;
  padding: 0;
}
.docs-note-modal__files li {
  margin-bottom: 0.4rem;
}
.docs-note-modal__files li:last-child {
  margin-bottom: 0;
}
.docs-note-modal__file-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  color: #1d4ed8;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.docs-note-modal__file-link:hover,
.docs-note-modal__file-link:focus {
  background: #eaf2ff;
  border-color: #93b4ee;
  color: #1e40af;
  text-decoration: none;
}
.docs-note-modal__footer-meta {
  justify-content: space-between;
}
.docs-note-modal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-inline-end: auto;
  font-size: 0.8125rem;
  color: #64748b;
}
.docs-note-modal__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.docs-note-modal__meta i {
  color: #2f6fcb;
}
.view_modal .docs-note-modal.modal-content,
.docus_note_modal .docs-note-modal.modal-content {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
/* System notification modal (topbar) — unified */
.system-notification-modal-dialog {
  max-width: 42rem;
}
.system-notification-modal__body {
  padding: 1rem 1.25rem 1.1rem;
  max-height: calc(100vh - 12rem);
  overflow-y: auto;
}
.system-notification-modal__item:last-child .contact-pay-modal__section {
  margin-bottom: 0;
}
.system-notification-modal__subject span {
  line-height: 1.35;
}
.system-notification-modal__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.system-notification-modal__meta i {
  color: #2f6fcb;
}
.system-notification-modal__message {
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.55;
  word-break: break-word;
}
.system-notification-modal__message p:last-child {
  margin-bottom: 0;
}
.system-notification-modal__divider {
  margin: 1rem 0;
  border-color: #e2e8f0;
}
.view_modal .system-notification-modal.modal-content {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
@media (max-width: 767px) {
  .user-show-page__page-header-card {
    padding: 0.85rem 1rem;
  }
  .user-show-page__page-header-switcher {
    flex: 1 1 100%;
    max-width: none;
  }
  .user-show-page__hero {
    padding: 1.1rem 1rem;
  }
  .user-show-page__stats,
  .user-show-page__stats--four {
    grid-template-columns: 1fr;
    padding: 0.85rem 1rem;
  }
  .user-show-page__panel {
    padding: 1rem;
  }
  .user-show-page__hero-top {
    flex-direction: column;
  }
  .user-show-page__edit-btn {
    width: 100%;
    justify-content: center;
  }
  .user-show-page__tabs-nav > li > a span {
    display: none;
  }
  .user-show-page__tabs-nav > li > a {
    padding: 0.65rem 0.5rem !important;
  }
}
/* Auth pages (login, register, pricing) — match dashboard shell */
.auth-layout {
  --auth-blue: #2f6fcb;
  --auth-blue-light: #4d8fe6;
  --auth-blue-dark: #255fb4;
  --auth-blue-hover-light: #3f84df;
  --auth-blue-ring: rgba(47, 111, 203, 0.16);
  --auth-blue-bg: rgba(47, 111, 203, 0.12);
  --auth-blue-header-from: #e8f1fc;
  --auth-blue-header-to: #f4f8fd;
  --auth-blue-gradient: linear-gradient(180deg, var(--auth-blue-light) 0%, var(--auth-blue) 100%);
  --auth-blue-gradient-hover: linear-gradient(180deg, var(--auth-blue-hover-light) 0%, var(--auth-blue-dark) 100%);
  background: #e9edf3;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  background-attachment: fixed;
  color: #1e293b;
}
.auth-layout .auth-register-page__eyebrow,
.auth-layout .superadmin-pricing-page__eyebrow {
  color: var(--auth-blue);
  background: var(--auth-blue-bg);
}
.auth-layout .superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__price-amount,
.auth-layout .superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__price-amount {
  color: var(--auth-blue);
}
.auth-layout .superadmin-pricing-page__grid .superadmin-package-card--subscription .superadmin-package-card__limits li i,
.auth-layout .superadmin-subscription-page__packages-grid .superadmin-package-card--subscription .superadmin-package-card__limits li i {
  color: var(--auth-blue);
}
.auth-layout .superadmin-pricing-page__grid .superadmin-package-card--subscription.superadmin-package-card--popular,
.auth-layout .superadmin-subscription-page__packages-grid .superadmin-package-card--subscription.superadmin-package-card--popular {
  border-color: var(--auth-blue-light);
  box-shadow: 0 0 0 2px var(--auth-blue-bg), 0 4px 18px rgba(47, 111, 203, 0.12);
}
.auth-layout .superadmin-pricing-page__grid .superadmin-package-card--subscription.superadmin-package-card--popular .superadmin-package-card__header,
.auth-layout .superadmin-subscription-page__packages-grid .superadmin-package-card--subscription.superadmin-package-card--popular .superadmin-package-card__header {
  background: linear-gradient(135deg, var(--auth-blue-header-from) 0%, var(--auth-blue-header-to) 100%);
}
.auth-layout .auth-register-page__login-anchor {
  color: var(--auth-blue);
}
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-layout__header {
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  border-bottom: 1px solid #cfd8e3;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.auth-layout__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  box-sizing: border-box;
}
.auth-layout__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
}
.auth-layout__logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.25rem;
  border-radius: 0.5rem;
  transition: background 0.15s ease;
}
.auth-layout__logo-link:hover,
.auth-layout__logo-link:focus {
  background: rgba(255, 255, 255, 0.65);
}
.auth-layout__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.auth-layout__brand-text {
  min-width: 0;
}
.auth-layout__app-name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(280px, 42vw);
}
.auth-layout__app-name:hover,
.auth-layout__app-name:focus {
  color: #2f6fcb;
  text-decoration: none;
}
.auth-layout__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  flex: 0 1 auto;
  margin-inline-start: auto;
}
.auth-layout__nav-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}
.auth-layout__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-layout__nav-btn:hover,
.auth-layout__nav-btn:focus {
  color: #1d4ed8;
  text-decoration: none;
  background: #eaf2ff;
  border-color: #93b4ee;
  outline: none;
}
.auth-layout__nav-btn.is-active {
  color: #1d4ed8;
  background: #eaf2ff;
  border-color: #93b4ee;
  box-shadow: inset 0 0 0 1px rgba(47, 111, 203, 0.12);
}
.auth-layout__nav-btn--primary {
  color: #ffffff;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-color: #2f6fcb;
}
.auth-layout__nav-btn--primary:hover,
.auth-layout__nav-btn--primary:focus {
  color: #ffffff;
  background: linear-gradient(180deg, #3f84df 0%, #255fb4 100%);
  border-color: #255fb4;
}
.auth-layout__nav-btn--primary.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, #3f84df 0%, #255fb4 100%);
  border-color: #255fb4;
}
.auth-layout__lang {
  flex-shrink: 0;
}
.auth-layout__lang-dropdown {
  position: relative;
  margin: 0;
}
.auth-layout__lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: #334155;
  list-style: none;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.auth-layout__lang-trigger::-webkit-details-marker {
  display: none;
}
.auth-layout__lang-trigger:hover,
.auth-layout__lang-dropdown[open] .auth-layout__lang-trigger {
  color: #1d4ed8;
  background: #eaf2ff;
  border-color: #93b4ee;
}
.auth-layout__lang-label {
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-layout__lang-chevron {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.15s ease;
}
.auth-layout__lang-dropdown[open] .auth-layout__lang-chevron {
  transform: rotate(180deg);
}
.auth-layout__lang-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  inset-inline-end: 0;
  z-index: 120;
  min-width: 11rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
.auth-layout__lang-option {
  display: block;
  padding: 0.5rem 0.65rem;
  font-size: 0.875rem;
  color: #334155;
  text-decoration: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.auth-layout__lang-option:hover,
.auth-layout__lang-option:focus {
  color: #1d4ed8;
  background: #f1f5f9;
  text-decoration: none;
}
.auth-layout__lang-option.is-active {
  color: #1d4ed8;
  font-weight: 600;
  background: #eff6ff;
}
.auth-layout__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2.5rem;
  background: transparent;
}
.auth-login-page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
}
.auth-login-page--demo {
  max-width: 640px;
}
.auth-layout__main--flat {
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2.5rem;
}
.auth-layout__main:has(.auth-single-page),
.auth-layout__main:has(.auth-login-page) {
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem 2.5rem;
}
.auth-single-page {
  width: 100%;
  margin: 0 auto;
}
.auth-single-page--login {
  max-width: 480px;
}
.auth-single-page--pricing {
  max-width: min(1320px, 98vw);
}
.auth-layout__main:has(.auth-single-page--login) {
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}
.auth-single-page:has(.auth-login-page--demo) {
  max-width: 640px;
}
.auth-page-action {
  width: 100%;
  margin-top: 1rem;
  text-align: center;
}
.auth-page-action--top {
  max-width: 1120px;
  margin: 0 auto 1.25rem;
  text-align: start;
}
.auth-page-action__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  text-decoration: none;
}
.auth-page-action__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 0.625rem;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.auth-page-action__back:hover,
.auth-page-action__back:focus {
  color: var(--auth-blue);
  border-color: #bfdbfe;
  background: #f8fafc;
  text-decoration: none;
}
.auth-login-page .auth-register-page__panel--primary {
  width: 100%;
  border: 1px solid #dbe3ee;
}
.auth-login-page--card .auth-login-page__card.superadmin-package-card--subscription {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
  border: 1px solid #cfd8e3;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.auth-login-page--card .auth-login-page__card.superadmin-package-card--subscription:hover {
  border-color: #b8c5d4;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
  transform: none;
}
.auth-login-page--card .auth-register-page__hero {
  margin: 0;
  padding: 1.15rem 1.25rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--auth-blue-header-from) 0%, var(--auth-blue-header-to) 100%);
  border-bottom: 1px solid #e2e8f0;
}
.auth-login-page--card .auth-register-page__title-wrap {
  width: 100%;
  text-align: center;
}
.auth-login-page--card .auth-register-page__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}
.auth-login-page--card .auth-register-page__lead {
  font-size: 0.875rem;
  color: #475569;
}
.auth-login-page--card .auth-register-page__eyebrow {
  color: var(--auth-blue);
  background: var(--auth-blue-bg);
}
.auth-login-page--card .auth-login-page__body.superadmin-package-card__body {
  flex: 1 1 auto;
  padding: 0;
}
.auth-login-page--card .auth-login-page__demo-wrap {
  padding: 1rem 1.25rem 0;
}
.auth-login-page--card .auth-login-form .auth-register-form__body {
  padding: 1rem 1.25rem 0.5rem;
}
.auth-login-page--card .auth-register-form--unified .form-control,
.auth-login-page--card .auth-login-form .auth-login-page__password-input .form-control {
  border: 1.5px solid #b8c5d4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.auth-login-page--card .auth-register-form--unified .form-control:focus,
.auth-login-page--card .auth-login-form .auth-login-page__password-input .form-control:focus {
  border-color: var(--auth-blue);
  border-width: 1.5px;
  box-shadow: 0 0 0 3px var(--auth-blue-ring);
}
.auth-login-page--card .auth-register-page__footer.superadmin-package-card__footer {
  margin-top: 0;
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f9 100%);
  border-top: 1px solid #e8edf2;
}
.auth-login-page--card .auth-register-page__submit {
  min-height: 46px;
  font-weight: 600;
  border-radius: 10px;
}
.auth-login-page__pricing {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e8edf2;
}
.auth-login-page__pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--auth-blue);
  text-decoration: none;
  background: #fff;
  border: 1.5px solid var(--auth-blue);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(47, 111, 203, 0.08);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.auth-login-page__pricing-btn:hover,
.auth-login-page__pricing-btn:focus {
  color: #fff;
  background: var(--auth-blue-gradient);
  border-color: var(--auth-blue);
  box-shadow: 0 2px 8px rgba(47, 111, 203, 0.22);
  text-decoration: none;
}
.auth-login-page__pricing-btn span {
  flex: 1;
  text-align: center;
}
.auth-login-page__pricing-arrow {
  font-size: 0.8rem;
  opacity: 0.85;
  transition: transform 0.15s ease;
}
.auth-login-page__pricing-btn:hover .auth-login-page__pricing-arrow,
.auth-login-page__pricing-btn:focus .auth-login-page__pricing-arrow {
  transform: translateX(-3px);
}
[dir='ltr'] .auth-login-page__pricing-arrow {
  transform: rotate(180deg);
}
[dir='ltr'] .auth-login-page__pricing-btn:hover .auth-login-page__pricing-arrow,
[dir='ltr'] .auth-login-page__pricing-btn:focus .auth-login-page__pricing-arrow {
  transform: rotate(180deg) translateX(-3px);
}
.auth-login-page--card .auth-register-page__login-anchor,
.auth-login-page--card .auth-login-page__forgot-link {
  color: var(--auth-blue);
}
.auth-login-page--card .auth-login-page__toggle-pw:hover,
.auth-login-page--card .auth-login-page__toggle-pw:focus {
  color: var(--auth-blue);
}
.auth-layout__main:has(.auth-register-page) {
  align-items: flex-start;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}
.auth-register-page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.auth-register-page__panel--primary {
  padding: 0;
  overflow: hidden;
  border-radius: 1rem;
  border-color: #dbe3ee;
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.07),
    0 16px 40px -12px rgba(15, 23, 42, 0.12);
}
.auth-register-page--tabs .auth-register-page__card.superadmin-package-card--subscription {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
  border: 1px solid #cfd8e3;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.auth-register-page--tabs .auth-register-page__card.superadmin-package-card--subscription:hover {
  border-color: #b8c5d4;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
  transform: none;
}
.auth-register-page__hero {
  text-align: center;
  padding: 1.75rem 1.5rem 1.25rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}
.auth-register-page--tabs .auth-register-page__hero {
  margin: 0;
  padding: 1.15rem 1.25rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--auth-blue-header-from) 0%, var(--auth-blue-header-to) 100%);
  border-bottom: 1px solid #e2e8f0;
}
.auth-register-page--tabs .auth-register-page__title-wrap {
  width: 100%;
  text-align: center;
}
.auth-register-page__eyebrow {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2f6fcb;
  background: rgba(47, 111, 203, 0.1);
  border-radius: 999px;
}
.auth-register-page__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: #0f172a;
}
.auth-register-page--tabs .auth-register-page__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}
.auth-register-page__lead {
  margin: 0;
  font-size: 0.9375rem;
  color: #64748b;
}
.auth-register-page--tabs .auth-register-page__lead {
  font-size: 0.875rem;
  color: #475569;
}
.auth-register-page--tabs .auth-register-page__eyebrow {
  color: var(--auth-blue);
  background: var(--auth-blue-bg);
}
.auth-register-page--tabs .auth-register-page__body.superadmin-package-card__body {
  flex: 1 1 auto;
  padding: 0;
}
.auth-register-form__body {
  padding: 1.25rem 1.25rem 0.5rem;
}
.auth-register-section {
  margin-bottom: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
}
.auth-register-section--last {
  margin-bottom: 0.75rem;
}
.auth-register-section__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.auth-register-section__step {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(47, 111, 203, 0.35);
}
.auth-register-section__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}
.auth-register-section__content {
  padding: 1rem 1rem 0.25rem;
  margin: 0;
}
.auth-register-section__content.row {
  display: flex;
  flex-wrap: wrap;
}
.auth-register-section__content > [class*='col-'] {
  display: flex;
  flex-direction: column;
}
.auth-register-form--unified .form-group {
  margin-bottom: 1rem;
}
.auth-register-form--unified label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}
.auth-register-form--unified .form-control {
  min-height: 44px;
  border-radius: 0.5rem;
  border-color: #cbd5e1;
  font-size: 0.9375rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-register-form--unified .form-control:focus {
  border-color: #2f6fcb;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.12);
}
.auth-register-page--tabs .auth-register-form--unified .form-control {
  border: 1.5px solid #b8c5d4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.auth-register-page--tabs .auth-register-form--unified .form-control:focus {
  border-color: var(--auth-blue);
  border-width: 1.5px;
  box-shadow: 0 0 0 3px var(--auth-blue-ring);
}
.auth-register-page--tabs .auth-register-form--unified .select2-container--default .select2-selection--single {
  border: 1.5px solid #b8c5d4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.auth-register-page--tabs .auth-register-form--unified .select2-container--default.select2-container--focus .select2-selection--single,
.auth-register-page--tabs .auth-register-form--unified .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--auth-blue);
  box-shadow: 0 0 0 3px var(--auth-blue-ring);
}
.auth-register-page--tabs .auth-register-field--readonly .form-control[disabled] {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
}
.auth-register-form--unified .select2-container--default .select2-selection--single {
  min-height: 44px;
  border-color: #cbd5e1;
  border-radius: 0.5rem;
}
.auth-register-form--unified .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  padding-inline-start: 0.75rem;
  color: #334155;
}
.auth-register-form--unified .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
}
.auth-register-field--readonly .form-control[disabled] {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}
.auth-register-file__input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.auth-register-file__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 88px;
  padding: 0.75rem;
  text-align: center;
  border: 2px dashed #cbd5e1;
  border-radius: 0.5rem;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.auth-register-file__box:hover {
  border-color: #2f6fcb;
  background: #eff6ff;
}
.auth-register-file__box i {
  font-size: 1.35rem;
  color: #64748b;
}
.auth-register-file__hint {
  font-size: 0.8125rem;
  color: #64748b;
}
.auth-register-file__name {
  font-size: 0.75rem;
  color: #2f6fcb;
  word-break: break-all;
  max-width: 100%;
}
.auth-register-file__label {
  display: block;
}
.auth-register-page__extras {
  margin: 0 1.25rem 0.75rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.auth-register-page--tabs .auth-register-page__extras {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 8px;
}
.auth-register-page__terms {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: #475569;
  cursor: pointer;
}
.auth-register-page__terms-check {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.auth-register-page__terms-link {
  color: #2f6fcb;
  font-weight: 500;
  text-decoration: none;
}
.auth-register-page--tabs .auth-register-page__terms-link {
  color: var(--auth-blue);
}
.auth-register-page__terms-link:hover {
  text-decoration: underline;
}
.auth-register-page__recaptcha {
  display: flex;
  justify-content: center;
}
.auth-register-page__footer {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.auth-register-page--tabs .auth-register-page__footer.superadmin-package-card__footer {
  margin-top: 0;
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f9 100%);
  border-top: 1px solid #e8edf2;
}
.auth-register-page__submit {
  width: 100%;
  justify-content: center;
  min-height: 50px;
  font-size: 1.0625rem;
  border-radius: 0.5rem;
}
.auth-register-page--tabs .auth-register-page__submit,
.auth-register-page--tabs .auth-register-page__step-btn {
  min-height: 46px;
  font-weight: 600;
  border-radius: 10px;
}
.auth-register-page--tabs .auth-register-page__step-prev {
  background: #fff;
  border-color: #e8edf2;
  color: #475569;
}
.auth-register-page--tabs .auth-register-page__step-prev:hover:not(:disabled),
.auth-register-page--tabs .auth-register-page__step-prev:focus:not(:disabled) {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #334155;
}
.auth-register-page--tabs .auth-register-page__login-anchor {
  color: var(--auth-blue);
}
.auth-register-page__login-link {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
  color: #64748b;
}
.auth-register-page__login-anchor {
  color: #2f6fcb;
  font-weight: 600;
  text-decoration: none;
}
.auth-register-page__login-anchor:hover {
  text-decoration: underline;
}

.auth-single-page--register {
  max-width: min(900px, 96vw);
  margin-top: 2.5rem;
}
.auth-register-page--tabs .auth-register-form__body--tabs {
  padding: 0;
}
.auth-register-tabs {
  padding: 0 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
.auth-register-page--tabs .auth-register-tabs {
  padding: 1rem 1.25rem 0;
  background: transparent;
  border-bottom: none;
}
.auth-register-tabs__track {
  display: flex;
  position: relative;
  gap: 0;
}
.auth-register-page--tabs .auth-register-tabs__track {
  padding: 0.35rem;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}
.auth-register-tabs__tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 4.25rem;
  padding: 0.65rem 0.35rem 0.85rem;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: color 0.22s ease;
  position: relative;
  z-index: 1;
}
.auth-register-tabs__tab:hover,
.auth-register-tabs__tab:focus {
  color: #334155;
  outline: none;
}
.auth-register-tabs__tab.is-active {
  color: #2f6fcb;
  font-weight: 600;
}
.auth-register-page--tabs .auth-register-tabs__tab.is-active {
  color: var(--auth-blue);
}
.auth-register-tabs__tab.is-done {
  color: var(--auth-blue);
}
.auth-register-tabs__tab.is-done .auth-register-tabs__num {
  background: var(--auth-blue-bg);
  color: var(--auth-blue);
  box-shadow: none;
}
.auth-register-tabs__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  background: #f1f5f9;
  border-radius: 50%;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}
.auth-register-tabs__tab.is-active .auth-register-tabs__num {
  color: #ffffff;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  box-shadow: 0 1px 3px rgba(47, 111, 203, 0.35);
}
.auth-register-page--tabs .auth-register-tabs__tab.is-active .auth-register-tabs__num {
  background: var(--auth-blue-gradient);
  box-shadow: 0 2px 6px rgba(47, 111, 203, 0.28);
}
.auth-register-tabs__label {
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-register-tabs__indicator {
  position: absolute;
  bottom: 0;
  inset-inline-start: var(--indicator-start, 0);
  width: var(--indicator-width, 33.333%);
  height: 3px;
  background: linear-gradient(90deg, #4d8fe6 0%, #2f6fcb 100%);
  border-radius: 3px 3px 0 0;
  transition: inset-inline-start 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 2;
}
.auth-register-page--tabs .auth-register-tabs__indicator {
  height: 3px;
  background: var(--auth-blue-gradient);
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(47, 111, 203, 0.35);
}
.auth-register-panels {
  padding: 1.25rem 1.25rem 0.5rem;
}
.auth-register-page--tabs .auth-register-panels {
  padding: 1rem 1.25rem 0.5rem;
}
.auth-register-panel {
  display: none;
}
.auth-register-panel.is-active {
  display: block;
  animation: auth-register-panel-in 0.28s ease forwards;
}
@keyframes auth-register-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-register-panel .auth-register-section__content {
  padding: 0;
}
.auth-register-page__footer--tabs .auth-register-page__step-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.auth-register-page__step-btn {
  flex: 1;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.5rem;
}
.auth-register-page__footer--tabs .auth-register-page__submit {
  flex: 1 1 100%;
  width: 100%;
}
.auth-register-page__footer--tabs .auth-register-page__submit.is-hidden,
.auth-register-page__footer--tabs .auth-register-page__step-next.is-hidden {
  display: none !important;
}
.auth-layout__main:has(.auth-single-page--register) {
  align-items: flex-start;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 575px) {
  .auth-register-tabs__tab {
    min-height: 3.75rem;
    font-size: 0.75rem;
  }
  .auth-register-tabs__label {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Terms & conditions modal — unified design */
.terms-modal__dialog {
  width: calc(100vw - 30px);
  max-width: 760px;
  margin: 1.5rem auto;
}
.terms-modal__content {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.terms-modal__header,
.view_modal .terms-modal__content .modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem 0.95rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.terms-modal__title {
  margin-bottom: 0.25rem;
}
.terms-modal__subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}
.terms-modal__close {
  font-size: 1.75rem;
  line-height: 1;
  color: #64748b;
  opacity: 1;
}
.terms-modal__close:hover,
.terms-modal__close:focus {
  color: #0f172a;
  opacity: 1;
}
.terms-modal__body {
  padding: 0;
  background: #fff;
}
.terms-modal__scroll {
  max-height: min(68vh, 560px);
  overflow-y: auto;
  padding: 1.15rem 1.25rem 1.25rem;
  text-align: right;
  line-height: 1.9;
  color: #334155;
  font-size: 0.9375rem;
}
.terms-modal__scroll .register-terms-content__inner,
.terms-modal__scroll.register-terms-content {
  direction: rtl;
}
.terms-modal__scroll h4,
.terms-modal__scroll .register-terms-content__inner h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.terms-modal__scroll h4:first-of-type,
.terms-modal__scroll .register-terms-content__inner h4:first-of-type {
  margin-top: 0.5rem;
}
.terms-modal__scroll ul,
.terms-modal__scroll .register-terms-content__inner ul {
  padding-right: 1.25rem;
  margin-bottom: 1rem;
}
.terms-modal__scroll p,
.terms-modal__scroll .register-terms-content__inner p {
  margin-bottom: 1rem;
}
.terms-modal__scroll p:last-child,
.terms-modal__scroll .register-terms-content__inner p:last-child {
  margin-bottom: 0;
}
.terms-modal__footer {
  justify-content: flex-end;
}
.auth-layout #tc_modal {
  position: fixed;
  z-index: 1060;
}
.auth-layout #tc_modal.in {
  display: block !important;
}
.auth-password-page__alert {
  margin-bottom: 1rem;
  border-radius: 0.65rem;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.auth-register-form--unified .input-group,
.auth-register-form--unified .input-group-addon {
  display: none !important;
}
@media (min-width: 640px) {
  .auth-register-page__hero {
    padding: 2rem 2rem 1.5rem;
  }
  .auth-register-page__title {
    font-size: 1.375rem;
  }
  .auth-register-form__body {
    padding: 1.5rem 1.75rem 0.75rem;
  }
  .auth-register-section__content {
    padding: 1.15rem 1.15rem 0.35rem;
  }
  .auth-register-page__extras {
    margin-left: 1.75rem;
    margin-right: 1.75rem;
  }
  .auth-register-page__footer {
    padding: 1.5rem 1.75rem 1.75rem;
  }
}
@media (max-width: 767px) {
  .auth-layout__header-inner {
    padding: 0.65rem 1rem;
    gap: 0.65rem;
  }
  .auth-layout__app-name {
    font-size: 0.9375rem;
    max-width: min(160px, 38vw);
  }
  .auth-layout__logo {
    width: 36px;
    height: 36px;
  }
  .auth-layout__nav {
    width: 100%;
    margin-inline-start: 0;
    justify-content: flex-end;
  }
  .auth-layout__nav-group {
    width: 100%;
    justify-content: flex-end;
  }
  .auth-layout__nav-btn {
    min-height: 36px;
    padding: 0.35rem 0.65rem;
    font-size: 0.8125rem;
  }
  .auth-layout__lang-label {
    max-width: 5rem;
  }
  .auth-layout__main {
    align-items: flex-start;
    padding-top: 1rem;
  }
  .auth-layout__main:has(.auth-login-page) {
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem 1.75rem;
  }
}
.auth-login-page__demo.auth-register-form__body {
  padding-bottom: 0.5rem;
}
.auth-login-page__demo .auth-register-section {
  margin-bottom: 0;
}
.auth-login-page__demo .auth-register-section__step {
  font-size: 0.75rem;
}
.auth-login-page__demo .auth-register-section__step i {
  line-height: 1;
}
.auth-login-page .auth-login-form .auth-register-form__body {
  padding: 1.25rem 1.25rem 0.5rem;
}
@media (min-width: 640px) {
  .auth-login-page .auth-login-form .auth-register-form__body {
    padding: 1.5rem 1.75rem 0.75rem;
  }
  .auth-login-page .auth-login-form .auth-register-page__footer {
    padding: 1.5rem 1.75rem 1.75rem;
  }
}
.auth-login-page:not(.auth-login-page--card) .auth-login-form .auth-register-page__footer {
  padding: 1.25rem 1.5rem 1.5rem;
}
.auth-login-page--card .auth-login-page__demo .auth-register-section {
  border: 1px solid #e8edf2;
  border-radius: 10px;
  background: #fff;
}
@media (min-width: 640px) {
  .auth-login-page:not(.auth-login-page--card) .auth-register-page__hero {
    padding: 2rem 2rem 1.5rem;
  }
  .auth-login-page:not(.auth-login-page--card) .auth-register-page__title {
    font-size: 1.375rem;
  }
  .auth-login-page--card .auth-login-form .auth-register-form__body {
    padding: 1.15rem 1.5rem 0.65rem;
  }
  .auth-login-page--card .auth-register-page__footer.superadmin-package-card__footer {
    padding: 1rem 1.5rem 1.35rem;
  }
}
.auth-login-page__password-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.auth-login-page__password-label label {
  margin-bottom: 0;
}
.auth-login-page__forgot-link {
  font-size: 0.8125rem;
  color: #2f6fcb;
  text-decoration: none;
}
.auth-login-page__forgot-link:hover,
.auth-login-page__forgot-link:focus {
  color: #255fb4;
  text-decoration: underline;
}
.auth-login-page__password-input {
  position: relative;
  display: block;
}
.auth-login-page__password-input .form-control,
.auth-login-page__password-field {
  padding-inline-end: 3rem;
}
.auth-login-page__toggle-pw {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: 2.75rem;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  padding: 0;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}
.auth-login-page__toggle-pw:hover,
.auth-login-page__toggle-pw:focus {
  color: #2f6fcb;
  outline: none;
}
.auth-login-page__toggle-pw .auth-login-page__eye-hide {
  display: none;
}
.auth-login-page__toggle-pw.is-password-visible .auth-login-page__eye-show {
  display: none;
}
.auth-login-page__toggle-pw.is-password-visible .auth-login-page__eye-hide {
  display: inline-block;
}
.auth-login-page__toggle-pw i {
  font-size: 1.05rem;
  pointer-events: none;
}
.auth-login-page__remember {
  margin-bottom: 0;
}
.auth-login-page__remember-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
  font-size: 0.9375rem;
  color: #475569;
}
.auth-login-page__remember-label input {
  margin: 0;
  flex-shrink: 0;
}
.auth-login-form .auth-register-page__submit i {
  font-size: 1rem;
}
.auth-login-page__demo-hint {
  margin: 0 0 0.75rem;
  color: #64748b;
}
.auth-login-page__demo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.auth-login-page__demo-modules-title {
  margin: 0.75rem 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}
.auth-login-form .auth-login-page__password-input .form-control {
  padding-inline-end: 3rem;
}
.superadmin-form-page .box-footer,
.superadmin-form-page__footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.superadmin-business-form .input-group-addon {
  display: none;
}
.superadmin-business-form .form-group {
  margin-bottom: 1rem;
}
.superadmin-page__business-logo {
  max-height: 80px;
  width: auto;
}
.superadmin-package-form .superadmin-package-form__checkboxes .checkbox {
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.superadmin-package-form .help-block {
  margin-bottom: 0;
  font-size: 0.8125rem;
  color: #64748b;
}
.superadmin-page__select-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: 0.5rem;
}
.superadmin-dashboard-page .btn-group[data-toggle="buttons"] .btn-info {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}
.superadmin-dashboard-page .btn-group[data-toggle="buttons"] .btn-info.active {
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-color: #2f6fcb;
  color: #fff;
}
.sales-target-modal__intro {
  margin-bottom: 0.75rem;
}
.sales-target-modal__table-wrap {
  margin-top: 0.5rem;
}
.sales-target-modal__action-col {
  width: 3.5rem;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}
.catalog-settings-modal .hover-q,
.catalog-settings-modal .fa-info-circle.text-info.no-print {
  display: none !important;
}
.catalog-settings-modal .supplier-contact-form__section {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.catalog-settings-modal .supplier-contact-form__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.catalog-settings-modal .option-div {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
}
.catalog-settings-modal .option-div.active {
  border-color: #2f6fcb;
  background: #eff6ff;
}
/* Invoice layout edit form */
.invoice-layout-form-page .catalog-settings-page__intro {
  margin-bottom: 1rem;
}
.invoice-layout-form-page__sections .supplier-contact-form__section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.invoice-layout-form-page__sections .supplier-contact-form__section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.invoice-layout-form-page__panel {
  padding: 0;
}
.invoice-layout-form-page__panel > .row {
  margin-left: -8px;
  margin-right: -8px;
}
.invoice-layout-form-page .form-group {
  margin-bottom: 1rem;
}
.invoice-layout-form-page .help-block,
.invoice-layout-form-page .catalog-settings-modal__hint {
  color: #64748b;
  font-size: 0.8125rem;
}
.invoice-layout-form-page .option-div {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
}
.invoice-layout-form-page .option-div.active {
  border-color: #2f6fcb;
  background: #eff6ff;
}
.invoice-layout-form-page__submit {
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}
.invoice-layout-form-page .hover-q,
.invoice-layout-form-page .fa-info-circle.text-info.no-print {
  display: none !important;
}
.invoice-layout-form-page .box.box-solid {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.invoice-layout-form-page .box.box-solid .box-header {
  padding: 0 0 0.75rem;
  border: none;
}
.invoice-layout-form-page .box.box-solid .box-header .box-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}
.invoice-layout-form-page .box.box-solid .box-body {
  padding: 0;
}
.app-table-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}
.app-btn-table {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.app-btn-table--primary {
  color: #fff !important;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-color: #2f6fcb;
}
.app-btn-table--primary:hover,
.app-btn-table--primary:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #3f84df 0%, #255fb4 100%);
  border-color: #255fb4;
  text-decoration: none;
}
.app-btn-table--secondary {
  color: #0f172a !important;
  background: linear-gradient(180deg, #f7f9fc 0%, #e7edf5 100%);
  border-color: #b8c5d6;
}
.app-btn-table--secondary:hover,
.app-btn-table--secondary:focus {
  color: #1d4ed8 !important;
  background: #eaf2ff;
  border-color: #93b4ee;
  text-decoration: none;
}
.app-btn-table--danger {
  color: #fff !important;
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  border-color: #b91c1c;
}
.app-btn-table--danger:hover,
.app-btn-table--danger:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
  border-color: #991b1b;
}
.app-btn-table--icon {
  padding: 0.3rem 0.45rem;
  min-width: 1.875rem;
  justify-content: center;
}
.app-btn-table--icon .fa {
  font-size: 0.8125rem;
  line-height: 1;
}
.register-report-page .app-table-actions .app-btn-table {
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
}
.dashboard-desktop .dashboard-action-btn--secondary {
  background: linear-gradient(180deg, #7b8da8 0%, #5f738f 100%) !important;
  border: 1px solid #5f738f !important;
}
.dashboard-desktop .dashboard-mini-card {
  background: #fff !important;
  border-color: #e2e8f0 !important;
}

/* Quick summary + quick actions — side by side */
.dashboard-stats-row--first {
  margin-bottom: 1.5rem;
}
.dashboard-quick-row {
  display: grid;
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.dashboard-quick-row--cols-1 { grid-template-columns: 1fr; }
.dashboard-quick-row--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-quick-row--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.dashboard-quick-row__card,
.dashboard-quick-row > .dashboard-alert-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  min-width: 0;
  margin-bottom: 0 !important;
  padding: 1.5rem !important;
}
.dashboard-quick-row__card-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--app-font-family, "Noto Kufi Arabic", ui-sans-serif, system-ui, sans-serif);
  color: #0f172a;
  flex-shrink: 0;
}
.dashboard-quick-row__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.dashboard-quick-row__actions-body {
  justify-content: center;
  gap: 0.75rem;
}
.dashboard-quick-row .dashboard-alert-card__head {
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}
.dashboard-quick-row .dashboard-alert-card__content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.dashboard-quick-row .dashboard-alert-card__filter {
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}
.dashboard-quick-row .dashboard-alert-card__list {
  flex: 0 1 auto;
  overflow: visible;
  max-height: none;
}
.dashboard-quick-row .dashboard-alert-card__empty {
  display: none;
  text-align: center;
  color: #64748b;
  padding: 1.5rem 0.5rem;
  font-size: 0.875rem;
}
.dashboard-quick-row .dashboard-alert-card__more {
  flex-shrink: 0;
  margin-top: 0.75rem;
}
@media (max-width: 1199px) {
  .dashboard-quick-row--cols-3 {
    grid-template-columns: 1fr;
  }
  .dashboard-quick-row--cols-3 .dashboard-quick-row__card,
  .dashboard-quick-row--cols-3 > .dashboard-alert-card {
    min-height: 0;
  }
}
@media (max-width: 767px) {
  .dashboard-quick-row--cols-2 {
    grid-template-columns: 1fr;
  }
  .dashboard-quick-row__card,
  .dashboard-quick-row > .dashboard-alert-card {
    min-height: 0;
  }
}
[dir="rtl"] .dashboard-quick-row {
  direction: rtl;
}

/* Dashboard panel — stock alert & shared panel chrome */
.dashboard-panel {
  background: #f7f9fc !important;
  border: 1px solid #cfd8e3 !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
  margin-bottom: 2rem;
  overflow: hidden;
}
.dashboard-panel__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f7f9fc;
}
.dashboard-panel__header-main {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex: 1;
  min-width: 0;
}
.dashboard-panel__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eef3f9;
  border: 1px solid #dbe4ee;
}
.dashboard-panel__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  color: #64748b;
}
.dashboard-panel__icon--warning {
  background: #fffbeb;
  border-color: #fde68a;
}
.dashboard-panel__icon--warning svg {
  color: #d97706;
}
.dashboard-panel__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}
.dashboard-panel__filter {
  min-width: 200px;
  max-width: 280px;
  flex-shrink: 0;
}
.dashboard-panel__body {
  padding: 1rem 1.5rem 1.25rem;
  background: #fff;
}
/* Stock alert list card (old dashboard style) */
.dashboard-alert-card {
  padding: 1.5rem !important;
  margin-bottom: 0 !important;
}
.dashboard-alert-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.dashboard-alert-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--app-font-family, "Noto Kufi Arabic", ui-sans-serif, system-ui, sans-serif);
  color: #0f172a;
}
.dashboard-alert-card__badge {
  background: #eef3f9;
  color: #475569;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid #dbe4ee;
}
.dashboard-alert-card__filter.dashboard-filter-branch--compact {
  margin-bottom: 1rem;
}
.dashboard-alert-card__filter.dashboard-filter-branch--compact .select2-container {
  width: 100% !important;
  max-width: none;
}
.dashboard-alert-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dashboard-alert-card__loading {
  text-align: center;
  padding: 1.5rem;
  color: #64748b;
}
.dashboard-alert-card__empty {
  text-align: center;
  color: #64748b;
  padding: 1.5rem 0.5rem;
  font-size: 0.875rem;
}
.dashboard-alert-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f7f9fc;
}
.dashboard-alert-item__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
  order: 1;
}
.dashboard-alert-item__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.dashboard-alert-item__dot--danger { background: #ef4444; }
.dashboard-alert-item__dot--low { background: #f97316; }
.dashboard-alert-item__dot--warning { background: #eab308; }
.dashboard-alert-item__text {
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.4;
  word-break: break-word;
}
.dashboard-alert-item__status {
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  order: 2;
  text-align: end;
  white-space: nowrap;
}
.dashboard-alert-item__status--danger { color: #dc2626; }
.dashboard-alert-item__status--low { color: #ea580c; }
.dashboard-alert-item__status--warning { color: #ca8a04; }
.dashboard-alert-card__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 2px dashed #cbd5e1;
  background: #f7f9fc;
  color: #334155 !important;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.dashboard-alert-card__more:hover {
  background: #eef2f7;
  border-color: #94a3b8;
  color: #0f172a !important;
}
[dir="rtl"] .dashboard-alert-item__main {
  order: 2;
  flex-direction: row-reverse;
  justify-content: flex-end;
  text-align: right;
}
[dir="rtl"] .dashboard-alert-item__status {
  order: 1;
  text-align: start;
}
@media (max-width: 767px) {
  .dashboard-panel__filter {
    width: 100%;
    max-width: none;
  }
}

.dashboard-desktop .theme-header-bg { display: none !important; }
.dashboard-desktop .tw-ring-gray-200 { --tw-ring-color: #cfd8e3 !important; }
.dashboard-desktop .table-bordered { border-color: #cfd8e3 !important; }
.dashboard-desktop .table-bordered > thead > tr > th,
.dashboard-desktop .table-bordered > tbody > tr > td {
  border-color: #e2e8f0 !important;
}
/* Contact show — supplier profile */
.contact-show-page__toolbar {
  margin-bottom: 1rem;
  align-items: center;
}
.contact-show-page__heading {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1e293b;
}
.contact-show-page__switcher .select2-container {
  width: 100% !important;
}
.contact-show-page__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  margin-bottom: 1rem;
}
.contact-show-page__card-body {
  padding: 1.1rem 1.25rem;
}
.contact-show-profile__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.contact-show-profile__name {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}
.contact-show-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.contact-show-profile__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}
.contact-show-profile__badge--type {
  color: #1d4ed8;
  background: #eaf2ff;
  border-color: #93b4ee;
}
.contact-show-profile__badge--inactive {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}
.contact-show-profile__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.contact-show-profile__stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.contact-show-profile__stat {
  padding: 0.6rem 0.7rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}
.contact-show-profile__stat--due {
  border-color: #93b4ee;
  background: #eaf2ff;
}
.contact-show-profile__stat-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.15rem;
}
.contact-show-profile__stat-value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
}
.contact-show-profile__stat--due .contact-show-profile__stat-value {
  color: #1d4ed8;
}
.contact-show-profile__section {
  height: 100%;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  margin-bottom: 0.75rem;
}
.contact-show-profile__section-title {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.contact-show-profile__section-title i {
  color: #2f6fcb;
  font-size: 0.85rem;
}
.contact-show-profile__field {
  margin-bottom: 0.55rem;
}
.contact-show-profile__field:last-child {
  margin-bottom: 0;
}
.contact-show-profile__field-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.1rem;
}
.contact-show-profile__field-value {
  display: block;
  font-size: 0.875rem;
  color: #0f172a;
  word-break: break-word;
}
.contact-show-profile__stats--inline {
  margin-bottom: 1rem;
  grid-template-columns: minmax(0, 16rem);
}
.contact-show-profile__stat--accent {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
}
/* Supplier / customer show — enlarged stat cards only (full row width) */
.contact-show-unified.contact-supplier-show .contact-show-profile__stats,
.contact-show-unified.contact-customer-show .contact-show-profile__stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}
.contact-show-unified.contact-supplier-show .contact-show-profile__stat,
.contact-show-unified.contact-customer-show .contact-show-profile__stat {
  padding: 1rem 1.15rem;
  min-height: 4.5rem;
}
.contact-show-unified.contact-supplier-show .contact-show-profile__stat-label,
.contact-show-unified.contact-customer-show .contact-show-profile__stat-label {
  font-size: 0.8125rem;
  margin-bottom: 0.35rem;
}
.contact-show-unified.contact-supplier-show .contact-show-profile__stat-value,
.contact-show-unified.contact-customer-show .contact-show-profile__stat-value {
  font-size: 1.125rem;
}
@media (max-width: 991px) {
  .contact-show-unified.contact-supplier-show .contact-show-profile__stats,
  .contact-show-unified.contact-customer-show .contact-show-profile__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .contact-show-unified.contact-supplier-show .contact-show-profile__stats,
  .contact-show-unified.contact-customer-show .contact-show-profile__stats {
    grid-template-columns: 1fr;
  }
}
.contact-show-unified .contact-show-tabs {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.contact-show-unified .contact-show-tabs__nav {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0 !important;
  padding: 0.5rem 0.5rem 0 !important;
  list-style: none;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.contact-show-unified .contact-show-tabs__nav > li {
  float: none !important;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  border: none !important;
}
.contact-show-unified .contact-show-tabs__nav > li > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0.15rem 0 0 !important;
  padding: 0.6rem 0.65rem !important;
  border: 1px solid transparent !important;
  border-radius: 0.375rem 0.375rem 0 0 !important;
  border-bottom: none !important;
  color: #64748b !important;
  background: transparent !important;
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.25;
  white-space: nowrap;
  text-align: center;
}
.contact-show-unified .contact-show-tabs__nav > li > a i {
  font-size: 0.8rem;
  opacity: 0.85;
}
.contact-show-unified .contact-show-tabs__nav > li.active > a,
.contact-show-unified .contact-show-tabs__nav > li.active > a:hover,
.contact-show-unified .contact-show-tabs__nav > li.active > a:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%) !important;
  border-color: #2f6fcb !important;
  box-shadow: 0 2px 6px rgba(47, 111, 203, 0.28);
}
.contact-show-unified .contact-show-tabs__nav > li > a:hover,
.contact-show-unified .contact-show-tabs__nav > li > a:focus {
  color: #1d4ed8 !important;
  background: #fff !important;
  border-color: #cbd5e1 !important;
}
.contact-show-unified .contact-show-tabs__content,
.contact-show-unified .contact-show-tabs .tab-content {
  padding: 1rem 1.1rem !important;
  background: #fff;
  border: none !important;
}
.contact-show-unified .contact-show-tabs__content > .tab-pane,
.contact-show-unified .contact-show-tabs .tab-content > .tab-pane {
  padding: 0;
}
@media (max-width: 991px) {
  .contact-show-unified .contact-show-tabs__nav > li {
    flex: 1 1 50%;
  }
  .contact-show-unified .contact-show-tabs__nav > li > a {
    font-size: 0.75rem;
    padding: 0.5rem 0.4rem !important;
  }
}
.contact-show-tab-panel {
  padding: 0;
}
.contact-show-tab-panel__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
}
.contact-show-tab-panel__head > i {
  color: #2f6fcb;
  font-size: 0.9rem;
}
.contact-show-tab-panel__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}
.contact-show-tab-panel__toolbar {
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}
.contact-show-tab-panel__toolbar .form-group {
  margin-bottom: 0;
}
.contact-show-tab-panel__toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.4rem;
  min-height: 34px;
}
.contact-show-tab-panel__toolbar-actions--end {
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.contact-show-segment.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.contact-show-segment.btn-group .btn {
  float: none;
  border-radius: 0.375rem !important;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.55rem;
  box-shadow: none;
}
.contact-show-segment.btn-group .btn.active,
.contact-show-segment.btn-group .btn:active {
  background: #eaf2ff;
  border-color: #2f6fcb;
  color: #1d4ed8;
}
.contact-show-tab-panel__ajax-content {
  margin-top: 0.5rem;
}
.contact-show-tab-panel__table-wrap {
  margin-top: 0.25rem;
}
.contact-show-unified .contact-show-table {
  margin-bottom: 0;
}
.contact-show-unified .contact-show-table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  font-size: 0.8125rem;
  border-color: #e2e8f0 !important;
  white-space: nowrap;
}
.contact-show-unified .contact-show-table > tbody > tr > td {
  border-color: #e2e8f0 !important;
  font-size: 0.8125rem;
  vertical-align: middle !important;
}
.contact-show-unified .contact-show-table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.contact-show-payments-ajax {
  min-height: 120px;
}
.contact-show-tab-panel__pagination {
  margin-top: 0.75rem;
  text-align: left;
}
.contact-show-tab-panel__pagination .pagination {
  margin: 0;
}
.contact-show-tab-panel__empty {
  padding: 1.5rem 0;
}
.contact-show-unified #contact_ledger_div .table {
  border-color: #e2e8f0;
}
.contact-show-unified #contact_ledger_div .table > thead > tr > th,
.contact-show-unified #contact_ledger_div .table > tbody > tr > td {
  border-color: #e2e8f0 !important;
}
.contact-show-unified #contact_ledger_div .blue-heading {
  color: #1d4ed8;
}
/* Unified contact ledger (screen) */
.contact-show-unified #contact_ledger_div .contact-ledger {
  padding: 0;
}
.contact-ledger__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}
.contact-ledger__header--partner {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.contact-ledger__business-label,
.contact-ledger__party-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.15rem;
}
.contact-ledger__business-name,
.contact-ledger__party-name {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}
.contact-ledger__business-address,
.contact-ledger__party-meta {
  display: block;
  font-size: 0.8125rem;
  color: #475569;
  margin-top: 0.15rem;
}
.contact-ledger__party--end {
  text-align: end;
}
.contact-ledger__partner-title {
  text-align: center;
}
.contact-ledger__partner-title h2 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.contact-ledger__partner-title p {
  margin: 0;
  font-size: 0.8125rem;
  color: #64748b;
}
.contact-ledger__statement-banner {
  text-align: center;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}
.contact-ledger__statement-banner h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}
.contact-ledger__statement-banner p {
  margin: 0;
  font-size: 0.8125rem;
  color: #64748b;
}
.contact-ledger__summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-ledger__summary-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 28rem;
}
.contact-ledger__summary-card {
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}
.contact-ledger__summary-card--accent {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-color: #cbd5e1;
}
.contact-ledger__section-title {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}
.contact-ledger__section-title i {
  color: #2f6fcb;
  margin-inline-end: 0.35rem;
}
.contact-ledger__section-title--center {
  text-align: center;
}
.contact-ledger__period {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.contact-ledger__kv-table {
  width: 100%;
  margin: 0;
}
.contact-ledger__kv-table td {
  padding: 0.35rem 0;
  font-size: 0.8125rem;
  border: none !important;
  vertical-align: top;
}
.contact-ledger__kv-table td:first-child {
  color: #64748b;
}
.contact-ledger__kv-table td:last-child {
  text-align: end;
  font-weight: 500;
  color: #0f172a;
  white-space: nowrap;
}
.contact-ledger__kv-total td {
  padding-top: 0.5rem;
  border-top: 1px solid #e2e8f0 !important;
  color: #1d4ed8 !important;
}
.contact-ledger__table-section {
  margin-bottom: 1rem;
}
.contact-ledger__table-section .contact-ledger__table {
  margin-bottom: 0;
}
.contact-ledger__row-muted > td {
  background: #f1f5f9 !important;
}
.contact-ledger__row-details > td {
  background: #fafbfc !important;
  padding: 0.75rem 1rem !important;
}
.contact-ledger__aging {
  margin-top: 0.5rem;
}
.contact-ledger__aging-table > thead > tr > th {
  font-size: 0.7rem;
  text-align: center;
  background: #f8fafc;
  border-color: #e2e8f0 !important;
}
.contact-ledger__aging--g { color: #16a34a !important; }
.contact-ledger__aging--y { color: #ca8a04 !important; }
.contact-ledger__aging--o { color: #ea580c !important; }
.contact-ledger__aging--r { color: #dc2626 !important; }
@media (max-width: 767px) {
  .contact-ledger__header,
  .contact-ledger__header--partner {
    grid-template-columns: 1fr;
  }
  .contact-ledger__party--end {
    text-align: start;
  }
  .contact-ledger__summary-grid {
    grid-template-columns: 1fr;
  }
}
.app-btn-primary--sm,
.app-btn-cancel--sm {
  padding: 0.4rem 0.65rem;
  font-size: 0.8125rem;
}
/* Customer pay due modal */
.contact-pay-modal .modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem;
}
.contact-pay-modal__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
}
.contact-pay-modal__title i {
  color: #2f6fcb;
}
.contact-pay-modal__summary {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.contact-pay-modal__customer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e2e8f0;
}
.contact-pay-modal__customer-label {
  font-size: 0.8125rem;
  color: #64748b;
}
.contact-pay-modal__customer-name {
  font-size: 1rem;
  color: #0f172a;
}
.contact-pay-modal__customer-business {
  font-size: 0.875rem;
  color: #475569;
}
.contact-pay-modal__stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.65rem;
}
.contact-pay-modal__stat {
  padding: 0.55rem 0.65rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}
.contact-pay-modal__stat--due {
  border-color: #93b4ee;
  background: #eaf2ff;
}
.contact-pay-modal__stat-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.2rem;
}
.contact-pay-modal__stat-value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
}
.contact-pay-modal__stat--due .contact-pay-modal__stat-value {
  color: #1d4ed8;
}
.contact-pay-modal__section {
  margin-bottom: 0.5rem;
}
.contact-pay-modal__section-title {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-pay-modal__section-title i {
  color: #2f6fcb;
  font-size: 0.875rem;
}
.contact-pay-modal__footer {
  border-top: 1px solid #e2e8f0;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}
.contact-pay-modal .form-group label {
  font-weight: 500;
  color: #334155;
}
.contact-pay-modal__hint {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
}
/* Invoice URL modal (view public invoice link) */
.invoice-url-modal {
  width: calc(100% - 30px);
  max-width: 560px;
  margin: 30px auto;
}
.invoice-url-modal__content {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}
.invoice-url-modal__header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem 0.85rem;
}
.invoice-url-modal__header .close {
  margin-top: 0;
  opacity: 0.55;
}
.invoice-url-modal__subtitle {
  margin: 0.35rem 0 0;
  color: #64748b;
  line-height: 1.65;
}
.invoice-url-modal__body {
  padding: 1rem 1.25rem 1.1rem;
}
.invoice-url-modal__body .contact-pay-modal__summary {
  margin-bottom: 1rem;
}
.invoice-url-modal__field {
  margin-bottom: 0;
}
.invoice-url-modal__field label {
  font-weight: 600;
  color: #334155;
}
.invoice-url-modal__input-group {
  border: 1px solid #dbe3ef;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #fff;
}
.invoice-url-modal__input-group:focus-within {
  border-color: #93b4ee;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.12);
}
.invoice-url-modal__input-group .input-group-addon {
  border: none;
  background: #f8fafc;
  color: #475569;
}
.invoice-url-modal__input {
  height: 2.75rem;
  border: none !important;
  box-shadow: none !important;
  background: #fff !important;
  font-size: 0.875rem;
  color: #1e293b;
  direction: ltr;
  text-align: left;
}
.invoice-url-modal__copy-btn {
  height: 2.75rem;
  padding: 0 1rem;
  border: none;
  border-inline-start: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #2f6fcb;
  font-weight: 600;
  white-space: nowrap;
}
.invoice-url-modal__copy-btn:hover,
.invoice-url-modal__copy-btn:focus {
  background: #eff6ff;
  color: #1d4ed8;
  outline: none;
}
.invoice-url-modal__footer .app-btn-primary,
.invoice-url-modal__footer .app-btn-cancel {
  min-height: 2.5rem;
}
.recent-transactions-modal .modal-dialog {
  width: calc(100vw - 30px);
  max-width: 1040px;
}
.recent-transactions-modal__content {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.recent-transactions-modal .modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem 0.9rem;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}
.recent-transactions-modal__title {
  margin-bottom: 0.35rem;
}
.recent-transactions-modal__subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}
.recent-transactions-modal__close {
  font-size: 1.8rem;
  line-height: 1;
  color: #64748b;
  opacity: 1;
}
.recent-transactions-modal__close:hover,
.recent-transactions-modal__close:focus {
  color: #0f172a;
  opacity: 1;
}
.recent-transactions-modal__body {
  padding: 1rem 1.25rem 1.1rem;
}
.recent-transactions-modal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
  border-bottom: none;
}
.recent-transactions-modal__tabs > li {
  float: none;
  margin: 0;
}
.recent-transactions-modal__tabs > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.6rem 0.95rem;
  border: 1px solid #dbe3ef !important;
  border-radius: 0.55rem !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}
.recent-transactions-modal__tabs > li > a:hover,
.recent-transactions-modal__tabs > li > a:focus,
.recent-transactions-modal__tabs > li.active > a,
.recent-transactions-modal__tabs > li.active > a:hover,
.recent-transactions-modal__tabs > li.active > a:focus {
  background: #eaf2ff !important;
  border-color: #93b4ee !important;
  color: #1d4ed8 !important;
}
.recent-transactions-modal__tab-icon {
  color: #2f6fcb;
}
.recent-transactions-modal__tab-content {
  padding: 0;
  border: 0;
}
.recent-transactions-modal__pane {
  padding: 0;
}
.recent-transactions-modal__pane:empty {
  min-height: 9rem;
  position: relative;
  border: 1px dashed #dbe3ef;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #fafcff 0%, #f8fafc 100%);
}
.recent-transactions-modal__pane:empty::before {
  content: 'جاري تحميل البيانات...';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}
.recent-transactions-list {
  display: grid;
  gap: 0.85rem;
}
.recent-transactions-list__item {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.24);
}
.recent-transactions-list__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.recent-transactions-list__summary {
  flex: 1 1 auto;
  min-width: 0;
}
.recent-transactions-list__headline {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}
.recent-transactions-list__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 0.55rem;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}
.recent-transactions-list__title-wrap {
  min-width: 0;
}
.recent-transactions-list__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  word-break: break-word;
}
.recent-transactions-list__customer {
  margin-top: 0.15rem;
  font-size: 0.875rem;
  color: #475569;
}
.recent-transactions-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
}
.recent-transactions-list__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.recent-transactions-list__meta-item i {
  color: #2f6fcb;
}
.recent-transactions-list__amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  min-width: 10rem;
}
.recent-transactions-list__amount-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}
.recent-transactions-list__amount-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.65rem;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}
.recent-transactions-list__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e2e8f0;
}
.recent-transactions-list__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 12rem;
  padding: 1.5rem;
  border: 1px dashed #dbe3ef;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #fafcff 0%, #f8fafc 100%);
  text-align: center;
}
.recent-transactions-list__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #eaf2ff;
  color: #2f6fcb;
  font-size: 1.2rem;
}
.recent-transactions-list__empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.recent-transactions-list__empty-text {
  font-size: 0.875rem;
  color: #64748b;
}
.recent-transactions-modal__footer {
  justify-content: flex-end;
}
.suspend-note-modal .modal-dialog {
  width: calc(100vw - 30px);
  max-width: 560px;
}
.suspend-note-modal__content {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.suspend-note-modal .modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem 0.95rem;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}
.suspend-note-modal__title {
  margin-bottom: 0.35rem;
}
.suspend-note-modal__subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}
.suspend-note-modal__close {
  font-size: 1.8rem;
  line-height: 1;
  color: #64748b;
  opacity: 1;
}
.suspend-note-modal__close:hover,
.suspend-note-modal__close:focus {
  color: #0f172a;
  opacity: 1;
}
.suspend-note-modal__body {
  padding: 1rem 1.25rem 1.1rem;
}
.suspend-note-modal__section {
  margin-bottom: 0;
}
.suspend-note-modal__hint {
  color: #64748b;
}
.suspend-note-modal__field {
  margin-bottom: 0;
}
.suspend-note-modal__textarea {
  min-height: 7.25rem;
  resize: vertical;
  border-radius: 0.65rem;
}
.suspend-note-modal__footer {
  justify-content: flex-end;
}
/* POS discount / tax / shipping modals */
.pos-totals-edit-modal__dialog {
  width: calc(100vw - 30px);
  max-width: 520px;
}
.pos-shipping-modal__dialog {
  max-width: 720px;
}
.pos-totals-edit-modal__content {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.pos-totals-edit-modal__header,
#posEditDiscountModal .pos-totals-edit-modal__header,
#posEditOrderTaxModal .pos-totals-edit-modal__header,
#posShippingModal .pos-totals-edit-modal__header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem 0.95rem;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}
.pos-totals-edit-modal__title {
  margin-bottom: 0.35rem;
}
.pos-discount-modal .pos-totals-edit-modal__title i {
  color: #dc2626;
}
.pos-tax-modal .pos-totals-edit-modal__title i {
  color: #2563eb;
}
.pos-shipping-modal .pos-totals-edit-modal__title i {
  color: #00935f;
}
.pos-totals-edit-modal__subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}
.pos-totals-edit-modal__close {
  font-size: 1.8rem;
  line-height: 1;
  color: #64748b;
  opacity: 1;
}
.pos-totals-edit-modal__close:hover,
.pos-totals-edit-modal__close:focus {
  color: #0f172a;
  opacity: 1;
}
.pos-totals-edit-modal__body {
  padding: 1rem 1.25rem 1.1rem;
}
.pos-totals-edit-modal__section,
.pos-totals-edit-modal__body .contact-pay-modal__section {
  margin-bottom: 1rem;
}
.pos-totals-edit-modal__body .contact-pay-modal__section:last-child {
  margin-bottom: 0;
}
.pos-totals-edit-modal__grid {
  margin-left: -0.35rem;
  margin-right: -0.35rem;
}
.pos-totals-edit-modal__grid > [class*='col-'] {
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}
.pos-totals-edit-modal__field {
  margin-bottom: 0;
}
.pos-totals-edit-modal__field label {
  font-weight: 600;
  color: #334155;
}
.pos-totals-edit-modal__input,
.pos-totals-edit-modal__textarea,
.pos-totals-edit-modal__content .select2-container--default .select2-selection--single {
  border-radius: 0.65rem;
  border-color: #dbe3ef;
  box-shadow: none;
}
.pos-totals-edit-modal__input:focus,
.pos-totals-edit-modal__textarea:focus {
  border-color: #93b4ee;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.12);
}
.pos-totals-edit-modal__input-group .input-group-addon {
  border-color: #dbe3ef;
  background: #f8fafc;
  color: #475569;
}
.pos-totals-edit-modal__textarea {
  min-height: 5.5rem;
  resize: vertical;
}
.pos-totals-edit-modal__rp-section {
  padding-top: 0.25rem;
  border-top: 1px solid #e2e8f0;
}
.pos-totals-edit-modal__rp-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  justify-content: center;
}
.pos-totals-edit-modal__footer {
  justify-content: flex-end;
}
.pos-totals-edit-modal__content i.fa-info-circle.text-info.hover-q.no-print,
.pos-totals-edit-modal__content .hover-q.no-print {
  display: none !important;
}
.pos-expense-modal__dialog {
  width: calc(100vw - 30px);
  max-width: 720px;
}
.pos-expense-modal__content {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.pos-expense-modal__header,
.view_modal .pos-expense-modal__content .modal-header,
#expense_modal .pos-expense-modal__header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem 0.95rem;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}
.pos-expense-modal__title {
  margin-bottom: 0.35rem;
}
.pos-expense-modal__title i {
  color: #dc2626;
}
.pos-expense-modal__subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}
.pos-expense-modal__close {
  font-size: 1.8rem;
  line-height: 1;
  color: #64748b;
  opacity: 1;
}
.pos-expense-modal__close:hover,
.pos-expense-modal__close:focus {
  color: #0f172a;
  opacity: 1;
}
.pos-expense-modal__body {
  padding: 1rem 1.25rem 1.1rem;
}
.pos-expense-modal__section {
  margin-bottom: 1rem;
}
.pos-expense-modal__section:last-child {
  margin-bottom: 0;
}
.pos-expense-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.pos-expense-modal__field {
  margin-bottom: 0;
}
.pos-expense-modal__field--full {
  grid-column: 1 / -1;
}
.pos-expense-modal__field label {
  font-weight: 600;
  color: #334155;
}
.pos-expense-modal__input,
.pos-expense-modal__textarea,
.pos-expense-modal__content .select2-container--default .select2-selection--single {
  border-radius: 0.65rem;
  border-color: #dbe3ef;
  box-shadow: none;
}
.pos-expense-modal__input:focus,
.pos-expense-modal__textarea:focus {
  border-color: #93b4ee;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.12);
}
.pos-expense-modal__input-group .input-group-addon {
  border-color: #dbe3ef;
  background: #f8fafc;
  color: #475569;
  border-radius: 0.65rem 0 0 0.65rem;
}
.pos-expense-modal__hint {
  margin-top: 0.35rem;
  margin-bottom: 0;
}
.pos-expense-modal__textarea {
  min-height: 5.5rem;
  resize: vertical;
}
.pos-expense-modal__payment {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.pos-expense-modal__payment-body .form-group {
  margin-bottom: 0.85rem;
}
.pos-expense-modal__payment-body .form-group label {
  font-weight: 600;
  color: #334155;
}
.pos-expense-modal__payment-body .input-group-addon {
  border-color: #dbe3ef;
  background: #f8fafc;
  color: #475569;
}
.pos-expense-modal__payment-body .form-control {
  border-color: #dbe3ef;
  border-radius: 0.65rem;
  box-shadow: none;
}
.pos-expense-modal__due {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9rem;
  color: #334155;
}
.pos-expense-modal__due-value {
  font-weight: 700;
  color: #0f172a;
}
.pos-expense-modal__footer {
  justify-content: flex-end;
}
/* POS multi-payment modal */
.pos-payment-modal__dialog {
  width: calc(100vw - 30px);
  max-width: 960px;
}
.pos-card-details-modal__dialog {
  max-width: 720px;
}
.pos-payment-modal__content {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.pos-payment-modal__header,
#modal_payment .pos-payment-modal__header,
#card_details_modal .pos-payment-modal__header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem 0.95rem;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}
.pos-payment-modal__title {
  margin-bottom: 0.35rem;
}
.pos-payment-modal__title i {
  color: #00935f;
}
.pos-payment-modal__subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}
.pos-payment-modal__close {
  font-size: 1.8rem;
  line-height: 1;
  color: #64748b;
  opacity: 1;
}
.pos-payment-modal__close:hover,
.pos-payment-modal__close:focus {
  color: #0f172a;
  opacity: 1;
}
.pos-payment-modal__body {
  padding: 1rem 1.25rem 1.1rem;
}
.pos-payment-modal__advance-wrap {
  margin-bottom: 1rem;
}
.pos-payment-modal__advance {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  font-size: 0.85rem;
  color: #1e40af;
}
.pos-payment-modal__layout {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}
.pos-payment-modal__main,
.pos-payment-modal__aside {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.pos-payment-modal__section {
  margin-bottom: 1rem;
}
.pos-payment-modal__section:last-child {
  margin-bottom: 0;
}
.pos-payment-modal__rows .col-md-12 {
  padding-left: 0;
  padding-right: 0;
}
.pos-payment-modal__row {
  position: relative;
  margin-bottom: 0.75rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.pos-payment-modal__row:last-child {
  margin-bottom: 0;
}
.pos-payment-modal__row--change {
  margin-bottom: 0;
}
.pos-payment-modal__row-body .form-group label {
  font-weight: 600;
  color: #334155;
}
.pos-payment-modal__row-body .form-control,
.pos-payment-modal__input,
.pos-payment-modal__textarea,
.pos-payment-modal__content .select2-container--default .select2-selection--single {
  border-radius: 0.65rem;
  border-color: #dbe3ef;
  box-shadow: none;
}
.pos-payment-modal__row-body .form-control:focus,
.pos-payment-modal__input:focus,
.pos-payment-modal__textarea:focus {
  border-color: #93b4ee;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.12);
}
.pos-payment-modal__input-group .input-group-addon {
  border-color: #dbe3ef;
  background: #f8fafc;
  color: #475569;
}
.pos-payment-modal__row-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: -0.15rem 0 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed #e2e8f0;
}
.pos-payment-modal__remove-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 1.85rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  background: #fff;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}
.pos-payment-modal__remove-row:hover,
.pos-payment-modal__remove-row:focus {
  background: #fef2f2;
  border-color: #f87171;
  outline: none;
}
.pos-payment-modal__add-row-wrap {
  margin-top: 0.75rem;
}
.pos-payment-modal__add-row {
  width: 100%;
  justify-content: center;
}
.pos-payment-modal__summary {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
  position: sticky;
  top: 0.5rem;
}
.pos-payment-modal__summary .contact-pay-modal__stat-value {
  font-size: 1.05rem;
}
.pos-payment-modal__stat--balance .contact-pay-modal__stat-value {
  color: #dc2626;
}
.pos-payment-modal__stat--balance.contact-pay-modal__stat--highlight .contact-pay-modal__stat-value,
.pos-payment-modal__summary .pos-payment-modal__stat--balance.is-settled .contact-pay-modal__stat-value {
  color: #059669;
}
.pos-payment-modal__textarea {
  min-height: 5.5rem;
  resize: vertical;
}
.pos-payment-modal__footer {
  justify-content: flex-end;
}
.pos-payment-modal__content i.fa-info-circle.text-info.hover-q.no-print,
.pos-payment-modal__content i.fa-info-circle.hover-q,
.pos-payment-modal__content .hover-q.no-print {
  display: none !important;
}
@media (max-width: 767px) {
  .pos-payment-modal__summary {
    position: static;
    margin-top: 1rem;
  }
}
.pos-expense-modal__content i.fa-info-circle.text-info.hover-q.no-print,
.pos-expense-modal__content i.fa-info-circle.hover-q,
.pos-expense-modal__content .hover-q.no-print {
  display: none !important;
}
.suspended-sales-modal__dialog {
  width: calc(100vw - 30px);
  max-width: 1040px;
}
.suspended-sales-modal__content {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.suspended-sales-modal .modal-header,
.view_modal .suspended-sales-modal__content .modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem 0.95rem;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}
.suspended-sales-modal__title {
  margin-bottom: 0.35rem;
}
.suspended-sales-modal__subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}
.suspended-sales-modal__close {
  font-size: 1.8rem;
  line-height: 1;
  color: #64748b;
  opacity: 1;
}
.suspended-sales-modal__close:hover,
.suspended-sales-modal__close:focus {
  color: #0f172a;
  opacity: 1;
}
.suspended-sales-modal__body {
  padding: 1rem 1.25rem 1.1rem;
}
.suspended-sales-modal__summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #f8fafc;
}
.suspended-sales-modal__summary-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}
.suspended-sales-modal__summary-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #334155;
}
.suspended-sales-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.9rem;
}
.suspended-sales-list__item {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.24);
}
.suspended-sales-list__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}
.suspended-sales-list__main {
  flex: 1 1 auto;
  min-width: 0;
}
.suspended-sales-list__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}
.suspended-sales-list__title-wrap {
  min-width: 0;
}
.suspended-sales-list__invoice {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  word-break: break-word;
}
.suspended-sales-list__customer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  color: #475569;
}
.suspended-sales-list__customer i,
.suspended-sales-list__note i,
.suspended-sales-list__meta-item i {
  color: #2f6fcb;
}
.suspended-sales-list__amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  min-width: 7.5rem;
}
.suspended-sales-list__amount-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}
.suspended-sales-list__amount-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.65rem;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}
.suspended-sales-list__note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #fff;
  font-size: 0.84rem;
  color: #475569;
}
.suspended-sales-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin-top: 0.8rem;
}
.suspended-sales-list__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.suspended-sales-list__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e2e8f0;
}
.suspended-sales-list__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 12rem;
  padding: 1.5rem;
  border: 1px dashed #dbe3ef;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #fafcff 0%, #f8fafc 100%);
  text-align: center;
}
.suspended-sales-list__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #eaf2ff;
  color: #2f6fcb;
  font-size: 1.2rem;
}
.suspended-sales-list__empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.suspended-sales-list__empty-text {
  font-size: 0.875rem;
  color: #64748b;
}
.suspended-sales-modal__footer {
  justify-content: flex-end;
}
.register-details-modal__dialog {
  width: calc(100vw - 30px);
  max-width: 1100px;
}
.register-details-modal__content {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.register-details-modal__content > .register-details-mini-print {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.register-details-modal__header,
.view_modal .register-details-modal__content .modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem 0.95rem;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}
.register-details-modal__title {
  margin-bottom: 0.35rem;
}
.register-details-modal__subtitle {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: #64748b;
}
.register-details-modal__close {
  font-size: 1.8rem;
  line-height: 1;
  color: #64748b;
  opacity: 1;
}
.register-details-modal__close:hover,
.register-details-modal__close:focus {
  color: #0f172a;
  opacity: 1;
}
.register-details-modal__body {
  padding: 1rem 1.25rem 1.1rem;
}
.register-details-modal__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.register-details-modal__summary-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #fff;
}
.register-details-modal__summary-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}
.register-details-modal__summary-value {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
}
.register-details-modal__sections {
  display: grid;
  gap: 1rem;
}
.register-details-modal__section {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.register-details-modal__table-wrap {
  overflow-x: auto;
}
.register-details-modal__table-wrap--danger {
  margin-top: 0.85rem;
}
.register-details-modal__table {
  margin-bottom: 0;
  background: #fff;
}
.register-details-modal__table > thead > tr > th,
.register-details-modal__table > tbody > tr > td,
.register-details-modal__table > tbody > tr > th,
.register-details-modal__table > tfoot > tr > th,
.register-details-modal__table > tfoot > tr > td {
  border-color: #e2e8f0 !important;
  vertical-align: middle;
}
.register-details-modal__table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 700;
}
.register-details-modal__table > tbody > tr > td:first-child,
.register-details-modal__table > tbody > tr > th:first-child {
  color: #475569;
  font-weight: 600;
}
.register-details-modal__highlight > td,
.register-details-modal__highlight > th {
  background: #eaf2ff !important;
}
.register-details-modal__highlight--warning > td,
.register-details-modal__highlight--warning > th {
  background: #fff7ed !important;
}
.register-details-modal__refund-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.register-details-modal__empty-text {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}
.register-details-modal__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.register-details-modal__meta-card {
  padding: 0.85rem 0.95rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
}
.register-details-modal__meta-card--full {
  grid-column: 1 / -1;
}
.register-details-modal__meta-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}
.register-details-modal__meta-value {
  display: block;
  font-size: 0.875rem;
  color: #0f172a;
  word-break: break-word;
}
.register-details-modal__footer {
  justify-content: flex-end;
}
.close-register-modal__dialog {
  width: calc(100vw - 30px);
  max-width: 1100px;
}
.close-register-modal__content {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.close-register-modal__header,
.view_modal .close-register-modal__content .modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem 0.95rem;
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 100%);
}
.close-register-modal__title {
  margin-bottom: 0.35rem;
}
.close-register-modal__title i {
  color: #ea580c;
}
.close-register-modal__subtitle {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: #64748b;
}
.close-register-modal__close {
  font-size: 1.8rem;
  line-height: 1;
  color: #64748b;
  opacity: 1;
}
.close-register-modal__close:hover,
.close-register-modal__close:focus {
  color: #0f172a;
  opacity: 1;
}
.close-register-modal__body {
  padding: 1rem 1.25rem 1.1rem;
}
.close-register-modal__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.close-register-modal__summary-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #fff;
}
.close-register-modal__summary-item--accent {
  border-color: #fdba74;
  background: #fff7ed;
}
.close-register-modal__summary-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}
.close-register-modal__summary-value {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
}
.close-register-modal__section {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.close-register-modal__hint {
  margin-bottom: 0.85rem;
}
.close-register-modal__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.close-register-modal__field {
  margin-bottom: 0;
}
.close-register-modal__field--full {
  grid-column: 1 / -1;
  margin-top: 0.85rem;
  margin-bottom: 0;
}
.close-register-modal__field label {
  font-weight: 600;
  color: #334155;
}
.close-register-modal__input,
.close-register-modal__textarea,
.close-register-modal__denomination-input {
  border-radius: 0.65rem;
  border-color: #dbe3ef;
  box-shadow: none;
}
.close-register-modal__input:focus,
.close-register-modal__textarea:focus,
.close-register-modal__denomination-input:focus {
  border-color: #93b4ee;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.12);
}
.close-register-modal__textarea {
  min-height: 6.5rem;
  resize: vertical;
}
.close-register-modal__subsection {
  margin-top: 0.5rem;
}
.close-register-modal__denomination-input {
  width: 100%;
  max-width: 110px;
  margin: 0 auto;
  text-align: center;
}
.close-register-modal__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.close-register-modal__meta-card {
  padding: 0.85rem 0.95rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
}
.close-register-modal__meta-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}
.close-register-modal__meta-value {
  display: block;
  font-size: 0.875rem;
  color: #0f172a;
  word-break: break-word;
}
.close-register-modal__footer {
  justify-content: flex-end;
}

/* Cash register — open shift page */
.cash-register-open-page {
  min-height: calc(100vh - 10rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.cash-register-open-page__shell {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
}
.cash-register-open-page__card {
  margin: 0;
  border: 1px solid #cfd8e3;
  border-radius: 0.85rem;
  background: #f7f9fc;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}
.cash-register-open-page__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(180deg, #eaf2ff 0%, #f7f9fc 100%);
  border-bottom: 1px solid #dbe4ee;
}
.cash-register-open-page__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  color: #2f6fcb;
  background: #fff;
  border: 1px solid #93b4ee;
  border-radius: 0.75rem;
  font-size: 1.35rem;
}
.cash-register-open-page__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}
.cash-register-open-page__lead {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.45;
}
.cash-register-open-page__body {
  padding: 1.35rem 1.5rem 0.5rem;
}
.cash-register-open-page__field {
  margin-bottom: 1rem;
}
.cash-register-open-page__field--amount {
  margin-bottom: 1.15rem;
}
.cash-register-open-page__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}
.cash-register-open-page__input {
  min-height: 3rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  border-radius: 0.65rem;
  border-color: #dbe3ef;
  color: #0f172a;
  background: #fff;
}
.cash-register-open-page__input:focus {
  border-color: #2f6fcb;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.14);
}
.cash-register-open-page__select + .select2-container {
  width: 100% !important;
}
.cash-register-open-page__select + .select2-container .select2-selection--single {
  min-height: 42px;
  border-color: #dbe3ef;
  border-radius: 0.65rem;
}
.cash-register-open-page__select + .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 40px;
  color: #0f172a;
}
.cash-register-open-page__footer {
  padding: 0.75rem 1.5rem 1.35rem;
}
.cash-register-open-page__submit {
  width: 100%;
  justify-content: center;
  gap: 0.45rem;
}
.cash-register-open-page__card--empty {
  padding: 2rem 1.5rem;
}
.cash-register-open-page__empty {
  text-align: center;
  color: #64748b;
}
.cash-register-open-page__empty i {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 2rem;
  color: #94a3b8;
}
.cash-register-open-page__empty p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
}

/* Cash register — open shift modal (matches close-register-modal) */
.cash-register-gate-page {
  min-height: 0;
  padding: 0;
}
.open-register-modal__dialog {
  width: calc(100vw - 30px);
  max-width: 34rem;
  margin: 1.75rem auto;
}
.open-register-modal__content {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.open-register-modal__header,
.view_modal .open-register-modal__content .modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.25rem 0.95rem;
  background: linear-gradient(180deg, #eaf2ff 0%, #f8fafc 100%);
}
.open-register-modal__title {
  margin-bottom: 0.35rem;
}
.open-register-modal__title i {
  color: #2f6fcb;
}
.open-register-modal__subtitle {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: #64748b;
}
.open-register-modal__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.open-register-modal__summary-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #fff;
}
.open-register-modal__summary-item--accent {
  border-color: #93b4ee;
  background: #eaf2ff;
}
.open-register-modal__summary-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}
.open-register-modal__summary-value {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
}
.open-register-modal__body {
  padding: 1rem 1.25rem 1.1rem;
}
.open-register-modal__section {
  margin-top: 0;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.open-register-modal__hint {
  margin-bottom: 0.85rem;
}
.open-register-modal__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.open-register-modal__field {
  margin-bottom: 0;
}
.open-register-modal__field label {
  font-weight: 600;
  color: #334155;
}
.open-register-modal__input,
.open-register-modal__select + .select2-container .select2-selection--single {
  border-radius: 0.65rem;
  border-color: #dbe3ef;
  box-shadow: none;
}
.open-register-modal__input:focus {
  border-color: #93b4ee;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.12);
}
.open-register-modal__input--amount {
  min-height: 2.85rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}
.open-register-modal__select + .select2-container {
  width: 100% !important;
}
.open-register-modal__select + .select2-container .select2-selection--single {
  min-height: 42px;
}
.open-register-modal__select + .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 40px;
  color: #0f172a;
}
.open-register-modal__footer {
  justify-content: flex-end;
}
.open_register_modal.modal {
  background: rgba(15, 23, 42, 0.45);
}

@media (max-width: 767px) {
  .recent-transactions-modal .modal-dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
  }
  .recent-transactions-modal__body,
  .recent-transactions-modal .modal-header,
  .recent-transactions-modal__footer {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .recent-transactions-list__top {
    flex-direction: column;
  }
  .recent-transactions-list__amount {
    align-items: flex-start;
    min-width: 0;
  }
  .recent-transactions-list__actions .app-btn-table {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
  }
  .suspend-note-modal .modal-dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
  }
  .suspend-note-modal .modal-header,
  .suspend-note-modal__body,
  .suspend-note-modal__footer {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .pos-expense-modal__dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
  }
  .pos-expense-modal__header,
  #expense_modal .pos-expense-modal__header,
  .pos-expense-modal__body,
  .pos-expense-modal__footer {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .pos-expense-modal__grid {
    grid-template-columns: 1fr;
  }
  .pos-expense-modal__footer .app-btn-primary,
  .pos-expense-modal__footer .app-btn-cancel {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
  }
  .suspended-sales-modal__dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
  }
  .suspended-sales-modal .modal-header,
  .view_modal .suspended-sales-modal__content .modal-header,
  .suspended-sales-modal__body,
  .suspended-sales-modal__footer {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .suspended-sales-list {
    grid-template-columns: 1fr;
  }
  .suspended-sales-list__title-row {
    flex-direction: column;
  }
  .suspended-sales-list__amount {
    align-items: flex-start;
    min-width: 0;
  }
  .suspended-sales-list__actions .app-btn-table {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
  }
  .register-details-modal__dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
  }
  .register-details-modal__header,
  .view_modal .register-details-modal__content .modal-header,
  .register-details-modal__body,
  .register-details-modal__footer {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .register-details-modal__footer .app-btn-primary,
  .register-details-modal__footer .app-btn-cancel {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
  }
  .close-register-modal__dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
  }
  .close-register-modal__header,
  .view_modal .close-register-modal__content .modal-header,
  .close-register-modal__body,
  .close-register-modal__footer {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .close-register-modal__fields {
    grid-template-columns: 1fr;
  }
  .close-register-modal__footer .app-btn-primary,
  .close-register-modal__footer .app-btn-cancel {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
  }
}
#update_purchase_status_modal .select2-container {
  width: 100% !important;
}
/* View payments modal */
.contact-view-payments-modal__subtitle {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  margin-inline-start: 0.35rem;
}
.contact-view-payments-modal__info {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.contact-view-payments-modal__address {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #475569;
}
.contact-view-payments-modal__meta {
  font-size: 0.8125rem;
  color: #334155;
  line-height: 1.6;
}
.contact-view-payments-modal__meta > div + div {
  margin-top: 0.25rem;
}
.contact-view-payments-modal__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.contact-view-payments-modal__toolbar .pull-right {
  float: none !important;
}
.contact-view-payments-modal .app-table-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.contact-view-payments-modal .contact-show-table > tbody > tr > td {
  vertical-align: middle !important;
}
.contact-view-payments-modal .contact-show-table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  font-size: 0.8125rem;
  border-color: #e2e8f0 !important;
  white-space: nowrap;
}
.contact-view-payments-modal .contact-show-table > tbody > tr > td {
  border-color: #e2e8f0 !important;
  font-size: 0.8125rem;
}
.contact-view-payments-modal .contact-show-table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.contact-transaction-detail-box {
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}
.contact-transaction-totals-table {
  margin-bottom: 0;
  font-size: 0.8125rem;
}
.contact-transaction-totals-table > tbody > tr > th {
  width: 55%;
  color: #475569;
  font-weight: 600;
  border-top: none !important;
  padding: 0.45rem 0.5rem;
}
.contact-transaction-totals-table > tbody > tr > td {
  border-top: none !important;
  padding: 0.45rem 0.5rem;
  color: #334155;
}
.contact-transaction-totals-table__grand > th,
.contact-transaction-totals-table__grand > td {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  border-top: 1px solid #e2e8f0 !important;
  padding-top: 0.65rem !important;
}
.contact-import-page__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-top: 1.65rem;
}
.contact-import-page__intro {
  margin: 0;
}
.contact-import-page__hint {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  color: #64748b;
}
/* Print labels page */
.labels-print-page .box-primary {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: none;
}
.labels-print-page .box-primary > .box-header {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.labels-print-page .box-primary > .box-header .box-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}
.labels-print-page__hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #64748b;
}
.labels-print-page__search .input-group-addon,
.labels-print-page__barcode-setting .input-group-addon,
.labels-print-page__option-size .input-group-addon {
  background: #f8fafc;
  color: #334155;
  border-color: #e2e8f0;
}
.labels-print-page__table-wrap {
  margin-top: 0.5rem;
}
.labels-print-page__product-table {
  margin-bottom: 0;
  min-width: 980px;
}
.labels-print-page__product-table > thead > tr > th {
  white-space: nowrap;
}
.labels-print-page__product-table > tbody > tr > td {
  vertical-align: middle !important;
}
.labels-print-page__product-name {
  min-width: 16rem;
  font-weight: 500;
  color: #1e293b;
}
.labels-print-page__product-table .form-control {
  min-width: 7rem;
}
.labels-print-page__product-table select.form-control {
  min-width: 10rem;
}
.labels-print-page__options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}
.labels-print-page__option-card {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
}
.labels-print-page__option-checkbox {
  margin: 0 0 0.85rem;
}
.labels-print-page__option-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
  font-weight: 500;
  color: #1e293b;
}
.labels-print-page__option-select {
  margin-bottom: 0;
}
.labels-print-page__option-select label {
  font-weight: 600;
  color: #334155;
}
.labels-print-page__barcode-setting {
  max-width: 28rem;
}
.labels-print-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.labels-print-page__actions .app-btn-primary {
  min-width: 11rem;
}
/* Product catalogue QR page */
.catalogue-qr-page__intro {
  margin-bottom: 1.25rem;
}
.catalogue-qr-page__form .form-group {
  margin-bottom: 1rem;
}
.catalogue-qr-page__form label {
  font-weight: 600;
  color: #334155;
}
.catalogue-qr-page__color .input-group-addon {
  background: #f8fafc;
  border-color: #e2e8f0;
  min-width: 2.5rem;
}
.catalogue-qr-page__color .input-group-addon i {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 0.2rem;
}
.catalogue-qr-page__logo-option {
  margin-bottom: 0;
  padding-top: 1.65rem;
}
.catalogue-qr-page__checkbox {
  margin: 0;
}
.catalogue-qr-page__checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  font-weight: 500;
  color: #1e293b;
}
.catalogue-qr-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.catalogue-qr-page__actions .app-btn-primary {
  min-width: 10rem;
  justify-content: center;
}
.catalogue-qr-page__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.catalogue-qr-page__step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
}
.catalogue-qr-page__step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}
.catalogue-qr-page__step-text {
  flex: 1;
  color: #475569;
  line-height: 1.65;
  font-size: 0.875rem;
}
.catalogue-qr-page__preview {
  min-height: 18rem;
}
.catalogue-qr-page__preview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 18rem;
  padding: 2rem 1rem;
  text-align: center;
  border: 2px dashed #cbd5e1;
  border-radius: 0.75rem;
  background: #f8fafc;
}
.catalogue-qr-page__preview-icon {
  font-size: 3rem;
  color: #94a3b8;
  opacity: 0.65;
}
.catalogue-qr-page__preview-empty p {
  margin: 0;
  max-width: 16rem;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.6;
}
.catalogue-qr-page__preview-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.5rem;
}
.catalogue-qr-page__qrcode-wrap {
  display: inline-flex;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.catalogue-qr-page__qrcode-wrap canvas,
.catalogue-qr-page__qrcode-wrap img {
  display: block;
  max-width: 100%;
  height: auto;
}
.catalogue-qr-page__link-wrap {
  width: 100%;
  text-align: center;
}
.catalogue-qr-page__link-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.catalogue-qr-page__link a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  word-break: break-all;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #2f6fcb;
}
.catalogue-qr-page__link a:hover,
.catalogue-qr-page__link a:focus {
  color: #1d4ed8;
}
.catalogue-qr-page__preview-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding-top: 0.25rem;
}
@media (max-width: 991px) {
  .catalogue-qr-page__logo-option {
    padding-top: 0;
  }
}
@media (max-width: 767px) {
  .catalogue-qr-page__actions .app-btn-primary {
    width: 100%;
  }
}
/* Accounting dashboard */
.accounting-dashboard-page__toolbar {
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.accounting-dashboard-page__intro {
  margin-bottom: 1rem;
}
.accounting-dashboard-page__overview {
  margin-top: 0.25rem;
}
.accounting-dashboard-page__balances-table {
  margin-bottom: 0;
}
.accounting-dashboard-page__balance-cell {
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
}
.accounting-dashboard-page__chart-wrap {
  min-height: 280px;
  padding: 0.5rem 0;
}
.accounting-dashboard-page__charts {
  margin-top: 0.5rem;
}
.accounting-dashboard-page__charts > [class*='col-'] {
  margin-bottom: 1rem;
}
.accounting-dashboard-page #dashboard_date_filter span {
  margin: 0 0.25rem;
}
@media (max-width: 991px) {
  .accounting-dashboard-page__overview .col-md-4,
  .accounting-dashboard-page__overview .col-md-8 {
    margin-bottom: 1rem;
  }
}
/* Chart of accounts */
.coa-page__view-toggle {
  margin-bottom: 1rem;
}
.coa-page__view-toggle-group {
  display: inline-flex;
  border: 1px solid #b8c5d6;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #fff;
}
.coa-page__view-btn {
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  background: #fff;
  border: none;
  border-inline-end: 1px solid #b8c5d6;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.coa-page__view-btn:last-child {
  border-inline-end: none;
}
.coa-page__view-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.coa-page__view-btn.active,
.coa-page__view-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}
.coa-page__view-btn.active {
  background: #e2e8f0;
  font-weight: 600;
}
.coa-page__intro {
  margin-bottom: 1rem;
}
.coa-page__toolbar {
  justify-content: flex-end;
}
.coa-page__empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: #64748b;
}
.coa-page__empty h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #334155;
}
.coa-page__empty p {
  margin-bottom: 1.25rem;
  max-width: 32rem;
  margin-inline: auto;
}
.coa-page__child-name {
  padding-inline-start: 1.25rem;
  color: #475569;
}
.coa-page__balance {
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
}
.coa-page__status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.25rem;
}
.coa-page__status--active {
  background: #dcfce7;
  color: #166534;
}
.coa-page__status--inactive {
  background: #f1f5f9;
  color: #64748b;
}
.coa-page__tree-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.coa-page__tree-search {
  flex: 1 1 220px;
  max-width: 320px;
}
.coa-page__tree-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.coa-page__tree-wrap {
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.coa-page__tree-node {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
}
.coa-page__tree-label {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.coa-page__tree-meta {
  font-size: 0.8125rem;
  color: #64748b;
}
.coa-page__tree-balance {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e293b;
}
.coa-page__tree-status--active {
  color: #16a34a;
  font-size: 0.75rem;
}
.coa-page__tree-status--inactive {
  color: #94a3b8;
  font-size: 0.75rem;
}
.coa-page__tree-node-actions {
  display: inline-flex;
  gap: 0.25rem;
  opacity: 0.85;
}
.coa-page__tree-node-actions .app-btn-table {
  padding: 0.2rem 0.4rem;
}
@media (max-width: 767px) {
  .coa-page__view-toggle-group {
    display: flex;
    width: 100%;
  }
  .coa-page__view-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
  .coa-page__tree-search {
    max-width: none;
    width: 100%;
  }
}
/* Journal entry */
.journal-entry-page__toolbar {
  justify-content: flex-end;
}
.journal-entry-page__intro {
  margin-bottom: 1rem;
}
.journal-entry-page__lines {
  margin-top: 1.25rem;
}
.journal-entry-page__lines-title {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
}
.journal-entry-page__lines-title i {
  margin-inline-end: 0.35rem;
  color: #64748b;
}
.journal-entry-page__lines-table {
  margin-bottom: 0;
}
.journal-entry-page__col-num {
  width: 2.5rem;
  text-align: center;
}
.journal-entry-page__totals-row th,
.journal-entry-page__totals-row td {
  background: #f8fafc;
  font-weight: 600;
}
.journal-entry-page__total-value {
  display: inline-block;
  min-width: 5rem;
  color: #1e293b;
}
.journal-entry-page__form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.journal-entry-page #journal_table_wrapper .app-table-actions,
.journal-entry-page #journal_table_wrapper .app-btn-table {
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .journal-entry-page__form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .journal-entry-page__form-actions .app-btn-primary,
  .journal-entry-page__form-actions .app-btn-cancel {
    width: 100%;
    justify-content: center;
  }
}
.transfer-page__toolbar {
  justify-content: flex-end;
}
.transfer-page__intro {
  margin-bottom: 1rem;
}
.transfer-page__modal-intro {
  margin-bottom: 1rem;
}
.transfer-page__modal-ref {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  margin-inline-start: 0.35rem;
}
.transfer-page #transfer_table_wrapper .app-table-actions,
.transfer-page #transfer_table_wrapper .app-btn-table {
  flex-wrap: wrap;
}
.accounting-transactions-page__intro {
  margin-bottom: 1rem;
}
.accounting-transactions-page__tabs {
  margin-top: 0.5rem;
}
.accounting-transactions-page__modal-intro {
  margin-bottom: 1rem;
}
.accounting-transactions-page__modal-ref {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  margin-inline-start: 0.35rem;
}
.accounting-transactions-page .contact-show-tab-panel__table-wrap {
  margin-top: 0.75rem;
}
/* Accounting transactions — full-width DataTables (same as suppliers list) */
.accounting-transactions-page .table-responsive,
.accounting-transactions-page .contact-show-tab-panel__table-wrap,
.accounting-transactions-page #sell_table_wrapper,
.accounting-transactions-page #sell_payment_table_wrapper,
.accounting-transactions-page #purchase_table_wrapper,
.accounting-transactions-page #purchase_payment_table_wrapper,
.accounting-transactions-page #transaction_expense_table_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.accounting-transactions-page #sell_table_wrapper .dataTables_scroll,
.accounting-transactions-page #sell_payment_table_wrapper .dataTables_scroll,
.accounting-transactions-page #purchase_table_wrapper .dataTables_scroll,
.accounting-transactions-page #purchase_payment_table_wrapper .dataTables_scroll,
.accounting-transactions-page #transaction_expense_table_wrapper .dataTables_scroll,
.accounting-transactions-page #sell_table_wrapper .dataTables_scrollHead,
.accounting-transactions-page #sell_payment_table_wrapper .dataTables_scrollHead,
.accounting-transactions-page #purchase_table_wrapper .dataTables_scrollHead,
.accounting-transactions-page #purchase_payment_table_wrapper .dataTables_scrollHead,
.accounting-transactions-page #transaction_expense_table_wrapper .dataTables_scrollHead,
.accounting-transactions-page #sell_table_wrapper .dataTables_scrollBody,
.accounting-transactions-page #sell_payment_table_wrapper .dataTables_scrollBody,
.accounting-transactions-page #purchase_table_wrapper .dataTables_scrollBody,
.accounting-transactions-page #purchase_payment_table_wrapper .dataTables_scrollBody,
.accounting-transactions-page #transaction_expense_table_wrapper .dataTables_scrollBody {
  width: 100% !important;
}
.accounting-transactions-page #sell_table_wrapper .dataTables_scrollHeadInner,
.accounting-transactions-page #sell_payment_table_wrapper .dataTables_scrollHeadInner,
.accounting-transactions-page #purchase_table_wrapper .dataTables_scrollHeadInner,
.accounting-transactions-page #purchase_payment_table_wrapper .dataTables_scrollHeadInner,
.accounting-transactions-page #transaction_expense_table_wrapper .dataTables_scrollHeadInner,
.accounting-transactions-page #sell_table_wrapper .dataTables_scrollHeadInner table,
.accounting-transactions-page #sell_payment_table_wrapper .dataTables_scrollHeadInner table,
.accounting-transactions-page #purchase_table_wrapper .dataTables_scrollHeadInner table,
.accounting-transactions-page #purchase_payment_table_wrapper .dataTables_scrollHeadInner table,
.accounting-transactions-page #transaction_expense_table_wrapper .dataTables_scrollHeadInner table,
.accounting-transactions-page #sell_table_wrapper .dataTables_scrollBody table,
.accounting-transactions-page #sell_payment_table_wrapper .dataTables_scrollBody table,
.accounting-transactions-page #purchase_table_wrapper .dataTables_scrollBody table,
.accounting-transactions-page #purchase_payment_table_wrapper .dataTables_scrollBody table,
.accounting-transactions-page #transaction_expense_table_wrapper .dataTables_scrollBody table {
  width: 100% !important;
}
.accounting-transactions-page #sell_table,
.accounting-transactions-page #sell_payment_table,
.accounting-transactions-page #purchase_table,
.accounting-transactions-page #purchase_payment_table,
.accounting-transactions-page #transaction_expense_table {
  width: 100% !important;
  max-width: 100%;
}
.accounting-transactions-page #sell_table_wrapper .app-table-actions,
.accounting-transactions-page #sell_payment_table_wrapper .app-table-actions,
.accounting-transactions-page #purchase_table_wrapper .app-table-actions,
.accounting-transactions-page #purchase_payment_table_wrapper .app-table-actions,
.accounting-transactions-page #transaction_expense_table_wrapper .app-table-actions,
.accounting-transactions-page .app-btn-table {
  flex-wrap: wrap;
}
/* Catalog settings / accounting lists — prevent empty gap left of DataTables */
.catalog-settings-page .contact-show-tab-panel__table-wrap,
.catalog-settings-page .table-responsive,
.catalog-settings-page .dataTables_wrapper {
  width: 100% !important;
}
.catalog-settings-page .dataTables_wrapper .dataTables_scroll,
.catalog-settings-page .dataTables_wrapper .dataTables_scrollHead,
.catalog-settings-page .dataTables_wrapper .dataTables_scrollBody {
  width: 100% !important;
}
.catalog-settings-page .dataTables_wrapper .dataTables_scrollHeadInner,
.catalog-settings-page .dataTables_wrapper .dataTables_scrollHeadInner table,
.catalog-settings-page .dataTables_wrapper .dataTables_scrollBody table {
  width: 100% !important;
}
.catalog-settings-page .contact-show-table {
  width: 100% !important;
  max-width: 100%;
}
/* Accounting budget */
.budget-page__intro {
  margin-bottom: 1rem;
}
.budget-page__toolbar,
.budget-page__export-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}
.budget-page__export-toolbar {
  margin-bottom: 0.75rem;
}
.budget-page__filters {
  margin-bottom: 1rem;
}
.budget-page__tabs {
  margin-top: 0.5rem;
}
.budget-page__table-scroll {
  max-height: 500px;
  overflow: auto;
}
.budget-page__table.table-sticky thead,
.budget-page__table.table-sticky tfoot {
  position: sticky;
  z-index: 2;
}
.budget-page__table.table-sticky thead {
  inset-block-start: 0;
}
.budget-page__table.table-sticky tfoot {
  inset-block-end: 0;
}
.budget-page__table .collapsed .collapse-tr {
  display: none;
}
.budget-page__head-row th,
.budget-page__footer-row th,
.budget-page__footer-row td {
  background: #f0f9ff;
  color: #1e3a5f;
  font-weight: 600;
}
.budget-page__group-row th {
  background: #f1f5f9;
  cursor: pointer;
  font-weight: 600;
  color: #334155;
}
.budget-page__group-row .collapse-icon {
  margin-inline-end: 0.35rem;
  color: #64748b;
}
.budget-page__subtotal-row th,
.budget-page__subtotal-row td {
  background: #f8fafc;
  font-weight: 600;
}
.budget-page__account-name {
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}
.budget-page__empty {
  padding: 2rem 1rem;
  text-align: center;
  color: #64748b;
}
.budget-page__form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.budget-form-page .budget-page__table .form-control {
  min-width: 5.5rem;
}
@media (max-width: 767px) {
  .budget-page__form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .budget-page__form-actions .app-btn-primary,
  .budget-page__form-actions .app-btn-cancel {
    width: 100%;
    justify-content: center;
  }
}
/* Accounting reports */
.accounting-reports-page__intro {
  margin-bottom: 1rem;
}
.accounting-reports-page__toolbar {
  margin-bottom: 0.75rem;
}
.accounting-reports-page__cards {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -0.5rem;
}
.accounting-reports-page__cards > [class*="col-"] {
  padding-inline: 0.5rem;
  margin-bottom: 1rem;
}
.accounting-reports-page__card {
  height: 100%;
  padding: 1.15rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.accounting-reports-page__card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.accounting-reports-page__card-title i {
  color: #2f6fcb;
  font-size: 1.1rem;
}
.accounting-reports-page__card-desc {
  flex: 1;
  margin: 0;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.7;
}
.accounting-reports-page__report-hint {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.7;
}
.accounting-reports-page__table > thead > tr > th,
.accounting-reports-page__table > tbody > tr > td,
.accounting-reports-page__table > tbody > tr > th,
.accounting-reports-page__table > tfoot > tr > th,
.accounting-reports-page__table > tfoot > tr > td {
  vertical-align: middle;
}
.accounting-reports-page__footer-row th,
.accounting-reports-page__footer-row td {
  background: #f0f9ff;
  font-weight: 600;
  color: #1e3a5f;
}
.accounting-reports-page__balance-sheet {
  margin-top: 0.5rem;
}
.accounting-reports-page__balance-col {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
  height: 100%;
}
.accounting-reports-page__balance-col-title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 1rem;
  font-weight: 700;
}
.accounting-reports-page__balance-col--assets .accounting-reports-page__balance-col-title {
  color: #166534;
}
.accounting-reports-page__balance-col--liability .accounting-reports-page__balance-col-title {
  color: #1d4ed8;
}
.accounting-reports-page__age-col--current,
.accounting-reports-page__age-label--current {
  color: #16a34a !important;
}
.accounting-reports-page__age-col--1_30,
.accounting-reports-page__age-label--1_30 {
  color: #ca8a04 !important;
}
.accounting-reports-page__age-col--31_60,
.accounting-reports-page__age-label--31_60 {
  color: #ea580c !important;
}
.accounting-reports-page__age-col--61_90,
.accounting-reports-page__age-label--61_90 {
  color: #dc2626 !important;
}
.accounting-reports-page__age-col--over90,
.accounting-reports-page__age-label--over90 {
  color: #b91c1c !important;
}
.accounting-reports-page__table-scroll {
  max-height: 520px;
  overflow: auto;
}
.accounting-reports-page__table.table-sticky thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
}
.accounting-reports-page__table .collapsed .collapse-tr {
  display: none;
}
.accounting-reports-page__group-row th {
  background: #f1f5f9;
  cursor: pointer;
  font-weight: 600;
}
.accounting-reports-page__group-row .collapse-icon {
  margin-inline-end: 0.35rem;
  color: #64748b;
}
.accounting-reports-page__subtotal-row th,
.accounting-reports-page__subtotal-row td {
  background: #f8fafc;
  font-weight: 600;
}
/* Accounting ledger (per account) */
.accounting-ledger-page__toolbar {
  margin-bottom: 0.75rem;
}
.accounting-ledger-page__gl-code {
  font-weight: 500;
  color: #64748b;
}
.accounting-ledger-page__filters-row {
  margin-bottom: 1rem;
}
.accounting-ledger-page__overview-card {
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.accounting-ledger-page__overview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.accounting-ledger-page__overview-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.accounting-ledger-page__overview-title i {
  color: #2f6fcb;
}
.accounting-ledger-page__overview-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  min-width: 10rem;
}
.accounting-ledger-page__overview-balance-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}
.accounting-ledger-page__overview-balance-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
}
.accounting-ledger-page__overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
}
.accounting-ledger-page__overview-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.accounting-ledger-page__overview-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}
.accounting-ledger-page__overview-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
  word-break: break-word;
}
@media (max-width: 767px) {
  .accounting-ledger-page__overview-head {
    flex-direction: column;
    align-items: stretch;
  }
  .accounting-ledger-page__overview-balance {
    align-items: flex-start;
    width: 100%;
  }
}
.accounting-ledger-page__intro {
  margin-bottom: 1rem;
}
.accounting-ledger-page__table > thead > tr > th,
.accounting-ledger-page__table > tbody > tr > td,
.accounting-ledger-page__table > tfoot > tr > th,
.accounting-ledger-page__table > tfoot > tr > td {
  vertical-align: middle;
}
.accounting-ledger-page__footer-row td,
.accounting-ledger-page__footer-row th {
  background: #f0f9ff;
  font-weight: 600;
  color: #1e3a5f;
}
.accounting-ledger-page .table-responsive,
.accounting-ledger-page .contact-show-tab-panel__table-wrap,
.accounting-ledger-page #ledger_wrapper {
  width: 100% !important;
  overflow-x: visible !important;
}
.accounting-ledger-page #ledger_wrapper .dataTables_scroll,
.accounting-ledger-page #ledger_wrapper .dataTables_scrollHead,
.accounting-ledger-page #ledger_wrapper .dataTables_scrollBody {
  width: 100% !important;
}
.accounting-ledger-page #ledger_wrapper .dataTables_scrollHeadInner,
.accounting-ledger-page #ledger_wrapper .dataTables_scrollHeadInner table,
.accounting-ledger-page #ledger_wrapper .dataTables_scrollBody table {
  width: 100% !important;
}
.accounting-ledger-page #ledger {
  width: 100% !important;
  max-width: 100%;
}
/* Accounting settings */
.accounting-settings-page__intro {
  margin-bottom: 1rem;
}
.accounting-settings-page__tabs {
  margin-top: 0.5rem;
}
.accounting-settings-page__section {
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #fff;
}
.accounting-settings-page__section-head {
  margin-bottom: 1rem;
}
.accounting-settings-page__section-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.accounting-settings-page__section-title i {
  color: #2f6fcb;
}
.accounting-settings-page__section-hint {
  margin: 0;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.7;
}
.accounting-settings-page__danger-toolbar {
  justify-content: flex-start;
  margin-bottom: 0.5rem;
}
.accounting-settings-page__danger-hint {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: #b91c1c;
  line-height: 1.6;
}
.accounting-settings-page__location {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.accounting-settings-page__location:last-child {
  margin-bottom: 0;
}
.accounting-settings-page__location-title {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.accounting-settings-page__location-title i {
  color: #2f6fcb;
}
.accounting-settings-page__mapping-block {
  padding: 0.85rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.accounting-settings-page__mapping-block:last-child {
  border-bottom: none;
}
.accounting-settings-page__mapping-title {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
}
.accounting-settings-page__expense-block {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.accounting-settings-page__expense-block .accounting-settings-page__mapping-block {
  border-bottom-color: #dcfce7;
}
.accounting-settings-page__tab-toolbar {
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.accounting-settings-page__form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.accounting-settings-page .contact-show-tabs,
.accounting-settings-page .contact-show-tabs__content,
.accounting-settings-page .contact-show-tab-panel,
.accounting-settings-page .accounting-settings-page__section,
.accounting-settings-page .accounting-settings-page__location,
.accounting-settings-page .accounting-settings-page__mapping-block,
.accounting-settings-page .form-group {
  overflow: visible !important;
}
.accounting-settings-page .select2-container--open {
  z-index: 9999;
}
body > .select2-container--open {
  z-index: 10050;
}
/* Select2 portal on body — keep __repositionSelect2Dropdown fixed wrapper working */
body > .select2-container .select2-dropdown.select2-dropdown--below,
body > .select2-container .select2-dropdown.select2-dropdown--above {
  position: static !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  width: 100% !important;
}
.accounting-settings-page .select2-container--open .select2-dropdown {
  z-index: 10051;
}
.accounting-settings-page #account_sub_type_table_wrapper,
.accounting-settings-page #detail_type_table_wrapper {
  width: 100% !important;
}
/* Manufacturing module */
.manufacturing-page__intro {
  margin-bottom: 1rem;
}
.manufacturing-page__toolbar {
  justify-content: flex-end;
}
.manufacturing-page__section {
  margin-bottom: 1.25rem;
}
.manufacturing-page__section .box-header .box-title {
  font-size: 1rem;
  font-weight: 700;
}
.manufacturing-page__ingredients-cost {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.manufacturing-page__form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.manufacturing-page__version-hint {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.manufacturing-page__recipe-meta {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}
.manufacturing-recipe-form-page .ingredients_table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-bottom: 2px solid #e2e8f0;
}
.manufacturing-report-page__filters {
  margin-bottom: 1rem;
}
.manufacturing-report-page__links {
  margin-top: 1rem;
}
.manufacturing-report-page__links .btn-block {
  text-align: center;
  margin-bottom: 0.5rem;
}
.manufacturing-report-page__summary-table > tbody > tr > th {
  width: 55%;
  font-weight: 600;
  color: #334155;
}
@media print {
  .manufacturing-report-page .catalog-settings-page__intro,
  .manufacturing-report-page__filters,
  .manufacturing-report-page__links,
  .manufacturing-report-page__print-actions {
    display: none !important;
  }
}
.manufacturing-settings-page__tabs {
  margin-top: 0.5rem;
}
.manufacturing-dashboard-page__cards {
  margin-bottom: 1.25rem;
}
.manufacturing-dashboard-page__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem;
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  min-height: 7.5rem;
  margin-bottom: 1rem;
}
.manufacturing-dashboard-page__card-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
}
.manufacturing-dashboard-page__card-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}
.manufacturing-dashboard-page__card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2f6fcb;
  margin-top: auto;
}
.manufacturing-dashboard-page__card--pending {
  border-color: #fde68a;
  background: #fffbeb;
}
.manufacturing-dashboard-page__card--today {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.manufacturing-dashboard-page__card--cost {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.manufacturing-dashboard-page__card--shortage {
  border-color: #fecaca;
  background: #fef2f2;
}
.manufacturing-dashboard-page__more {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}
.manufacturing-report-page__chart-row {
  margin-bottom: 1rem;
}
.app-btn-table--warning {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}
.app-btn-table--warning:hover {
  background: #fde68a;
  color: #78350f;
}
.catalog-settings-page.manufacturing-page .fa-info-circle.text-info.no-print,
.manufacturing-page .hover-q {
  display: none !important;
}
.manufacturing-production-view-modal .modal-body {
  max-height: min(72vh, 640px);
  overflow-y: auto;
}
.manufacturing-production-view__ref {
  font-weight: 700;
  color: #334155;
  margin-inline-start: 0.35rem;
}
.manufacturing-production-view__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-inline-start: 0.5rem;
  vertical-align: middle;
}
.manufacturing-production-view__badge--pending {
  background: #fef3c7;
  color: #92400e;
}
.manufacturing-production-view__badge--final {
  background: #dcfce7;
  color: #166534;
}
.manufacturing-production-view__summary {
  margin-bottom: 1rem;
}
.manufacturing-production-view__section {
  margin-bottom: 1.15rem;
}
.manufacturing-production-view__section .contact-pay-modal__section-title {
  margin: 0 0 0.65rem;
}
.manufacturing-production-view__meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.65rem 1rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
}
.manufacturing-production-view__meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}
.manufacturing-production-view__meta-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
}
.manufacturing-production-view__group-row td {
  background: #f1f5f9;
}
.manufacturing-production-view__location {
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.5rem;
}
.mfg-production-print-src {
  display: none !important;
}
.manufacturing-production-print {
  display: none;
}
.manufacturing-production-print .manufacturing-production-print__ingredients {
  margin-top: 1rem;
}
/* Spreadsheet module */
.spreadsheet-page__intro {
  margin-bottom: 1rem;
}
.spreadsheet-page__toolbar {
  justify-content: flex-end;
}
.spreadsheet-page__filters {
  margin-bottom: 1rem;
}
.spreadsheet-page__tree-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.spreadsheet-page__tree {
  padding: 0.75rem 0.5rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  min-height: 120px;
}
.spreadsheet-page__tree .jstree-default a {
  white-space: normal !important;
  height: auto;
}
.spreadsheet-page__tree .jstree-anchor {
  height: auto !important;
}
.spreadsheet-page__tree .jstree-default li > ins {
  vertical-align: top;
}
.spreadsheet-page__tree-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-inline-start: 0.35rem;
  vertical-align: middle;
}
.spreadsheet-page__sheet-info {
  display: block;
  margin-inline-start: 2.25rem;
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
  line-height: 1.5;
}
.spreadsheet-page .fa-info-circle.text-info.no-print,
.catalog-settings-page.spreadsheet-page .fa-info-circle.text-info.no-print {
  display: none !important;
}
.spreadsheet-editor-page__header {
  padding: 0.75rem 1rem 0;
}
.spreadsheet-editor-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  margin-bottom: 0.5rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.spreadsheet-editor-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-inline-start: auto;
}
.spreadsheet-editor-page__import {
  position: relative;
  cursor: pointer;
  margin: 0;
}
.spreadsheet-editor-page__import-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
/* Public product catalogue (catalogue/{business}/{location}) */
.product-catalogue-page {
  --app-font-family: "Noto Kufi Arabic", ui-sans-serif, system-ui, sans-serif;
  min-height: 100vh;
  background: #f1f5f9;
  font-family: var(--app-font-family) !important;
}
.product-catalogue-page h1,
.product-catalogue-page h2,
.product-catalogue-page h3,
.product-catalogue-page h4,
.product-catalogue-page h5,
.product-catalogue-page p,
.product-catalogue-page a,
.product-catalogue-page label,
.product-catalogue-page button,
.product-catalogue-page select,
.product-catalogue-page .product-catalogue-page__category-title,
.product-catalogue-page .product-catalogue-page__title,
.product-catalogue-page .product-catalogue-page__name {
  font-family: var(--app-font-family) !important;
}
.product-catalogue-modal,
.product-catalogue-modal h4,
.product-catalogue-modal h5,
.product-catalogue-modal .product-catalogue-modal__title,
.product-catalogue-modal .product-catalogue-modal__section-title {
  font-family: var(--app-font-family, "Noto Kufi Arabic", ui-sans-serif, system-ui, sans-serif) !important;
}
.product-catalogue-page__hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 0 1.25rem;
}
.product-catalogue-page__hero-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.product-catalogue-page__logo {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.product-catalogue-page__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-catalogue-page__title {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}
.product-catalogue-page__location {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #2f6fcb;
}
.product-catalogue-page__address {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}
.product-catalogue-page__nav {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  z-index: 100;
}
.product-catalogue-page__nav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.product-catalogue-page__nav.is-fixed + .product-catalogue-page__main {
  padding-top: 3.5rem;
}
.product-catalogue-page__nav-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.65rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.product-catalogue-page__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid #b8c5d6;
  border-radius: 2rem;
  background: linear-gradient(180deg, #f7f9fc 0%, #e7edf5 100%);
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.product-catalogue-page__nav-link:hover,
.product-catalogue-page__nav-link:focus {
  color: #1d4ed8;
  background: #eaf2ff;
  border-color: #93b4ee;
  text-decoration: none;
}
.product-catalogue-page__nav-link.is-active {
  color: #fff;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-color: #2f6fcb;
}
.product-catalogue-page__main {
  padding: 1.25rem 0 2.5rem;
}
.product-catalogue-page__category {
  margin-bottom: 2rem;
}
.product-catalogue-page__category-title {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}
.product-catalogue-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.product-catalogue-page__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-catalogue-page__card:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.product-catalogue-page__media {
  position: relative;
  display: block;
  background: #f8fafc;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-catalogue-page__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}
.product-catalogue-page__badge {
  position: absolute;
  top: 0.5rem;
  inset-inline-start: 0.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.375rem;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}
.product-catalogue-page__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  padding: 0.85rem 1rem 1rem;
}
.product-catalogue-page__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}
.product-catalogue-page__name a {
  color: #0f172a;
  text-decoration: none;
}
.product-catalogue-page__name a:hover,
.product-catalogue-page__name a:focus {
  color: #2f6fcb;
}
.product-catalogue-page__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}
.product-catalogue-page__price-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}
.product-catalogue-page__price-value {
  font-size: 1rem;
  font-weight: 700;
  color: #1d4ed8;
}
.product-catalogue-page__price-sep {
  color: #94a3b8;
  font-weight: 500;
}
.product-catalogue-page__sku {
  margin: 0;
  font-size: 0.8125rem;
  color: #64748b;
}
.product-catalogue-page__sku strong {
  color: #334155;
  font-weight: 600;
}
.product-catalogue-page__variation {
  margin-top: 0.15rem;
}
.product-catalogue-page__variation-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}
.product-catalogue-page__variation-select {
  border-color: #cbd5e1;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
}
.product-catalogue-page__details-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.product-catalogue-page__scrolltop {
  position: fixed;
  bottom: 1.25rem;
  inset-inline-start: 1.25rem;
  z-index: 101;
  display: none;
}
.product-catalogue-page__scrolltop-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(47, 111, 203, 0.35);
  cursor: pointer;
}
.product-catalogue-page__scrolltop-btn:hover,
.product-catalogue-page__scrolltop-btn:focus {
  background: linear-gradient(180deg, #3f84df 0%, #255fb4 100%);
}
.product-catalogue-modal .modal-content {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.product-catalogue-modal__header {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1rem 1.25rem;
}
.product-catalogue-modal__title {
  margin: 0;
  padding-inline-end: 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}
.product-catalogue-modal__body {
  padding: 1.25rem;
}
.product-catalogue-modal__media {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  background: #f8fafc;
  overflow: hidden;
}
.product-catalogue-modal__media img {
  width: 100%;
  display: block;
  object-fit: contain;
  max-height: 280px;
}
.product-catalogue-modal__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
}
.product-catalogue-modal__price-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
}
.product-catalogue-modal__price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1d4ed8;
}
.product-catalogue-modal__meta {
  margin-bottom: 0.75rem;
}
.product-catalogue-modal__meta th {
  width: 38%;
  color: #64748b;
  font-weight: 600;
  font-size: 0.8125rem;
  border: none;
  padding: 0.35rem 0.5rem 0.35rem 0;
}
.product-catalogue-modal__meta td {
  color: #0f172a;
  font-size: 0.875rem;
  border: none;
  padding: 0.35rem 0;
}
.product-catalogue-modal__description {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.7;
}
.product-catalogue-modal__section-title {
  margin: 1.25rem 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-catalogue-modal__section-title i {
  color: #2f6fcb;
}
.product-catalogue-modal__variation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}
.product-catalogue-modal__variation-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}
.product-catalogue-modal__variation-media {
  position: relative;
  background: #f8fafc;
  aspect-ratio: 1 / 1;
}
.product-catalogue-modal__variation-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}
.product-catalogue-modal__variation-body {
  padding: 0.65rem 0.75rem 0.75rem;
}
.product-catalogue-modal__variation-body h5 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}
.product-catalogue-modal__footer {
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 767px) {
  .product-catalogue-page__title {
    font-size: 1.25rem;
  }
  .product-catalogue-page__grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
  }
}
/* Variations page */
.variation-page .box-primary {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: none;
}
.variation-page .box-primary > .box-header {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.variation-page .box-primary > .box-header .box-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}
.variation-page__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.variation-page__intro {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #64748b;
}
.variation-page #variation_table_wrapper .dataTables_length,
.variation-page #variation_table_wrapper .dataTables_info,
.variation-page #variation_table_wrapper .dataTables_paginate {
  font-size: 0.8125rem;
  color: #64748b;
}
.variation-modal__values-section {
  margin-bottom: 0 !important;
}
.variation-modal__values-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.variation-modal__values-header .supplier-contact-form__title {
  margin: 0;
}
.variation-modal__values .variation-modal__value-row + .variation-modal__value-row {
  margin-top: 0.75rem;
}
.variation-modal__value-row .form-group {
  margin-bottom: 0;
}
.variation-modal__value-action {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: 100%;
}
.variation-modal__value-action .delete_variation_value {
  min-width: 2.5rem;
}
/* Import pages */
.import-products-page .box-primary,
.import-opening-stock-page .box-primary {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: none;
}
.import-products-page .box-primary > .box-header,
.import-opening-stock-page .box-primary > .box-header {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.import-products-page .box-primary > .box-header .box-title,
.import-opening-stock-page .box-primary > .box-header .box-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}
/* Catalog settings pages */
.catalog-settings-page .box-primary,
.catalog-settings-page .box-solid {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: none;
  background: #fff;
}
.catalog-settings-page .box-primary > .box-header,
.catalog-settings-page .box-solid > .box-header {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.catalog-settings-page .box-primary > .box-header .box-title,
.catalog-settings-page .box-solid > .box-header .box-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}
.catalog-settings-page__intro {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: #475569;
  line-height: 1.8;
}
.catalog-settings-page__toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}
.catalog-settings-page .table-responsive {
  margin-top: 0.75rem;
}
.catalog-settings-page .contact-show-table {
  margin-bottom: 0;
}
.catalog-settings-modal__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.catalog-settings-modal__checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
}
.contact-pay-modal .hover-q,
.contact-pay-modal .fa-info-circle.text-info.no-print,
.catalog-settings-modal .hover-q,
.catalog-settings-modal .fa-info-circle.text-info.no-print,
.catalog-settings-page .hover-q,
.catalog-settings-page .fa-info-circle.text-info.no-print {
  display: none !important;
}
.catalog-settings-modal__hint {
  margin-top: 0.35rem;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.catalog-settings-modal__base-unit {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 1rem;
}
.catalog-settings-modal__base-unit table {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .catalog-settings-page__toolbar {
    justify-content: stretch;
  }
  .catalog-settings-page__toolbar .app-btn-primary,
  .catalog-settings-page__toolbar .app-btn-primary--sm {
    width: 100%;
    justify-content: center;
  }
}
.app-dropdown-menu button {
  width: 100%;
  text-align: inherit;
  background: transparent;
  border: none;
  padding: 0.45rem 1rem;
  display: block;
  color: #334155;
  font-size: 0.8125rem;
}
.app-dropdown-menu button:hover,
.app-dropdown-menu button:focus {
  background: #f1f5f9;
  color: var(--theme-700);
  outline: none;
}
.app-dropdown-menu button.app-dropdown-item--danger {
  color: #b42318;
}
/* Products list — full-width DataTable (same as suppliers) */
.product-list-page .table-responsive,
.product-list-page .contact-show-tab-panel__table-wrap,
.product-list-page #product_table_wrapper,
.product-list-page #product_stock_report_table_wrapper {
  width: 100% !important;
}
.product-list-page #product_table_wrapper .dataTables_scroll,
.product-list-page #product_stock_report_table_wrapper .dataTables_scroll,
.product-list-page #product_table_wrapper .dataTables_scrollHead,
.product-list-page #product_stock_report_table_wrapper .dataTables_scrollHead,
.product-list-page #product_table_wrapper .dataTables_scrollBody,
.product-list-page #product_stock_report_table_wrapper .dataTables_scrollBody {
  width: 100% !important;
}
.product-list-page #product_table_wrapper .dataTables_scrollHeadInner,
.product-list-page #product_stock_report_table_wrapper .dataTables_scrollHeadInner,
.product-list-page #product_table_wrapper .dataTables_scrollHeadInner table,
.product-list-page #product_stock_report_table_wrapper .dataTables_scrollHeadInner table,
.product-list-page #product_table_wrapper .dataTables_scrollBody table,
.product-list-page #product_stock_report_table_wrapper .dataTables_scrollBody table {
  width: 100% !important;
}
.product-list-page #product_table {
  width: 100% !important;
  min-width: 1220px;
  max-width: none;
  table-layout: fixed;
}
.product-list-page #product_stock_report_table {
  width: 100% !important;
  min-width: 1100px;
  table-layout: auto;
}
/* Product bulk edit page */
.product-bulk-edit-page__search {
  margin-bottom: 1rem;
  max-width: 420px;
}
.product-bulk-edit-page__search .form-control {
  border-radius: 0.65rem;
  border-color: #dbe3ef;
  box-shadow: none;
  min-height: 42px;
}
.product-bulk-edit-page__table-wrap {
  margin-top: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.product-bulk-edit-page__table {
  min-width: 980px;
  margin-bottom: 0;
}
.product-bulk-edit-page__table > thead > tr > th {
  white-space: nowrap;
  font-size: 0.8125rem;
}
.product-bulk-edit-page__product-block + .product-bulk-edit-page__product-block {
  border-top: 2px solid #e2e8f0;
}
.product-bulk-edit-page .contact-show-table > tbody > tr:nth-child(even),
.product-bulk-edit-page .contact-show-table > tbody > tr:nth-child(odd),
.product-bulk-edit-page .contact-show-table > tbody > tr.bg-green,
.product-bulk-edit-page .contact-show-table > tbody > tr.bg-green > td,
.product-bulk-edit-page .contact-show-table .bg-green,
.product-bulk-edit-page .bg-green,
.product-bulk-edit-page .bg-light-green {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
}
.product-bulk-edit-page__product-row > td {
  vertical-align: middle !important;
  background: #f8fbff !important;
  background-color: #f8fbff !important;
}
.product-bulk-edit-page__product-name {
  min-width: 180px;
  text-align: right;
}
.product-bulk-edit-page__product-sku {
  display: block;
  margin-top: 0.25rem;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 500;
}
.product-bulk-edit-page__variations-row > td {
  padding: 0 !important;
  background: #fff !important;
  background-color: #fff !important;
  border-top: none !important;
}
.product-bulk-edit-page__variations-wrap {
  padding: 0.75rem;
  background: #fff;
}
.product-bulk-edit-page__variation-table {
  margin-bottom: 0;
  background: #fff;
}
.product-bulk-edit-page__variation-table > thead > tr > th {
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  font-size: 0.8125rem;
  white-space: nowrap;
}
.product-bulk-edit-page__variation-table > tbody > tr > td {
  vertical-align: top;
  background: #fff !important;
  background-color: #fff !important;
}
.product-bulk-edit-page__variation-name {
  min-width: 160px;
  font-weight: 600;
  color: #334155;
}
.product-bulk-edit-page__price-input {
  width: 100%;
  margin-bottom: 0.5rem;
}
.product-bulk-edit-page__price-input:last-child {
  margin-bottom: 0;
}
.product-bulk-edit-page__group-price-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.product-bulk-edit-page__group-price-item:last-child {
  margin-bottom: 0;
}
.product-bulk-edit-page__group-price-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}
.product-bulk-edit-page__variation-table .form-control.input_number {
  min-width: 110px;
}
.product-bulk-edit-page__group-prices {
  min-width: 180px;
}
.product-bulk-edit-page__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.product-bulk-edit-page__footer .app-btn-primary,
.product-bulk-edit-page__footer .app-btn-cancel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 767px) {
  .product-bulk-edit-page__search {
    max-width: none;
  }
  .product-bulk-edit-page__footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .product-bulk-edit-page__footer .app-btn-primary,
  .product-bulk-edit-page__footer .app-btn-cancel {
    justify-content: center;
    width: 100%;
  }
}
.product-list-page #product_table td,
.product-list-page #product_stock_report_table td {
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-list-page #product_table > thead > tr > th,
.product-list-page .product-stock-report-table > thead > tr > th.product-stock-report-table__th {
  overflow: visible;
  text-overflow: clip;
  white-space: normal !important;
  word-break: break-word;
  line-height: 1.35;
  vertical-align: top;
  padding: 0.65rem 0.55rem;
  hyphens: auto;
}
.product-list-page .product-stock-report-table > thead > tr > th.product-stock-report-table__th small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  margin-top: 0.2rem;
  line-height: 1.25;
  color: #64748b;
}
.product-list-page .product-stock-report-table > thead > tr > th.product-stock-report-table__th--wide {
  min-width: 7.5rem;
}
.product-list-page #product_table th.product-list-table__col-check,
.product-list-page #product_table td.product-list-table__col-check {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  text-align: center;
  vertical-align: middle !important;
}
.product-list-page #product_table th.product-list-table__col-image,
.product-list-page #product_table td.product-list-table__col-image {
  width: 90px !important;
  min-width: 90px !important;
  max-width: 90px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-align: center;
  vertical-align: middle !important;
  padding: 0.5rem !important;
}
.product-list-page #product_table td.product-list-table__col-image > div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}
.product-list-page #product_table td.product-list-table__col-image .product-thumbnail-small {
  width: 56px !important;
  height: 56px !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 0.25rem;
}
.product-list-page #product_table th.product-list-table__col-action-list,
.product-list-page #product_table td.product-list-table__col-action-list {
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  vertical-align: middle !important;
}
.product-list-page #product_table th.product-list-table__col-product,
.product-list-page #product_table td.product-list-table__col-product {
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: break-word;
  line-height: 1.45;
  vertical-align: middle !important;
}
.product-list-page #product_table td.product-list-table__col-product .product-list-table__product-cell {
  display: block;
  line-height: 1.45;
  word-break: break-word;
}
.product-list-page #product_table td.product-list-table__col-product .label {
  display: inline-block;
  margin-top: 0.2rem;
  white-space: normal;
}
.product-list-page .product-stock-report-table th.product-stock-report-table__col-product,
.product-list-page .product-stock-report-table td.product-stock-report-table__col-product {
  overflow: visible;
  text-overflow: clip;
  white-space: normal !important;
  word-break: break-word;
  line-height: 1.45;
  min-width: 8rem;
  max-width: none;
}
.product-list-page .product-stock-report-table th.product-stock-report-table__col-variation,
.product-list-page .product-stock-report-table td.product-stock-report-table__col-variation,
.product-list-page .product-stock-report-table th.product-stock-report-table__col-category,
.product-list-page .product-stock-report-table td.product-stock-report-table__col-category {
  overflow: visible;
  text-overflow: clip;
  white-space: normal !important;
  word-break: break-word;
  line-height: 1.4;
  min-width: 7.5rem;
  max-width: none;
}
.product-list-page .product-stock-report-table td.product-stock-report-table__col-variation,
.product-list-page .product-stock-report-table td.product-stock-report-table__col-category {
  color: #334155;
}
.product-list-page .product-stock-report-table th.product-stock-report-table__col-action,
.product-list-page .product-stock-report-table td.product-stock-report-table__col-action {
  min-width: 10.5rem;
  max-width: none;
  white-space: normal !important;
  vertical-align: middle !important;
}
.product-list-page .product-stock-report-table td.product-stock-report-table__col-action .app-btn-primary--sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  padding: 0.45rem 0.5rem;
  font-size: 0.75rem;
}
.product-list-page .product-stock-report-table th.product-stock-report-table__col-sku,
.product-list-page .product-stock-report-table td.product-stock-report-table__col-sku {
  overflow: visible;
  text-overflow: clip;
  white-space: normal !important;
  word-break: break-word;
  min-width: 6.5rem;
  max-width: none;
  font-variant-numeric: tabular-nums;
}
.product-list-page .product-stock-report-table th.product-stock-report-table__col-location,
.product-list-page .product-stock-report-table td.product-stock-report-table__col-location,
.product-list-page .product-stock-report-table th.product-stock-report-table__col-stock,
.product-list-page .product-stock-report-table td.product-stock-report-table__col-stock {
  overflow: visible;
  text-overflow: clip;
  white-space: normal !important;
  word-break: break-word;
  line-height: 1.4;
  max-width: none;
}
.product-list-page .product-stock-report-table th.product-stock-report-table__col-location,
.product-list-page .product-stock-report-table td.product-stock-report-table__col-location {
  min-width: 8.5rem;
}
.product-list-page .product-stock-report-table th.product-stock-report-table__col-stock,
.product-list-page .product-stock-report-table td.product-stock-report-table__col-stock {
  min-width: 7rem;
  font-variant-numeric: tabular-nums;
}
.product-list-page .contact-show-tab-panel__toolbar {
  margin-bottom: 0.75rem;
}
.product-list-page .product-list-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
  width: 100%;
  min-height: 34px;
}
.product-list-page .product-list-bulk-actions-bar {
  width: 100%;
  margin-top: 0;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 0;
  border-radius: 0 0 0.375rem 0.375rem;
}
.product-list-page .product-list-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
}
html[dir="rtl"] .product-list-page .product-list-bulk-actions,
[dir="rtl"] .product-list-page .product-list-bulk-actions {
  justify-content: flex-start;
}
.product-list-bulk-actions__item {
  margin: 0;
  display: inline-block;
}
.product-list-page #product_stock_report_table tfoot td {
  background: #f8fafc;
  border-color: #e2e8f0 !important;
  padding: 0.75rem 1rem;
}
.product-list-page #product_stock_report_table .contact-show-table__footer-row td {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  vertical-align: middle !important;
}
.product-list-page #stock_report_table .contact-show-table__footer-row td strong {
  font-weight: 600;
  color: #1e293b;
}
.product-list-page .product-stock-report-table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  font-size: 0.8125rem;
  border-color: #e2e8f0 !important;
}
.product-list-page .product-stock-report-table > tbody > tr > td {
  border-color: #e2e8f0 !important;
  font-size: 0.8125rem;
  vertical-align: middle !important;
}
.product-list-page .product-stock-report-table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
#product_stock_report .contact-show-tab-panel__table-wrap {
  max-height: 75vh;
  overflow: auto;
  overflow-x: auto;
}
#product_list_tab .contact-show-tab-panel__table-wrap {
  max-height: 75vh;
  overflow: auto;
  overflow-x: auto;
}
#product_table_wrapper .dataTables_scroll,
#product_table_wrapper .dataTables_scrollHead,
#product_table_wrapper .dataTables_scrollBody {
  overflow: visible !important;
  width: 100% !important;
}
#product_stock_report_table_wrapper .dataTables_scroll,
#product_stock_report_table_wrapper .dataTables_scrollHead,
#product_stock_report_table_wrapper .dataTables_scrollBody {
  overflow: visible !important;
  width: 100% !important;
}
/* Product view modal */
.product-view-modal .modal-body {
  padding: 1rem 1.25rem 1.25rem;
}
.product-view-modal__image-wrap {
  padding: 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  text-align: center;
}
.product-view-modal__image {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
  object-fit: contain;
}
.product-view-modal__description {
  font-size: 0.8125rem;
  color: #334155;
  line-height: 1.55;
}
.product-view-modal__brochure {
  margin-top: 0.35rem;
}
.product-view-modal__combo-total {
  margin-top: 0.75rem;
  text-align: end;
  font-size: 0.875rem;
  color: #334155;
}
.product-view-modal .contact-view-payments-modal__meta > div + div {
  margin-top: 0.35rem;
}
/* Product stock history page */
.product-stock-history-page .product-stock-history-page__filters {
  padding: 0.25rem 0 0;
}
.product-stock-history-page .product-stock-history-page__content {
  min-height: 120px;
}
.product-stock-history-page__summary {
  margin-bottom: 0.25rem;
}
.product-stock-history-page__summary-heading {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}
.product-stock-history-page .contact-pay-modal__stats {
  grid-template-columns: 1fr;
}
.product-stock-history-details__qty--in {
  color: #15803d;
  font-weight: 600;
}
.product-stock-history-details__qty--out {
  color: #b42318;
  font-weight: 600;
}
.product-stock-history-page #stock_history_table_wrapper .dataTables_length,
.product-stock-history-page #stock_history_table_wrapper .dataTables_info,
.product-stock-history-page #stock_history_table_wrapper .dataTables_paginate {
  font-size: 0.8125rem;
  color: #64748b;
}
.product-stock-history-page #stock_history_table_wrapper .dataTables_paginate {
  margin-top: 0.5rem;
}
/* Update product prices — import / export */
.product-price-import-page .box-primary {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: none;
}
.product-price-import-page .box-primary > .box-header {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.product-price-import-page .box-primary > .box-header .box-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}
.product-price-import-page__export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.product-price-import-page__steps {
  margin: 0;
  padding-inline-start: 1.25rem;
  color: #334155;
  line-height: 1.7;
}
.product-price-import-page__steps li + li {
  margin-top: 0.35rem;
}
/* Purchase list page */
.purchase-list-page .box-primary,
.purchase-list-page .box-solid,
.sell-list-page .box-primary,
.sell-list-page .box-solid {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: none;
}
.purchase-list-page .box-primary > .box-header,
.purchase-list-page .box-solid > .box-header,
.sell-list-page .box-primary > .box-header,
.sell-list-page .box-solid > .box-header {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.purchase-list-page .box-primary > .box-header .box-title,
.purchase-list-page .box-solid > .box-header .box-title,
.sell-list-page .box-primary > .box-header .box-title,
.sell-list-page .box-solid > .box-header .box-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}
.purchase-list-page__intro,
.sell-list-page__intro {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: #475569;
  line-height: 1.8;
}
.purchase-list-page__toolbar,
.sell-list-page__toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.purchase-list-page .table-responsive,
.purchase-list-page .contact-show-tab-panel__table-wrap,
.purchase-list-page #purchase_table_wrapper,
.sell-list-page .table-responsive,
.sell-list-page .contact-show-tab-panel__table-wrap,
.sell-list-page #sell_table_wrapper,
.sell-list-page #sell_return_table_wrapper {
  margin-top: 0.75rem;
}
.purchase-list-page #purchase_table {
  width: 100% !important;
}
.sell-list-page #sell_table,
.sell-list-page #sell_return_table {
  width: 100% !important;
}
.purchase-list-page #purchase_table > thead > tr > th,
.purchase-list-page #purchase_table > tbody > tr > td,
.sell-list-page #sell_table > thead > tr > th,
.sell-list-page #sell_table > tbody > tr > td,
.sell-list-page #sell_return_table > thead > tr > th,
.sell-list-page #sell_return_table > tbody > tr > td {
  vertical-align: middle;
}
.purchase-list-page .purchase-table__footer-row td {
  background: #f8fafc;
  font-size: 0.875rem;
  font-weight: 600;
}
.purchase-list-page .purchase-table__footer-row td small {
  font-size: 0.8125rem;
  line-height: 1.7;
}
.sell-list-page .sell-table__footer-row td {
  background: #f8fafc;
  font-size: 0.875rem;
  font-weight: 600;
}
.sell-list-page__range {
  display: inline-block;
  margin-inline-start: 0.35rem;
  color: #1d4ed8;
  font-weight: 600;
}
.sell-list-page__invoice-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.sell-list-page__invoice-link:hover,
.sell-list-page__invoice-link:focus {
  color: #1d4ed8;
  text-decoration: underline;
}
/* POS floating panels (calculator, sell return, …) */
.pos-floating-panel {
  display: none;
  position: fixed;
  z-index: 1060;
  max-width: calc(100vw - 16px);
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}
.pos-floating-panel.is-open {
  display: block;
}
.pos-floating-panel::before {
  content: '';
  position: absolute;
  top: -6px;
  left: var(--pos-float-arrow-left, 50%);
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.06));
  pointer-events: none;
  z-index: 1;
}
.pos-floating-panel--above::before {
  top: auto;
  bottom: -6px;
  border-width: 6px 6px 0 6px;
  border-color: #fff transparent transparent transparent;
}
.pos-calculator-panel {
  width: 268px;
}
.pos-calculator-panel .pos-floating-panel__inner {
  padding: 1rem;
}
.pos-calculator-panel .pos-calculator {
  width: 100%;
  box-sizing: border-box;
}
.pos-calculator-panel__header {
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
}
.pos-calculator-panel__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.pos-calculator-panel__header i.fa-calculator {
  color: #00935f;
}
.pos-calculator-panel__hist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid #dbe3ef;
  border-radius: 0.5rem;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pos-calculator-panel__hist-btn:hover,
.pos-calculator-panel__hist-btn:focus {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #2563eb;
  outline: none;
}
.pos-calculator__display-wrap {
  margin: 0 0 0.75rem;
}
.pos-calculator-panel .pos-calculator__display,
.pos-calculator-panel #calc-display {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: left;
  direction: ltr;
}
.pos-calculator__grid,
.pos-calculator-panel #calc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  width: 100%;
}
.pos-calculator-panel #calculator .calc-btn {
  width: 100% !important;
  height: auto !important;
  min-height: 2.35rem;
  margin: 0 !important;
  padding: 0.45rem 0.25rem !important;
  border-radius: 0.55rem !important;
  border: 1px solid #dbe3ef !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  line-height: 1.2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: none !important;
  transform: none;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.pos-calculator-panel #calculator .calc-btn:active {
  transform: scale(0.97);
}
.pos-calculator-panel #calculator .calc-btn-num {
  background: #fff !important;
  color: #0f172a !important;
}
.pos-calculator-panel #calculator .calc-btn-num:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
.pos-calculator-panel #calculator .calc-btn-op {
  background: #eef2ff !important;
  color: #1d4ed8 !important;
  border-color: #c7d2fe !important;
}
.pos-calculator-panel #calculator .calc-btn-op:hover {
  background: #e0e7ff !important;
}
.pos-calculator-panel #calculator .calc-btn-ac {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border-color: #fecaca !important;
}
.pos-calculator-panel #calculator .calc-btn-ac:hover {
  background: #fee2e2 !important;
}
.pos-calculator-panel #calculator .calc-btn-ce {
  background: #fffbeb !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
}
.pos-calculator-panel #calculator .calc-btn-ce:hover {
  background: #fef3c7 !important;
}
.pos-calculator-panel #calculator .calc-btn-eq {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #fff !important;
  border-color: #2563eb !important;
  font-size: 1rem !important;
}
.pos-calculator-panel #calculator .calc-btn-eq:hover {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%) !important;
}
/* Calculator history popup (POS + header popover) */
#calc-hist-popup {
  display: none;
  position: fixed;
  z-index: 1070;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15);
  padding: 0.65rem;
}
.calc-hist-head {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0 0.15rem 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0.5rem;
}
#calc-hist-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 180px;
  overflow-y: auto;
}
.calc-hist-entry {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.55rem;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}
.calc-hist-entry:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
}
.calc-hist-expr {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 0.7rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  text-align: left;
}
.calc-hist-result {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2563eb;
  text-align: left;
  direction: ltr;
}
.calc-hist-empty {
  text-align: center;
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 1rem 0;
}
#calc-hist-clear {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 0.55rem;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.12s ease;
}
#calc-hist-clear:hover {
  background: #fef2f2;
}
/* Popover calculator (non-POS header) — unified shell */
.popover:has(#calculator).bottom > .arrow:after {
  border-bottom-color: #fff;
}
.popover:has(#calculator).bottom {
  border: none;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15), 0 2px 8px rgba(15, 23, 42, 0.08);
  border-radius: 0.9rem;
  overflow: hidden;
}
.popover:has(#calculator) .popover-content {
  padding: 0 !important;
  background: #fff;
}
.popover:has(#calculator) {
  z-index: 1060 !important;
  width: 268px !important;
  max-width: calc(100vw - 16px) !important;
  min-width: 0 !important;
}
.popover:has(#calculator) .popover-content {
  width: 100% !important;
  max-width: 100% !important;
}
.popover:has(#calculator) .pos-calculator {
  padding: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
#app-calculator-panel.pos-calculator-panel {
  width: 268px;
}
/* Header notifications floating panel */
.app-notifications-menu {
  position: relative;
  display: inline-flex;
}
.app-notifications-menu__badge,
.app-notifications-menu .notifications_count {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  color: #fff !important;
  background-color: #dc2626 !important;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}
.app-notifications-menu .label,
.app-notifications-menu .label-warning {
  display: none !important;
}
.app-notifications-panel {
  width: 20rem;
  max-width: calc(100vw - 16px);
}
.app-notifications-panel__inner {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  max-height: min(70vh, 520px);
}
.app-notifications-panel__head {
  flex-shrink: 0;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.app-notifications-panel__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
}
.app-notifications-panel__title i {
  color: #2f6fcb;
}
.app-notifications-panel__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  padding: 1.25rem 1rem;
}
.app-notifications-panel__loading.hide {
  display: none;
}
.app-notifications-panel__loading-spinner {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid #e2e8f0;
  border-top-color: #2f6fcb;
  border-radius: 50%;
  animation: app-notifications-spin 0.65s linear infinite;
}
.app-notifications-panel__list.is-loading {
  opacity: 0.45;
  pointer-events: none;
}
@keyframes app-notifications-spin {
  to {
    transform: rotate(360deg);
  }
}
.app-notifications-panel__list {
  flex: 1 1 auto;
  min-height: 4rem;
  max-height: min(55vh, 420px);
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem 0.5rem;
  list-style: none;
}
.app-notifications-panel__list > li {
  list-style: none;
}
.app-notifications-panel__list .notification-li > a {
  display: block;
  padding: 0.15rem 0;
  text-decoration: none;
  color: inherit;
}
.app-notifications-panel__list .notification-li.unread > a {
  font-weight: 600;
}
.app-notifications-panel__list .notif-info {
  display: block;
  color: #334155;
  line-height: 1.4;
  word-break: break-word;
}
.app-notifications-panel__list .time {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: #64748b;
}
.app-notifications-panel__list .no-notification {
  padding: 1.25rem 0.75rem;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}
.app-notifications-panel__footer {
  flex-shrink: 0;
  padding: 0.65rem 1rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  background: #f8fafc;
}
.app-notifications-panel__footer.hide {
  display: none;
}
.app-notifications-panel__load-more {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f6fcb;
  text-decoration: none;
}
.app-notifications-panel__load-more:hover,
.app-notifications-panel__load-more:focus {
  color: #1d4ed8;
  text-decoration: underline;
}
.theme-header-bg .notifications-menu .dropdown-menu {
  display: none !important;
}
.popover:has(#calculator) .pos-calculator-panel__header {
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
}
.popover:has(#calculator) .pos-calculator-panel__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.popover:has(#calculator) .pos-calculator-panel__header i.fa-calculator {
  color: #00935f;
}
.popover:has(#calculator) .pos-calculator-panel__hist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid #dbe3ef;
  border-radius: 0.5rem;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
}
.popover:has(#calculator) .pos-calculator-panel__hist-btn:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #2563eb;
}
.popover:has(#calculator) #calculator .calc-btn {
  width: 100% !important;
  height: auto !important;
  min-height: 2.35rem;
  margin: 0 !important;
  padding: 0.45rem 0.25rem !important;
  border-radius: 0.55rem !important;
  border: 1px solid #dbe3ef !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  box-shadow: none !important;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popover:has(#calculator) #calc-grid,
.popover:has(#calculator) .pos-calculator__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}
.popover:has(#calculator) #calculator .calc-btn-num {
  background: #fff !important;
  color: #0f172a !important;
}
.popover:has(#calculator) #calculator .calc-btn-op {
  background: #eef2ff !important;
  color: #1d4ed8 !important;
  border-color: #c7d2fe !important;
}
.popover:has(#calculator) #calculator .calc-btn-ac {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border-color: #fecaca !important;
}
.popover:has(#calculator) #calculator .calc-btn-ce {
  background: #fffbeb !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
}
.popover:has(#calculator) #calculator .calc-btn-eq {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #fff !important;
  border-color: #2563eb !important;
}
.popover:has(#calculator) #calc-display,
.popover:has(#calculator) .pos-calculator__display {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 2.75rem;
  margin: 0 0 0.75rem !important;
  padding: 0.65rem 0.85rem !important;
  background: #f8fafc !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 0.65rem !important;
  font-family: Consolas, 'Courier New', monospace !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  text-align: left !important;
  direction: ltr;
  box-shadow: none !important;
}
.pos-sell-return-panel {
  width: 300px;
}
.pos-keyboard-shortcuts-panel {
  width: min(380px, calc(100vw - 16px));
  max-height: min(70vh, 520px);
}
.pos-keyboard-shortcuts-panel__header svg {
  color: #64748b;
  flex-shrink: 0;
}
.pos-keyboard-shortcuts-panel__content {
  max-height: calc(70vh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.pos-keyboard-shortcuts-panel__content .table {
  margin-bottom: 0;
  font-size: 13px;
}
.pos-keyboard-shortcuts-panel__content .table > thead > tr > th,
.pos-keyboard-shortcuts-panel__content .table > tbody > tr > td {
  white-space: nowrap;
  padding: 6px 10px;
}
.pos-keyboard-shortcuts-toggle[aria-expanded="true"] {
  color: #2563eb !important;
  opacity: 1 !important;
}
.pos-floating-panel__inner {
  padding: 1rem;
}
.pos-floating-panel__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}
.pos-sell-return-panel__header i {
  color: #dc2626;
}
.pos-floating-panel__hint {
  margin-bottom: 0.85rem;
}
.pos-floating-panel__field {
  margin-bottom: 0.85rem;
}
.pos-floating-panel__field label {
  font-weight: 600;
  color: #334155;
}
.pos-floating-panel__input {
  border-radius: 0.65rem;
  border-color: #dbe3ef;
  box-shadow: none;
}
.pos-floating-panel__input:focus {
  border-color: #93b4ee;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.12);
}
.pos-floating-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}
.pos-header .pos-header-tool-toggle[title] {
  pointer-events: auto;
}
.pos-header .tooltip {
  z-index: 1070;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

/* POS unified page */
.content-header.pos-header .pos-unified-page__intro {
  margin: 0.75rem 0 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: #475569;
  line-height: 1.8;
  max-width: 72rem;
}
.pos-unified-page__workspace {
  gap: 0.75rem !important;
}
.pos-unified-page__panel,
.pos-unified-page .pos-sidebar-root {
  border: 1px solid #e2e8f0;
  border-radius: 1rem !important;
  background: #ffffff;
  box-shadow: none !important;
}
.pos-unified-page__panel-body {
  background: #ffffff;
}
.pos-unified-page .pos-sidebar-root {
  padding: 0.5rem !important;
}
.pos-unified-page .form-control,
.pos-unified-page .select2-container--default .select2-selection--single,
.pos-unified-page .select2-container--default .select2-selection--multiple {
  border-color: #dbe3ef;
  box-shadow: none;
}
.pos-unified-page .form-control:focus,
.pos-unified-page .select2-container--default.select2-container--focus .select2-selection--multiple,
.pos-unified-page .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}
.pos-unified-page .input-group-addon,
.pos-unified-page .input-group-btn > .btn {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #475569;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pos-unified-page .input-group-btn > .btn:hover,
.pos-unified-page .input-group-btn > .btn:focus {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #1e293b;
}
.pos-unified-page .contact_due_text {
  margin-top: 0.35rem;
}
.pos-unified-page .pos_totals_hero__value,
.pos-unified-page .pos_form_totals #total_payable {
  color: #00935f !important;
  font-weight: 800 !important;
}
.pos-unified-page .pos_totals_hero__label {
  color: #047857 !important;
  font-weight: 800 !important;
}
@media (max-width: 767px) {
  .pos-unified-page .pos_totals_hero__value,
  .pos-unified-page .pos_form_totals #total_payable {
    font-size: 28px !important;
  }
}
@media (min-width: 768px) {
  .pos-unified-page .pos_totals_hero__value,
  .pos-unified-page .pos_form_totals #total_payable {
    font-size: 38px !important;
  }
}
.pos-unified-page .pos-toolbar-field {
  margin-bottom: 0.9rem;
}
.pos-unified-page .pos-toolbar-input-group .form-control {
  height: 44px;
  border-color: #dbe3ef;
  box-shadow: none;
  border-radius: 0 !important;
}
.pos-unified-page .pos-toolbar-input-group > .input-group-addon {
  border-radius: 0 !important;
}
.pos-unified-page .pos-toolbar-input-group .pos-toolbar-barcode-input {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}
.pos-unified-page .pos-toolbar-input-group .pos-toolbar-display-input {
  height: 32px;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  background: #fff;
  border-radius: 0 !important;
}
.pos-unified-page .pos-toolbar-input-group .pos-toolbar-select + .select2-container {
  width: 100% !important;
}
.pos-unified-page .pos-toolbar-input-group .pos-toolbar-select + .select2-container .select2-selection--single {
  height: 32px;
  border-color: #dbe3ef;
  border-radius: 0 !important;
  box-shadow: none;
}
.pos-unified-page .pos-toolbar-input-group .pos-toolbar-select + .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 30px;
  padding-left: 12px;
  padding-right: 34px;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.pos-unified-page .pos-toolbar-input-group .pos-toolbar-select + .select2-container .select2-selection--single .select2-selection__arrow {
  height: 30px;
}
.pos-unified-page .pos-toolbar-input-group .pos-toolbar-barcode-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn {
  height: 44px;
  border: 1px solid #dbe3ef;
  background: #f8fafc;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn:hover,
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn:focus {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #1e293b;
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn i {
  font-size: 0.95rem;
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--primary {
  color: #fff !important;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-color: #2f6fcb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--primary:hover,
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--primary:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #3f84df 0%, #255fb4 100%);
  border-color: #255fb4;
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--quick-add {
  min-width: 8.75rem;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-color: #2f6fcb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--icon-primary {
  min-width: 44px;
  padding: 0 0.85rem;
  color: #fff !important;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-color: #2f6fcb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--quick-add i {
  color: #fff !important;
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--quick-add:hover,
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--quick-add:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #3f84df 0%, #255fb4 100%);
  border-color: #255fb4;
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--quick-add:hover i,
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--quick-add:focus i {
  color: #fff !important;
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--icon-primary i {
  color: #fff !important;
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--icon-primary:hover,
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--icon-primary:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #3f84df 0%, #255fb4 100%);
  border-color: #255fb4;
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--icon-primary:hover i,
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--icon-primary:focus i {
  color: #fff !important;
}
.pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--quick-add i {
  font-size: 0.9rem;
}
.pos-unified-page .pos-cart-product-name {
  color: #1e293b !important;
}
.pos-unified-page .pos-cart-product-name:hover,
.pos-unified-page .pos-cart-product-name:focus {
  color: #1d4ed8 !important;
}
.pos-unified-page .pos-form-actions {
  overflow: hidden;
}
.pos-unified-page .pos-form-actions__inner,
.pos-unified-page .pos-form-actions__mobile-primary,
.pos-unified-page .pos-form-actions__secondary,
.pos-unified-page .pos-form-actions__desktop-leading,
.pos-unified-page .pos-form-actions__desktop-primary {
  overflow: visible !important;
  flex-wrap: wrap;
}
.pos-unified-page .pos-form-actions__inner {
  row-gap: 0.65rem;
  column-gap: 0.75rem;
}
.pos-unified-page .pos-form-actions__mobile-primary {
  justify-content: center;
}
.pos-unified-page .pos-footer-secondary {
  flex: 1 1 auto;
  width: 100%;
  justify-content: center;
  gap: 0.65rem !important;
  overflow: visible !important;
}
.pos-unified-page .pos-form-actions__recent {
  margin-inline-start: auto;
}
.pos-unified-page .pos-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid #dbe3ef;
  border-radius: 0.85rem;
  background: #ffffff;
  color: #334155 !important;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pos-unified-page .pos-action-btn:hover,
.pos-unified-page .pos-action-btn:focus {
  transform: translateY(-1px);
  text-decoration: none;
}
.pos-unified-page .pos-action-btn i {
  font-size: 0.95rem !important;
  line-height: 1;
  margin: 0 !important;
}
.pos-unified-page .pos-action-btn--wide {
  min-width: 8.75rem;
}
.pos-unified-page .pos-action-btn--danger-outline,
.pos-unified-page .pos-action-btn--danger,
.pos-unified-page .pos-action-btn--checkout,
.pos-unified-page .pos-action-btn--cash,
.pos-unified-page .pos-action-btn--soft-blue,
.pos-unified-page .pos-action-btn--soft-amber,
.pos-unified-page .pos-action-btn--soft-red,
.pos-unified-page .pos-action-btn--soft-purple,
.pos-unified-page .pos-action-btn--soft-pink,
.pos-unified-page .pos-action-btn--recent {
  border-radius: 0.25rem !important;
}
.pos-unified-page .pos-action-btn--danger-outline {
  border-color: #dc2626;
  background: #dc2626;
  color: #fff !important;
}
.pos-unified-page .pos-action-btn--danger-outline:hover,
.pos-unified-page .pos-action-btn--danger-outline:focus {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff !important;
}
.pos-unified-page .pos-action-btn--danger {
  border-color: #dc2626;
  background: #dc2626;
  color: #fff !important;
}
.pos-unified-page .pos-action-btn--danger:hover,
.pos-unified-page .pos-action-btn--danger:focus {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff !important;
}
.pos-unified-page .pos-action-btn--checkout,
.pos-unified-page .pos-action-btn--cash,
.pos-unified-page .pos-action-btn--soft-blue,
.pos-unified-page .pos-action-btn--soft-amber,
.pos-unified-page .pos-action-btn--soft-red,
.pos-unified-page .pos-action-btn--soft-purple,
.pos-unified-page .pos-action-btn--soft-pink,
.pos-unified-page .pos-action-btn--recent {
  color: #fff !important;
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-color: #2f6fcb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.pos-unified-page .pos-action-btn--checkout i,
.pos-unified-page .pos-action-btn--cash i,
.pos-unified-page .pos-action-btn--soft-blue i,
.pos-unified-page .pos-action-btn--soft-amber i,
.pos-unified-page .pos-action-btn--soft-red i,
.pos-unified-page .pos-action-btn--soft-purple i,
.pos-unified-page .pos-action-btn--soft-pink i,
.pos-unified-page .pos-action-btn--recent i {
  color: #fff !important;
}
.pos-unified-page .pos-action-btn--recent:hover,
.pos-unified-page .pos-action-btn--recent:focus,
.pos-unified-page .pos-action-btn--checkout:hover,
.pos-unified-page .pos-action-btn--checkout:focus,
.pos-unified-page .pos-action-btn--cash:hover,
.pos-unified-page .pos-action-btn--cash:focus,
.pos-unified-page .pos-action-btn--soft-blue:hover,
.pos-unified-page .pos-action-btn--soft-blue:focus,
.pos-unified-page .pos-action-btn--soft-amber:hover,
.pos-unified-page .pos-action-btn--soft-amber:focus,
.pos-unified-page .pos-action-btn--soft-red:hover,
.pos-unified-page .pos-action-btn--soft-red:focus,
.pos-unified-page .pos-action-btn--soft-purple:hover,
.pos-unified-page .pos-action-btn--soft-purple:focus,
.pos-unified-page .pos-action-btn--soft-pink:hover,
.pos-unified-page .pos-action-btn--soft-pink:focus {
  color: #fff !important;
}
.pos-unified-page .pos-action-btn--recent:hover,
.pos-unified-page .pos-action-btn--recent:focus,
.pos-unified-page .pos-action-btn--checkout:hover,
.pos-unified-page .pos-action-btn--checkout:focus,
.pos-unified-page .pos-action-btn--cash:hover,
.pos-unified-page .pos-action-btn--cash:focus,
.pos-unified-page .pos-action-btn--soft-blue:hover,
.pos-unified-page .pos-action-btn--soft-blue:focus,
.pos-unified-page .pos-action-btn--soft-amber:hover,
.pos-unified-page .pos-action-btn--soft-amber:focus,
.pos-unified-page .pos-action-btn--soft-red:hover,
.pos-unified-page .pos-action-btn--soft-red:focus,
.pos-unified-page .pos-action-btn--soft-purple:hover,
.pos-unified-page .pos-action-btn--soft-purple:focus,
.pos-unified-page .pos-action-btn--soft-pink:hover,
.pos-unified-page .pos-action-btn--soft-pink:focus {
  background: linear-gradient(180deg, #3f84df 0%, #255fb4 100%);
  border-color: #255fb4;
}
.pos-unified-page .pos-action-btn--recent:hover i,
.pos-unified-page .pos-action-btn--recent:focus i,
.pos-unified-page .pos-action-btn--checkout:hover i,
.pos-unified-page .pos-action-btn--checkout:focus i,
.pos-unified-page .pos-action-btn--cash:hover i,
.pos-unified-page .pos-action-btn--cash:focus i,
.pos-unified-page .pos-action-btn--soft-blue:hover i,
.pos-unified-page .pos-action-btn--soft-blue:focus i,
.pos-unified-page .pos-action-btn--soft-amber:hover i,
.pos-unified-page .pos-action-btn--soft-amber:focus i,
.pos-unified-page .pos-action-btn--soft-red:hover i,
.pos-unified-page .pos-action-btn--soft-red:focus i,
.pos-unified-page .pos-action-btn--soft-purple:hover i,
.pos-unified-page .pos-action-btn--soft-purple:focus i,
.pos-unified-page .pos-action-btn--soft-pink:hover i,
.pos-unified-page .pos-action-btn--soft-pink:focus i {
  color: #fff !important;
}
@media (max-width: 767px) {
  .pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn {
    padding: 0 0.7rem;
  }
  .pos-unified-page .pos-form-actions__mobile-primary .pos-action-btn {
    flex: 1 1 calc(33.333% - 0.6rem);
    min-width: 6.5rem;
  }
  .pos-unified-page .pos-footer-secondary {
    justify-content: center;
  }
  .pos-unified-page .pos-footer-secondary .pos-action-btn {
    flex: 1 1 calc(33.333% - 0.6rem);
    min-width: 6.2rem;
    padding: 0.65rem 0.7rem;
    font-size: 0.75rem;
  }
  .pos-unified-page .pos-form-actions__recent {
    width: 100%;
    margin-inline-start: 0;
  }
  .pos-unified-page .pos-form-actions__recent .pos-action-btn {
    width: 100%;
  }
  .pos-unified-page .pos-toolbar-input-group .input-group-btn > .pos-toolbar-btn--quick-add {
    min-width: auto;
    box-shadow: none;
  }
}
body.lockscreen .content-header.pos-header .pos-unified-page__intro {
  margin-top: 0.35rem;
  padding: 0.65rem 0.9rem;
  line-height: 1.6;
}
/* Purchase form pages */
.purchase-form-page .box-primary,
.purchase-form-page .box-solid {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: none;
}
.purchase-form-page .box-primary > .box-header,
.purchase-form-page .box-solid > .box-header {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.purchase-form-page .box-primary > .box-header .box-title,
.purchase-form-page .box-solid > .box-header .box-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}
.purchase-form-page__intro {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: #475569;
  line-height: 1.8;
}
.purchase-form-page .form-group label {
  font-weight: 600;
  color: #334155;
}
.purchase-form-page__entry-table > thead > tr > th,
.purchase-form-page__entry-table > tbody > tr > td {
  vertical-align: middle;
}
.purchase-form-page__summary-table td,
.purchase-form-page__summary-table th {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.purchase-form-page__quick-add {
  width: 100%;
  justify-content: center;
}
.purchase-form-page #toggle_additional_expense {
  min-width: 15rem;
}
/* Sell form pages (add / edit direct sell) */
.sell-form-page .box-primary,
.sell-form-page .box-solid {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: none;
}
.sell-form-page .box-primary > .box-header,
.sell-form-page .box-solid > .box-header {
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}
.sell-form-page .box-primary > .box-header .box-title,
.sell-form-page .box-solid > .box-header .box-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}
.sell-form-page__intro {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: #475569;
  line-height: 1.75;
}
.sell-form-page__intro--compact {
  margin-bottom: 0.85rem;
}
.sell-form-page__location-bar {
  margin-bottom: 0.75rem;
}
.sell-form-page__customer-block {
  margin-bottom: 1rem;
}
.sell-form-page__customer-card {
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.sell-form-page__customer-select .form-group {
  margin-bottom: 0;
}
.sell-form-page__customer-add {
  min-width: 2.75rem;
  height: 100%;
  border-color: #dbe3ef;
  background: #f8fafc;
  color: #2f6fcb;
}
.sell-form-page__customer-add:hover,
.sell-form-page__customer-add:focus {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93b4ee;
}
.sell-form-page__addresses {
  margin-top: 0;
}
@media (max-width: 991px) {
  .sell-form-page__addresses {
    margin-top: 0.85rem;
  }
}
.sell-form-page__address-panel {
  height: 100%;
  min-height: 5.5rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #fff;
}
.sell-form-page__address-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  text-transform: none;
}
.sell-form-page__address-title i {
  color: #2f6fcb;
  font-size: 0.85rem;
}
.sell-form-page__address-value {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #334155;
  word-break: break-word;
}
.sell-form-page__address-empty {
  color: #94a3b8;
}
.sell-form-page__invoice-meta {
  margin-bottom: 0.25rem;
}
.sell-form-page__invoice-meta > [class*='col-'] .form-group {
  margin-bottom: 0.85rem;
}
.sell-form-page__field-hint {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
}
.sell-form-page__location-bar .form-group label {
  font-weight: 600;
  color: #334155;
}
.sell-form-page .form-group label {
  font-weight: 600;
  color: #334155;
}
.sell-form-page .input-group-addon {
  border-color: #dbe3ef;
  background: #f8fafc;
  color: #475569;
}
.sell-form-page .form-control,
.sell-form-page .select2-container--default .select2-selection--single {
  border-color: #dbe3ef;
  border-radius: 0.65rem;
  box-shadow: none;
}
.sell-form-page .form-control:focus,
.sell-form-page .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #93b4ee;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.12);
}
.sell-form-page__entry-table > thead > tr > th,
.sell-form-page__entry-table > tbody > tr > td {
  vertical-align: middle;
}
.sell-form-page__summary-table td,
.sell-form-page__summary-table th {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.sell-form-page__quick-add {
  min-height: 34px;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}
.sell-form-page #toggle_additional_expense {
  min-width: 15rem;
}
.sell-form-page__additional-expenses-toggle {
  margin: 0.75rem 0 1rem;
}
.sell-form-page__additional-expenses-table {
  margin-top: 0.5rem;
  border-color: #e2e8f0;
  background: #fff;
}
.sell-form-page__additional-expenses-table > thead > tr > th {
  background: #f8fafc;
  border-color: #e2e8f0;
  font-weight: 600;
  color: #334155;
}
.sell-form-page__additional-expenses-table > tbody > tr > td {
  vertical-align: middle;
  border-color: #e2e8f0;
}
.sell-form-page__product-search-wrap {
  margin-top: 1rem;
}
.sell-form-page__product-search {
  position: relative;
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.sell-form-page__product-search-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
}
.sell-form-page__product-search-label i {
  color: #2f6fcb;
  font-size: 0.85rem;
}
.sell-form-page__product-search-bar {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sell-form-page__product-search-bar:focus-within {
  border-color: #93b4ee;
  box-shadow: 0 0 0 3px rgba(47, 111, 203, 0.12);
}
.sell-form-page__product-search-config,
.sell-form-page__product-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 0;
  min-height: 3rem;
  padding: 0 1rem;
  border: none;
  background: #f8fafc;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.sell-form-page__product-search-config {
  border-left: 1px solid #e2e8f0;
  min-width: 3rem;
  padding: 0 0.85rem;
}
[dir="ltr"] .sell-form-page__product-search-config {
  border-left: none;
  border-right: 1px solid #e2e8f0;
}
.sell-form-page__product-search-config:hover,
.sell-form-page__product-search-config:focus {
  background: #eff6ff;
  color: #1d4ed8;
  outline: none;
}
.sell-form-page__product-add-btn {
  background: #2f6fcb;
  color: #fff;
  border-right: none;
  min-width: 3.25rem;
}
[dir="ltr"] .sell-form-page__product-add-btn {
  border-left: 1px solid #2563eb;
}
[dir="rtl"] .sell-form-page__product-add-btn {
  border-right: 1px solid #2563eb;
}
.sell-form-page__product-add-btn:hover,
.sell-form-page__product-add-btn:focus {
  background: #2563eb;
  color: #fff;
  outline: none;
}
.sell-form-page__product-add-btn i {
  font-size: 1rem;
}
.sell-form-page__product-search-field {
  position: relative;
  flex: 1;
  min-width: 0;
}
.sell-form-page__product-search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0.85rem;
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
}
[dir="ltr"] .sell-form-page__product-search-icon {
  right: auto;
  left: 0.85rem;
}
.sell-form-page__product-search-input {
  width: 100% !important;
  height: 3rem !important;
  padding: 0.5rem 2.75rem !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 0.95rem !important;
  color: #1e293b;
}
.sell-form-page__product-search-input:focus {
  outline: none !important;
  box-shadow: none !important;
}
.sell-form-page__product-search-input::placeholder {
  color: #94a3b8;
  font-size: 0.875rem;
}
.sell-form-page__product-search-input:disabled {
  background: #f1f5f9 !important;
  cursor: not-allowed;
}
.sell-form-page__product-search .ui-autocomplete,
.sell-form-page__product-search-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  max-height: 18rem;
  margin: 0.4rem 0 0 !important;
  padding: 0.35rem 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  z-index: 1060;
  list-style: none;
}
.sell-form-page__product-search .ui-autocomplete li,
.sell-form-page__product-search-dropdown li {
  padding: 0.7rem 1rem;
  margin: 0;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #334155;
  white-space: normal;
}
.sell-form-page__product-search .ui-autocomplete li:last-child,
.sell-form-page__product-search-dropdown li:last-child {
  border-bottom: none;
}
.sell-form-page__product-search .ui-autocomplete li:hover,
.sell-form-page__product-search .ui-autocomplete li.ui-state-active,
.sell-form-page__product-search-dropdown li:hover,
.sell-form-page__product-search-dropdown li.ui-state-active {
  background: #eff6ff;
  color: #1e293b;
  border-color: #f1f5f9;
}
.sell-form-page__product-search .ui-autocomplete li.ui-state-disabled,
.sell-form-page__product-search-dropdown li.ui-state-disabled,
.sell-form-page__ac-item--oos {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f8fafc !important;
}
@media (max-width: 767px) {
  .sell-form-page__product-add-btn span {
    display: none !important;
  }
  .sell-form-page__product-add-btn {
    min-width: 3rem;
    padding: 0 0.85rem;
  }
}
.sell-form-page__rp-section {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.sell-form-page__rp-section .contact-pay-modal__stat {
  margin-top: 0.35rem;
}
.sell-form-page__total-payable {
  padding: 0.85rem 1rem;
  border: 1px solid #6ee7b7;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  text-align: center;
}
.sell-form-page__total-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #047857;
  margin-bottom: 0.25rem;
}
.sell-form-page__total-value,
.sell-form-page #total_payable {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #00935f;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.sell-form-page__round-off {
  display: block;
  color: #64748b;
  margin-bottom: 0.35rem;
}
.sell-form-page__payment-panel .box-body {
  padding-top: 1rem;
}
.sell-form-page__payment-panel .contact-pay-modal__section {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #fff;
}
.sell-form-page__payment-panel .contact-pay-modal__section:last-child {
  margin-bottom: 0;
}
.sell-form-page__payment-panel .payment_row {
  padding: 0;
  margin-bottom: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.sell-form-page__payment-pdf {
  background: #f8fafc;
}
.sell-form-page__payment-grid .form-group {
  margin-bottom: 0.75rem;
}
.sell-form-page__input-group .input-group-addon {
  min-width: 2.75rem;
  text-align: center;
}
.sell-form-page__advance-balance {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.9rem;
}
.sell-form-page__payment-fields .form-group {
  margin-bottom: 0.85rem;
}
.sell-form-page__payment-fields--stacked {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
}
.sell-form-page__payment-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.sell-form-page__payment-summary .contact-pay-modal__stat {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  text-align: center;
}
.sell-form-page__payment-change .contact-pay-modal__stat--due {
  border-color: #fecaca;
  background: #fef2f2;
}
.sell-form-page__payment-change .contact-pay-modal__stat--due .contact-pay-modal__stat-value {
  color: #b91c1c;
}
.expense-form-page .expense-payment-row .contact-pay-modal__section {
  margin-bottom: 1rem;
}
.expense-form-page .expense-payment-row .contact-pay-modal__section:last-child {
  margin-bottom: 0;
}
.pos-expense-modal__summary.sell-form-page__payment-summary {
  margin-top: 1rem;
  margin-bottom: 0;
}
.expense-form-page .expense-details-panel .box-body {
  padding-top: 1rem;
}
.expense-form-page .expense-details-sections {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.expense-form-page .expense-details-section {
  margin-bottom: 0;
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #fff;
}
.expense-form-page .expense-details-section--amount {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.expense-form-page .expense-details-section__static {
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
  font-weight: 600;
  color: #334155;
}
.expense-form-page .expense-details-section__amount-input {
  font-size: 1.05rem;
  font-weight: 600;
}
.expense-form-page .expense-details-section__refund {
  padding-top: 1.85rem;
}
.expense-form-page .expense-details-section .form-group {
  margin-bottom: 0.85rem;
}
.expense-form-page .expense-details-section .form-group:last-child {
  margin-bottom: 0;
}
/* Profit / loss report */
.profit-loss-page .profit-loss-page__intro {
  margin-bottom: 1rem;
}
.profit-loss-page__range {
  font-weight: 600;
  color: #1e40af;
}
.profit-loss-page__date-btn {
  text-align: right;
  background: #fff;
  cursor: pointer;
}
.profit-loss-page__filter-actions {
  margin-bottom: 0;
}
.profit-loss-page__summary-wrap .profit-loss-details > [class*='col-'] {
  margin-bottom: 1rem;
}
.profit-loss-report-card {
  padding: 1rem 1.1rem;
  margin-bottom: 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #fff;
  height: 100%;
}
.profit-loss-report-card--totals {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.profit-loss-report-card__title {
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 1rem;
  font-weight: 700;
  color: #334155;
}
.profit-loss-report-table > tbody > tr > th {
  width: 58%;
  font-weight: 600;
  vertical-align: middle;
}
.profit-loss-report-table__amount {
  text-align: left;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.profit-loss-report-table__highlight > th,
.profit-loss-report-table__highlight > td {
  background: #f1f5f9;
}
.profit-loss-report-table__sub {
  padding-right: 1.75rem !important;
  font-weight: 500 !important;
  font-size: 0.9rem;
}
.profit-loss-report-table__toggle {
  font-size: 0.85rem;
  margin-right: 0.35rem;
}
.profit-loss-report-table__subtypes {
  margin: 0.35rem 0 0;
  padding-right: 1.1rem;
}
.profit-loss-summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.profit-loss-summary__block {
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
}
.profit-loss-summary__block--positive {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.profit-loss-summary__block--negative {
  border-color: #fecaca;
  background: #fef2f2;
}
.profit-loss-summary__block--tax {
  background: #f8fafc;
}
.profit-loss-summary__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.profit-loss-summary__title--net {
  font-size: 1.35rem;
}
.profit-loss-summary__label {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
}
.profit-loss-summary__value {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.profit-loss-summary__value--lg {
  font-size: 1.25rem;
}
.profit-loss-summary__value--xl {
  font-size: 1.5rem;
}
.profit-loss-summary__hint {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}
.profit-loss-summary__hint--formula {
  font-size: 0.8rem;
}
.profit-loss-page__tabs {
  margin-top: 0.5rem;
}
.profit-loss-page__note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}
.profit-loss-page__print-title {
  text-align: center;
  margin: 1rem 0 0.35rem;
}
.profit-loss-page__print-range {
  text-align: center;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #475569;
}

/* Zakat report — summary hero & detail cards */
.zakat-report-page .box-primary > .box-body {
  padding-top: 1.1rem;
}
.zakat-summary-hero {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: 0.9rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.zakat-summary-hero--due {
  border-color: #86efac;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 55%, #fff 100%);
}
.zakat-summary-hero--below {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 55%, #fff 100%);
}
.zakat-summary-hero__main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}
.zakat-summary-hero--due .zakat-summary-hero__main {
  border-bottom-color: rgba(34, 197, 94, 0.25);
}
.zakat-summary-hero--below .zakat-summary-hero__main {
  border-bottom-color: rgba(59, 130, 246, 0.2);
}
.zakat-summary-hero__icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-size: 1.35rem;
}
.zakat-summary-hero--due .zakat-summary-hero__icon {
  color: #047857;
  background: #d1fae5;
}
.zakat-summary-hero--below .zakat-summary-hero__icon {
  color: #1d4ed8;
  background: #dbeafe;
}
.zakat-summary-hero__content {
  flex: 1;
  min-width: 0;
}
.zakat-summary-hero__badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.zakat-summary-hero--due .zakat-summary-hero__badge {
  color: #065f46;
  background: #bbf7d0;
}
.zakat-summary-hero--below .zakat-summary-hero__badge {
  color: #1e40af;
  background: #bfdbfe;
}
.zakat-summary-hero__title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
}
.zakat-summary-hero__amount {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.zakat-summary-hero--due .zakat-summary-hero__amount {
  color: #047857;
}
.zakat-summary-hero--below .zakat-summary-hero__amount {
  color: #1e3a8a;
}
.zakat-summary-hero__rate {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  vertical-align: middle;
}
.zakat-summary-hero__hint {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
}
.zakat-summary-hero__hint-sep {
  margin: 0 0.35rem;
  opacity: 0.6;
}
.zakat-summary-hero__hint-meta {
  display: inline-block;
  margin-right: 0.25rem;
  font-size: 0.8rem;
  color: #94a3b8;
}
.zakat-summary-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (max-width: 991px) {
  .zakat-summary-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .zakat-summary-hero__stats {
    grid-template-columns: 1fr;
  }
}
.zakat-summary-stat {
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.85);
}
.zakat-summary-hero--due .zakat-summary-stat {
  background: rgba(255, 255, 255, 0.7);
}
.zakat-summary-hero--below .zakat-summary-stat {
  background: rgba(255, 255, 255, 0.75);
}
.zakat-summary-stat--emphasis {
  border-color: #cbd5e1;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.zakat-summary-hero--due .zakat-summary-stat--emphasis {
  border-color: #6ee7b7;
}
.zakat-summary-hero--below .zakat-summary-stat--emphasis {
  border-color: #93c5fd;
}
.zakat-summary-stat__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}
.zakat-summary-stat__value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.zakat-report-details__cards > [class*='col-'] {
  margin-bottom: 1rem;
}
.zakat-detail-card--assets .profit-loss-report-card__title {
  color: #047857;
}
.zakat-detail-card--assets .profit-loss-report-card__title i {
  color: #10b981;
}
.zakat-detail-card--liabilities .profit-loss-report-card__title {
  color: #b91c1c;
}
.zakat-detail-card--liabilities .profit-loss-report-card__title i {
  color: #ef4444;
}
.zakat-detail-card--calc .profit-loss-report-card__title {
  color: #334155;
}
.zakat-detail-card--calc .profit-loss-report-card__title i {
  color: #6366f1;
}
.zakat-notes-box {
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
}
.zakat-notes-box ul {
  margin: 0.35rem 0 0;
  padding-right: 1.25rem;
}
.zakat-detail-card--sales .profit-loss-report-card__title {
  color: #1d4ed8;
}
.zakat-detail-card--sales .profit-loss-report-card__title i {
  color: #3b82f6;
}
.zakat-sales-section__intro {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
}
.zakat-sales-section__totals {
  margin-bottom: 0;
}
.zakat-sales-metric {
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #f8fafc;
  margin-bottom: 0.75rem;
  height: calc(100% - 0.75rem);
}
.zakat-sales-metric--paid {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.zakat-sales-metric--due {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.zakat-sales-metric__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.zakat-sales-metric__value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.zakat-sales-metric__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #94a3b8;
}
@media print {
  .zakat-summary-hero {
    box-shadow: none;
    break-inside: avoid;
  }
  .zakat-summary-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print {
  .profit-loss-page__tabs,
  .profit-loss-page__ai,
  .profit-loss-page .box-tools,
  .profit-loss-page .dataTables_wrapper .dataTables_paginate,
  .profit-loss-page .dataTables_wrapper .dataTables_length,
  .profit-loss-page .dataTables_wrapper .dataTables_filter {
    display: none !important;
  }
  .profit-loss-page .profit-loss-report-table,
  .profit-loss-page .profit-loss-summary {
    break-inside: avoid;
  }
}
/* Purchase & sale report */
.purchase-sell-page__intro {
  margin-bottom: 1rem;
}
.purchase-sell-page__cards > [class*='col-'] {
  margin-bottom: 1rem;
}
.purchase-sell-page__hint {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
}
.purchase-sell-page__overall {
  margin-top: 0.25rem;
}
.profit-loss-summary__block--overall {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.purchase-sell-page__formula {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}
.purchase-sell-page__totals {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.purchase-sell-page__total-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #fff;
}
.purchase-sell-page__total-row--due {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.purchase-sell-page__total-label {
  font-weight: 600;
  color: #334155;
}
.purchase-sell-page__total-value {
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .purchase-sell-page__total-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media print {
  .purchase-sell-page__hint {
    display: none !important;
  }
  .purchase-sell-page__cards,
  .purchase-sell-page__overall {
    break-inside: avoid;
  }
}
/* Contacts (suppliers & customers) report */
.contacts-report-page__intro {
  margin-bottom: 0.5rem;
}
.contacts-report-page__hint {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.contacts-report-page #supplier_report_tbl_wrapper .dataTables_length,
.contacts-report-page #supplier_report_tbl_wrapper .dataTables_filter {
  margin-bottom: 0.75rem;
}
.contacts-report-page #supplier_report_tbl > thead > tr > th,
.contacts-report-page #supplier_report_tbl > tbody > tr > td,
.contacts-report-page #supplier_report_tbl > tfoot > tr > td {
  vertical-align: middle;
}
.contacts-report-page #supplier_report_tbl .contact-show-table__footer-row td {
  font-weight: 700;
  background: #f1f5f9;
}
.contacts-report__name-print {
  display: none;
}
.contacts-report-print {
  display: none;
}
.contacts-report-print__sheet {
  direction: rtl;
  text-align: right;
  color: #0f172a;
  font-family: inherit;
  padding: 0.25rem;
}
.contacts-report-print__header {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  text-align: center;
}
.contacts-report-print__title {
  margin: 0 0 0.2rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}
.contacts-report-print__subtitle {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e40af;
}
.contacts-report-print__range {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}
.contacts-report-print__meta {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
}
.contacts-report-print__date {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
}
.contacts-report-print__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11px;
  line-height: 1.4;
}
.contacts-report-print__table th,
.contacts-report-print__table td {
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.5rem;
  vertical-align: middle;
  word-wrap: break-word;
}
.contacts-report-print__table thead th {
  background: #f8fafc !important;
  color: #334155 !important;
  font-weight: 600;
  text-align: center;
  font-size: 10.5px;
  border-color: #e2e8f0 !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.contacts-report-print__table tbody tr td {
  background: #fff !important;
  color: #0f172a;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.contacts-report-print__table tbody tr:nth-child(even) td {
  background: #fafbfc !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.contacts-report-print__table tfoot td {
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-weight: 700;
  border-top: 2px solid #e2e8f0 !important;
  border-color: #e2e8f0 !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.contacts-report-print__contact {
  text-align: right;
  font-weight: 600;
  color: #0f172a;
}
.contacts-report-print__num {
  text-align: left;
  vertical-align: middle;
}
.contacts-report-print__amount {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: baseline;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  direction: ltr;
  unicode-bidi: isolate;
  gap: 0.35rem;
  white-space: nowrap;
}
.contacts-report-print__amount-value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.contacts-report-print__amount-symbol {
  font-weight: 700;
  color: #475569;
  font-size: 0.92em;
  flex-shrink: 0;
}
.contacts-report-print__amount--negative .contacts-report-print__amount-value {
  color: #b91c1c;
}
.contacts-report-print__num--due .contacts-report-print__amount-value {
  font-weight: 700;
}
.contacts-report-print__table th:first-child,
.contacts-report-print__table td:first-child {
  width: 24%;
}
.contacts-report-print__table th:not(:first-child),
.contacts-report-print__table td:not(:first-child) {
  width: 12.6%;
}
.contacts-report-print__table--compact th:first-child,
.contacts-report-print__table--compact td:first-child {
  width: 55%;
}
.contacts-report-print__table--compact th:last-child,
.contacts-report-print__table--compact td:last-child {
  width: 45%;
}
.contacts-report-print__table--stock {
  font-size: 8.5px;
  line-height: 1.3;
}
.contacts-report-print__table--stock th,
.contacts-report-print__table--stock td {
  padding: 0.3rem 0.35rem !important;
}
.stock-report-print__summary {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #cbd5e1;
}
.stock-report-print__summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
}
.stock-report-print__summary-grid > div {
  padding: 0.35rem 0.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.35rem;
  background: #fff;
}
.stock-report-print__summary-grid span {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
}
.stock-report-print__summary-grid strong {
  display: block;
  color: #1e40af;
  font-size: 0.85rem;
}
/* Stock report page */
.stock-report-page__intro {
  margin-bottom: 0.75rem;
}
.stock-report-page__summary {
  margin-bottom: 1rem;
}
.stock-report-page__summary > .row > [class*='col-'] {
  margin-bottom: 0.75rem;
}
.stock-report-page__summary-card {
  height: 100%;
  text-align: center;
}
.stock-report-page__summary-label {
  display: block;
  font-weight: 700;
  color: #334155;
  font-size: 0.9rem;
}
.stock-report-page__summary-value {
  margin: 0.5rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e40af;
}
.stock-report-page__mfg-filter .checkbox {
  margin-top: 0.35rem;
}
.stock-report-page__table-wrap {
  max-height: 75vh;
  overflow: auto;
}
.stock-report-page #stock_report_table_wrapper .dataTables_length,
.stock-report-page #stock_report_table_wrapper .dataTables_filter {
  margin-bottom: 0.75rem;
}
.stock-report-page #stock_report_table .contact-show-table__footer-row td {
  background: #f1f5f9;
  font-weight: 600;
  color: #334155;
}
.stock-report-page #stock_report_table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-color: #e2e8f0 !important;
}
.stock-report-page #stock_report_table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.stock-report-page #stock_report_table_wrapper .dataTables_scroll,
.stock-report-page #stock_report_table_wrapper .dataTables_scrollHead,
.stock-report-page #stock_report_table_wrapper .dataTables_scrollBody {
  overflow: visible !important;
  width: 100% !important;
}
/* Unified report pages — shared table chrome */
.purchase-report-page__intro,
.sale-report-page__intro,
.product-sell-report-page__intro,
.expense-report-page__intro,
.register-report-page__intro,
.sales-representative-report-page__intro,
.activity-log-report-page__intro {
  margin-bottom: 0.75rem;
}
.expense-report-page__filter-btns,
.product-sell-report-page__filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.expense-report-page__chart-wrap {
  margin-bottom: 1.25rem;
  min-height: 260px;
}
.sales-representative-report-page__summary {
  margin-bottom: 1rem;
}
.sales-representative-report-page__summary-card {
  height: 100%;
  text-align: center;
  margin-bottom: 0.75rem;
}
.sales-representative-report-page__summary-label {
  display: block;
  font-weight: 700;
  color: #334155;
  font-size: 0.9rem;
}
.sales-representative-report-page__summary-value {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e40af;
}
.register-report-page__table-panel,
.product-sell-report-page__tabs {
  margin-top: 0.25rem;
}
.catalog-settings-page.sell-list-page.purchase-report-page .dataTables_wrapper .dataTables_length label,
.catalog-settings-page.sell-list-page.purchase-report-page .dataTables_wrapper .dataTables_filter label,
.catalog-settings-page.sell-list-page.sale-report-page .dataTables_wrapper .dataTables_length label,
.catalog-settings-page.sell-list-page.sale-report-page .dataTables_wrapper .dataTables_filter label,
.catalog-settings-page.sell-list-page.sell-payment-report-page .dataTables_wrapper .dataTables_length label,
.catalog-settings-page.sell-list-page.sell-payment-report-page .dataTables_wrapper .dataTables_filter label {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0;
}
.catalog-settings-page.sell-list-page.purchase-report-page .dataTables_wrapper .dataTables_length select,
.catalog-settings-page.sell-list-page.purchase-report-page .dataTables_wrapper .dataTables_filter input,
.catalog-settings-page.sell-list-page.sale-report-page .dataTables_wrapper .dataTables_length select,
.catalog-settings-page.sell-list-page.sale-report-page .dataTables_wrapper .dataTables_filter input,
.catalog-settings-page.sell-list-page.sell-payment-report-page .dataTables_wrapper .dataTables_length select,
.catalog-settings-page.sell-list-page.sell-payment-report-page .dataTables_wrapper .dataTables_filter input {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.35rem 0.65rem;
  height: auto;
  min-height: 2.125rem;
  font-size: 0.8125rem;
  background: #fff;
  color: #334155;
}
.catalog-settings-page.sell-list-page.purchase-report-page .dataTables_wrapper .dataTables_paginate .paginate_button,
.catalog-settings-page.sell-list-page.sale-report-page .dataTables_wrapper .dataTables_paginate .paginate_button,
.catalog-settings-page.sell-list-page.sell-payment-report-page .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 0.375rem !important;
  margin: 0 0.1rem;
}
.sell-payment-report-page__intro {
  margin-bottom: 0.75rem;
}
.sell-payment-report-page #sell_payment_report_table_wrapper .dataTables_length,
.sell-payment-report-page #sell_payment_report_table_wrapper .dataTables_filter {
  margin-bottom: 0.75rem;
}
.sell-payment-report-page .contact-show-table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-color: #e2e8f0 !important;
}
.sell-payment-report-page .contact-show-table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.sell-payment-report-page .contact-show-table > tbody > tr > td:last-child {
  white-space: nowrap;
}
.sell-payment-report-page .contact-show-table__footer-row td {
  background: #f1f5f9;
  font-weight: 600;
}
.purchase-payment-report-page__intro {
  margin-bottom: 0.75rem;
}
.purchase-payment-report-page #purchase_payment_report_table_wrapper .dataTables_length,
.purchase-payment-report-page #purchase_payment_report_table_wrapper .dataTables_filter {
  margin-bottom: 0.75rem;
}
.purchase-payment-report-page .contact-show-table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-color: #e2e8f0 !important;
}
.purchase-payment-report-page .contact-show-table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.purchase-payment-report-page .contact-show-table > tbody > tr > td:last-child {
  white-space: nowrap;
}
.purchase-payment-report-page .contact-show-table__footer-row td {
  background: #f1f5f9;
  font-weight: 600;
}
.catalog-settings-page.sell-list-page.purchase-payment-report-page .dataTables_wrapper .dataTables_length label,
.catalog-settings-page.sell-list-page.purchase-payment-report-page .dataTables_wrapper .dataTables_filter label {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0;
}
.catalog-settings-page.sell-list-page.purchase-payment-report-page .dataTables_wrapper .dataTables_length select,
.catalog-settings-page.sell-list-page.purchase-payment-report-page .dataTables_wrapper .dataTables_filter input {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.35rem 0.65rem;
  height: auto;
  min-height: 2.125rem;
  font-size: 0.8125rem;
  background: #fff;
  color: #334155;
}
.catalog-settings-page.sell-list-page.purchase-payment-report-page .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 0.375rem !important;
  margin: 0 0.1rem;
}
.purchase-report-page #purchase_report_table_wrapper .dataTables_length,
.purchase-report-page #purchase_report_table_wrapper .dataTables_filter,
.sale-report-page #sale_report_table_wrapper .dataTables_length,
.sale-report-page #sale_report_table_wrapper .dataTables_filter,
.product-sell-report-page .dataTables_length,
.product-sell-report-page .dataTables_filter,
.register-report-page #register_report_table_wrapper .dataTables_length,
.register-report-page #register_report_table_wrapper .dataTables_filter,
.activity-log-report-page #activity_log_table_wrapper .dataTables_length,
.activity-log-report-page #activity_log_table_wrapper .dataTables_filter {
  margin-bottom: 0.75rem;
}
.purchase-report-page .contact-show-table > tbody > tr > td:first-child,
.sale-report-page .contact-show-table > tbody > tr > td:first-child {
  white-space: nowrap;
}
.purchase-report-page .contact-show-table > thead > tr > th,
.sale-report-page .contact-show-table > thead > tr > th,
.product-sell-report-page .contact-show-table > thead > tr > th,
.expense-report-page #expense_report_table_wrapper .dataTables_length,
.expense-report-page #expense_report_table_wrapper .dataTables_filter,
.expense-report-page .contact-show-table > thead > tr > th,
.register-report-page .contact-show-table > thead > tr > th,
.activity-log-report-page .contact-show-table > thead > tr > th,
.sales-representative-report-page .contact-show-table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-color: #e2e8f0 !important;
}
.purchase-report-page .contact-show-table > tbody > tr:nth-child(even),
.sale-report-page .contact-show-table > tbody > tr:nth-child(even),
.product-sell-report-page .contact-show-table > tbody > tr:nth-child(even),
.expense-report-page .contact-show-table > tbody > tr:nth-child(even),
.register-report-page .contact-show-table > tbody > tr:nth-child(even),
.activity-log-report-page .contact-show-table > tbody > tr:nth-child(even),
.sales-representative-report-page .contact-show-table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.register-report-page .contact-show-table > tbody > tr > td:last-child {
  white-space: nowrap;
}
.register-report-page #register_report_table > thead > tr > th,
.register-report-page #register_report_table > tbody > tr > td,
.register-report-page #register_report_table > tfoot > tr > td {
  vertical-align: middle;
}
.register-report-page #register_report_table .contact-show-table__footer-row td {
  font-weight: 700;
  background: #f1f5f9;
}
.register-report-page #register_report_table .register-report-page__amount-col,
.register-report-page #register_report_table > thead > tr > th:nth-child(n+5):not(:last-child),
.register-report-page #register_report_table > tbody > tr > td:nth-child(n+5):not(:last-child) {
  text-align: end;
  white-space: nowrap;
}
.register-report-page #register_report_table_wrapper .dataTables_scrollHead,
.register-report-page #register_report_table_wrapper .dataTables_scrollFoot {
  display: none !important;
}
.catalog-settings-page.sell-list-page.register-report-page .dataTables_wrapper .dataTables_length label,
.catalog-settings-page.sell-list-page.register-report-page .dataTables_wrapper .dataTables_filter label {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}
.catalog-settings-page.sell-list-page.register-report-page .dataTables_wrapper .dataTables_length select,
.catalog-settings-page.sell-list-page.register-report-page .dataTables_wrapper .dataTables_filter input {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.875rem;
  color: #334155;
  background: #fff;
  min-height: 2.125rem;
}
.catalog-settings-page.sell-list-page.register-report-page .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 0.375rem !important;
  margin: 0 0.1rem;
}
/* Business settings page */
.business-settings-page__intro {
  margin-bottom: 1rem;
}
.business-settings-page__tabs {
  margin-top: 0.25rem;
}
.business-settings-page .tab-pane .pos-tab-content {
  display: block !important;
}
.business-settings-page .pos-tab-content > .row {
  margin-left: -8px;
  margin-right: -8px;
}
.business-settings-page__footer {
  margin-top: 1rem;
}
.business-settings-page__submit-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}
.business-settings-page .form-group {
  margin-bottom: 1rem;
}
.business-settings-page .contact-show-tab-panel {
  padding-top: 1rem;
}
.business-settings-page__section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--app-border, #e5e7eb);
}
.business-settings-page__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.business-settings-page__section-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.business-settings-page__subsection-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--app-text-muted, #6b7280);
  margin: 1.25rem 0 0.65rem;
}
.business-settings-page__subsection-title:first-of-type {
  margin-top: 0.75rem;
}
.business-settings-page__section-hint {
  font-size: 0.875rem;
  color: var(--app-text-muted, #6b7280);
  margin: 0 0 0.75rem;
}
.business-settings-page__section-hint--muted {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.business-settings-page__checkbox-grid {
  margin-left: -6px;
  margin-right: -6px;
}
.business-settings-page__checkbox-grid > [class*="col-"] {
  padding-left: 6px;
  padding-right: 6px;
  margin-bottom: 0.5rem;
}
/* Flexible grid: items sit side-by-side and wrap without empty columns */
.business-settings-page__options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 0.5rem;
  align-items: stretch;
}
.business-settings-page__options-grid--fields {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}
.business-settings-page__options-grid--expiry {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.business-settings-page__options-grid--expiry .business-settings-page__field-item--wide,
.business-settings-page__product-grid .business-settings-page__field-item--wide {
  grid-column: span 2;
}
@media (max-width: 767px) {
  .business-settings-page__options-grid--expiry .business-settings-page__field-item--wide,
  .business-settings-page__product-grid .business-settings-page__field-item--wide {
    grid-column: span 1;
  }
}
.business-settings-page__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 0.5rem;
  align-items: stretch;
}
.business-settings-page__product-grid .form-group {
  margin-bottom: 0;
}
.business-settings-page__product-grid .business-settings-page__checkbox-card,
.business-settings-page__product-grid .business-settings-page__field-item {
  height: 100%;
  box-sizing: border-box;
}
.business-settings-page__options-grid .form-group {
  margin-bottom: 0;
}
.business-settings-page__field-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.65rem 0.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--app-border, #e5e7eb);
  border-radius: 0.375rem;
  background: var(--app-surface, #fff);
}
.business-settings-page__field-item label {
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.8125rem;
}
.business-settings-page__options-grid .business-settings-page__checkbox-card {
  height: 100%;
  box-sizing: border-box;
}
.business-settings-page__checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--app-border, #e5e7eb);
  border-radius: 0.375rem;
  background: var(--app-surface, #fff);
  cursor: pointer;
  font-weight: 400;
  transition: border-color 0.15s, background-color 0.15s;
}
.business-settings-page__checkbox-card:hover {
  border-color: var(--app-primary, #3b82f6);
  background: var(--app-surface-hover, #f9fafb);
}
.business-settings-page__checkbox-card span {
  flex: 1;
  line-height: 1.4;
  font-size: 0.875rem;
}
.business-settings-page__checkbox-card .icheckbox_square-blue,
.business-settings-page__checkbox-card .iCheck-helper {
  flex-shrink: 0;
  margin-top: 2px;
}
.business-settings-page__shortcuts-table {
  margin-bottom: 0;
}
.business-settings-page__shortcuts-table .form-control {
  min-width: 8rem;
}
.business-settings-page__pos-tab .business-settings-page__section .row + .row {
  margin-top: 0;
}
.business-settings-page__form-grid {
  margin-left: -8px;
  margin-right: -8px;
}
.business-settings-page__form-grid > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}
.business-settings-page__business-tab .input-group-addon,
.business-settings-page__product-tab .input-group-addon {
  min-width: 2.5rem;
  text-align: center;
  background: var(--app-surface-muted, #f3f4f6);
}
.business-settings-page__expiry-actions {
  display: grid;
  grid-template-columns: 1fr minmax(5.5rem, 7rem);
  gap: 0.5rem;
  align-items: center;
}
.business-settings-page__product-tab .business-settings-page__section .row + .row {
  margin-top: 0;
}
.business-settings-page__sales-tab .input-group-addon {
  min-width: 2.5rem;
  text-align: center;
  background: var(--app-surface-muted, #f3f4f6);
}
.business-settings-page__sales-divider {
  margin: 1.25rem 0;
  border-top: 1px solid var(--app-border, #e5e7eb);
}
.business-settings-page__block-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: inherit;
}
.business-settings-page__checkbox-card--compact {
  margin-bottom: 0;
  min-height: 2.5rem;
  align-items: center;
}
.business-settings-page__tab-checkboxes .form-group {
  margin-bottom: 0.75rem;
}
.business-settings-page__product-tab .input-group-addon {
  min-width: 2.5rem;
  text-align: center;
  background: var(--app-surface-muted, #f3f4f6);
}
.business-settings-page__product-tab .input-group-addon input[type="checkbox"] {
  margin: 0;
}
.business-settings-page__display-tab .business-settings-page__display-hint {
  margin: 0.5rem 0 0;
}
.business-settings-page__display-tab .business-settings-page__block-title {
  margin-top: 0.5rem;
}
.business-settings-page__display-tab .business-settings-page__file-field .help-block {
  margin-bottom: 0;
}
.business-settings-page__display-tab .business-settings-page__file-field input[type="file"] {
  padding: 0.35rem 0.5rem;
}
.business-settings-page__display-tab #display_screen_heading {
  min-height: 5rem;
  resize: vertical;
}
.business-settings-page__purchase-tab .input-group-addon {
  min-width: 2.5rem;
  text-align: center;
  background: var(--app-surface-muted, #f3f4f6);
}
.business-settings-page__dashboard-tab .input-group-addon {
  min-width: 2.5rem;
  text-align: center;
  background: var(--app-surface-muted, #f3f4f6);
}
.business-settings-page__dashboard-tab .input-group .form-control {
  min-width: 4rem;
}
.business-settings-page__system-tab .input-group-addon {
  min-width: 2.5rem;
  text-align: center;
  background: var(--app-surface-muted, #f3f4f6);
}
.business-settings-page__reward-tab .input-group-addon {
  min-width: 2.5rem;
  text-align: center;
  background: var(--app-surface-muted, #f3f4f6);
}
.business-settings-page__reward-tab .business-settings-page__block-title {
  margin-top: 0.25rem;
}
.business-settings-page__reward-expiry .form-control {
  min-width: 0;
}
.business-settings-page__reward-expiry-sep {
  min-width: 1.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.business-settings-page__reward-expiry select.form-control {
  max-width: 8rem;
}
.business-settings-page__modules-tab .business-settings-page__section-hint {
  margin-bottom: 1rem;
}
/* Manage modules page */
.manage-modules-page__intro {
  margin-bottom: 0.75rem;
}
.manage-modules-page__toolbar {
  flex-wrap: wrap;
  gap: 0.5rem;
}
.manage-modules-page__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.manage-modules-page #manage_modules_table > thead > tr > th,
.manage-modules-page #manage_modules_table > tbody > tr > td {
  vertical-align: middle;
}
.manage-modules-page #manage_modules_table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-color: #e2e8f0 !important;
}
.manage-modules-page #manage_modules_table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.manage-modules-page__col-num {
  width: 3rem;
  text-align: center;
}
.manage-modules-page__module-name {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.35rem;
}
.manage-modules-page__description {
  color: #475569;
  line-height: 1.6;
}
.manage-modules-page__actions {
  margin-top: 0.25rem;
}
.manage-modules-page__delete-form {
  display: inline;
}
.manage-modules-page__version-badge {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}
.manage-modules-page__update-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.5rem;
}
.manage-modules-page__marketplace-row td:first-child {
  text-align: center;
  color: #94a3b8;
}
.manage-modules-page .app-table-actions .app-btn-table {
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
}
/* Backup page */
.backup-page__intro {
  margin-bottom: 0.75rem;
}
.backup-page__empty {
  margin: 0;
  padding: 1.25rem 1rem;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 0.5rem;
}
.backup-page #backup_table > thead > tr > th,
.backup-page #backup_table > tbody > tr > td {
  vertical-align: middle;
}
.backup-page #backup_table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-color: #e2e8f0 !important;
}
.backup-page #backup_table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.backup-page #backup_table > tbody > tr > td:last-child {
  white-space: nowrap;
}
.backup-page #backup_table .backup-page__amount-col {
  text-align: end;
  white-space: nowrap;
}
.backup-page .app-table-actions .app-btn-table {
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
}
.sales-representative-report-print__summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.85rem;
}
.contacts-report-print__tab {
  font-size: 0.9rem;
  color: #475569;
  margin: 0.25rem 0;
}
/* Items report page */
.items-report-page__intro {
  margin-bottom: 0.75rem;
}
.items-report-page__mfg-filter .checkbox {
  margin-top: 0.35rem;
}
.items-report-page__table-wrap {
  max-height: 75vh;
  overflow: auto;
}
.items-report-page #items_report_table_wrapper .dataTables_length,
.items-report-page #items_report_table_wrapper .dataTables_filter {
  margin-bottom: 0.75rem;
}
.product-sell-report-page__time-fields {
  display: flex;
  gap: 0.5rem;
}
.product-sell-report-page__time-fields .form-control {
  flex: 1;
  min-width: 0;
}
.items-report-page #items_report_table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-color: #e2e8f0 !important;
}
.items-report-page #items_report_table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.items-report-page #items_report_table .contact-show-table__footer-row td {
  background: #f1f5f9;
  font-weight: 600;
}
/* Product purchase report page */
.product-purchase-report-page__intro {
  margin-bottom: 0.75rem;
}
.product-purchase-report-page__table-wrap {
  max-height: 75vh;
  overflow: auto;
}
.product-purchase-report-page #product_purchase_report_table_wrapper .dataTables_length,
.product-purchase-report-page #product_purchase_report_table_wrapper .dataTables_filter {
  margin-bottom: 0.75rem;
}
.product-purchase-report-page #product_purchase_report_table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-color: #e2e8f0 !important;
}
.product-purchase-report-page #product_purchase_report_table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.product-purchase-report-page #product_purchase_report_table .contact-show-table__footer-row td {
  background: #f1f5f9;
  font-weight: 600;
}
/* Trending products report page */
.trending-products-report-page__intro {
  margin-bottom: 0.75rem;
}
.trending-products-report-page__filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trending-products-report-page__chart-wrap {
  margin-bottom: 1.25rem;
  min-height: 280px;
}
.trending-products-report-page__table-panel {
  margin-top: 0.5rem;
}
.trending-products-report-page #trending_products_data_table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-color: #e2e8f0 !important;
}
.trending-products-report-page #trending_products_data_table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.trending-products-report-page__qty {
  font-weight: 600;
  color: #1e40af;
}
/* Stock adjustment report page */
.stock-adjustment-report-page__intro {
  margin-bottom: 0.75rem;
}
.stock-adjustment-report-page__summary {
  margin-bottom: 1rem;
}
.stock-adjustment-report-page__summary > .row > [class*='col-'] {
  margin-bottom: 0.75rem;
}
.stock-adjustment-report-page__summary-card {
  height: 100%;
  text-align: center;
}
.stock-adjustment-report-page__summary-label {
  display: block;
  font-weight: 700;
  color: #334155;
  font-size: 0.9rem;
}
.stock-adjustment-report-page__summary-value {
  margin: 0.5rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e40af;
}
.stock-adjustment-report-page #stock_adjustment_table_wrapper .dataTables_length,
.stock-adjustment-report-page #stock_adjustment_table_wrapper .dataTables_filter {
  margin-bottom: 0.75rem;
}
.stock-adjustment-report-page #stock_adjustment_table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-color: #e2e8f0 !important;
}
.stock-adjustment-report-page #stock_adjustment_table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.stock-adjustment-report-print__summary {
  margin: 0.75rem 0 1rem;
}
.stock-adjustment-report-print__summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
}
.stock-adjustment-report-print__summary-grid > div {
  padding: 0.35rem 0.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.35rem;
  background: #fff;
}
.stock-adjustment-report-print__summary-grid span {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
}
.stock-adjustment-report-print__summary-grid strong {
  display: block;
  color: #1e40af;
  font-size: 0.85rem;
}
/* Customer groups report */
.customer-groups-report-page__intro {
  margin-bottom: 0.75rem;
}
.customer-groups-report-page #cg_report_table_wrapper .dataTables_length,
.customer-groups-report-page #cg_report_table_wrapper .dataTables_filter {
  margin-bottom: 0.75rem;
}
.customer-groups-report-page #cg_report_table .contact-show-table__footer-row td {
  font-weight: 700;
  background: #f1f5f9;
}
@media print {
  .customer-groups-report-page #cg_report_table_wrapper .dataTables_length,
  .customer-groups-report-page #cg_report_table_wrapper .dataTables_filter,
  .customer-groups-report-page #cg_report_table_wrapper .dataTables_paginate,
  .customer-groups-report-page #cg_report_table_wrapper .dataTables_info {
    display: none !important;
  }
}
.contacts-report-print__empty {
  text-align: center;
  color: #64748b;
  padding: 1rem !important;
}
/* @page landscape is injected only while printing reports (see common.js __enableContactsReportPrintLayout) */
@media print {
  body.contacts-report-print-active .main-header,
  body.contacts-report-print-active .main-sidebar,
  body.contacts-report-print-active .content-header,
  body.contacts-report-print-active .main-footer,
  body.contacts-report-print-active .scrolltop,
  body.contacts-report-print-active .contacts-report-page__screen,
  body.contacts-report-print-active .customer-groups-report-page__screen,
  body.contacts-report-print-active .stock-report-page__screen,
  body.contacts-report-print-active .stock-report-page__summary,
  body.contacts-report-print-active .stock-adjustment-report-page__screen,
  body.contacts-report-print-active .stock-adjustment-report-page__summary,
  body.contacts-report-print-active .trending-products-report-page__screen,
  body.contacts-report-print-active .items-report-page__screen,
  body.contacts-report-print-active .product-purchase-report-page__screen,
  body.contacts-report-print-active .purchase-report-page__screen,
  body.contacts-report-print-active .sale-report-page__screen,
  body.contacts-report-print-active .product-sell-report-page__screen,
  body.contacts-report-print-active .expense-report-page__screen,
  body.contacts-report-print-active .register-report-page__screen,
  body.contacts-report-print-active .sales-representative-report-page__screen,
  body.contacts-report-print-active .sales-representative-report-page__summary,
  body.contacts-report-print-active .activity-log-report-page__screen,
  body.contacts-report-print-active .cash-flow-page__screen,
  body.contacts-report-print-active .manufacturing-report-page__screen {
    display: none !important;
  }
  body.contacts-report-print-active .modal,
  body.contacts-report-print-active .modal-backdrop {
    display: none !important;
  }
  body.contacts-report-print-active .manufacturing-production-print {
    display: block !important;
    width: 100% !important;
  }
  body.contacts-report-print-active .cash-flow-page > *:not(.contacts-report-print) {
    display: none !important;
  }
  body.contacts-report-print-active .content-wrapper,
  body.contacts-report-print-active .content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-height: auto !important;
  }
  body.contacts-report-print-active .contacts-report-print {
    display: block !important;
    width: 100% !important;
  }
  body.contacts-report-print-active .wrapper {
    overflow: visible !important;
  }
  .contacts-report-print__table {
    page-break-inside: auto;
  }
  .contacts-report-print__table tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }
  .contacts-report-print__table thead {
    display: table-header-group;
  }
  .contacts-report-print__table tfoot {
    display: table-footer-group;
  }
}
.sell-form-page__change-return-fields {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #e2e8f0;
}
@media (max-width: 767px) {
  .sell-form-page__payment-summary {
    grid-template-columns: 1fr;
  }
}
.sell-form-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.sell-form-page__save-print {
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
}
.sell-form-page i.fa-info-circle.text-info.hover-q.no-print,
.sell-form-page .hover-q.no-print {
  display: none !important;
}
/* Sell return add / edit form */
.sell-return-form-page__table-wrap {
  margin: 1rem 0;
}
.sell-return-form-page__qty-input {
  max-width: 8.5rem;
  margin-left: auto;
  text-align: center;
}
.sell-return-form-page__line-total {
  font-weight: 600;
  color: #1e293b;
}
.sell-return-form-page__discount-row {
  margin-top: 1rem;
  align-items: flex-end;
}
.sell-return-form-page__totals {
  margin-top: 0;
}
.sell-return-form-page__summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.9rem;
}
.sell-return-form-page__summary-label {
  color: #64748b;
}
.sell-return-form-page__summary-value {
  font-weight: 600;
  color: #1e293b;
}
.sell-return-form-page__summary-value--minus {
  color: #b91c1c;
}
/* Stock adjustment (damaged stock) */
.stock-adjustment-form-page__table-wrap {
  margin-top: 0.75rem;
}
.stock-adjustment-form-page__col-action {
  width: 3.5rem;
}
.stock-adjustment-form-page__table > tbody > tr > td {
  vertical-align: middle;
}
/* Purchase return form */
.purchase-return-form-page__table-wrap {
  margin-top: 0.75rem;
}
.purchase-return-form-page__col-action {
  width: 3.5rem;
}
.purchase-return-form-page__table > tbody > tr > td {
  vertical-align: middle;
}
/* Stock transfer */
.stock-transfer-form-page__table-wrap {
  margin-top: 0.75rem;
}
.stock-transfer-form-page__col-action {
  width: 3.5rem;
}
.stock-transfer-form-page__table > tbody > tr > td {
  vertical-align: middle;
}
/* Import sales */
.import-sales-page__steps {
  margin: 0.5rem 0 0;
  padding-right: 1.25rem;
}
.import-sales-page__preview-table-wrap {
  max-height: 28rem;
  overflow: auto;
}
.import-sales-page__preview-table > thead > tr > th,
.import-sales-page__preview-table > tbody > tr > td {
  white-space: nowrap;
  vertical-align: middle;
}
.import-sales-page__map-row > td {
  background: #f8fafc;
}
.import-sales-page__row-num {
  width: 2.5rem;
  text-align: center;
  font-weight: 600;
  color: #64748b;
}
.import-sales-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
/* Discounts list */
.discount-page__bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.35rem;
}
.discount-page__product-tag {
  display: inline-block;
  margin: 0.1rem 0.15rem 0.1rem 0;
  padding: 0.15rem 0.45rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.35rem;
}
/* Classic invoice receipt */
.classic-invoice-receipt {
  --classic-invoice-accent: #2f6fcb;
  --classic-invoice-accent-soft: #e8f1fc;
  --classic-invoice-text: #0f172a;
  --classic-invoice-muted: #64748b;
  --classic-invoice-border: #dbe3ee;
  color: var(--classic-invoice-text) !important;
  font-size: 13px;
  line-height: 1.55;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.classic-invoice-receipt__header-row {
  margin-bottom: 0;
}
.classic-invoice-receipt__header-top {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.15rem;
}
.classic-invoice-receipt__invoice-meta {
  flex: 0 1 auto;
  min-width: 0;
  direction: rtl;
  text-align: left;
  padding-top: 0.15rem;
}
.classic-invoice-receipt__meta-line {
  margin: 0.3rem 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--classic-invoice-text) !important;
}
.classic-invoice-receipt__meta-line b,
.classic-invoice-receipt__meta-line strong {
  color: var(--classic-invoice-accent) !important;
  font-weight: 600;
}
.classic-invoice-receipt__header-brand {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1.25rem;
  flex: 0 1 auto;
  margin-bottom: 0;
}
.classic-invoice-receipt__brand-info {
  flex: 0 1 auto;
  min-width: 0;
  direction: rtl;
  text-align: right;
}
.classic-invoice-receipt__logo-wrap {
  flex: 0 0 auto;
  line-height: 0;
}
.classic-invoice-receipt__logo {
  max-height: 88px;
  width: auto;
  margin: 0;
  display: block;
}
.classic-invoice-receipt__business-name {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--classic-invoice-accent) !important;
  letter-spacing: 0.01em;
  text-align: right;
}
.classic-invoice-receipt__address,
.classic-invoice-receipt__phone,
.classic-invoice-receipt__website,
.classic-invoice-receipt__subheadings,
.classic-invoice-receipt__tax-info,
.classic-invoice-receipt__header-text {
  margin: 0.2rem 0;
  font-size: 0.8125rem;
  color: var(--classic-invoice-muted) !important;
  text-align: right;
}
.classic-invoice-receipt__phone {
  direction: rtl;
}
.classic-invoice-receipt__header-text {
  margin-top: 0.35rem;
}
.classic-invoice-receipt__title {
  display: inline-block;
  margin: 0.25rem auto 0.1rem;
  padding: 0.4rem 1.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--classic-invoice-accent);
  border-radius: 0.4rem;
  box-shadow: 0 2px 8px rgba(47, 111, 203, 0.2);
}
.classic-invoice-receipt__meta-wrap {
  margin-top: 0.5rem;
}
.classic-invoice-receipt__meta-wrap:empty,
.classic-invoice-receipt__meta:empty {
  display: none;
}
.classic-invoice-receipt__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(137deg, #f7f9fc 0%, #e8f1fc 100%);
  border: 1px solid var(--classic-invoice-border);
  border-radius: 0.55rem;
}
.classic-invoice-receipt__meta-col {
  flex: 1 1 220px;
  min-width: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.classic-invoice-receipt__meta-col b,
.classic-invoice-receipt__meta-col strong {
  color: var(--classic-invoice-accent) !important;
  font-weight: 600;
}
.classic-invoice-receipt__section {
  margin-top: 0.35rem;
}
.classic-invoice-receipt__section--table {
  margin-top: 0.1rem;
}
.classic-invoice-receipt > .classic-invoice-receipt__section--table.row {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
.classic-invoice-receipt__section--table > .col-xs-12:first-child:empty {
  display: none;
}
.classic-invoice-receipt__section--table > .col-xs-12.classic-invoice-receipt__table-wrap {
  float: none;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.classic-invoice-receipt__table-wrap {
  margin-top: 0.35rem;
  border: 1px solid var(--classic-invoice-border, #dbe3ee);
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #ffffff;
  box-sizing: border-box;
}
.classic-invoice-receipt__table {
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
  box-sizing: border-box;
  direction: rtl;
  table-layout: fixed;
  background-color: #ffffff;
}
.classic-invoice-receipt__table.table-slim > thead > tr > th,
.classic-invoice-receipt__table.table-slim > tbody > tr > td {
  padding: 0.625rem 0.75rem;
}
.classic-invoice-receipt__table > thead > tr > th,
.classic-invoice-receipt__table > tbody > tr > td {
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
  vertical-align: middle;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.classic-invoice-receipt__table > thead > tr > th:first-child,
.classic-invoice-receipt__table > tbody > tr > td:first-child {
  border-right: none;
}
.classic-invoice-receipt__table > thead > tr > th:last-child,
.classic-invoice-receipt__table > tbody > tr > td:last-child {
  border-left: none;
}
.classic-invoice-receipt__table > tbody > tr:last-child > td {
  border-bottom: none;
}
.classic-invoice-receipt__table col.classic-invoice-receipt__col-num {
  width: 1.75rem;
}
.classic-invoice-receipt__table > thead > tr > th.classic-invoice-receipt__col-num,
.classic-invoice-receipt__table > tbody > tr > td.classic-invoice-receipt__col-num {
  width: 1.75rem;
  min-width: 1.75rem;
  max-width: 1.75rem;
  padding: 0.5rem 0.2rem !important;
  font-size: 0.75rem;
  text-align: center !important;
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 600;
  color: #64748b !important;
}
.classic-invoice-receipt__table > thead > tr > th.classic-invoice-receipt__col-product,
.classic-invoice-receipt__table > tbody > tr > td.classic-invoice-receipt__col-product {
  direction: rtl;
  text-align: right !important;
  padding-right: 1rem !important;
}
.classic-invoice-receipt__table > thead > tr > th.classic-invoice-receipt__col-qty,
.classic-invoice-receipt__table > tbody > tr > td.classic-invoice-receipt__col-qty,
.classic-invoice-receipt__table > thead > tr > th.classic-invoice-receipt__col-price,
.classic-invoice-receipt__table > tbody > tr > td.classic-invoice-receipt__col-price,
.classic-invoice-receipt__table > thead > tr > th.classic-invoice-receipt__col-discounted,
.classic-invoice-receipt__table > tbody > tr > td.classic-invoice-receipt__col-discounted,
.classic-invoice-receipt__table > thead > tr > th.classic-invoice-receipt__col-item-discount,
.classic-invoice-receipt__table > tbody > tr > td.classic-invoice-receipt__col-item-discount,
.classic-invoice-receipt__table > thead > tr > th.classic-invoice-receipt__col-total,
.classic-invoice-receipt__table > tbody > tr > td.classic-invoice-receipt__col-total {
  text-align: center !important;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}
.classic-invoice-receipt__table > thead > tr > th {
  padding: 0.7rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--classic-invoice-accent, #2f6fcb) !important;
  -webkit-text-fill-color: var(--classic-invoice-accent, #2f6fcb) !important;
  background-color: var(--classic-invoice-accent-soft, #e8f1fc) !important;
  background-image: none !important;
  border-bottom: 1px solid #cbd5e1 !important;
}
.classic-invoice-receipt__table > thead > tr > th.classic-invoice-receipt__col-num {
  padding-top: 0.7rem !important;
  padding-bottom: 0.7rem !important;
  padding-left: 0.2rem !important;
  padding-right: 0.2rem !important;
  font-size: 0.75rem !important;
  color: var(--classic-invoice-accent, #2f6fcb) !important;
  -webkit-text-fill-color: var(--classic-invoice-accent, #2f6fcb) !important;
}
.classic-invoice-receipt__table > thead > tr > th,
.classic-invoice-receipt__table > thead > tr > th * {
  color: var(--classic-invoice-accent, #2f6fcb) !important;
  -webkit-text-fill-color: var(--classic-invoice-accent, #2f6fcb) !important;
  font-weight: 700 !important;
}
.classic-invoice-receipt__table > tbody > tr > td {
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--classic-invoice-text, #0f172a) !important;
  background-color: #ffffff !important;
}
.classic-invoice-receipt__table > tbody > tr:not(.classic-invoice-receipt__summary-row):nth-child(even) > td {
  background-color: #f8fafc !important;
}
.classic-invoice-receipt__table .text-right {
  text-align: right !important;
}
.classic-invoice-receipt__table .classic-invoice-receipt__amount {
  display: inline-block;
  width: 100%;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  text-align: center !important;
  white-space: nowrap;
}
.classic-invoice-receipt__table > tbody > tr > td small {
  color: var(--classic-invoice-muted, #64748b) !important;
  font-size: 0.75rem;
}
.classic-invoice-receipt__table > tbody > tr.classic-invoice-receipt__summary-row > td {
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--classic-invoice-text, #0f172a) !important;
  background-color: #ffffff !important;
}
.classic-invoice-receipt__table > tbody > tr.classic-invoice-receipt__summary-row > td[colspan] {
  text-align: right !important;
  direction: rtl;
}
.classic-invoice-receipt__table > tbody > tr.classic-invoice-receipt__summary-row > td:last-child {
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 700;
}
.classic-invoice-receipt__table > tbody > tr.classic-invoice-receipt__summary-row--first > td {
  border-top: 2px solid #cbd5e1 !important;
}
.classic-invoice-receipt__table > tbody > tr.classic-invoice-receipt__total-row > td {
  padding-top: 0.65rem !important;
  padding-bottom: 0.65rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: var(--classic-invoice-text, #0f172a) !important;
  background-color: var(--classic-invoice-accent-soft, #e8f1fc) !important;
  border-top: 1px solid #cbd5e1 !important;
}
.classic-invoice-receipt__table > tbody > tr.classic-invoice-receipt__payment-row .classic-invoice-receipt__payment-date {
  display: inline-block;
  margin-right: 0.5rem;
  font-weight: 400;
  color: var(--classic-invoice-muted, #64748b) !important;
}
.classic-invoice-receipt__footer {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: none;
}
.classic-invoice-receipt__tax-summary {
  margin-top: 0.65rem;
}
.classic-invoice-receipt__tax-table-wrap {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  border: 2px solid #64748b;
  border-radius: 0.45rem;
  overflow: hidden;
}
.classic-invoice-receipt__tax-table {
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: 0;
  overflow: visible;
  border-collapse: collapse;
  box-sizing: border-box;
}
.classic-invoice-receipt__tax-table > thead > tr > th,
.classic-invoice-receipt__tax-table > tbody > tr > td {
  border: 1px solid #94a3b8 !important;
  box-sizing: border-box;
}
.classic-invoice-receipt__tax-table > thead > tr > th:last-child,
.classic-invoice-receipt__tax-table > tbody > tr > td:last-child {
  border-right: 2px solid #64748b !important;
}
.classic-invoice-receipt__tax-table > thead > tr > th {
  background: var(--classic-invoice-accent-soft) !important;
  color: var(--classic-invoice-accent) !important;
  font-weight: 700;
}
.classic-invoice-receipt__notes {
  margin-top: 0.65rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.45rem;
}
.classic-invoice-receipt__bottom {
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--classic-invoice-border);
  font-size: 0.8125rem;
  color: var(--classic-invoice-muted) !important;
}
@media print {
  html:not(.r80-page) .classic-invoice-receipt,
  html:not(.r80-page) .invoice-receipt-a4 {
    width: 100% !important;
    max-width: 100% !important;
  }
  .classic-invoice-receipt__header-top,
  .classic-invoice-receipt__header-brand {
    display: flex !important;
  }
  .classic-invoice-receipt__header-top {
    justify-content: space-between !important;
  }
  .classic-invoice-receipt__header-brand {
    justify-content: flex-end !important;
  }
  .classic-invoice-receipt__title,
  .classic-invoice-receipt__table > tbody > tr.classic-invoice-receipt__total-row > td {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .classic-invoice-receipt > .classic-invoice-receipt__section--table.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  .classic-invoice-receipt__section--table > .col-xs-12.classic-invoice-receipt__table-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .classic-invoice-receipt__table-wrap {
    overflow: hidden !important;
    border: 1px solid var(--classic-invoice-border, #dbe3ee) !important;
  }
  .classic-invoice-receipt__table > thead > tr > th {
    color: var(--classic-invoice-accent, #2f6fcb) !important;
    -webkit-text-fill-color: var(--classic-invoice-accent, #2f6fcb) !important;
    background-color: var(--classic-invoice-accent-soft, #e8f1fc) !important;
    font-weight: 700 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .classic-invoice-receipt__table > tbody > tr.classic-invoice-receipt__total-row > td {
    background-color: var(--classic-invoice-accent-soft, #e8f1fc) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
/* Packing slip / goods dispatch print */
.packing-slip-receipt {
  color: #1e293b;
  font-size: 13px;
  line-height: 1.5;
}
.packing-slip-receipt__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}
.packing-slip-receipt__brand {
  flex: 1 1 280px;
  min-width: 0;
}
.packing-slip-receipt__logo {
  max-height: 90px;
  width: auto;
  margin-bottom: 0.5rem;
}
.packing-slip-receipt__business-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}
.packing-slip-receipt__doc-meta {
  flex: 0 0 auto;
  text-align: end;
  min-width: 200px;
}
.packing-slip-receipt__title {
  margin: 0 0 0.2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}
.packing-slip-receipt__doc-type {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: #64748b;
}
.packing-slip-receipt__invoice,
.packing-slip-receipt__date {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}
.packing-slip-receipt__invoice-prefix {
  margin-left: 0.35rem;
}
.packing-slip-receipt__muted {
  color: #475569;
  font-size: 0.9rem;
}
.packing-slip-receipt__parties {
  margin-bottom: 1rem;
}
.packing-slip-receipt__party {
  margin-bottom: 0.75rem;
}
.packing-slip-receipt__section-label {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  text-transform: none;
}
.packing-slip-receipt__party-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.packing-slip-receipt__table-wrap {
  margin-bottom: 1rem;
}
.packing-slip-receipt__table {
  width: 100%;
  margin-bottom: 0;
  border-color: #e2e8f0 !important;
}
.packing-slip-receipt__table > thead > tr > th {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%) !important;
  color: #1e293b !important;
  font-weight: 600;
  border-color: #e2e8f0 !important;
  padding: 0.55rem 0.65rem;
}
.packing-slip-receipt__table > tbody > tr > td {
  border-color: #e2e8f0 !important;
  padding: 0.5rem 0.65rem;
  vertical-align: top;
}
.packing-slip-receipt__table > tbody > tr:nth-child(even) > td {
  background: #f8fafc;
}
.packing-slip-receipt__col-num {
  width: 5%;
}
.packing-slip-receipt__col-qty {
  width: 22%;
  white-space: nowrap;
}
.packing-slip-receipt__product {
  word-break: break-word;
}
.packing-slip-receipt__modifier-row > td {
  background: #f1f5f9 !important;
  font-size: 0.88rem;
}
.packing-slip-receipt__empty-row > td {
  height: 1.75rem;
}
.packing-slip-receipt__footer {
  page-break-inside: avoid;
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #cbd5e1;
}
.packing-slip-receipt__signatory {
  margin-bottom: 1rem;
}
.packing-slip-receipt__sign-line {
  display: block;
  margin-top: 2.5rem;
  border-bottom: 1px solid #94a3b8;
  max-width: 14rem;
}
.packing-slip-receipt__barcode img {
  max-width: 100%;
  height: auto;
}
.packing-slip-receipt__footer-text {
  margin-top: 0.75rem;
  color: #64748b;
  font-size: 0.85rem;
}
.packing-slip-receipt__delivery-ack {
  page-break-inside: avoid;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
}
.packing-slip-receipt__delivery-ack-text {
  margin: 0 0 1rem;
  font-weight: 600;
  color: #334155;
}
.packing-slip-receipt__ack-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
}
.packing-slip-receipt__ack-line {
  flex: 1 1 12rem;
  min-width: 10rem;
  border-bottom: 1px solid #94a3b8;
  min-height: 1.35rem;
}
.packing-slip-receipt__ack-line--date {
  flex: 0 1 8rem;
  min-width: 7rem;
}
.packing-slip-receipt__signatory--delivery {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.sell-form-page__dropzone {
  border: 1px dashed #cbd5e1;
  border-radius: 0.5rem;
  background: #f8fafc;
  min-height: 6rem;
}
@media print {
  .packing-slip-receipt__header {
    border-bottom-color: #cbd5e1;
  }
  .packing-slip-receipt__table > thead > tr > th {
    background: #f1f5f9 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
/* Opening stock page & modal */
.opening-stock-page .box-primary {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: none;
}
.opening-stock-page .box-primary > .box-header {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.opening-stock-page .box-primary > .box-header .box-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}
.opening-stock-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.opening-stock-modal .contact-pay-modal__footer {
  justify-content: center;
}
.opening-stock-page__location {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.opening-stock-page__location:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.opening-stock-page__location .contact-pay-modal__section-title {
  margin-bottom: 0.85rem;
}
.opening-stock-page__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.opening-stock-page .add_opening_stock_table {
  margin-bottom: 0;
  min-width: 720px;
}
.opening-stock-page .add_opening_stock_table > thead > tr > th,
.opening-stock-modal .add_opening_stock_table > thead > tr > th {
  white-space: nowrap;
  font-size: 0.8125rem;
}
.opening-stock-page .add_opening_stock_table > tbody > tr > td,
.opening-stock-modal .add_opening_stock_table > tbody > tr > td {
  vertical-align: middle !important;
}
.opening-stock-page .add_opening_stock_table .form-control {
  min-width: 5rem;
}
.opening-stock-page__product-name {
  min-width: 10rem;
  font-weight: 500;
  color: #1e293b;
}
.opening-stock-page__secondary-qty {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.opening-stock-page__secondary-qty .form-control {
  margin-top: 0.25rem;
}
.opening-stock-page__col-action {
  width: 3.25rem;
  text-align: center;
  white-space: nowrap;
}
.opening-stock-page .contact-show-table__footer-row td {
  background: #f8fafc;
  font-weight: 600;
  color: #334155;
}
.opening-stock-page__empty {
  padding: 1.5rem;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 0.5rem;
}
.opening-stock-modal .modal-body {
  max-height: calc(100vh - 12rem);
  overflow-y: auto;
}
.opening-stock-modal .contact-view-payments-modal__subtitle {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
}
/* Product add/edit form */
.product-form-page .box-primary {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: none;
}
.product-form-page .box-primary > .box-header {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.product-form-page .box-primary > .box-header .box-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}
.product-form-page__section {
  padding-top: 0.25rem;
}
.product-form-page__group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.product-form-page__group--last,
.product-form-page__group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.product-form-page__group .contact-pay-modal__section-title {
  margin-bottom: 1rem;
}
.product-form-page__checkbox-group {
  margin-bottom: 0;
}
.product-form-page__checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  cursor: pointer;
  font-weight: normal;
}
.product-form-page__checkbox-label strong {
  font-weight: 600;
  color: #1e293b;
}
.product-form-page__stock-row {
  align-items: flex-start;
}
.product-form-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.product-form-page .add-product-price-table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  font-size: 0.8125rem;
  border-color: #e2e8f0 !important;
}
.product-form-page .add-product-price-table > tbody > tr > td {
  border-color: #e2e8f0 !important;
  vertical-align: middle !important;
}
.product-form-page__tax-hidden {
  display: none !important;
}
.product-form-page .text-aqua,
.product-form-page a.text-aqua {
  color: #334155 !important;
}
.product-form-page i.hover-q,
.product-form-page i.fa-info-circle.hover-q,
.product-form-page i.fa-info-circle.text-info.hover-q,
.product-form-page .hover-q.no-print {
  display: none !important;
}
.product-form-page .add-product-price-table > thead > tr > th,
.product-form-page .variation_value_table > thead > tr > th,
.product-form-page .blue-header th,
.product-form-page .table-th-green th {
  background: #f8fafc !important;
  color: #334155 !important;
  font-weight: 600;
  font-size: 0.8125rem;
  border-color: #e2e8f0 !important;
}
.product-form-page .variation_value_table > tbody > tr > td,
.product-form-page .combo_product_table > tbody > tr > td,
.product-form-page .combo_product_table > tfoot > tr > td {
  border-color: #e2e8f0 !important;
  vertical-align: middle !important;
}
.product-form-page .variation_value_table > tbody > tr:nth-child(even),
.product-form-page .combo_product_table > tbody > tr:nth-child(even) {
  background: #fafbfc;
}
.product-form-page__variation-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 0 0.75rem;
}
.product-form-page__variation-toolbar .contact-pay-modal__section-title {
  margin: 0;
}
.product-form-page__variation-block .variation_value_table {
  margin: 0;
}
.product-form-page #product_variation_form_part > tbody > tr > td {
  vertical-align: top !important;
}
.product-form-page__col-action {
  width: 3.5rem;
  text-align: center;
  white-space: nowrap;
}
.product-form-page__combo-pricing {
  margin-top: 1rem;
}
.product-form-page .help-block {
  color: #64748b;
}
/* CMS admin */
.cms-page .catalog-settings-page__intro {
  margin-bottom: 1rem;
}
.cms-page__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
}
.cms-page-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.cms-page-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.cms-page-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #0f172a;
  flex: 1 1 auto;
  min-width: 0;
}
.cms-page-card__actions {
  flex-shrink: 0;
}
.cms-page-card__meta {
  margin: 0 0 0.75rem;
}
.cms-page-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
}
.cms-page-card__meta-row dt {
  margin: 0;
  font-weight: 600;
  color: #64748b;
}
.cms-page-card__meta-row dt::after {
  content: ':';
}
.cms-page-card__meta-row dd {
  margin: 0;
  color: #0f172a;
}
.cms-page-card__badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}
.cms-page-card__badge--active {
  background: #dcfce7;
  color: #15803d;
}
.cms-page-card__badge--muted {
  background: #f1f5f9;
  color: #64748b;
}
.cms-page__empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #64748b;
}
.cms-page__empty i {
  font-size: 2.5rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}
.cms-settings-page__footer {
  margin-top: 1rem;
  text-align: end;
}
.cms-settings-page__footer .app-btn-primary {
  min-width: 10rem;
}
.cms-settings-page .pos-tab-menu .list-group-item {
  border-radius: 0.5rem;
  margin-bottom: 0.25rem;
}
.cms-settings-page .pos-tab-menu .list-group-item.active {
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%);
  border-color: #2f6fcb;
  color: #fff;
}
/* CMS frontend (public site) */
.cms-frontend-body {
  font-family: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
}
.cms-frontend-body .btn-primary,
.cms-frontend-body .btn-primary:hover,
.cms-frontend-body .btn-primary:focus {
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%) !important;
  border: none !important;
  color: #fff !important;
}
[dir="rtl"] .cms-frontend-body .hero-nav__item-chevron {
  transform: scaleX(-1);
}
[dir="rtl"] .cms-frontend-body .hero__body {
  text-align: right;
}
[dir="rtl"] .cms-frontend-body .block-44__extra-links {
  padding-right: 0;
}
.cms-frontend-body .block-29 {
  background: linear-gradient(180deg, #4d8fe6 0%, #2f6fcb 100%) !important;
  color: #fff !important;
  border: 1px solid #2f6fcb !important;
}
.cms-frontend-body .block-29 .block-29__title,
.cms-frontend-body .block-29 .block-29__paragraph {
  color: #fff !important;
}
/* ===== End POS Mobile View Fixes ===== */