/* ==========================================================================
   InfiERP - brand theme. Loaded after the original stylesheets.
   ========================================================================== */
/* InfiERP - fonts and brand tokens (Plus Jakarta Sans, SIL Open Font License 1.1) */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/infierp/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/infierp/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/infierp/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/infierp/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/infierp/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
:root {
    --ie-font: "Plus Jakarta Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ie-navy: #0D3A7E;
    --ie-navy-900: #08204A;
    --ie-blue: #0B63CE;
    --ie-blue-700: #0A53AD;
    --ie-blue-50: #EAF2FD;
    --ie-cyan: #0BB4EC;
    --ie-orange: #FF6A13;
    --ie-amber: #FFA908;
    --ie-line: #E6ECF5;
    --ie-page-bg: #F4F7FC;
    --ie-grad-primary: linear-gradient(120deg, #0B63CE 0%, #1A86E8 100%);
    --ie-grad-accent: linear-gradient(135deg, #FFA908 0%, #FF6A13 100%);
    --ie-grad-hero: linear-gradient(120deg, #08204A 0%, #0D3A7E 45%, #0B63CE 100%);
}

/* ---------- default "theme-3" colour swatch: InfiERP Blue (generated from the original theme rules) ---------- */
body.theme-3 {
    background: linear-gradient(141.55deg, rgba(244, 247, 252, 0) 3.46%, #F4F7FC 99.86%);
}
body.theme-3 .bg-primary {
    background: linear-gradient(141.55deg, #0B63CE 3.46%, #0B63CE 99.86%), #0B63CE !important;
}
body.theme-3 .dash-header .drp-language .drp-text,
body.theme-3 .dash-header .dash-head-link > i:not(.nocolor) {
    color: #0B63CE;
}
body.theme-3 .dash-header .drp-company .theme-avtar {
    background: #DCE9FB;
    color: #0B63CE;
}
body.theme-3 .dash-sidebar.light-sidebar .dash-navbar > .dash-item.active > .dash-link,
body.theme-3 .dash-sidebar.light-sidebar .dash-navbar > .dash-item:active > .dash-link,
body.theme-3 .dash-sidebar.light-sidebar .dash-navbar > .dash-item:focus > .dash-link,
body.theme-3 .dash-sidebar.light-sidebar .dash-navbar > .dash-item:hover > .dash-link,
body.theme-3 .dash-sidebar .dash-navbar > .dash-item.active > .dash-link,
body.theme-3 .dash-sidebar .dash-navbar > .dash-item:active > .dash-link,
body.theme-3 .dash-sidebar .dash-navbar > .dash-item:focus > .dash-link,
body.theme-3 .dash-sidebar .dash-navbar > .dash-item:hover > .dash-link {
    background: linear-gradient(141.55deg, #0B63CE 3.46%, #0B63CE 99.86%), #0B63CE;
    color: #fff;
    box-shadow: 0 5px 7px -1px rgba(11, 99, 206, 0.3);
}
body.theme-3 .dash-sidebar.light-sidebar .dash-navbar > .dash-item.active > .dash-link i,
body.theme-3 .dash-sidebar.light-sidebar .dash-navbar > .dash-item:active > .dash-link i,
body.theme-3 .dash-sidebar.light-sidebar .dash-navbar > .dash-item:focus > .dash-link i,
body.theme-3 .dash-sidebar.light-sidebar .dash-navbar > .dash-item:hover > .dash-link i,
body.theme-3 .dash-sidebar .dash-navbar > .dash-item.active > .dash-link i,
body.theme-3 .dash-sidebar .dash-navbar > .dash-item:active > .dash-link i,
body.theme-3 .dash-sidebar .dash-navbar > .dash-item:focus > .dash-link i,
body.theme-3 .dash-sidebar .dash-navbar > .dash-item:hover > .dash-link i {
    color: #0B63CE;
}
body.theme-3 .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item::before,
body.theme-3 .dash-sidebar .dash-item .dash-submenu .dash-item::before {
    border-right-color: #0B63CE;
}
body.theme-3 .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item.active > .dash-link,
body.theme-3 .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item:active > .dash-link,
body.theme-3 .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item:focus > .dash-link,
body.theme-3 .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item:hover > .dash-link,
body.theme-3 .dash-sidebar .dash-item .dash-submenu .dash-item.active > .dash-link,
body.theme-3 .dash-sidebar .dash-item .dash-submenu .dash-item:active > .dash-link,
body.theme-3 .dash-sidebar .dash-item .dash-submenu .dash-item:focus > .dash-link,
body.theme-3 .dash-sidebar .dash-item .dash-submenu .dash-item:hover > .dash-link {
    color: #0B63CE;
}
body.theme-3 a:not([class]) {
    color: #0B63CE;
}
body.theme-3 a:not([class]):hover {
    color: #0B63CE;
}
body.theme-3 .text-primary {
    color: #0B63CE !important;
}
body.theme-3 .list-group-item.active {
    background: linear-gradient(141.55deg, #0B63CE 3.46%, #0B63CE 99.86%), #0B63CE !important;
}
body.theme-3 .progress-bar:not([class*="bg-"]),
body.theme-3 .btn-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #0B63CE;
    --bs-btn-border-color: #0B63CE;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #0A5BBB;
    --bs-btn-hover-border-color: #0A53AD;
    --bs-btn-focus-shadow-rgb: 133, 223, 95;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #0A53AD;
    --bs-btn-active-border-color: #0950A3;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: #0B63CE;
    --bs-btn-disabled-border-color: #0B63CE;
}
body.theme-3 .btn-outline-primary {
    --bs-btn-color: #0B63CE;
    --bs-btn-border-color: #0B63CE;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #0B63CE;
    --bs-btn-hover-border-color: #0B63CE;
    --bs-btn-focus-shadow-rgb: 111, 217, 67;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #0B63CE;
    --bs-btn-active-border-color: #0B63CE;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #0B63CE;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0B63CE;
    --bs-gradient: none;
}
body.theme-3 .btn-light-primary {
    background: #DCE9FB;
    color: #0B63CE;
    border-color: #DCE9FB;
}
body.theme-3 .btn-light-primary:hover {
    background: #0B63CE;
    color: #fff;
    border-color: #0B63CE;
}
body.theme-3 .btn-light-primary.focus,
body.theme-3 .btn-light-primary:focus {
    background: #0B63CE;
    color: #fff;
    border-color: #0B63CE;
}
body.theme-3 .btn-light-primary:not(:disabled):not(.disabled).active,
body.theme-3 .btn-light-primary:not(:disabled):not(.disabled):active,
.show > body.theme-3 .btn-light-primary.dropdown-toggle {
    background: #0B63CE;
    color: #fff;
    border-color: #0B63CE;
}
body.theme-3 .btn-check:active + .btn-light-primary,
body.theme-3 .btn-check:checked + .btn-light-primary {
    background: #0B63CE;
    color: #fff;
    border-color: #0B63CE;
}
body.theme-3 .alert-primary {
    --bs-alert-color: #073F82;
    --bs-alert-bg: #DCE9FB;
    --bs-alert-border-color: #CFE0F7;
}
body.theme-3 .alert-primary .alert-link {
    color: #366820;
}
body.theme-3 .badge.bg-light-primary {
    background: #DCE9FB;
    color: #0B63CE;
    border-color: #DCE9FB;
}
body.theme-3 .page-item.active .page-link {
    background: #0B63CE;
    border-color: #0B63CE;
}
body.theme-3 .nav-link {
    color: #0B63CE;
}
body.theme-3 .nav-link:hover,
body.theme-3 .nav-link:focus {
    color: #0B63CE;
}
body.theme-3 .nav-tabs .nav-link {
    background: none;
}
body.theme-3 .nav-pills .nav-link {
    background: none;
}
body.theme-3 .nav-pills .nav-link:focus,
body.theme-3 .nav-pills .nav-link.active,
body.theme-3 .nav-pills .show > .nav-link {
    color: #ffffff;
    background: linear-gradient(141.55deg, #0B63CE 3.46%, #0B63CE 99.86%), #0B63CE;
}
body.theme-3 .form-check-input:focus,
body.theme-3 .form-select:focus,
body.theme-3 .form-control:focus,
body.theme-3 .custom-select:focus,
body.theme-3 .dataTable-selector:focus,
body.theme-3 .dataTable-input:focus {
    border-color: #0B63CE;
    box-shadow: 0 0 0 0.2rem rgba(11, 99, 206, 0.25);
}
body.theme-3 .form-check-input:checked {
    background-color: #0B63CE;
    border-color: #0B63CE;
}
body.theme-3 .form-range::-webkit-slider-thumb {
    background: #0B63CE;
}
body.theme-3 .form-range::-webkit-slider-thumb:active {
    background: #0B63CE;
}
body.theme-3 .form-range::-moz-range-thumb {
    background: #0B63CE;
}
body.theme-3 .form-range::-moz-range-thumb:active {
    background: #0B63CE;
}
body.theme-3 .form-check-input[type="checkbox"]:indeterminate {
    background-color: #0B63CE;
    border-color: #0B63CE;
}
body.theme-3 .form-check .form-check-input.input-primary:checked {
    background-color: #0B63CE;
    border-color: #0B63CE;
}
body.theme-3 pre[class*="language-"] > code {
    border-left-color: #0B63CE;
    background-image: linear-gradient(transparent 50%, rgba(11, 99, 206, 0.04) 50%);
}
body.theme-3 .card .card-header h5:after,
body.theme-3 .card .card-header .h5:after,
body.theme-3 .card .card-header .h5:after {
    background: #0B63CE;
}
body.theme-3 .conversations-list .list-group-item .btn-link {
    color: #0B63CE;
}
body.theme-3 .conversations-list .list-group-item.active,
body.theme-3 .conversations-list .list-group-item:hover {
    background: linear-gradient(141.55deg, #0B63CE 3.46%, #0B63CE 99.86%), #0B63CE;
}
body.theme-3 .team-lists img {
    border-color: #0B63CE;
}
body.theme-3 {
    --theme-color: #0B63CE !important;
}
body.theme-3 .cat-list-btn .btn-primary {
    background-color: #fff !important;
    border-color: #fff !important;
}
body.theme-3 .cat-list-btn .cat-active .btn-primary {
    background-color: #0B63CE !important;
    border-color: #0B63CE !important;
    color: #fff !important;
}
body.theme-3 .formTextbox:focus {
    border-color: var(--theme3-color);
    -webkit-box-shadow: 0 0 0 0.2rem rgb(88, 78, 210, 25%);
    box-shadow: 0 0 0 0.2rem rgb(88, 78, 210, 25%);
}
body.theme-3 .account-arrow .account-icon {
    background-color: #0B63CE;
}
body.theme-3 .border-primary {
    border-color: #0B63CE !important;
}
.doc-img.themes-color > a[data-value="theme-3"],
.theme-color.themes-color > a[data-value="theme-3"] {
    background: linear-gradient(141.55deg, #0B63CE 3.46%, #0B63CE 99.86%), #0B63CE;
}

/* ==========================================================================
   InfiERP brand layer (admin panel, company panel, standalone pages)
   Colours, type and surfaces only. Layout, markup and behaviour unchanged.
   ========================================================================== */

/* ---------- typography ---------- */
:root {
    --bs-body-font-family: var(--ie-font);
    --bs-font-sans-serif: var(--ie-font);
}
body,
.dash-sidebar,
.dash-header,
.modal,
.dropdown-menu,
.btn,
.form-control,
.form-select,
.table,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--ie-font);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    letter-spacing: -0.01em;
}

/* ---------- page background ---------- */
body.theme-3,
body[class*="theme-"],
body.custom-color {
    background: var(--ie-page-bg);
}

/* ---------- sidebar ---------- */
.dash-sidebar.light-sidebar:not(.transprent-bg) {
    background: #fff;
    box-shadow: 1px 0 0 var(--ie-line), 0 10px 30px rgba(8, 32, 74, 0.04);
}
.dash-sidebar .m-header {
    border-bottom: 1px solid var(--ie-line);
}
.dash-sidebar .m-header .b-brand .logo-lg,
.dash-sidebar .m-header .b-brand img {
    max-height: 46px;
    max-width: 190px;
    width: auto;
    object-fit: contain;
}
.dash-sidebar .dash-navbar > .dash-item > .dash-link {
    color: var(--ie-navy-900);
    font-weight: 500;
    border-radius: 12px;
}
.dash-sidebar .dash-navbar > .dash-item > .dash-link .dash-micon {
    border-radius: 10px;
    box-shadow: 0 0 0 1px var(--ie-line);
}
.dash-sidebar .dash-navbar > .dash-item > .dash-link .dash-micon i {
    color: var(--ie-navy);
}
.dash-sidebar .dash-navbar .dash-submenu .dash-link {
    color: #4a5a78;
}
/* brand default colour: gradient active pill */
body.theme-3 .dash-sidebar .dash-navbar > .dash-item.active > .dash-link,
body.theme-3 .dash-sidebar .dash-navbar > .dash-item:hover > .dash-link,
body.theme-3 .dash-sidebar.light-sidebar .dash-navbar > .dash-item.active > .dash-link,
body.theme-3 .dash-sidebar.light-sidebar .dash-navbar > .dash-item:hover > .dash-link {
    background: var(--ie-grad-primary);
    box-shadow: 0 8px 18px -6px rgba(11, 99, 206, 0.55);
    color: #fff;
}
.dash-sidebar .dash-navbar > .dash-item.active > .dash-link .dash-micon,
.dash-sidebar .dash-navbar > .dash-item:hover > .dash-link .dash-micon {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.2);
}
.dash-sidebar .dash-navbar > .dash-item.active > .dash-link .dash-micon i,
.dash-sidebar .dash-navbar > .dash-item:hover > .dash-link .dash-micon i {
    color: #fff;
}
/* active sub-items: soft blue chip with orange dot */
.dash-sidebar .dash-submenu .dash-item.active > .dash-link {
    background: var(--ie-blue-50);
    margin-right: 12px;
    border-radius: 10px;
    font-weight: 600;
}
body.theme-3 .dash-sidebar .dash-submenu .dash-item.active > .dash-link,
body.theme-3 .dash-sidebar .dash-submenu .dash-item:hover > .dash-link {
    color: var(--ie-blue);
}
.dash-sidebar .dash-item .dash-submenu .dash-item.active::before,
body.theme-3 .dash-sidebar .dash-item .dash-submenu .dash-item.active::before {
    background: var(--ie-orange);
    box-shadow: 0 0 0 4px rgba(255, 106, 19, 0.18);
}

/* ---------- top header ---------- */
.dash-header:not(.transprent-bg) {
    background: transparent;
}
.dash-header .dash-head-link {
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--ie-line) !important;
    box-shadow: 0 2px 6px rgba(8, 32, 74, 0.04);
}
.dash-header .drp-company .theme-avtar {
    border-radius: 10px;
}
.dash-header .drp-text,
.dash-header .dash-head-link span {
    color: var(--ie-navy-900);
    font-weight: 600;
}
.dash-header .dash-head-link .bg-danger,
.dash-header .dash-h-badge,
.dash-header .message-counter {
    background: var(--ie-orange) !important;
}

/* ---------- page title banner ---------- */
.dash-content > .page-header {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 22px 28px;
    margin-bottom: 26px;
    background:
        url("../assets/images/infierp/banner-motif.svg") right 12% bottom / auto 100% no-repeat,
        linear-gradient(100deg, var(--ie-navy-900) 0%, var(--ie-navy) 45%, var(--ie-blue) 100%);
    box-shadow: 0 14px 30px -14px rgba(8, 32, 74, 0.55);
}
.dash-content > .page-header .page-header-title h4,
.dash-content > .page-header .page-header-title .h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.45rem;
}
.dash-content > .page-header .breadcrumb,
.dash-content > .page-header .breadcrumb .breadcrumb-item,
.dash-content > .page-header .breadcrumb .breadcrumb-item a,
.dash-content > .page-header .breadcrumb .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.78) !important;
}
.dash-content > .page-header .breadcrumb .breadcrumb-item.active,
.dash-content > .page-header .breadcrumb .breadcrumb-item:last-child {
    color: #fff !important;
    font-weight: 600;
}
.dash-content > .page-header .action-btn-col .btn,
.dash-content > .page-header .action-btn-col a.btn {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--ie-blue) !important;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.35);
}
.dash-content > .page-header .action-btn-col .btn i,
.dash-content > .page-header .action-btn-col .btn svg {
    color: var(--ie-blue) !important;
}
.dash-content > .page-header .action-btn-col .form-control,
.dash-content > .page-header .action-btn-col .form-select,
.dash-content > .page-header .action-btn-col .select2-container .select2-selection {
    border-color: rgba(255, 255, 255, 0.6);
}
.dash-content > .page-header .action-btn-col label,
.dash-content > .page-header .action-btn-col .text-dark,
.dash-content > .page-header .action-btn-col span:not(.select2-selection__rendered):not(.btn span) {
    color: #fff;
}

