.fw-100 {
    font-weight:100;
}
.fw-200 {
    font-weight:200;
}
.fw-300 {
    font-weight:300;
}
.fw-400 {
    font-weight:400;
}
.fw-500 {
    font-weight:500;
}
.fw-600 {
    font-weight:600;
}
.fw-700 {
    font-weight:700;
}

.apple-shadow {
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.10),
        0 20px 40px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: rgba(255, 255, 255, 0.04); /* optional for glass effect */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}
.apple-shadow:hover {
    transform: translateY(-1px);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.14),
        0 8px 20px rgba(0, 0, 0, 0.12),
        0 24px 48px rgba(0, 0, 0, 0.10);
}

.framework-circle {
  width: 30px;
  height: 30px;
  background-color: #1a1f2a; /* dark grey-blue tone */
  border-radius: 50%;
  display: block;
}

.framework-modal-backdrop {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    
    /* Initial invisible state */
    opacity: 0;
    background-color: rgba(15, 15, 20, 0.25);
    backdrop-filter: blur(0px) saturate(100%);
    -webkit-backdrop-filter: blur(0px) saturate(100%);
    transition:
        opacity 0.4s ease,
        backdrop-filter 1.0s ease,
        -webkit-backdrop-filter 1.0s ease;

    z-index: 2000;
}
/* Activated (fade-in + blur) */
.framework-modal-backdrop.active {
    opacity: 1;
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);
    background-color: rgba(15, 15, 20, 0.35);
}



.framework-modal-form-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Optional aesthetic touches (won’t affect layout sizing) */
.framework-modal-form-wrapper form {
    width: 100%;
}

.framework-modal-form-wrapper .framework-modal-header,
.framework-modal-form-wrapper .framework-modal-content,
.framework-modal-form-wrapper .framework-modal-footer {
    width: 100%;
}

.framework-modal-drawer {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 5%;
    right: 5%;
    width: 30%;
    min-width:300px;
    height: 90%;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    z-index: 2001;
}

.framework-modal-drawer-full {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0%;
    right: 0%;
    width: 40%;
    min-width:300px;
    height: 100%;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 0rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    z-index: 2001;
}

.framework-modal-center {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 5%;
    right: 25%;
    width: 50%;
    min-width:300px;
    height: 90%;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    z-index: 2001;
}
.framework-modal-center-large {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 5%;
    right: 20%;
    width: 60%;
    min-width:300px;
    height: 90%;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    z-index: 2001;
}

/* Smaller, auto-height variant */
.framework-modal-center-small {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 50%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(-50%);
    width: 90vw;
    min-width: 300px;
    max-width: 500px;
    max-height: 90vh;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 1.25rem;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    z-index: 2001;
}

/* Prevent hover translate on modal shells */
.framework-modal-center-small.apple-shadow:hover {
    transform: translateY(-50%);
}
.framework-modal-center.apple-shadow:hover,
.framework-modal-center-large.apple-shadow:hover,
.framework-modal-drawer.apple-shadow:hover {
    transform: none;
}

/* Header */
.framework-modal-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: rgba(var(--bs-body-bg-rgb), 0.9);
    color: var(--bs-body-color);
    backdrop-filter: blur(12px);
}
.framework-modal-header p {
    margin-bottom: 0;
}
/* Show draggable affordance and avoid text selection while dragging */
/* While dragging: fully transparent and no blur */
/* While actively dragging (temporary state during drag) */
.framework-modal-backdrop.drag-transparent {
  background: rgba(0,0,0,0) !important;
  backdrop-filter: none !important;
}

/* After a drag ends: keep backdrop hidden until modal closes & reopens */
.framework-modal-backdrop.backdrop-hidden {
  background: rgba(0,0,0,0) !important;
  backdrop-filter: none !important;
}

/* Cursor affordance + avoid text selection during drag */
.framework-modal-header { cursor: move; }
.framework-modal-drawer.dragging { user-select: none; }

/* Content - fills remaining height */
.framework-modal-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    overflow-y: auto;
    padding: 1.75rem;
}

