@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");
@import '../components/sweetalert/sweet-alert.css';
@import '../../Scripts/Angular_Plugins/Angular_Toasters/toaster.min.css';

/* Global Table Styles */
.table.dt-responsive.dataTable.collapsed th,
.table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable th,
table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable th {
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  white-space: nowrap !important;
}

.table.dt-responsive.dataTable.collapsed td,
.table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable td,
table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable td {
  font-size: 11px !important;
  padding: 6px 12px !important;
  vertical-align: middle !important;
}

.table.dt-responsive.dataTable.collapsed,
.table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable,
table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable {
  font-size: 11px !important;
}

.table.dt-responsive.dataTable.collapsed .btn-sidebar-drop-new-menu-ul a,
.table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable .btn-sidebar-drop-new-menu-ul a,
table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable .btn-sidebar-drop-new-menu-ul a {
  font-size: 11px !important;
}

/* Global DataTable: keep rows in one line and use horizontal scroll instead of responsive child rows */
.table-responsive,
.k-table.table-responsive,
.dataTables_wrapper {
  overflow-x: auto !important;
  overflow-y: visible !important;
  width: 100% !important;
}

table.dataTable,
table.dataTable.dtr-inline,
table.dataTable.collapsed,
table.dataTable.no-footer,
.table.dt-responsive.dataTable,
.table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable,
table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable {
  width: max-content !important;
  min-width: 100% !important;
  table-layout: auto !important;
}

table.dataTable th,
table.dataTable td,
.table.dt-responsive.dataTable th,
.table.dt-responsive.dataTable td,
.table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable th,
.table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable td,
table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable th,
table.dt-responsive.ng-isolate-scope.no-footer.dtr-inline.dataTable td {
  display: table-cell !important;
  white-space: nowrap !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control::before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control::before,
table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child::before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child::before {
  display: none !important;
  content: none !important;
}

table.dataTable>tbody>tr.child,
table.dataTable>tbody>tr.child:hover,
table.dataTable [data-dtr-index],
table.dataTable [data-dt-row],
table.dataTable [data-dt-column] {
  display: none !important;
}

.custom-modal-dialog {
  width: 95%;
  max-width: 1250px;
}

.custom-modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.payment-modal-body {
  background-color: #f8fafc;
  padding: 30px;
}

/* Header Styles */
.custom-modal-header {
  background: #1e293b;
  padding: 20px 30px;
  border-bottom: none;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-icon-container {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 10px;
  margin-right: 15px;
}

.header-icon {
  font-size: 24px;
}

.modal-main-title {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.modal-sub-title {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
}

.advanced-close-btn {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 1;
  text-shadow: none;
  outline: none;
}

.advanced-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ef4444;
}

.close-icon-span {
  line-height: 0;
}

/* Alert Styles */
.custom-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 12px;
  padding: 15px;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.1);
}

.custom-alert-icon {
  font-size: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

.custom-alert-text {
  font-size: 16px;
  vertical-align: middle;
}

.warning-alert {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #b45309;
  border-radius: 12px;
  font-weight: 600;
  padding: 15px;
  box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.1);
}

.warning-alert-icon {
  font-size: 18px;
  margin-right: 8px;
}