/* ---------- cards ---------- */
.card {
    border-radius: 16px;
    border: 1px solid var(--ie-line);
    box-shadow: 0 6px 18px rgba(8, 32, 74, 0.05);
}
.card .card-header {
    border-bottom-color: var(--ie-line);
}
.card .card-header h5,
.card .card-header .h5 {
    color: var(--ie-navy-900);
    font-weight: 700;
}
.card .card-header h5:after,
.card .card-header .h5:after,
body[class*="theme-"] .card .card-header h5:after,
body[class*="theme-"] .card .card-header .h5:after,
body.custom-color .card .card-header h5:after,
body.custom-color .card .card-header .h5:after {
    background: var(--ie-orange) !important;
    border-radius: 3px;
}
.table thead th,
.dataTable-table thead th {
    color: #5b6b88;
    letter-spacing: 0.04em;
    background: #F7F9FD;
}

/* dashboard info cards: white with brand icon tiles */
.dash-info-card .info-card-inner,
.pos-dash-card .pos-card-inner {
    background: #fff !important;
    border: 1px solid var(--ie-line);
    box-shadow: 0 6px 18px rgba(8, 32, 74, 0.06);
    border-radius: 16px;
}
.dash-info-card .info-card-inner .star-bg,
.pos-dash-card .pos-card-inner .star-bg {
    display: none;
}
.dash-info-card .info-card-inner .info-icon,
.pos-dash-card .pos-card-inner .pos-icon {
    border-radius: 12px;
    height: 48px;
    width: 48px;
    box-shadow: 0 8px 16px -8px rgba(8, 32, 74, 0.6);
}
.dash-info-card .info-card-inner .info-icon svg path,
.pos-dash-card .pos-card-inner .pos-icon svg path {
    fill: #fff !important;
}
.dash-info-card:nth-child(4n + 1) .info-card-inner .info-icon,
.pos-dash-card:nth-child(4n + 1) .pos-card-inner .pos-icon { background: var(--ie-grad-primary); }
.dash-info-card:nth-child(4n + 2) .info-card-inner .info-icon,
.pos-dash-card:nth-child(4n + 2) .pos-card-inner .pos-icon { background: var(--ie-grad-accent); }
.dash-info-card:nth-child(4n + 3) .info-card-inner .info-icon,
.pos-dash-card:nth-child(4n + 3) .pos-card-inner .pos-icon { background: linear-gradient(135deg, var(--ie-navy-900), var(--ie-blue)); }
.dash-info-card:nth-child(4n + 4) .info-card-inner .info-icon,
.pos-dash-card:nth-child(4n + 4) .pos-card-inner .pos-icon { background: linear-gradient(135deg, #10B981, #34D399); }
.dash-info-card:nth-child(4n + 1) .info-card-inner .bottom-svg path,
.dash-info-card:nth-child(4n + 1) .info-card-inner .bottom-svg rect,
.pos-dash-card:nth-child(4n + 1) .pos-card-inner .bottom-svg path { fill: #DCE9FB !important; }
.dash-info-card:nth-child(4n + 2) .info-card-inner .bottom-svg path,
.dash-info-card:nth-child(4n + 2) .info-card-inner .bottom-svg rect,
.pos-dash-card:nth-child(4n + 2) .pos-card-inner .bottom-svg path { fill: #FFE2D1 !important; }
.dash-info-card:nth-child(4n + 3) .info-card-inner .bottom-svg path,
.dash-info-card:nth-child(4n + 3) .info-card-inner .bottom-svg rect,
.pos-dash-card:nth-child(4n + 3) .pos-card-inner .bottom-svg path { fill: #D6DEEC !important; }
.dash-info-card:nth-child(4n + 4) .info-card-inner .bottom-svg path,
.dash-info-card:nth-child(4n + 4) .info-card-inner .bottom-svg rect,
.pos-dash-card:nth-child(4n + 4) .pos-card-inner .bottom-svg path { fill: #D1F2E4 !important; }
.dash-info-card:nth-child(n) .info-card-inner .info-content .info-link,
.pos-dash-card:nth-child(n) .pos-info a {
    color: var(--ie-navy-900) !important;
    font-weight: 700;
}
.dash-info-card .info-card-inner h3,
.pos-dash-card .pos-card-inner h3 {
    color: var(--ie-navy-900);
    font-weight: 800;
}

/* ---------- buttons, forms, badges ---------- */
.btn {
    border-radius: 10px;
    font-weight: 600;
}
.btn-sm {
    border-radius: 8px;
}
body.theme-3 .btn-primary {
    background: var(--ie-grad-primary);
    border-color: var(--ie-blue);
}
body.theme-3 .btn-primary:hover,
body.theme-3 .btn-primary:focus {
    background: var(--ie-blue-700);
    border-color: var(--ie-blue-700);
}
.form-control,
.form-select {
    border-radius: 10px;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--ie-blue);
    box-shadow: 0 0 0 3px rgba(11, 99, 206, 0.15);
}
.modal-content {
    border-radius: 18px;
    overflow: hidden;
}
.modal-header {
    background: linear-gradient(100deg, var(--ie-navy-900), var(--ie-navy) 55%, var(--ie-blue));
    border-bottom: 3px solid var(--ie-orange);
}
.modal-header .modal-title,
.modal-header h5 {
    color: #fff;
    font-weight: 700;
}
.modal-header .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
    opacity: 0.85;
}

/* ---------- footer ---------- */
.dash-footer {
    border-top: 1px solid var(--ie-line);
}

/* ---------- loader ---------- */
.loader-bg .loader-track .loader-fill {
    background: var(--ie-grad-accent) !important;
}

/* ---------- careers / public pages ---------- */
.job-wrapper .job-banner,
.job-banner {
    background-color: var(--ie-navy);
}

/* ---------- mobile ---------- */
@media (max-width: 767.98px) {
    .dash-content > .page-header {
        padding: 18px;
        border-radius: 14px;
        background:
            url("../assets/images/infierp/banner-motif.svg") right -40px bottom / auto 90% no-repeat,
            linear-gradient(100deg, var(--ie-navy-900) 0%, var(--ie-navy) 45%, var(--ie-blue) 100%);
    }
    .dash-content > .page-header .page-header-title h4 {
        font-size: 1.2rem;
    }
}

/* ---------- right-to-left languages: motif on the left ---------- */
html[dir="rtl"] .dash-content > .page-header {
    background-position: left 12% bottom, 0 0;
}
html[dir="rtl"] .dash-sidebar .dash-submenu .dash-item.active > .dash-link {
    margin-right: 0;
    margin-left: 12px;
}
@media (max-width: 767.98px) {
    html[dir="rtl"] .dash-content > .page-header {
        background-position: left -40px bottom, 0 0;
    }
}

/* InfiERP: tall sticky side lists (Settings sections and similar) scroll inside themselves on laptop screens */
@media (min-width: 1200px) {
    .card.sticky-top {
        max-height: calc(100vh - 60px) !important;
        overflow-y: auto;
        scrollbar-width: thin;
    }
}
/* InfiERP: room under the last side-menu item so it can be scrolled fully into view */
.dash-sidebar .navbar-content .dash-navbar {
    padding-bottom: 80px;
}