/* Editor section grows to fill remaining modal body */
.modal-editor-section {
    flex: 1 1 0;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.modal-editor-section .tox-tinymce {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    height: 100% !important;
}

.modal-editor-section .tox-editor-header,
.modal-editor-section .tox-statusbar {
    flex: 0 0 auto;
}

.modal-editor-section .tox-edit-area {
    flex: 1 1 0;
}

.modal-editor-section .tox-edit-area iframe {
    height: 100% !important;
}

/* Footer */
.framework-modal-footer {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--bs-border-color);
    /* background: rgba(var(--bs-body-bg-rgb), 0.9); */
    /* background: #fbfcfd !important; */
    background: #f8fafc;
    color: var(--bs-body-color);
    backdrop-filter: blur(12px);
}




.framework-modal-title {
    padding-top:10px;
    padding-left:7px;
}

.framework-modal-close-btn {
  position: absolute;         /* Usually placed top-right of modal */
  top: 20px;
  right: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 45px;
  height: 45px;
  border-radius: 50%;

  cursor: pointer;
  background: transparent;
  border: 1px solid var(--bs-border-color-translucent);

  color: rgba(var(--bs-body-color-rgb), 0.4);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}

/* Centered Font Awesome icon styling */
.framework-modal-close-btn i {
  font-size: 16px;
  transition: transform 0.25s ease;
}

/* Hover / active states */
.framework-modal-close-btn:hover {
  background-color: rgba(var(--bs-body-bg-rgb), 0.9);
  border-color: var(--bs-border-color);
  color: rgba(255, 0, 0, 0.75);
}

.framework-modal-close-btn:hover i {
  transform: scale(1);
}

/* Optional: Glass-style blur if you want Apple consistency */
.framework-modal-close-btn {
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
}

.app-sidebar-with-quicklinks {
    --app-quicklinks-width: 72px;
    --app-sidebar-main-width: 265px;
    --bs-app-sidebar-width: calc(var(--app-sidebar-main-width) + var(--app-quicklinks-width));
    --bs-app-sidebar-width-actual: calc(var(--app-sidebar-main-width) + var(--app-quicklinks-width));
    display: flex;
    width: calc(var(--app-sidebar-main-width) + var(--app-quicklinks-width));
}

.app-sidebar-with-quicklinks .app-sidebar-quicklinks {
    flex: 0 0 var(--app-quicklinks-width);
    padding: 1.5rem 0.75rem;
    border-right: 1px solid rgba(0, 0, 0, 0.04);
    background-color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-height: 100%;
}

.app-sidebar-with-quicklinks .app-sidebar-main {
    flex: 0 0 var(--app-sidebar-main-width);
    max-width: var(--app-sidebar-main-width);
}

.app-sidebar-with-quicklinks .app-sidebar-logo,
.app-sidebar-with-quicklinks .app-sidebar-footer,
.app-sidebar-with-quicklinks .app-sidebar-menu,
.app-sidebar-with-quicklinks .app-sidebar-wrapper {
    padding-left: clamp(1.5rem, 1.5rem + 0.2vw, 1.75rem);
}

[data-kt-app-sidebar-minimize=on] .app-sidebar-with-quicklinks {
    --app-sidebar-main-width: 75px;
}

#kt_app_sidebar_workspace_picker {
    min-height:75px;
    width:99%;
}
@media (max-width: 991.98px) {
    .app-sidebar-with-quicklinks {
        width: var(--app-sidebar-main-width);
        --bs-app-sidebar-width: var(--app-sidebar-main-width);
        --bs-app-sidebar-width-actual: var(--app-sidebar-main-width);
    }

    .app-sidebar-with-quicklinks .app-sidebar-quicklinks {
        display: none !important;
    }

    .app-sidebar-with-quicklinks .app-sidebar-main {
        flex: 1 1 auto;
    }

    .app-sidebar-with-quicklinks .app-sidebar-logo,
    .app-sidebar-with-quicklinks .app-sidebar-footer,
    .app-sidebar-with-quicklinks .app-sidebar-menu,
    .app-sidebar-with-quicklinks .app-sidebar-wrapper {
        padding-left: initial;
    }
    .header-workspace-holder {
        padding-top:65px !important;
    }
}