/* Card Styles */
.pro-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  margin-bottom: 25px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.pro-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.pro-card .card-header {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pro-card .card-header h5 {
  margin: 0;
  font-weight: 700;
  color: #334155;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.pro-card .card-body {
  padding: 25px;
}

/* Card Header Icons */
.header-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.icon-blue {
  background: #eff6ff;
  color: #3b82f6;
}

.icon-red {
  background: #fef2f2;
  color: #ef4444;
}

.icon-green {
  background: #f0fdf4;
  color: #10b981;
}

.icon-theme {
  background: #f0fdf4;
  color: #00a65a;
}

/* Typography & Data Pairs */
.data-group {
  margin-bottom: 15px;
}

.data-group.mb-0 {
  margin-bottom: 0;
}

.data-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.data-label-green {
  color: #10b981;
}

.data-value {
  font-size: 16px;
  color: #0f172a;
  font-weight: 600;
  word-break: break-word;
}

.data-value-large {
  font-size: 22px;
}

.data-value-xl {
  font-size: 28px;
  color: #059669;
}

.currency-value {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.text-primary-custom {
  color: #3b82f6;
}

/* Decorative Separators */
.hr-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 15px 0 20px 0;
  border: none;
}

/* Badges */
.badge-status {
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.badge-ifsc {
  background: #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: monospace;
}

/* Tables */
.pro-table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.pro-table th {
  background-color: #f1f5f9;
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  padding: 16px 20px;
  border-bottom: 2px solid #e2e8f0;
  border-top: none;
}

.pro-table td {
  vertical-align: middle;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-weight: 500;
  font-size: 14px;
}

.pro-table tbody tr:hover td {
  background-color: #f8fafc;
}

.col-deduction-type {
  width: 25%;
}

.col-deduction-remarks {
  width: 40%;
}

.col-amount {
  width: 20%;
  text-align: right;
}

.col-actions {
  width: 15%;
  text-align: center;
}

.deduction-total-row {
  background: #1e293b;
}

.deduction-total-row td {
  color: #f8fafc !important;
  font-size: 16px;
  font-weight: 700;
  border: none !important;
}

.total-label-td {
  padding: 20px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.total-amount-td {
  padding: 20px;
  font-size: 20px;
}

/* Form Inputs */
.pro-input {
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  padding: 10px 15px;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
  transition: all 0.2s;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.pro-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: none;
}

.input-amount {
  color: #ef4444;
  border-radius: 0 8px 8px 0;
}

.input-addon-currency {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-weight: bold;
  color: #64748b;
}

/* Action Buttons */
.btn-action {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-add {
  background: #ecfdf5;
  color: #10b981;
  border-color: #a7f3d0;
}

.btn-add:hover {
  background: #10b981;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

.btn-remove {
  background: #fef2f2;
  color: #ef4444;
  border-color: #fecaca;
}

.btn-remove:hover {
  background: #ef4444;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.2);
}

/* Bank Details Box */
.bank-details-box {
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  margin-bottom: 25px;
}

.bank-account-val {
  font-size: 18px;
  color: #2563eb;
  letter-spacing: 1px;
}

.bank-pan-val {
  font-weight: 700;
}

.pan-card-container {
  text-align: center;
}

.pan-card-label {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
  text-align: left;
}

.pan-card-image-box {
  border: 2px dashed #cbd5e1;
  padding: 10px;
  border-radius: 12px;
  display: inline-block;
  background: #fff;
  width: 100%;
  max-width: 350px;
  transition: all 0.3s;
}

.pan-card-image-box:hover {
  border-color: #3b82f6;
  background-color: #f8fafc;
}

.pan-card-image {
  height: 200px;
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Summary Widget (Final Settlement) */
.settlement-card {
  border-color: #bbf7d0;
  box-shadow: 0 10px 25px -5px rgba(0, 166, 90, 0.1);
}

.settlement-card-header {
  background: linear-gradient(to right, #f8fafc, #f0fdf4);
  border-bottom: 1px solid #bbf7d0;
}

.summary-widget {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.s-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #cbd5e1;
}

.s-row:last-child {
  border-bottom: none;
}

.s-row.pt-0 {
  padding-top: 0;
}

.s-row.pb-0-border-0 {
  border-bottom: none;
  padding-bottom: 0;
}

.s-row.total-row {
  border-top: 2px solid #94a3b8;
  border-bottom: none;
  padding-top: 20px;
  margin-top: 10px;
  background: #f8fafc;
  padding: 20px 15px;
  border-radius: 8px;
}

.s-label {
  color: #475569;
  font-weight: 600;
  font-size: 15px;
}

.s-value {
  font-weight: 700;
  color: #0f172a;
  font-size: 16px;
  text-align: right;
}

.s-value-danger {
  color: #ef4444;
}

.s-value-success {
  color: #10b981;
  font-size: 28px;
  letter-spacing: -1px;
}

.s-label-total {
  font-size: 18px;
  color: #334155;
  text-transform: uppercase;
}

/* TDS Input */
.tds-input-container {
  width: 35%;
}

.tds-input {
  color: #00a65a;
  font-weight: 700;
}

.tds-addon {
  background: #f0fdf4;
  border: 1px solid #cbd5e1;
  border-left: none;
  border-radius: 0 8px 8px 0;
  color: #00a65a;
  font-weight: 700;
}

/* Custom Payment Amt */
.custom-payment-row {
  background: #fffbeb;
  padding: 15px;
  margin: 10px -15px;
  border-radius: 8px;
  border: 1px dashed #fcd34d;
}

.custom-payment-label {
  color: #d97706;
}

.custom-payment-container {
  width: 45%;
}

.custom-payment-input {
  border-color: #f59e0b;
  color: #b45309;
}

/* Pay Now Button */
.btn-pay-now {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: white;
  padding: 16px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
}

.btn-pay-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #059669, #047857);
}

.btn-pay-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-pay-icon {
  font-size: 20px;
  opacity: 0.8;
  margin-right: 8px;
}

/* Utilities */
.text-right {
  text-align: right !important;
}

.mt-30 {
  margin-top: 30px;
}

/* Table Enhancements (Ultra Modern) */
.modern-finance-table {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 2rem;
}

.modern-finance-table thead {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.modern-finance-table th {
  color: #64748b;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 18px 24px;
  border: none;
  vertical-align: middle;
  white-space: nowrap;
}

.modern-finance-table td {
  padding: 16px 24px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: #334155;
  transition: background-color 0.2s ease;
  white-space: nowrap !important;
}

.modern-finance-table tbody tr:hover td {
  background-color: #f8fafc;
}

.modern-finance-table tbody tr:last-child td {
  border-bottom: none;
}

/* Arthiya Details */
.arthiya-info-box {
  display: flex;
  align-items: center;
}

.arthiya-avatar {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-right: 16px;
  box-shadow: 0 2px 4px rgba(253, 230, 138, 0.4);
  border: 1px solid #fef08a;
}

.arthiya-details {
  display: flex;
  flex-direction: column;
}

.arthiya-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 15px;
  letter-spacing: -0.01em;
}

/* Status Pills (Ultra Modern) */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.status-pending {
  background-color: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.status-pending .status-dot {
  background-color: #f59e0b;
  box-shadow: 0 0 4px #fcd34d;
}

.status-success {
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.status-success .status-dot {
  background-color: #22c55e;
  box-shadow: 0 0 4px #86efac;
}

.status-primary {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.status-primary .status-dot {
  background-color: #3b82f6;
  box-shadow: 0 0 4px #93c5fd;
}

.status-danger {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.status-danger .status-dot {
  background-color: #ef4444;
  box-shadow: 0 0 4px #fca5a5;
}

/* Highlights & Actions */
.amount-highlight {
  font-size: 16px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.action-btns {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.action-view {
  color: #475569 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.2s ease !important;
}

.action-view:hover {
  color: #0f172a !important;
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.btn-dark-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  letter-spacing: 0.03em !important;
  transition: all 0.3s ease !important;
  border: 1px solid #172554 !important;
  box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.2), 0 2px 4px -1px rgba(30, 58, 138, 0.1) !important;
}

.btn-dark-blue:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 8px -1px rgba(30, 58, 138, 0.3), 0 4px 6px -1px rgba(30, 58, 138, 0.2) !important;
}

.pos-rel,
.ak-steps-nav>li>a,
.k-acord-seemore,
.k-pstatbox,
.k-pstat,
.k-pop.sticky-footer .modal-content {
  position: relative;
}

.k-table {
  position: static;
}

.pos-abs,
.ak-steps-nav>li.done>a:after,
.k-pstatbox:before,
.k-table-loader {
  position: absolute;
}

.pos-fix {
  position: fixed;
}

.pos-sticky {
  position: sticky;
}

.dis-block {
  display: block;
}

.dis-none {
  display: none;
}

.transition,
.k-acord-title,
.k-acord-head .fa,
.k-pstatbox:before,
.k-pstatbox,
.k-table .dropdown-toggle,
.k-filter-arrow {
  transition: all 0.25s linear;
}

@media (max-width: 580px) {
  .hide-mob {
    display: none !important;
  }
}

@media (max-width: 1179.98px) {
  .hide-tab {
    display: none !important;
  }
}

.k-filters {
  background: #ffffff;
  border: 1px solid #D7D7D7;
  border-radius: 5px;
  margin-bottom: 20px;
}

.k-filter-head {
  color: #1abc9c;
  padding: 10px 15px;
  cursor: pointer;
}

.k-filter-head.active .k-filter-arrow {
  transform: rotate(180deg);
}

.k-filter-arrow {
  color: #3091FF;
  font-size: 25px;
  line-height: 25px;
}

.k-filter-data {
  padding: 0 15px 15px;
  display: none;
}

.k-filter-data .row>div {
  margin-bottom: 1rem !important;
}

.k-table {
  margin: 15px 0;
}

.k-table-search {
  margin-top: 15px;
}

.k-table-searchbox {
  width: 350px;
}

@media (max-width: 580px) {
  .k-table-searchbox {
    width: 100%;
  }
}

.k-table-loader {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.k-table-loader-inner {
  width: 100%;
  height: 100%;
}

.k-table .dropdown-menu {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1060 !important;
}

.k-table .dropdown-menu a {
  font-size: 16px;
  padding: 10px 25px;
}

.k-table .dropdown-menu.table-dropdown-fixed-menu,
.table-responsive .dropdown-menu.table-dropdown-fixed-menu,
.dataTables_wrapper .dropdown-menu.table-dropdown-fixed-menu {
  position: fixed !important;
  transform: none !important;
  margin: 0 !important;
  z-index: 2050 !important;
  max-height: none !important;
  overflow: visible !important;
  animation: tableDropdownPopup 140ms ease-out;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18) !important;
}

@keyframes tableDropdownPopup {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.k-table .dropdown.show .dropdown-toggle {
  background: #3091FF;
}

.k-table .dropdown,
.k-table .dropright,
.dataTables_wrapper .dropdown,
.dataTables_wrapper .dropright {
  position: relative !important;
  z-index: 1050 !important;
}

.k-table .dropdown.show,
.k-table .dropright.show,
.dataTables_wrapper .dropdown.show,
.dataTables_wrapper .dropright.show {
  z-index: 1060 !important;
}

/* ============================================================
   GLOBAL FIX: Bootstrap 4 .dropright  →  Bootstrap 5 .dropend
   Scoped only inside .k-table / .dataTables_wrapper to prevent
   z-index conflicts with the sidebar and other page elements.
   ============================================================ */

/* 1. Hide the caret arrow on both .dropright and .dropend everywhere */
.dropright .dropdown-toggle::after,
.dropend   .dropdown-toggle::after {
  display: none !important;
}

/* 2. Inside tables: position & z-index for both old (.dropright) and new (.dropend) */
.k-table .dropdown,
.k-table .dropright,
.k-table .dropend,
.dataTables_wrapper .dropdown,
.dataTables_wrapper .dropright,
.dataTables_wrapper .dropend {
  position: relative !important;
  z-index: auto !important;   /* let stacking context handle it naturally */
}

/* 3. When the menu is open, raise z-index to clear table rows */
.k-table .dropdown.show,
.k-table .dropright.show,
.k-table .dropend.show,
.dataTables_wrapper .dropdown.show,
.dataTables_wrapper .dropright.show,
.dataTables_wrapper .dropend.show {
  z-index: 1060 !important;
}

/* 4. Position the dropdown-menu to the right for .dropright (Bootstrap 4 shim) */
.k-table .dropright.show > .dropdown-menu,
.k-table .dropright > .dropdown-menu.show,
.dataTables_wrapper .dropright.show > .dropdown-menu,
.dataTables_wrapper .dropright > .dropdown-menu.show {
  top: 0 !important;
  left: 100% !important;
  right: auto !important;
  margin-top: 0 !important;
  transform: none !important;
}

/* 5. Active-state highlight colour on the toggle button */
.k-table .dropdown.show .dropdown-toggle,
.k-table .dropright.show .dropdown-toggle,
.k-table .dropend.show .dropdown-toggle {
  background: #3091FF;
}
/* ============================================================ */

.k-table .dropdown-toggle {
  margin: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #1abc9c;
  display: block;
  line-height: 25px;
  text-align: center;
  text-indent: -1px;
  cursor: pointer;
}

.k-table .dropdown-toggle svg,
.k-table .dropdown-toggle path {
  fill: #ffffff;
}

.k-table label {
  margin-bottom: 0;
}

/* ============================================================
   GLOBAL FIX: Invalid inline style "transform rotate(90deg)"
   All 50+ pages have a typo - missing colon after "transform".
   This CSS rule applies the correct rotation globally so no
   individual HTML file needs to be changed.
   ============================================================ */
.dot_icons svg,
.dot_icons > svg {
  transform: rotate(90deg) !important;
  display: block;
}
/* ============================================================ */

.k-table .table {
  background: #ffffff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #D7D7D7;
  border-top: 0;
}

.k-table .table td:not(:last-child),
.k-table .table th:not(:last-child) {
  border-right: 1px solid #D7D7D7;
}

.k-table .table td.nowhitespace,
.k-table .table th.nowhitespace {
  white-space: nowrap;
}

.k-table .table thead {
  position: sticky;
  top: -2px;
  z-index: 2;
}

.k-table .table thead th,
.k-table .table thead td {
  background: #ffffff;
  color: #000000;
  font-weight: bold !important;
  font-size: 12px;
  text-transform: uppercase;
  padding: 10px;
  vertical-align: top !important;
}

.k-table .table thead.no-whitespace th,
.k-table .table thead.no-whitespace td {
  white-space: nowrap;
}

.k-table .table tbody tr {
  background: #ffffff;
  /*@extend .transition;
   @extend .pos-rel;
  z-index: 1;

  &:hover {
      background: $white;
      box-shadow: 0 0 10px rgba(0,0,0,0.25);
      z-index: 2;
  }*/
}

.k-table .table tbody td {
  font-size: 12px;
  padding: 5px 10px;
  vertical-align: middle;
}

.k-table .table tbody td.dataTables_empty {
  background: #F8FEAF;
  color: #C21B1B;
  font-size: 18px;
  padding: 30px;
  text-align: center;
}

.k-table .table tbody td .table thead td,
.k-table .table tbody td .table thead th {
  background: #f1f1f1 !important;
}

.k-table-head {
  margin-bottom: 15px;
}

.k-table-foot {
  margin-top: 20px;
  margin-bottom: 15px;
}

.k-table-paging {
  font-size: 13px;
  display: flex !important;
  align-items: center;
}

.k-table-paging.justify-content-end {
  justify-content: space-between !important;
}

.k-table-paging>.paginate_button:first-of-type {
  margin-right: 10px;
  border-right: 1px solid #D7D7D7;
}

.k-table-paging>.paginate_button:last-of-type {
  margin-left: 10px;
  border-left: 1px solid #D7D7D7;
}

.k-table-paging .pagination {
  margin-left: 30px;
}

.k-table-paging .pagination li {
  margin: 0 4px;
}

.k-table-paging .pagination li a {
  color: #1abc9c !important;
  background: #ffffff !important;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 5px;
  display: block;
  text-decoration: none !important;
  border: 1px solid #D7D7D7;
  transition: all linear 0.2s;
}

.k-table-paging .pagination li a:hover {
  background: #1abc9c !important;
  color: #ffffff !important;
}

.k-table-paging .pagination li .pagination-page.active {
  background: #3091FF;
  color: #ffffff;
  border-color: #3091FF;
}

.k-table-paging .pagination li:hover a {
  color: #3091FF;
  border-color: #3091FF;
}

.k-table-paging .pagination li.active a {
  background: #3091FF;
  color: #ffffff;
  border-color: #3091FF;
}

.k-table-paging .pagination li:nth-child(2) a,
.k-table-paging .pagination li:nth-child(1) a,
.k-table-paging .pagination li:last-child a,
.k-table-paging .pagination li:nth-last-child(2) a {
  position: relative;
  color: transparent;
  width: 25px;
  overflow: hidden;
}

.k-table-paging .pagination li:nth-child(2) a:before,
.k-table-paging .pagination li:nth-child(1) a:before,
.k-table-paging .pagination li:last-child a:before,
.k-table-paging .pagination li:nth-last-child(2) a:before {
  font: normal normal normal 14px/1 FontAwesome;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1abc9c;
  font-size: 18px;
  font-weight: 600;
}

.k-table-paging .pagination li:nth-child(2) a:before {
  content: "\f104";
}

.k-table-paging .pagination li:nth-last-child(2) a:before {
  content: "\f105";
}

.k-table-paging .pagination li:nth-child(1) a:before {
  content: "\f100";
}

.k-table-paging .pagination li:last-child a:before {
  content: "\f101";
}

.k-table-paging .pagination li.disabled a {
  color: transparent !important;
  pointer-events: none;
  background: #D7D7D7;
  opacity: 0.9;
  background: #D7D7D7 !important;
  cursor: not-allowed !important;
}

.k-table-paging .paginate_button {
  color: #000000;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
}

.k-table-paging .paginate_button.current {
  background: #3091FF;
  color: #ffffff;
  border-color: #3091FF;
}

.k-table-length select,
.k-table-length input,
.k-table-head select,
.k-table-head input {
  border: 1px solid #D7D7D7;
  padding: 5px;
  border-radius: 3px;
}

.k-table-head input {
  margin-left: 10px;
}

.k-table.table-responsive {
  overflow-x: initial !important;
}

@media (max-width: 1025px) {
  .k-table.table-responsive {
    overflow-x: auto !important;
  }
}

.k-table.table-responsive.all {
  overflow-x: auto !important;
}

.k-table-mob .table-responsive {
  overflow-x: unset !important;
}

@media (max-width: 1025px) {
  .k-table-mob .table-responsive {
    overflow-x: auto !important;
  }
}

.k-card {
  background: #ffffff;
  border: 1px solid #D7D7D7;
  border-radius: 3px;
  margin-top: 10px;
}

.k-card .btn {
  padding: 6px 10px !important;
  font-size: 14px;
}

.k-card-head {
  border-bottom: 1px solid #D7D7D7;
  background: #f1f1f1;
  padding: 5px 10px;
  border-radius: 3px 3px 0 0;
}

.k-card-body {
  padding: 15px;
}

.k-card-body .inner:first-child {
  margin-top: 0 !important;
}

.k-card-title {
  font-size: 18px;
  font-weight: 500;
  color: #1abc9c;
  margin: 0;
}

.k-card-action {
  border-top: 1px solid #D7D7D7;
  background: #ffffff;
  padding: 15px;
}

.k-card-action .btn {
  margin-bottom: 0;
}

.k-card.inner {
  border: 0;
  background: transparent !important;
}

.k-card.inner .k-card-title {
  padding-bottom: 5px;
}

.k-card.inner .k-card-head {
  padding-top: 0;
}

.k-card.inner .k-card-head,
.k-card.inner .k-card-body {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.k-note {
  background: #FFC657;
  padding: 15px;
  border-radius: 3px;
  margin-top: 15px;
}

.k-note-title {
  color: #8A4B00;
  font-weight: 500;
  font-size: 14px;
}

.k-note-list {
  font-size: 13px;
}

.k-note-list li {
  margin-top: 10px;
}

.k-pop-header,
.k-pop-footer,
.k-pop-body {
  padding: 30px 30px 0;
}

.k-pop-body,
.k-pop-footer {
  padding-bottom: 30px;
}

.k-pop-header-line {
  height: 2px;
  margin: 0 0 0 20px;
  flex-grow: 1;
  border: 0;
  background: #1abc9c;
}

@media (max-width: 580px) {
  .k-pop-header-line {
    height: 1px;
  }
}

.k-pop-title {
  color: #1abc9c;
  font-size: 20px;
  margin: 0;
}

@media (max-width: 580px) {
  .k-pop-title {
    font-size: 14px;
  }
}

.k-pop.sticky-footer .k-pop-body {
  overflow: auto;
}

.k-pop.sticky-footer .k-pop-footer {
  position: sticky;
  bottom: 0;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.2);
  background: #ffffff;
}

.pos-rel,
.ak-steps-nav>li>a,
.k-acord-seemore,
.k-pstatbox,
.k-pstat,
.k-table,
.k-pop.sticky-footer .modal-content {
  position: relative;
}

.pos-abs,
.ak-steps-nav>li.done>a:after,
.k-pstatbox:before,
.k-table-loader {
  position: absolute;
}

.pos-fix {
  position: fixed;
}

.pos-sticky {
  position: sticky;
}

.dis-block {
  display: block;
}

.dis-none {
  display: none;
}

.transition,
.k-acord-title,
.k-acord-head .fa,
.k-pstatbox:before,
.k-pstatbox,
.k-filter-arrow,
.k-table .dropdown-toggle {
  transition: all 0.25s linear;
}

@media (max-width: 580px) {
  .hide-mob {
    display: none !important;
  }
}

@media (max-width: 1179.98px) {
  .hide-tab {
    display: none !important;
  }
}

.k-pstats {
  margin: 16px 0;
}

.k-pstats .active .k-pstatbox:before {
  opacity: 1;
}

.k-pstats .active .k-pstatbox {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.k-pstats.five .row>div {
  max-width: 20%;
  flex-basis: 20%;
}

@media (max-width: 1179.98px) {
  .k-pstats.five .row>div {
    max-width: 33.33%;
    flex-basis: 33.33%;
  }

  .k-pstats.five .row>div .k-pstatbox {
    margin-top: 16px;
  }
}

@media (max-width: 767.98px) {
  .k-pstats.five .row>div {
    max-width: 50%;
    flex-basis: 50%;
  }
}

@media (max-width: 580px) {
  .k-pstats.five .row>div {
    max-width: 100%;
    flex-basis: 100%;
  }
}

.k-pstatbox {
  background: #ffffff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.11);
  border-radius: 4px;
  padding: 15px;
  cursor: pointer;
  height: 100%;
}

.k-pstatbox:before {
  content: "";
  width: 100%;
  height: 5px;
  top: 100%;
  z-index: 2;
  left: 0;
  border-radius: 0 0 4px 4px;
  opacity: 0;
}

.k-pstatbox.warningbox:before {
  background: #FCB582;
}

.k-pstatbox.successbox:before {
  background: #2FB10F;
}

.k-pstatbox.primarybox:before {
  background: #1abc9c;
}

.k-pstatbox.infobox:before {
  background: #1abc9c;
}

.k-pstatbox.secondarybox:before {
  background: #3091FF;
}

.k-pstatbox:hover {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.k-pstat-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 16px;
  color: #ffffff;
}

.k-pstat-icon.primary {
  background: #1abc9c;
}

.k-pstat-icon.secondary {
  background: #3091FF;
}

.k-pstat-icon.success {
  background: #2FB10F;
}

.k-pstat-icon.warning {
  background: #FCB582;
}

.k-pstat-icon.danger {
  background: #FFDBDB;
}

.k-pstat-text {
  margin: 0;
}

.k-pstat-title {
  color: #5A5A5A;
  font-size: 11px;
}

.k-pstat-value {
  color: #000000;
  font-size: 17px;
}

@media (max-width: 1025px) {
  .k-pstat-value {
    font-size: 14px;
  }
}

.k-acord {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.05);
  margin-top: 16px;
}

.k-acord-head,
.k-acord-body {
  padding: 20px;
}

.k-acord-head {
  cursor: pointer;
}

.k-acord-head .fa {
  color: #1abc9c;
  font-size: 25px;
  font-weight: bold;
}

.k-acord-head2 {
  padding: 20px;
}

.k-acord-head2 .fa {
  opacity: 0;
}

.k-acord-title {
  color: #1abc9c;
  margin: 0;
}

.k-acord-body {
  padding-top: 0;
  display: none;
}

.k-acord-body label {
  color: #878787;
  margin-bottom: 0;
}

.k-acord.show .k-acord-head .fa {
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
}

.k-acord.open {
  /*.k-acord-head {
      pointer-events: none;
  }*/
}

.k-acord.open .k-acord-body {
  display: block !important;
}

.k-acord-seemore-btn {
  color: #1abc9c;
  margin-right: 10px;
  cursor: pointer;
  font-weight: 600;
}

.k-acord-seemore-btn.hidemore {
  display: none;
}

.k-acord-seemore:after {
  content: "";
  height: 1px;
  background: #D7D7D7;
  flex-grow: 1;
  display: block;
}

.k-acord-chart {
  background: #F6F6F6;
  padding: 20px;
  border-radius: 10px;
}

.k-acord-chart-title {
  font-size: 18px;
  color: #3091FF;
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

.ak-panelbox {
  margin-bottom: 16px;
  background: #ffffff;
  border: 1px solid rgba(215, 215, 215, 0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.ak-panelbox .accordion-toggle {
  text-decoration: none;
  padding: 16px;
  display: block;
  color: #000000;
}

.ak-panelbox .accordion-toggle[aria-expanded=true] {
  color: #1abc9c;
}

.ak-panelbox .panel-body {
  padding: 16px;
}

.ak-panelbox .panel-body {
  padding-top: 0;
}

.ak-panelbox .panel-title {
  margin-bottom: 0;
  font-size: 16px;
}

.dot_icons:after,
.dropright .dropdown-toggle::after {
  display: none !important;
}

.ak-wmslist li {
  cursor: pointer;
}

.ak-wmslist li:hover {
  border-color: #1abc9c !important;
}

.ak-wmslist li:hover a {
  color: #1abc9c;
}

.ak-millname {
  font-size: 36px;
  color: #1abc9c;
  margin-bottom: 20px;
}

.ak-agname {
  font-size: 28px;
  color: #1abc9c;
}

.ak-timer {
  margin-top: -3px;
}

.ak-timer tr.text-center {
  display: none !important;
}

.ak-applist li {
  padding-top: 8px;
}

.ak-applist li:not(:last-child) {
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.ak-steps-nav {
  display: flex;
}

.ak-steps-nav>li {
  flex: 1;
}

.ak-steps-nav>li>a {
  display: flex;
  flex-direction: column;
  padding: 15px;
  margin: 0 1px;
  background: #ffffff;
  border-bottom: 3px solid #ffffff;
  color: #6c757d !important;
  height: 100%;
}

.ak-steps-nav>li .fa {
  font-size: 24px;
  margin-bottom: 8px;
  color: #1abc9c;
}

.ak-steps-nav>li .stepper_count {
  display: none;
}

.ak-steps-nav>li.active>a {
  color: #1abc9c !important;
  border-color: #1abc9c !important;
  border-bottom: 2px solid #1abc9c !important;
}

.ak-steps-nav>li.done>a {
  background: rgba(47, 177, 15, 0.05);
  border-color: #2FB10F !important;
}

.ak-steps-nav>li.done>a:after {
  content: "Completed";
  bottom: 2px;
  left: 15px;
  font-size: 10px;
  color: #2FB10F;
}

.ak-steps-nav>li.done .fa {
  color: #2FB10F;
}

.ak-gpass-detail .table tr {
  padding-top: 10px;
  padding-bottom: 10px;
}

.ak-gpass-detail .table tr:not(:last-of-type) {
  border-bottom: 1px solid #D7D7D7;
}

.ak-issue {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ak-issue--for {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ak-issue--link {
  color: #1abc9c;
  cursor: pointer;
}

.ak-issue--link:is(:hover) {
  text-decoration: underline;
}

.ak-field-con {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.ak-field-con button,
.ak-field-con input,
.ak-field-con optgroup,
.ak-field-con select,
.ak-field-con textarea:focus-visible {
  outline: none;
}

.ak-field-label {
  font-size: 12px;
  margin-bottom: 0;
  color: #3b3b3b;
}

.ak-field-input {
  color: #2a2a2a;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 5px 5px 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.ak-field-input-plaintext {
  color: #2a2a2a;
  font-size: 14px;
  font-weight: 500;
  background-color: transparent;
  border: solid transparent;
  border-width: 1px 0;
  padding: 5px 5px 5px 0px !important;
}

.akcaptcha-img {
  max-height: 36px;
  border-radius: 6px;
}

.ak-btn-con {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.k-mselect {
  border: 1px solid #1abc9c;
  border-radius: 3px;
}

.k-mselect .dropdown-toggle {
  padding: 5px 10px;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.k-mselect .dropdown-menu {
  padding: 10px;
  font-size: 13px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.k-mselect .dropdown-menu li a {
  display: block;
  padding-left: 0;
}

.k-mselect .dropdown-header {
  padding-left: 0;
  padding-right: 0;
}

.mlr {
  font-size: 13px;
}

.mlr .GateBtn {
  position: relative;
}

.mlr .GateBtn input.btn-light {
  position: relative;
}

.mlr .GateBtn .mlr-date-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}

.mlr-bg-sky-lt {
  background-color: #EDFFE4;
}

.mlr-text-gray-lt {
  color: #505961;
}

.mlr-content {
  margin: 15px 0;
}

.mlr-btn-plain {
  color: #008ADD;
  font-size: 13px;
  font-weight: 400;
}

.mlr-btn-plain:hover {
  font-weight: 600;
  color: #008ADD;
  text-decoration: none;
}

.mlr-btn-plain i {
  font-size: 13px;
}

.mlr-btn-plain-gray {
  color: #505961;
  font-size: 13px;
  font-weight: 400;
}

.mlr-btn-plain-gray:hover {
  font-weight: 600;
  color: #505961;
  text-decoration: none;
}

.mlr-btn-plain-gray i {
  font-size: 13px;
}

.mlr .k-card.mlr-block {
  height: 100%;
  border: none;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.06);
}

.mlr .k-card-body .mlr-title {
  color: #0A2434;
  font-size: 15px;
  font-weight: 600;
}

.mlr .k-card-body .mlr-text {
  color: #505961;
  font-size: 13px;
  font-weight: 500;
}

.mlr .k-card-body .mlr-text-dark {
  color: #0A2434;
  font-size: 13px;
  font-weight: 600;
}

.mlr .k-card-body .mlr-amount {
  color: #25BD9E;
  font-size: 32px;
  font-weight: 700;
}

@media (max-width: 580px) {
  .mlr .k-card-body .mlr-amount {
    font-size: 26px;
  }
}

.mlr .k-card-body .mlr-amount-icon {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  background-color: #F6FDFB;
  border-radius: 100%;
  width: 100px;
  height: 100px;
  display: flex;
  vertical-align: middle;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
}

.mlr .k-card-body .mlr-amount-icon i {
  font-size: 30px;
  color: #25BD9E;
}

@media (max-width: 580px) {
  .mlr .k-card-body .mlr-amount-icon {
    width: 40px;
    height: 40px;
  }
}

.mlr .k-card-body .mlr-amt-btn {
  position: absolute;
  bottom: 26px;
}

@media (max-width: 580px) {
  .mlr .k-card-body .mlr-amt-btn {
    position: relative;
    bottom: 0;
  }
}

.mlr-notif--con {
  max-height: 107px;
  overflow-y: auto;
}

.mlr-notif--con .alert {
  padding: 10px;
  color: #505961;
}

.mlr-notif--con .alert i {
  color: #FFC107;
}

.mlr-acc--con .mlr-title {
  color: #0A2434;
  font-size: 15px;
  font-weight: 600;
}

.mlr-acc--con .mlr-text {
  color: #505961;
  font-size: 13px;
  font-weight: 500;
}

.mlr-acc--con .mlr-text-dark {
  color: #0A2434;
  font-size: 13px;
  font-weight: 600;
}

.mlr .card-header {
  color: #505961;
  font-size: 15px;
  font-weight: 500;
  padding: 15px;
  background-color: #ffffff;
}

.mlr .card-header .btn {
  text-transform: capitalize;
  color: #505961;
}

.mlr-statusbar {
  position: relative;
  margin: 20px 0;
  width: 100%;
}

.mlr-statusbar ul {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 5px;
  padding-left: 0;
}

.mlr-statusbar ul li {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mlr-statusbar ul li:last-child .mlr-statusbar-icon::after {
  display: none;
}

.mlr-statusbar-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mlr-statusbar-icon {
  color: #505961;
  font-size: 18px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.mlr-statusbar-icon::after {
  content: "";
  display: block;
  background-color: #505961;
  width: 100%;
  height: 2px;
  border-radius: 5px;
  flex-grow: 1;
}

.mlr-statusbar-icon i.fa.fa-check-circle {
  color: #2FB10F;
}

.mlr-statusbar-icon i.fa.fa-circle-o {
  color: #2FB10F;
}

.mlr-statusbar-icon i.fa.fa-circle-thin {
  color: #505961;
}

.mlr-btn-icon {
  font-size: 13px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  text-transform: capitalize !important;
}

.mlr-pay-block {
  border: 1px solid #F0F0F0;
}

.mlr-pay-block .mlr-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mlr-pay-block .mlr-content h4 {
  margin-bottom: 0;
}

.mlr-pay-block .mlr-title {
  font-size: 15px;
  font-weight: 700;
}

.mlr-pay-block .mlr-text {
  color: #A8A8A8;
  font-size: 13px;
  font-weight: 400;
}

.mlr-pay-block .mlr-text-value {
  color: #25BD9E;
  font-size: 16px;
  font-weight: 600;
}

.mlr-qan-chart-con {
  width: 500px;
  height: 200px;
}

@media (max-width: 580px) {
  .mlr-qan-chart-con {
    width: 250px;
    height: 200px;
  }
}

.mlr-chart-legends {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.mlr-chart-legends .mlr-legend-lq {
  width: 100%;
  padding: 20px;
  color: #C23531;
  background-color: #F9EBEA;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mlr-chart-legends .mlr-legend-lq .mlr-legend-value {
  color: #C23531;
  font-size: 18px;
  font-weight: 700;
}

.mlr-chart-legends .mlr-legend-lq .mlr-legend-text {
  color: #505961;
  font-size: 13px;
  font-weight: 500;
}

.mlr-chart-legends .mlr-legend-aq {
  width: 100%;
  padding: 15px;
  color: #2F4554;
  background-color: #EAECEE;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mlr-chart-legends .mlr-legend-aq .mlr-legend-value {
  color: #2F4554;
  font-size: 18px;
  font-weight: 700;
}

.mlr-chart-legends .mlr-legend-aq .mlr-legend-text {
  color: #505961;
  font-size: 13px;
  font-weight: 500;
}

.mlr-alot-table tr td {
  color: #1F1F1F;
  border-top: 1px dashed #F0F0F0;
}

.mlr-alot-table tr td:last-child {
  font-weight: 700;
  text-align: right;
}

.mlr-alot-table tr:first-child td {
  border-top: none;
}

.mlr-alot-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mlr-alot-icon i {
  color: #ffffff;
  font-size: 12px;
}

.mlr-alot-icon.mlr-orange-bg {
  background: linear-gradient(180deg, #FCB582 0%, rgba(252, 181, 130, 0.55) 100%);
}

.mlr-alot-icon.mlr-olive-bg {
  background: linear-gradient(180deg, #1ABC9C 0%, rgba(26, 188, 156, 0.54) 100%);
}

.mlr-alot-icon.mlr-navy-bg {
  background: linear-gradient(180deg, #869FB2 0%, rgba(134, 159, 178, 0.54) 100%);
}

.mlr-accordion .card {
  margin-top: 15px;
}

@media (max-width: 580px) {
  .mlr-accordion .card {
    margin-top: 10px;
  }
}

.mlr-accordion .card .btn.focus,
.mlr-accordion .card .btn:focus {
  outline: 0;
  box-shadow: none;
}

.mlr-frk-tabs ul.mlr-tab {
  background-color: #f8f8f8;
  border-radius: 5px;
  border: 1px solid #F0F0F0;
  padding: 10px;
  gap: 10px;
}

.mlr-frk-tabs ul.nav-pills .nav-item {
  flex-grow: 1;
}

.mlr-frk-tabs ul.nav-pills .nav-item .nav-link {
  color: #008ADD;
  background-color: #f8f8f8;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  border: 0;
  width: 100%;
}

.mlr-frk-tabs ul.nav-pills .nav-item .nav-link .nav-sm-text {
  color: #1F1F1F;
  font-size: 13px;
  font-weight: 400;
}

.mlr-frk-tabs ul.nav-pills .nav-item .nav-link.active {
  color: #008ADD;
  background-color: #ffffff;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  border: 0;
  width: 100%;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.08);
}

.mlr-frk-tabs ul.nav-pills .nav-item .nav-link.active .nav-sm-text {
  color: #1F1F1F;
  font-size: 13px;
  font-weight: 400;
}

.dumping {
  font-size: 13px;
}

.dumping-blue-bg {
  background-color: #EDFFE4;
}

.dumping-text-blue {
  color: #008ADD;
}

.dumping-warn-bg {
  background-color: #FFF3CD;
}

.dumping-text-warn {
  color: #FFC107;
}

.dumping-success-bg {
  background-color: #EDFFE4;
}

.dumping-text-success {
  color: #41D400;
}

.dumping-danger-bg {
  background-color: #FFDCDC;
}

.dumping-text-danger {
  color: #FF3D3D;
}

.dumping button.dumping-btn-success {
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  background-color: #41D400;
  border-radius: 5px;
  text-transform: capitalize;
}

.dumping button.dumping-btn-success:hover {
  border: 1px solid #41D400;
}

.dumping .GateBtn {
  position: relative;
}

.dumping .GateBtn .btn-light {
  text-transform: capitalize;
}

.dumping .btn-primary-outline {
  background-color: #ffffff;
  color: #25BD9E;
  border: 1px solid #25BD9E;
  border-radius: 5px;
  text-transform: capitalize;
  white-space: nowrap;
}

.dumping .btn-primary-outline:hover {
  background-color: #25BD9E;
  color: #ffffff;
  border: 1px solid #25BD9E;
  border-radius: 5px;
}

.dumping-advfilter-con {
  background-color: #F0F0F0;
  border-radius: 5px;
  padding: 20px;
}

.dumping-main-tabs ul.dumping-tab {
  background-color: #1abc9c;
  border-radius: 5px 5px 0 0;
  border: 1px solid #F0F0F0;
  padding: 10px;
  gap: 10px;
}

.dumping-main-tabs ul.nav-pills .nav-item {
  flex-grow: 1;
}

.dumping-main-tabs ul.nav-pills .nav-item .nav-link {
  color: #d5fcf4;
  background-color: transparent;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  border: 0;
  width: 100%;
}

.dumping-main-tabs ul.nav-pills .nav-item .nav-link .dumping-icon-con {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dumping-main-tabs ul.nav-pills .nav-item .nav-link .dumping-icon-con i {
  font-size: 20px;
}

.dumping-main-tabs ul.nav-pills .nav-item .nav-link .dumping-count-val {
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  margin-left: 5px;
}

.dumping-main-tabs ul.nav-pills .nav-item .nav-link.active {
  color: #1F1F1F;
  background-color: #ffffff;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  border: 0;
  width: 100%;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.08);
}

.dumping-main-tabs ul.nav-pills .nav-item .nav-link.active .nav-sm-text {
  color: #1F1F1F;
  font-size: 13px;
  font-weight: 400;
}

.dumping-main-tabs .tab-content {
  background-color: #ffffff;
  padding: 16px;
}

.dumping-main-tabs .tab-content .k-table-head {
  position: relative;
}

.dumping-main-tabs .tab-content .k-table-head .dataTables_filter {
  position: relative;
}

.dumping-main-tabs .tab-content .k-table-head .dataTables_filter label {
  display: none;
}

.dumping-main-tabs .tab-content .k-table-head .dataTables_filter label input[type=search] {
  border-radius: 5px;
  padding: 10px 15px 10px 45px;
}

.dumping-main-tabs .tab-content .dumping-dt {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media (max-width: 580px) {
  .dumping-main-tabs .tab-content .dumping-dt {
    flex-direction: column;
  }
}

.dumping-main-tabs .tab-content .dumping-dt-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.dumping-main-tabs .tab-content .dumping-dt-action-con {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  z-index: 1;
}

@media (max-width: 580px) {
  .dumping-main-tabs .tab-content .dumping-dt-action-con {
    gap: 6px;
  }
}

.dumping-main-tabs .tab-content .dumping-dt-action-con .dumping-dt-search {
  border: 1px solid #A8A8A8;
  border-radius: 5px;
  padding: 6px 15px 6px 45px;
}

.dumping-main-tabs .tab-content .dumping-dt-action-con .dumping-dt-search-con {
  position: relative;
}

.dumping-main-tabs .tab-content .dumping-dt-action-con .dumping-dt-search-con::after {
  content: "\f002";
  position: absolute;
  left: 10%;
  top: 34%;
  transform: translate(-34%, -30%);
  font-size: 16px;
  font-family: "FontAwesome";
  display: flex;
  color: #A8A8A8;
}

.dumping-main-tabs .tab-content .dumping-acn-btn {
  background-color: #ffffff;
  border: 1px solid #A8A8A8;
  border-radius: 100%;
  color: #505961;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  text-decoration: none;
}

.dumping-main-tabs .tab-content .dumping-acn-btn i {
  color: #505961;
}

@media (max-width: 580px) {
  .dumping-main-tabs .tab-content .dumping-acn-btn {
    font-size: 14px;
    width: 35px;
    height: auto;
    padding: 10px;
  }
}

.dumping-main-tabs .tab-content .dumping-accordion {
  cursor: pointer;
}

.dumping-main-tabs .tab-content .dumping-accordion .d-table-row {
  display: table-row;
}

.dumping-main-tabs .tab-content .dumping-accordion-con {
  background-color: #FAFCFF;
  display: none;
}

.dumping-main-tabs .tab-content .dumping-accordion-btn input[type=checkbox] {
  display: none;
}

.dumping-main-tabs .tab-content .dumping-accordion-btn:has(input[type=checkbox]) .dumping-accordion-input::after {
  content: "\f0da";
  display: block;
  font-family: "FontAwesome";
  font-size: 26px;
  line-height: 1px;
}

.dumping-main-tabs .tab-content .dumping-accordion-btn input[type=checkbox]:checked+.dumping-accordion-input::after {
  content: "\f0d7";
  display: block;
  font-family: "FontAwesome";
  font-size: 26px;
  line-height: 1px;
}

.dumping-main-tabs .tab-content .dumping-accordion-btn input[type=checkbox]:checked+tr:has(.dumping-accordion-con) {
  display: block;
}

.dumping-main-tabs .tab-content .vtable.sub-table {
  position: relative;
  top: 130%;
  left: 0;
  width: 100%;
  padding: 20px;
  background-color: #FAFCFF;
  border: 1px solid #ddd;
}

.dumping-main-tabs .tab-content .vtable.sub-table tr {
  position: relative;
}

.dumping-main-tabs .tab-content .vtable.sub-table tr th {
  background-color: #E9EBF5;
  color: #1F1F1F;
  font-size: 12px;
  font-weight: 500;
}

.dumping-main-tabs .tab-content .vtable.sub-table tr th a i {
  color: #1F1F1F;
}

.dumping-main-tabs .tab-content .vtable.sub-table tr td {
  color: #505961;
  font-size: 12px;
  font-weight: 400;
}

.dumping-main-tabs .tab-content .vtable.sub-table tr td .dump-badge-success {
  border: 1px solid #2FB10F;
  color: #2FB10F;
  border-radius: 20px;
  text-align: center;
  padding: 6px 10px;
  background-color: #EDFFE4;
}

.dumping-main-tabs .tab-content .vtable.sub-table tr td .dump-badge-success::before {
  content: "\f00c";
  margin-right: 5px;
  font-family: "FontAwesome";
  font-size: 12px;
}

.dumping-main-tabs .tab-content .vtable.sub-table tr td .dump-badge-danger {
  border: 1px solid #D40C0C;
  color: #D40C0C;
  border-radius: 20px;
  text-align: center;
  padding: 6px 10px;
  background-color: #FFDBDB;
}

.dumping-main-tabs .tab-content .vtable.sub-table tr td .dump-badge-danger::before {
  content: "\f00d";
  margin-right: 5px;
  font-family: "FontAwesome";
  font-size: 12px;
}

.dumping-main-tabs .tab-content .vtable.sub-table tr td .dump-badge-primary {
  border: 1px solid #008ADD;
  color: #008ADD;
  border-radius: 20px;
  text-align: center;
  padding: 6px 10px;
  background-color: #F1F5F9;
}

.dumping-main-tabs .tab-content .vtable.sub-table tr td .dump-badge-primary::before {
  content: "\f017";
  margin-right: 5px;
  font-family: "FontAwesome";
  font-size: 12px;
}

@media (max-width: 580px) {
  .dumping-table-con {
    overflow: auto;
  }
}

.dumping-table-con .vdt-pagination {
  display: flex;
  justify-content: flex-end;
}

.dumping-table-con .vdt-pagination .k-table-paging a {
  text-decoration: none;
}

.dumping-table-con .vdt-pagination .k-table-paging a.paginate_button {
  color: #1F1F1F;
}

.dumping-table-con .vdt-pagination .k-table-paging a.paginate_button.current {
  background: #F0F0F0;
  color: #1F1F1F;
  border-color: #1F1F1F;
}

.dumping-table-con .vdt-pagination .k-table-paging a.paginate_button.previous {
  border-right: 0;
}

.dumping-table-con .vdt-pagination .k-table-paging a.paginate_button.previous::before {
  content: "\f104";
  font-family: "Fontawesome";
  margin-right: 5px;
}

.dumping-table-con .vdt-pagination .k-table-paging a.paginate_button.next {
  border-left: 0;
}

.dumping-table-con .vdt-pagination .k-table-paging a.paginate_button.next::after {
  content: "\f105";
  font-family: "Fontawesome";
  margin-left: 5px;
}

.dumping-table-con .dumping-dtaccordion .sorting .dumping-collapse-con::after {
  content: "\f07d";
  font-family: "Fontawesome";
  color: #505961;
}

.dumping-table-con .dumping-dtaccordion .sorting_asc .dumping-collapse-con::after {
  content: "\f0d7";
  font-family: "Fontawesome";
  color: #505961;
}

.dumping-table-con .dumping-dtaccordion .sorting_desc .dumping-collapse-con::after {
  content: "\f0de";
  font-family: "Fontawesome";
  color: #505961;
}

.dumping-table-con .dumping-dtaccordion tr th .dumping-collapse-con::after {
  content: "\f07d";
  font-family: "Fontawesome";
  color: #505961;
}

.dumping-table-con .dumping-dtaccordion tr tbody .ng-scope.odd th .dumping-collapse-con::after {
  content: "\f0d7";
  font-family: "Fontawesome";
  color: #505961;
}

.dumping-table-con .dumping-dtaccordion tr tbody .ng-scope.even th .dumping-collapse-con::after {
  content: "\f0de";
  font-family: "Fontawesome";
  color: #505961;
}

.dumping-table-con .vtable tr+input[type=checkbox]:checked tr:has(.dumping-accordion-con) {
  background-color: red;
  display: block;
}

.dumping-table-con .dumping-collapse-con {
  position: relative;
  white-space: nowrap;
}

.dumping-table-con .dumping-collapse-con .dumping-collapse-btn {
  color: #505961;
}

.dumping-table-con .dumping-collapse-con .dumping-collapse-btn+.dumping-collapse {
  position: absolute !important;
  width: 250px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
}

.dumping-table-con .dumping-collapse-con .dumping-collapse-btn+.dumping-collapse .k-card {
  background: #ffffff;
  border: 1px solid #D7D7D7;
  border-radius: 3px;
  margin-top: 10px;
}

.dumping-table-con .dumping-collapse-con .dumping-collapse-btn+.dumping-collapse .k-card-header {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #F0F0F0;
}

.dumping-table-con .dumping-collapse-con .dumping-collapse-btn+.dumping-collapse .k-card-header h5 {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
}

.dumping-table-con .dumping-collapse-con .dumping-collapse-btn+.dumping-collapse .k-card-body {
  padding: 15px;
}

.dumping-table-con .dumping-collapse-con .dumping-collapse-btn+.dumping-collapse .k-card-footer {
  padding: 10px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  border-top: 1px solid #F0F0F0;
}

.dumping-table-con .dumping-collapse-con:last-child .dumping-collapse-btn+.dumping-collapse {
  left: unset;
}

.dumping-collapse {
  position: absolute !important;
  width: 250px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
}

.dumping-collapse .k-card {
  background: #ffffff;
  border: 1px solid #D7D7D7;
  border-radius: 3px;
  margin-top: 10px;
}

.dumping-collapse .k-card-header {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #F0F0F0;
}

.dumping-collapse .k-card-header h5 {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
}

.dumping-collapse .k-card-body {
  padding: 15px;
}

.dumping-collapse .k-card-footer {
  padding: 10px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  border-top: 1px solid #F0F0F0;
}

.dumping-collapse .k-card-footer .btn {
  cursor: pointer;
}

.dumping .dataTables_empty {
  text-align: center;
}

.dumping-accordion-btn {
  color: #1F1F1F;
}

.dumping-accordion-btn input.dumping-accordion-input:checked+.dumping-accordion-con {
  display: block;
}

.dumping-accordion-con table thead tr th {
  background-color: #A8A8A8;
  color: #1F1F1F;
  font-size: 12px;
  font-weight: 500;
}

.dumping-accordion-con table tbody tr td {
  background-color: #ffffff;
  color: #505961;
  font-size: 11px;
  font-weight: 400;
}

.dumping-add-form .dumping-form-sec-head {
  font-size: 13px;
  font-weight: 500;
  color: #1F1F1F;
  margin-bottom: 0;
}

.dumping-add-form .form-group label.vlabel {
  font-size: 13px !important;
  font-weight: 400;
  color: #505961;
}

.dumping-add-form .form-group input.v-input,
.dumping-add-form .form-group select.v-input {
  border-radius: 5px !important;
  border: 1px solid #ddd;
  background-color: #ffffff;
}

.dumping-add-form .form-group .input-group {
  border-radius: 5px;
  border: 1px solid #ddd;
  background-color: #ffffff;
}

.dumping-add-form .form-group .input-group input {
  border: 0;
  background-color: #ffffff;
}

.dumping-add-form .form-group .input-group .input-group-btn .fa {
  color: #A8A8A8;
}


/* =============================================================================
   Enterprise UI/UX Overrides - Modern ERP Design System
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. Premium Buttons (.btn + variants)
   ----------------------------------------------------------------------------- */
.btn,
.eKharid-content .btn,
.k-card .btn,
.tb-heading-box .btn {
  font-family: var(--ds-font, "Inter", -apple-system, sans-serif);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.4;
  border-radius: var(--ds-radius, 8px);
  padding: 0.5rem 1.25rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  cursor: pointer;
  vertical-align: middle;
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: none;
}

.btn:focus,
.btn.focus {
  outline: none;
  box-shadow: var(--ds-focus-ring, 0 0 0 3px rgba(37, 99, 235, 0.25));
}

.btn:disabled,
.btn.disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* Primary Button */
.btn-primary {
  background-color: var(--ds-primary, #2563eb) !important;
  border-color: var(--ds-primary, #2563eb) !important;
  color: #fff !important;
  box-shadow: 0 2px 4px -1px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--ds-primary-hover, #1d4ed8) !important;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.4);
}

/* Secondary / Default Button */
.btn-secondary,
.btn-default {
  background-color: #fff !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover:not(:disabled),
.btn-default:hover:not(:disabled) {
  background-color: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

/* Success Button */
.btn-success {
  background-color: var(--ds-success, #10b981) !important;
  border-color: var(--ds-success, #10b981) !important;
  color: #fff !important;
  box-shadow: 0 2px 4px -1px rgba(16, 185, 129, 0.4);
}

.btn-success:hover:not(:disabled) {
  background-color: #059669 !important;
}

/* Danger Button */
.btn-danger {
  background-color: var(--ds-danger, #ef4444) !important;
  border-color: var(--ds-danger, #ef4444) !important;
  color: #fff !important;
  box-shadow: 0 2px 4px -1px rgba(239, 68, 68, 0.4);
}

.btn-danger:hover:not(:disabled) {
  background-color: #dc2626 !important;
}

/* Warning Button */
.btn-warning {
  background-color: var(--ds-warning, #f59e0b) !important;
  border-color: var(--ds-warning, #f59e0b) !important;
  color: #fff !important;
}

.btn-warning:hover:not(:disabled) {
  background-color: #d97706 !important;
}

/* Outline Buttons */
.btn-outline-primary {
  background-color: transparent !important;
  border-color: var(--ds-primary, #2563eb) !important;
  color: var(--ds-primary, #2563eb) !important;
  box-shadow: none;
}

.btn-outline-primary:hover:not(:disabled) {
  background-color: rgba(37, 99, 235, 0.08) !important;
}

/* Specific Action Icon Buttons */
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* -----------------------------------------------------------------------------
   2. Form Controls & Inputs (Enterprise Standard)
   ----------------------------------------------------------------------------- */
.form-control,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="date"],
select:not([multiple]),
textarea {
  font-family: var(--ds-font, "Inter", sans-serif);
  font-size: 0.875rem;
  color: var(--ds-text, #0f172a);
  background-color: #fff;
  border: 1px solid var(--ds-border, #cbd5e1);
  border-radius: var(--ds-radius, 8px);
  min-height: 42px;
  padding: 0.5rem 0.875rem;
  width: 100%;
  transition: all 0.2s ease-in-out;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-control:hover,
select:not([multiple]):hover,
input:hover,
textarea:hover {
  border-color: #94a3b8;
}

.form-control:focus,
select:not([multiple]):focus,
input:focus,
textarea:focus {
  border-color: var(--ds-primary, #2563eb) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
  outline: none !important;
  background-color: #fff !important;
}

.form-control:disabled,
.form-control[readonly],
input:disabled,
input[readonly],
select:disabled,
textarea:disabled {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  cursor: not-allowed;
  box-shadow: none;
}

/* Select2 / Custom Dropdowns */
.select2-container .select2-selection--single {
  height: 42px !important;
  border: 1px solid var(--ds-border, #cbd5e1) !important;
  border-radius: var(--ds-radius, 8px) !important;
  background-color: #fff !important;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px !important;
  padding-left: 0.875rem !important;
  font-size: 0.875rem;
  color: #0f172a !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px !important;
  right: 6px !important;
}

.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single {
  border-color: var(--ds-primary, #2563eb) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
}

/* Checkbox & Radio Buttons */
input[type="checkbox"],
input[type="radio"] {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--ds-primary, #2563eb);
  cursor: pointer;
  vertical-align: middle;
  margin-top: -2px;
}

/* Input Groups */
.input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-btn .btn,
.input-group-append .btn,
.input-group-text {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Validation States */
.form-control.is-invalid,
.has-error .form-control,
.input-validation-error {
  border-color: var(--ds-danger, #ef4444) !important;
  background-image: none;
}

.form-control.is-invalid:focus,
.has-error .form-control:focus,
.input-validation-error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
}

.text-danger,
.field-validation-error,
.help-block.text-danger {
  color: var(--ds-danger, #ef4444) !important;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* Fix for required asterisk inside labels */
label .text-danger {
  display: inline-block;
  margin-top: 0;
  margin-left: 4px;
  font-size: 1.25em;
  font-weight: 900;
  line-height: 0.5;
  vertical-align: middle;
}

/* -----------------------------------------------------------------------------
   3. Labels & Typography
   ----------------------------------------------------------------------------- */
label,
.form-label,
.control-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.375rem;
  display: inline-block;
  letter-spacing: 0.01em;
}

label.required:after,
label.is-required:after,
.form-label.required:after,
.form-group.required .control-label:after {
  content: " *";
  color: var(--ds-danger, #ef4444);
  font-weight: 700;
}

/* -----------------------------------------------------------------------------
   4. Filter & Search Sections (Cards)
   ----------------------------------------------------------------------------- */
.filter-section,
.k-filters,
.k-card,
.pro-card,
.search-card,
.dumping-advfilter-con,
.ek-card,
.ek-cards {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  transition: box-shadow 0.2s ease;
}

.filter-section:hover,
.k-card:hover,
.pro-card:hover,
.ek-card:hover,
.ek-cards:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

.filter-header,
.k-card-head,
.card-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  margin: -1.25rem -1.25rem 1.25rem -1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 12px 12px 0 0;
  font-weight: 700;
  color: #0f172a;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Filter Grid (Responsive) */
.filter-grid,
.k-filter-data .row,
.filter-section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
  /* Align bottoms for inputs & buttons */
}

.filter-grid>div,
.k-filter-data .row>div,
.filter-section .row>div {
  margin-bottom: 0 !important;
  flex: 0 1 220px;
  max-width: 280px;
}

.filter-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .filter-actions {
    width: 100%;
  }

  .filter-actions .btn {
    flex: 1;
  }
}

/* -----------------------------------------------------------------------------
   5. Modern Tables & Datatables
   ----------------------------------------------------------------------------- */
.table,
.k-table .table,
.dataTable {
  font-size: 0.875rem;
  color: var(--ds-text, #0f172a);
  width: 100% !important;
  margin-bottom: 1rem;
  background: #fff;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: visible;
}

.table thead th,
.k-table .table thead th,
.dataTable thead th {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  border-top: none;
  padding: 14px 16px;
  white-space: nowrap;
  text-align: left;
}

.table tbody tr,
.dataTable tbody tr {
  transition: background-color 0.15s ease;
}

.table tbody tr:hover,
.dataTable tbody tr:hover {
  background-color: #f1f5f9 !important;
}

.table td,
.k-table .table td,
.dataTable td {
  padding: 12px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #e2e8f0;
  border-top: none;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* Single source of truth for Table Responsive & DataTables Scroll */
.table-responsive,
.k-table.table-responsive,
.dataTables_wrapper,
.ds-card-container {
  display: block;
  width: 100%;
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  background: #fff;
  border: 1px solid #e2e8f0;
}

.table-responsive .table {
  border: none;
  margin-bottom: 0;
}

/* Custom Scrollbar for wide tables */
.table-responsive::-webkit-scrollbar,
.dataTables_wrapper::-webkit-scrollbar,
.tb-table-wrapper::-webkit-scrollbar,
.k-table::-webkit-scrollbar {
  height: 8px;
}

.table-responsive::-webkit-scrollbar-thumb,
.dataTables_wrapper::-webkit-scrollbar-thumb,
.tb-table-wrapper::-webkit-scrollbar-thumb,
.k-table::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover,
.dataTables_wrapper::-webkit-scrollbar-thumb:hover,
.tb-table-wrapper::-webkit-scrollbar-thumb:hover,
.k-table::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.table-responsive::-webkit-scrollbar-track,
.dataTables_wrapper::-webkit-scrollbar-track,
.tb-table-wrapper::-webkit-scrollbar-track,
.k-table::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 10px;
}

/* Empty Table State (Modernize Yellow/Red) */
.table tbody td.dataTables_empty,
.k-table .table tbody td.dataTables_empty,
.dumping .dataTables_empty {
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: 0.875rem !important;
  font-weight: 500;
  padding: 2.5rem 1.5rem !important;
  text-align: center;
  border-radius: 8px;
  border: 1px dashed #cbd5e1 !important;
}

/* -----------------------------------------------------------------------------
   6. Modals & Popups (Premium Glassmorphism)
   ----------------------------------------------------------------------------- */
/* Modal Backdrop Overlay */
.modal-backdrop.show,
.modal-backdrop.in {
  opacity: 0.65 !important;
  background-color: #0f172a !important;
  backdrop-filter: blur(8px);
}

/* Modal Content Container */
.modal-content {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 24px !important;
  box-shadow:
    0 25px 50px -12px rgba(15, 23, 42, 0.25),
    0 10px 15px -3px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  overflow: hidden;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease-in-out;
}

/* Open Animation */
.modal.show .modal-content,
.modal.in .modal-content {
  transform: scale(1);
  opacity: 1;
}

/* Header & Title (Enforcing Option A - Seamless Minimalist Glassmorphism) */
.modal-header,
.k-pop-header,
.modal-content .k-pop-header.d-flex.align-items-center {
  background: rgba(255, 255, 255, 0.4) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  padding: 1.5rem 1.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  z-index: 2 !important;
  border-radius: 24px 24px 0 0 !important;
  box-shadow: none !important;
}

/* Header Title (Slate Dark Elegance) */
.modal-title,
.k-pop-title,
.modal-content .k-pop-title {
  font-weight: 800 !important;
  color: #0f172a !important;
  font-size: 1.35rem !important;
  letter-spacing: -0.02em !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #0f172a !important;
  margin: 0 !important;
  padding-right: 40px !important;
  /* Prevent text overlap with close button */
  flex: 1 !important;
  /* Take up available space */
  text-transform: none !important;
  /* Prevent legacy forced uppercase */
  line-height: 1.2 !important;
}

/* Close Button in Header */
.modal-header .close,
.k-pop-header .close,
.modal-content .k-pop-header .close {
  position: absolute !important;
  right: 1.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: 1 !important;
  background: rgba(15, 23, 42, 0.05) !important;
  color: #64748b !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  text-shadow: none !important;
  transition: all 0.25s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  cursor: pointer !important;
  outline: none !important;
  z-index: 3 !important;
}

.modal-header .close:hover,
.k-pop-header .close:hover,
.modal-content .k-pop-header .close:hover {
  background: #ef4444 !important;
  color: #fff !important;
  transform: translateY(-50%) rotate(90deg) !important;
}

/* Body */
.modal-body,
.k-pop-body {
  padding: 1.75rem !important;
  position: relative;
  z-index: 2;
}

/* Footer (Removing Legacy Solid Borders/Colors) */
.modal-footer,
.k-pop-footer,
.modal-content .k-pop-footer {
  background: rgba(248, 250, 252, 0.4) !important;
  border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
  padding: 1.25rem 1.75rem !important;
  border-bottom-left-radius: 24px !important;
  border-bottom-right-radius: 24px !important;
  display: flex !important;
  gap: 12px !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Ambient Background Glow Effect */
.modal-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 40% 10%, rgba(99, 102, 241, 0.05) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 60% 90%, rgba(16, 185, 129, 0.03) 0%, rgba(255, 255, 255, 0) 40%);
  pointer-events: none;
  z-index: 1;
}

/* Modern Form Elements in Modal */
.modal-content .form-control {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(203, 213, 225, 0.7) !important;
  border-radius: 10px !important;
  padding: 0.65rem 1rem !important;
  font-size: 0.95rem !important;
  color: #1e293b !important;
  transition: all 0.25s ease !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.modal-content .form-control:focus {
  background: #ffffff !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.modal-content label {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin-bottom: 6px !important;
}

/* Buttons in Modal */
.modal-content .btn-primary {
  background: linear-gradient(135deg, var(--accent-color, #4f46e5) 0%, var(--primary-color, #3730a3) 100%) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 0.65rem 1.75rem !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.02em !important;
}

.modal-content .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(79, 70, 229, 0.35) !important;
}

.modal-content .btn-secondary,
.modal-content .btn-default {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  color: #475569 !important;
  font-weight: 600 !important;
  padding: 0.65rem 1.75rem !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s ease !important;
}

.modal-content .btn-danger {
  color: #ef4444 !important;
  border: 1px solid #fca5a5 !important;
  background: #fef2f2 !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 0.65rem 1.75rem !important;
  transition: all 0.3s ease !important;
}

.modal-content .btn-secondary:hover,
.modal-content .btn-default:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  transform: translateY(-1px);
}

.modal-content .btn-danger:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25) !important;
}

/* Responsive Modal Heights & Scroll */
@media (max-height: 800px) {

  .modal-body,
  .k-pop-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }
}

/* -----------------------------------------------------------------------------
   7. Specific Utility Tweaks
   ----------------------------------------------------------------------------- */
.tb-heading-box {
  background: #f8fafc;
  border: 1px solid var(--ds-border, #e2e8f0) !important;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  border-bottom: none !important;
}

.tb-heading-box h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ds-text, #0f172a);
}

.text-danger {
  color: #ef4444 !important;
}

.text-success {
  color: #10b981 !important;
}

.text-warning {
  color: #f59e0b !important;
}

.text-muted {
  color: #64748b !important;
}

/* DataTables Responsive Control Icon */
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
  background-color: var(--ds-primary, #2563eb) !important;
  border: 2px solid #fff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  top: 50% !important;
  margin-top: -9px !important;
  font-family: monospace;
  font-weight: bold;
}

/* Layout Overflows (Prevent Menu Conflict) */
.k-content.flex-grow-1 {
  min-width: 0;
  overflow-x: auto !important;
}

/* Unify Table Container Card System (Card + Table Matching Alignment) */
.k-table,
.k-table.table-responsive {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  /* Prevent the card from stretching past the screen width */
  overflow-x: auto !important;
  overflow-y: visible !important;
  /* Crucial global fallback: Enable safe horizontal scroll while clipping borders correctly */
  background: #ffffff !important;
  border: 1px solid var(--ds-border, #e2e8f0) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04) !important;
  margin-bottom: 2rem !important;
  padding: 0 !important;
}

.k-table.ng-hide,
.k-table.table-responsive.ng-hide,
.table-responsive.ng-hide {
  display: none !important;
}

/* Heading Box sits perfectly edge-to-edge at the top of the card */
.k-table .tb-heading-box {
  margin: 0 !important;
  padding: 20px 24px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid var(--ds-border, #e2e8f0) !important;
  border-top-left-radius: 15px !important;
  border-top-right-radius: 15px !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
}

/* Table wrappers share identical horizontal padding for absolute vertical alignment */
.k-table .tb-table-wrapper,
.k-table .k-table-wrap,
.k-table .dataTables_wrapper {
  margin: 0 !important;
  padding: 0 24px 24px 24px !important;
  width: 100% !important;
  overflow-x: auto !important;
  /* Enable internal horizontal scroll */
  -webkit-overflow-scrolling: touch !important;
  border: none !important;
  box-sizing: border-box !important;
}

/* Specific jQuery DataTables Responsiveness Overrides */
.k-table-wrap,
.dataTables_wrapper,
.table-responsive {
  width: 100% !important;
  max-width: 100% !important;
}

table.dataTable,
table.dataTable.dtr-inline,
table.dataTable.collapsed,
table.dataTable.no-footer {
  width: 100% !important;
  min-width: max-content !important;
  /* Force scroll ONLY when columns overflow container width */
  margin: 0 !important;
  border-collapse: collapse !important;
}

/* Ensure long text, badges or buttons don't force table stretching */
table.dataTable td,
table.dataTable th {
  white-space: nowrap;
  /* Prevent ugly column breaks but allow scrolling */
  vertical-align: middle !important;
}

/* Enable normal wrapping inside badge or descriptive columns */
table.dataTable td.wrap-column,
table.dataTable td.desc-column,
table.dataTable td.remarks-column {
  white-space: normal !important;
  word-break: break-word !important;
}

/* Mobile responsive force wrapper scroll */
@media (max-width: 768px) {

  .k-table-wrap,
  .dataTables_wrapper {
    padding: 0 12px 12px 12px !important;
    /* Reduce padding on mobile */
  }

  .k-table.table-responsive .tb-heading-box {
    margin: 15px 12px 0 12px !important;
  }

  table.dataTable {
    display: table !important;
    /* Keep table behavior for layout scroll */
  }
}

/* Angular UI Datepicker Premium Override */
ul.uib-datepicker-popup.dropdown-menu {
  border-radius: 16px !important;
  border: 1px solid var(--ds-border, #e2e8f0) !important;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15) !important;
  padding: 16px !important;
  background: #ffffff !important;
  min-width: 330px !important;
}

ul.uib-datepicker-popup .uib-datepicker table {
  width: 100% !important;
}

ul.uib-datepicker-popup th,
ul.uib-datepicker-popup td {
  padding: 2px !important;
  border: none !important;
}

/* Header buttons (MAY 2026, <, >) */
ul.uib-datepicker-popup thead .btn {
  width: 100% !important;
  height: auto !important;
  border: none !important;
  background: transparent !important;
  color: #1e293b !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  padding: 8px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
}

ul.uib-datepicker-popup thead .btn:hover {
  background: #f1f5f9 !important;
}

ul.uib-datepicker-popup thead tr:nth-child(2) th {
  font-size: 11px !important;
  color: #64748b !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Day buttons */
ul.uib-datepicker-popup tbody .btn {
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  /* Circle design */
  background: transparent !important;
  color: #334155 !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 2px auto !important;
  transition: all 0.2s ease !important;
}

ul.uib-datepicker-popup tbody .btn:hover {
  background: #f1f5f9 !important;
  color: var(--accent-color, #4f46e5) !important;
}

/* Selected Date */
ul.uib-datepicker-popup tbody .btn.btn-info,
ul.uib-datepicker-popup tbody .btn.active {
  background: linear-gradient(135deg, var(--accent-color, #4f46e5) 0%, var(--primary-color, #3730a3) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
  font-weight: 700 !important;
  transform: scale(1.05) !important;
}

ul.uib-datepicker-popup tbody .btn .text-info {
  color: inherit !important;
}

ul.uib-datepicker-popup tbody .btn:not(.btn-info):not(.active) .text-info {
  color: var(--accent-color, #4f46e5) !important;
  font-weight: 800 !important;
  background: rgba(79, 70, 229, 0.1) !important;
  border-radius: 50% !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Action buttons at bottom (Today, Clear, Close) */
ul.uib-datepicker-popup .uib-button-bar {
  margin-top: 16px !important;
  display: flex !important;
  gap: 8px !important;
  justify-content: space-between !important;
}

ul.uib-datepicker-popup .uib-button-bar .btn {
  flex: 1 !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}

ul.uib-datepicker-popup .uib-button-bar .btn-info {
  background: rgba(79, 70, 229, 0.1) !important;
  color: var(--accent-color, #4f46e5) !important;
}

ul.uib-datepicker-popup .uib-button-bar .btn-danger {
  background: #fef2f2 !important;
  color: #ef4444 !important;
}

ul.uib-datepicker-popup .uib-button-bar .btn-success {
  background: #f0fdf4 !important;
  color: #10b981 !important;
}

ul.uib-datepicker-popup .uib-button-bar .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* Week numbers */
ul.uib-datepicker-popup tbody td.text-center em {
  color: #94a3b8 !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 500 !important;
}

/* Global Advanced Pagination CSS */
.k-table-paging {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 12px 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  border: 1px solid #F8FAFC !important;
  width: 100%;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

/* Left Section: Info text and pseudo-element Icon */
.k-table-page {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  position: relative;
  padding-right: 24px;
}

/* Vertical divider */
.k-table-page::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  width: 1px;
  background-color: #E5E7EB;
}

/* Circular Document Icon injected via CSS */
.k-table-page::before {
  content: '';
  display: block;
  width: 44px;
  height: 44px;
  background-color: #eff6ff;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.k-table-page .pagingInfoLeft {
  font-family: 'Inter', sans-serif;
  font-size: 14px !important;
  color: #111827 !important;
  font-weight: 500;
}

.k-table-page .pagingInfoLeft strong {
  color: #2563EB !important;
  font-weight: 600;
}

/* Right Section: Pagination Controls */
.eKharid-content .k-table-paging .pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.eKharid-content .k-table-paging .pagination > li {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Standard Button Style */
.eKharid-content .k-table-paging .pagination > li > a,
.eKharid-content .k-table-paging .pagination > li > span {
  font-family: 'Inter', sans-serif !important;
  border-radius: 8px !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  transition: all 0.2s ease-in-out !important;
  border: 1px solid #E5E7EB !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #4B5563 !important;
  background-color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
}

/* Hover state for inactive */
.eKharid-content .k-table-paging .pagination > li > a:hover:not([disabled]) {
  background-color: #F8FAFC !important;
  color: #111827 !important;
  border-color: #D1D5DB !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05) !important;
}

/* Active State (Solid Blue Glow) */
.eKharid-content .k-table-paging .pagination > li.active > a,
.eKharid-content .k-table-paging .pagination > li.active > span,
.eKharid-content .k-table-paging .pagination > li.active > a:hover,
.eKharid-content .k-table-paging .pagination > li.active > span:hover {
  background-color: #1C5AF9 !important;
  background: #1C5AF9 !important;
  border-color: #1C5AF9 !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 16px rgba(28,90,249,0.3) !important;
  transform: scale(1.02) !important;
  z-index: 2 !important;
}

/* Previous and Next buttons specific styling (wider) */
.eKharid-content .k-table-paging .pagination > li.pagination-prev > a,
.eKharid-content .k-table-paging .pagination > li.pagination-next > a,
.eKharid-content .k-table-paging .pagination > li.pagination-prev > span,
.eKharid-content .k-table-paging .pagination > li.pagination-next > span {
  width: auto !important;
  padding: 0 14px !important;
  color: #111827 !important;
  gap: 6px;
}

/* Inject arrows for Prev/Next */
.eKharid-content .k-table-paging .pagination > li.pagination-prev > a::before,
.eKharid-content .k-table-paging .pagination > li.pagination-prev > span::before {
  content: '<';
  font-weight: 700;
  font-size: 14px;
  color: #4B5563;
}

.eKharid-content .k-table-paging .pagination > li.pagination-next > a::after,
.eKharid-content .k-table-paging .pagination > li.pagination-next > span::after {
  content: '>';
  font-weight: 700;
  font-size: 14px;
  color: #4B5563;
}

/* Disabled State */
.eKharid-content .k-table-paging .pagination > li.disabled > a,
.eKharid-content .k-table-paging .pagination > li.disabled > span {
  color: #9CA3AF !important;
  background-color: #F9FAFB !important;
  border-color: #F3F4F6 !important;
  pointer-events: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Hide First and Last completely if desired */
.eKharid-content .k-table-paging .pagination > li.pagination-first,
.eKharid-content .k-table-paging .pagination > li.pagination-last {
  display: none !important;
}

@media (max-width: 768px) {
  .eKharid-content .k-table-paging {
    justify-content: center !important;
  }
  .eKharid-content .k-table-page::after {
    display: none !important;
  }
  .eKharid-content .k-table-page {
    padding-right: 0;
  }
}

/* ============================================================
   Global k-pop modal fix: dropdown footer ke peeche na jaye
   ============================================================ */

.modal.k-pop .modal-dialog {
  max-height: 90vh;
  margin: 1.75rem auto;
}

.modal.k-pop .modal-content {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: visible !important;
}

.modal.k-pop .k-pop-header {
  flex-shrink: 0;
}

.modal.k-pop .k-pop-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  padding-bottom: 24px;
}

.modal.k-pop .k-pop-footer {
  flex-shrink: 0;
  z-index: 1 !important;
  background: #fff !important;
  border-top: 1px solid #e2e8f0 !important;
}

.modal .ds-dropdown-wrapper.ds-active {
  position: relative;
  z-index: 1060;
}

/* Open downward in modals — upward open clips under header */
.modal .ds-dropdown-panel {
  z-index: 1065 !important;
  top: 100% !important;
  bottom: auto !important;
  margin-top: 6px !important;
  transform: translateY(-8px);
}

.modal .ds-dropdown-wrapper.ds-active .ds-dropdown-panel {
  transform: translateY(0);
}

/* Let premium dropdown panels escape modal scroll/clip regions */
#ConfigurationAddModal .modal-content,
#ConfigurationAddModal .k-pop-body,
#TranportChangeModal .modal-content,
#TranportChangeModal .k-pop-body,
#DeliveryChangeModal .modal-content,
#DeliveryChangeModal .k-pop-body {
  overflow: visible !important;
}

/*# sourceMappingURL=page.css.map */