.framework-select2 {
    border-radius: 0.475rem;
}
/* Placeholder spacing for Variant select */
.select2-extra-padding + .select2 .select2-selection__placeholder { padding-top: 0px; display: block; }
/* Single-line selected values should sit closer to floating labels. */
.select2-extra-padding + .select2:not(.select2-double-line) .select2-selection__rendered { padding-top: 6px; }
/* Preserve extra top spacing for true multi-line values. */
.select2-extra-padding + .select2.select2-double-line .select2-selection__rendered { padding-top: 10px; }
.framework-select2 + .select2 .select2-selection__rendered { padding-top: 10px; }
/* Applied automatically by global Select2 JS when a single-value selection renders on multiple lines */
.select2.select2-double-line .select2-selection__placeholder { padding-top: 0px; display: block; }
.select2.select2-double-line .select2-selection__rendered { padding-top: 12px; }

.form-floating-select2 .select2-container--bootstrap5 {
    width: 100% !important;
}

.form-floating-select2 .select2-container--bootstrap5 .select2-selection--single {
    height: calc(3.75rem + 2px);
    min-height: calc(3.75rem + 2px);
    padding-top: 1.85rem;
    padding-bottom: 1.299rem;
    padding-left: 1rem;
}

.form-floating-select2 .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    line-height: 1.25;
}

.form-floating-select2 .select2-container--bootstrap5 ~ label {
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.menu-item .menu-link {
    border:1px solid transparent !important;
    border-radius:0.5rem;
}
.menu-item .menu-link:hover {
    border:1px solid rgba(224, 224, 224, 0.5) !important;
    border-radius:0.5rem;
}
.menu-sub-indention .menu-item .menu-item .menu-link.active {
    margin-right: 0px;
}

.tox-promotion, 
.tox-promotion-link, 
.tox-statusbar__branding {
    display: none !important;
}

.page-loader {
    position: fixed;
    inset: 0;
  
    /* translucent fill */
    background: rgba(255, 255, 255, 0.10);

    /* blur what's behind */
    -webkit-backdrop-filter: blur(5px) saturate(160%);
    backdrop-filter: blur(5px) saturate(160%);

    /* subtle border + depth */
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Search shortcut hint */
#kt_header_search .framework-search,
#kt_header_search_inline .framework-search {
    padding-right: 6rem;
}

#kt_header_search .framework-search-shortcut,
#kt_header_search_inline .framework-search-shortcut {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #a1a5b7;
    pointer-events: none;
    user-select: none;
    transition: opacity 200ms ease;
    z-index: 2;
}

#kt_header_search .framework-search:focus + .framework-search-shortcut,
#kt_header_search .framework-search:not(:placeholder-shown) + .framework-search-shortcut,
#kt_header_search_inline .framework-search:focus + .framework-search-shortcut,
#kt_header_search_inline .framework-search:not(:placeholder-shown) + .framework-search-shortcut {
    opacity: 0;
}

/* === Apple-style glass success toast === */
#toastr-container .toastr.toastr-success {
    background-color: rgba(40, 200, 120, 0.72) !important;
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    transition: background-color 240ms ease, box-shadow 240ms ease;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);

    color: #ffffff;
    opacity: 1;
}

#toastr-container > .toastr.toastr-success:hover,
#toastr-container > .toastr.toastr-success:focus {
    background-color: rgba(40, 200, 120, 0.82) !important;
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    opacity: 1;
}

/* === Apple-style glass error toast === */
#toastr-container .toastr.toastr-error,
#toastr-container .toastr.toastr-danger {
    background-color: rgba(220, 80, 70, 0.72) !important;
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    transition: background-color 240ms ease, box-shadow 240ms ease;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);

    color: #ffffff;
    opacity: 1;
}

#toastr-container > .toastr.toastr-error:hover,
#toastr-container > .toastr.toastr-error:focus,
#toastr-container > .toastr.toastr-danger:hover,
#toastr-container > .toastr.toastr-danger:focus {
    background-color: rgba(220, 80, 70, 0.82) !important;
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    opacity: 1;
}

.framework-toolbar-tabs { 
    border-radius: 5px;
}
/* Framework toolbar tabs: nav link radius */
.framework-toolbar-tabs .nav-link {
    border-radius: var(--bs-btn-border-radius);
}

.table:not(.table-bordered) td:first-child, .table:not(.table-bordered) th:first-child, .table:not(.table-bordered) tr:first-child {
    padding-left: 20px;
}
.table:not(.table-bordered) td:last-child, .table:not(.table-bordered) th:last-child {
    padding-right: 20px;
}

/* Datatable footer spacing when card body padding is removed */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_paginate,
.dt-container .dt-length,
.dt-container .dt-paging, 
.dt-toolbar, .dt-length {
    padding-left: 40px;
    padding-right: 25px;
    padding-bottom:25px;
}

/* Prevent Select2 multi-select from flashing native options before init */
select.form-select[multiple][data-kt-select2="true"]:not(.select2-hidden-accessible),
select.form-select[multiple][data-control="select2"]:not(.select2-hidden-accessible) {
    height: calc(1.5em + 1.55rem + 2px);
    min-height: calc(1.5em + 1.55rem + 2px);
    opacity: 0;
    pointer-events: none;
}

.framework-toolbar-tabs-container {
    /* background-color:#f9f9f9; */
    /* background-color:#f0f5f9; */
    background-color:transparent;
    border-radius: 10px;
}

.framework-toolbar-tabs-container .btn {
    font-weight: 700;
    font-size: 1.0rem !important;
    padding-left:2.0rem !important;
    padding-right:2.0rem !important;
    
}

.framework-toolbar-tabs-container .btn.btn-active-primary.active {
    color: var(--bs-primary);
    border-color: var(--bs-primary-inverse);
    background-color: var(--bs-primary-inverse) !important;
    
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
} 
.framework-toolbar-tabs-container .btn.btn-active-primary:hover {
    color: var(--bs-primary);
    border-color: var(--bs-primary-inverse);
    background-color: var(--bs-primary-inverse) !important;
    
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
.framework-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgb(156 163 175);
}
.framework-modal-content {
    max-height: 100%;
    overflow-y: auto;
}
.framework-modal-header,
.framework-modal-footer {
    position: sticky;
    z-index: 5;
    /* background: #fff; */
}
.framework-modal-header { top: 0; }
.framework-modal-footer { bottom: 0; }
.form-floating .form-select {
    padding-top: 1.4rem !important;
}

/* Tighter floating-field rhythm for side-by-side input/select groups. */
.form-floating.form-floating-compact > .form-control,
.form-floating.form-floating-compact > .form-select {
    padding-top: 1.15rem !important;
    padding-bottom: 0.55rem;
}

.form-floating.form-floating-compact > label {
    transform: scale(.85) translateY(-.55rem) translateX(.15rem);
}

.form-floating.form-floating-compact .select2 .select2-selection__rendered {
    padding-top: 3px !important;
    line-height: 1.25;
}

/* .form-floating.form-floating-compact .select2-container--bootstrap5 .select2-selection--single {
    padding-top: 1.05rem !important;
    padding-bottom: 0.5rem !important;
} */

[data-asset-kpi].kpi-fade {
    transition: opacity 180ms ease;
}

[data-asset-kpi].kpi-fade-out {
    opacity: 0;
}

/* Global selected-row highlight */
table tbody tr.framework-row-selected > th,
table tbody tr.framework-row-selected > td,
table tbody tr.selected > th,
table tbody tr.selected > td {
    background-color: #f8fafc !important;
    box-shadow: inset 0 0 0 9999px #f8fafc !important;
}

table.dataTable tbody tr.framework-row-selected > .dtfc-fixed-start,
table.dataTable tbody tr.framework-row-selected > .dtfc-fixed-end,
table.dataTable tbody tr.framework-row-selected > .dtfc-fixed-left,
table.dataTable tbody tr.framework-row-selected > .dtfc-fixed-right,
table.dataTable tbody tr.selected > .dtfc-fixed-start,
table.dataTable tbody tr.selected > .dtfc-fixed-end,
table.dataTable tbody tr.selected > .dtfc-fixed-left,
table.dataTable tbody tr.selected > .dtfc-fixed-right {
    background-color: #f8fafc !important;
    box-shadow: inset 0 0 0 9999px #f8fafc !important;
}

/* Keep table fixed columns and KT menus under framework modals. */
body.framework-modal-open .dtfc-fixed-start,
body.framework-modal-open .dtfc-fixed-end,
body.framework-modal-open .dtfc-fixed-left,
body.framework-modal-open .dtfc-fixed-right {
    z-index: 1 !important;
}

body.framework-modal-open .menu-sub-dropdown,
body.framework-modal-open [data-kt-menu="true"] {
    z-index: 1990 !important;
}

/* Keep body-attached Select2 overlays above modal content/backdrop layers. */
body > .select2-container--open {
    z-index: 50000 !important;
}

body > .select2-container--open .select2-dropdown {
    z-index: 50001 !important;
}

/* Global card viewport-expand mode (triggered by #inboundRecentOrdersFullscreenBtn). */
body.framework-card-viewport-open {
    overflow: hidden;
}

.card.framework-card-viewport-expanded {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 3000 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    border-radius: 0 !important;
    background: var(--bs-body-bg);
}

.card.framework-card-viewport-expanded .card-header {
    flex: 0 0 auto;
}

.card.framework-card-viewport-expanded .card-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

body.framework-card-viewport-open > .select2-container--open {
    z-index: 50000 !important;
}

body.framework-card-viewport-open > .select2-container--open .select2-dropdown {
    z-index: 50001 !important;
}
/* Visual separators for fixed columns on the All Assets table */
.framework-datatable .dtfc-fixed-start,
.framework-datatable .dtfc-fixed-left {
    border-right: 1px solid var(--bs-border-color);
    box-shadow: 4px 0 0 0 var(--bs-body-bg);
}
.framework-datatable .dtfc-fixed-end,
.framework-datatable .dtfc-fixed-right {
    border-left: 1px solid var(--bs-border-color);
    box-shadow: -4px 0 0 0 var(--bs-body-bg);
}
.framework-datatable .dtfc-fixed-start,
.framework-datatable .dtfc-fixed-end,
.framework-datatable .dtfc-fixed-left,
.framework-datatable .dtfc-fixed-right {
    z-index: 1;
    overflow: visible !important;
    position: relative;
    background-color: var(--bs-body-bg) !important;
    background-clip: padding-box;
}
/* Raise the active cell above other fixed rows when its menu is open */
.framework-datatable .dtfc-menu-open {
    z-index: 9999 !important;
}
.framework-datatable .dtfc-menu-open .menu.menu-sub {
    z-index: 10000 !important;
}
/* Ensure dropdowns render above fixed column overlays (even when attached to body) */
.menu.menu-sub[data-kt-menu="true"] {
    z-index: 50000 !important;
}
body.modal-open .menu.menu-sub[data-kt-menu="true"] {
    z-index: 1040 !important;
}
body.modal-open .framework-datatable .dtfc-fixed-start,
body.modal-open .framework-datatable .dtfc-fixed-end,
body.modal-open .framework-datatable .dtfc-fixed-left,
body.modal-open .framework-datatable .dtfc-fixed-right,
body.modal-open .framework-datatable .dtfc-menu-open {
    z-index: 0 !important;
}
/* Also ensure the blocker elements sit beneath menus */
.dtfc-right-top-blocker,
.dtfc-right-bottom-blocker,
.dtfc-left-top-blocker,
.dtfc-left-bottom-blocker {
    overflow: visible !important;
    z-index: 0 !important;
    background: transparent !important;
}
/* Prevent column wrapping so horizontal scroll behaves predictably */
.table-no-wrap th,
.table-no-wrap td {
    white-space: nowrap;
}