:root {
    --ct-primary: #0053ce;
    --bg-soft-danger: #f8d7da;
    --ct-primary-rgb: 28,85,214;
    --bs-primary: #0053ce;
    --bs-primary-rgb: 28,85,214;
    --bs-link-color: #0053ce;
    --bs-link-color-rgb: 28,85,214;
    --bs-link-hover-color: #074cba;
    --bs-link-hover-color-rgb: 7,76,186;
    --bs-focus-ring-color: rgba(28, 85, 214, 0.25);
    --bs-list-group-active-bg: #0053ce;
    --bs-list-group-active-border-color: #0053ce;
    --ct-danger: #d6283e;
    --ct-danger-rgb: 214, 40, 62;
    --bs-danger: #d6283e;
    --bs-danger-rgb: 214, 40, 62;
    --ct-logo-lg-height: 32px;
    --ct-primary-bg-subtle: #f8f8f8;
    --ct-secondary-color: #bac2c9;
    --ct-link-hover-color: #074cba;
    --ct-tertiary-color: #4d4d4d;
    --ct-list-group-active-bg: #0053ce;
    --ct-list-group-active-border-color: #0053ce;
    --ct-logo-sm-height: 24px !important;
    --ct-btn-padding-x: 0.65rem;
    --ct-btn-padding-y: 0.4rem;
    --ct-btn-font-size: 0.85rem;
    --ct-badge-padding-x: .5em;
    --ct-badge-padding-y: .4em;
}

html, body, #app {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body, #app {
    height: 100%;
}

/* Compact ERP button system. Keep actions distinct without the weight of solid fills. */
.btn {
    --ct-btn-padding-x: .52rem;
    --ct-btn-padding-y: .2rem;
    --ct-btn-font-size: .7875rem;
    --ct-btn-font-weight: 400;
    --ct-btn-line-height: 1;
    --ct-btn-border-radius: .2rem;
    --ct-btn-box-shadow: none;
    --ct-btn-focus-box-shadow: 0 0 0 .15rem rgba(var(--ct-btn-focus-shadow-rgb), .18);
    min-height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: none;
}

.btn > i,
.btn > .fa,
.btn > .fas,
.btn > .far,
.btn > .fa-solid,
.btn > .fa-regular,
.btn > .mdi {
    line-height: 1;
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn.show {
    box-shadow: none;
}

.btn-sm {
    --ct-btn-padding-x: .42rem;
    --ct-btn-padding-y: .12rem;
    --ct-btn-font-size: .75rem;
    min-height: 1.45rem;
}

.btn-lg {
    --ct-btn-padding-x: .7rem;
    --ct-btn-padding-y: .3rem;
    --ct-btn-font-size: .85rem;
    min-height: 1.95rem;
}

.btn-group > .dropdown-toggle-split {
    padding-right: .5rem;
    padding-left: .5rem;
}

/* Match the Items row action menu and anchor it below the full Export group. */
.items-export-dropdown {
    position: relative;
}

.items-export-dropdown > .items-export-menu {
    inset: 100% auto auto 0 !important;
    transform: none !important;
    min-width: 11.5rem;
    margin-top: .25rem !important;
    padding: .25rem;
    border: 1px solid rgba(49, 58, 70, .14);
    border-radius: .3rem;
    box-shadow: 0 .25rem .75rem rgba(49, 58, 70, .12);
    text-align: left;
}

.items-export-menu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .5rem;
    min-height: 1.8rem;
    padding: .3rem .5rem;
    border-radius: .2rem;
    color: var(--ct-body-color, #313a46);
    font-size: .8125rem;
    line-height: 1.25;
    text-align: left;
}

.items-export-menu .dropdown-item > i {
    width: 1rem;
    color: var(--ct-secondary-color, #6c757d);
    text-align: center;
}

.items-export-menu .dropdown-item:hover,
.items-export-menu .dropdown-item:focus {
    color: var(--ct-body-color, #313a46);
    background-color: var(--ct-tertiary-bg, #f3f5f7);
}

.btn > .me-2 {
    margin-right: .4rem !important;
}

/* DevExpress renders toggle captions inside its own text element. */
.list-header-toggle,
.list-header-toggle .dxbl-text,
.list-header-toggle .dxbl-checkbox-label-ellipsis,
.list-header-toggle * {
    font-weight: 400 !important;
}

.isa-column-chooser-btn {
    --ct-btn-color: #7b858f;
    --ct-btn-bg: transparent;
    --ct-btn-border-color: rgba(108, 117, 125, .16);
    --ct-btn-hover-color: #59636d;
    --ct-btn-hover-bg: rgba(108, 117, 125, .035);
    --ct-btn-hover-border-color: rgba(108, 117, 125, .24);
    --ct-btn-active-color: #4d5760;
    --ct-btn-active-bg: rgba(108, 117, 125, .07);
    --ct-btn-active-border-color: rgba(108, 117, 125, .3);
    --ct-btn-disabled-color: #9aa2aa;
    --ct-btn-disabled-bg: transparent;
    --ct-btn-disabled-border-color: rgba(108, 117, 125, .1);
    --ct-btn-focus-shadow-rgb: 108, 117, 125;
}

.user-grid-view-select {
    width: 11rem;
}

.user-grid-view-name {
    width: 10rem;
}

@media (max-width: 767.98px) {
    .user-grid-view-selector {
        width: 100%;
    }

    .user-grid-view-select,
    .user-grid-view-name {
        flex: 1 1 9rem;
        width: auto;
    }
}

/* ISA brand treatment for every state of outline-primary buttons. */
.btn-outline-primary {
    --ct-btn-color: #0c48b9;
    --ct-btn-border-color: #0c48b9;
    --ct-btn-hover-color: #fff;
    --ct-btn-hover-bg: #0c48b9;
    --ct-btn-hover-border-color: #0c48b9;
    --ct-btn-focus-shadow-rgb: 12, 72, 185;
    --ct-btn-active-color: #fff;
    --ct-btn-active-bg: #0c48b9;
    --ct-btn-active-border-color: #0c48b9;
    --ct-btn-disabled-color: #0c48b9;
    --ct-btn-disabled-bg: transparent;
    --ct-btn-disabled-border-color: #0c48b9;
    --bs-btn-color: #0c48b9;
    --bs-btn-border-color: #0c48b9;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0c48b9;
    --bs-btn-hover-border-color: #0c48b9;
    --bs-btn-focus-shadow-rgb: 12, 72, 185;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0c48b9;
    --bs-btn-active-border-color: #0c48b9;
    --bs-btn-disabled-color: #0c48b9;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0c48b9;
}

.btn-primary {
    --ct-btn-color: #0c48b9;
    --ct-btn-bg: #edf3ff;
    --ct-btn-border-color: #c8d8f4;
    --ct-btn-hover-color: #083a98;
    --ct-btn-hover-bg: #dfe9fb;
    --ct-btn-hover-border-color: #a9c1e9;
    --ct-btn-active-color: #083a98;
    --ct-btn-active-bg: #d2e0f7;
    --ct-btn-active-border-color: #96b3e4;
    --ct-btn-disabled-color: #0c48b9;
    --ct-btn-disabled-bg: #edf3ff;
    --ct-btn-disabled-border-color: #c8d8f4;
    --ct-btn-focus-shadow-rgb: 12, 72, 185;
}

.btn-secondary {
    --ct-btn-color: #0c48b9;
    --ct-btn-bg: #edf3ff;
    --ct-btn-border-color: #c8d8f4;
    --ct-btn-hover-color: #083a98;
    --ct-btn-hover-bg: #dfe9fb;
    --ct-btn-hover-border-color: #a9c1e9;
    --ct-btn-active-color: #083a98;
    --ct-btn-active-bg: #d2e0f7;
    --ct-btn-active-border-color: #96b3e4;
    --ct-btn-disabled-color: #0c48b9;
    --ct-btn-disabled-bg: #edf3ff;
    --ct-btn-disabled-border-color: #c8d8f4;
    --ct-btn-focus-shadow-rgb: 12, 72, 185;
}

.btn-light {
    --ct-btn-color: #46515c;
    --ct-btn-bg: #f3f5f7;
    --ct-btn-border-color: #dce1e6;
    --ct-btn-hover-color: #313a43;
    --ct-btn-hover-bg: #e9edf1;
    --ct-btn-hover-border-color: #cbd2d9;
    --ct-btn-active-color: #313a43;
    --ct-btn-active-bg: #dfe5ea;
    --ct-btn-active-border-color: #c2cad2;
    --ct-btn-disabled-color: #68737e;
    --ct-btn-disabled-bg: #f3f5f7;
    --ct-btn-disabled-border-color: #dce1e6;
    --ct-btn-focus-shadow-rgb: 108, 117, 125;
}

.btn-success {
    --ct-btn-color: #0c48b9;
    --ct-btn-bg: #edf3ff;
    --ct-btn-border-color: #c8d8f4;
    --ct-btn-hover-color: #083a98;
    --ct-btn-hover-bg: #dfe9fb;
    --ct-btn-hover-border-color: #a9c1e9;
    --ct-btn-active-color: #083a98;
    --ct-btn-active-bg: #d2e0f7;
    --ct-btn-active-border-color: #96b3e4;
    --ct-btn-disabled-color: #0c48b9;
    --ct-btn-disabled-bg: #edf3ff;
    --ct-btn-disabled-border-color: #c8d8f4;
    --ct-btn-focus-shadow-rgb: 12, 72, 185;
}

.btn-danger {
    --ct-btn-color: #d6283e;
    --ct-btn-bg: #fff0f1;
    --ct-btn-border-color: #f4ccd1;
    --ct-btn-hover-color: #b51f34;
    --ct-btn-hover-bg: #fbe1e4;
    --ct-btn-hover-border-color: #eab0b8;
    --ct-btn-active-color: #b51f34;
    --ct-btn-active-bg: #f7d5da;
    --ct-btn-active-border-color: #df9fa9;
    --ct-btn-disabled-color: #d6283e;
    --ct-btn-disabled-bg: #fff0f1;
    --ct-btn-disabled-border-color: #f4ccd1;
    --ct-btn-focus-shadow-rgb: 214, 40, 62;
}

.btn-warning {
    --ct-btn-color: #8a6116;
    --ct-btn-bg: #fff7e8;
    --ct-btn-border-color: #f1ddb7;
    --ct-btn-hover-color: #704d0f;
    --ct-btn-hover-bg: #fbedcf;
    --ct-btn-hover-border-color: #e5ca96;
    --ct-btn-active-color: #704d0f;
    --ct-btn-active-bg: #f7e5c1;
    --ct-btn-active-border-color: #dabb81;
    --ct-btn-disabled-color: #8a6116;
    --ct-btn-disabled-bg: #fff7e8;
    --ct-btn-disabled-border-color: #f1ddb7;
    --ct-btn-focus-shadow-rgb: 138, 97, 22;
}

.btn-info {
    --ct-btn-color: #236b80;
    --ct-btn-bg: #eaf6f9;
    --ct-btn-border-color: #c6e5ec;
    --ct-btn-hover-color: #1c586a;
    --ct-btn-hover-bg: #dceff4;
    --ct-btn-hover-border-color: #acd8e2;
    --ct-btn-active-color: #1c586a;
    --ct-btn-active-bg: #cfe8ee;
    --ct-btn-active-border-color: #9bcbd6;
    --ct-btn-disabled-color: #236b80;
    --ct-btn-disabled-bg: #eaf6f9;
    --ct-btn-disabled-border-color: #c6e5ec;
    --ct-btn-focus-shadow-rgb: 35, 107, 128;
}

.btn-dark {
    --ct-btn-color: #39434d;
    --ct-btn-bg: #edf0f2;
    --ct-btn-border-color: #d1d7dc;
    --ct-btn-hover-color: #242b31;
    --ct-btn-hover-bg: #dfe4e8;
    --ct-btn-hover-border-color: #bec6cd;
    --ct-btn-active-color: #242b31;
    --ct-btn-active-bg: #d5dce1;
    --ct-btn-active-border-color: #b2bcc4;
    --ct-btn-disabled-color: #39434d;
    --ct-btn-disabled-bg: #edf0f2;
    --ct-btn-disabled-border-color: #d1d7dc;
    --ct-btn-focus-shadow-rgb: 57, 67, 77;
}

/* Resting buttons are unfilled; color appears only as restrained interaction feedback. */
.btn-primary {
    --ct-btn-bg: transparent;
    --ct-btn-border-color: rgba(12, 72, 185, .24);
    --ct-btn-hover-bg: rgba(12, 72, 185, .055);
    --ct-btn-hover-border-color: rgba(12, 72, 185, .34);
    --ct-btn-active-bg: rgba(12, 72, 185, .1);
    --ct-btn-active-border-color: rgba(12, 72, 185, .42);
    --ct-btn-disabled-bg: transparent;
}

.btn-secondary {
    --ct-btn-bg: transparent;
    --ct-btn-border-color: rgba(12, 72, 185, .24);
    --ct-btn-hover-bg: rgba(12, 72, 185, .055);
    --ct-btn-hover-border-color: rgba(12, 72, 185, .34);
    --ct-btn-active-bg: rgba(12, 72, 185, .1);
    --ct-btn-active-border-color: rgba(12, 72, 185, .42);
    --ct-btn-disabled-bg: transparent;
}

.btn-light,
.btn-dark {
    --ct-btn-bg: transparent;
    --ct-btn-border-color: rgba(108, 117, 125, .24);
    --ct-btn-hover-bg: rgba(108, 117, 125, .055);
    --ct-btn-hover-border-color: rgba(108, 117, 125, .34);
    --ct-btn-active-bg: rgba(108, 117, 125, .1);
    --ct-btn-active-border-color: rgba(108, 117, 125, .42);
    --ct-btn-disabled-bg: transparent;
}

.btn-success {
    --ct-btn-bg: transparent;
    --ct-btn-border-color: rgba(12, 72, 185, .24);
    --ct-btn-hover-bg: rgba(12, 72, 185, .055);
    --ct-btn-hover-border-color: rgba(12, 72, 185, .34);
    --ct-btn-active-bg: rgba(12, 72, 185, .1);
    --ct-btn-active-border-color: rgba(12, 72, 185, .42);
    --ct-btn-disabled-bg: transparent;
}

.btn-danger {
    --ct-btn-bg: transparent;
    --ct-btn-border-color: rgba(214, 40, 62, .24);
    --ct-btn-hover-bg: rgba(214, 40, 62, .055);
    --ct-btn-hover-border-color: rgba(214, 40, 62, .34);
    --ct-btn-active-bg: rgba(214, 40, 62, .1);
    --ct-btn-active-border-color: rgba(214, 40, 62, .42);
    --ct-btn-disabled-bg: transparent;
}

.btn-warning {
    --ct-btn-bg: transparent;
    --ct-btn-border-color: rgba(138, 97, 22, .24);
    --ct-btn-hover-bg: rgba(138, 97, 22, .055);
    --ct-btn-hover-border-color: rgba(138, 97, 22, .34);
    --ct-btn-active-bg: rgba(138, 97, 22, .1);
    --ct-btn-active-border-color: rgba(138, 97, 22, .42);
    --ct-btn-disabled-bg: transparent;
}

.btn-info {
    --ct-btn-bg: transparent;
    --ct-btn-border-color: rgba(35, 107, 128, .24);
    --ct-btn-hover-bg: rgba(35, 107, 128, .055);
    --ct-btn-hover-border-color: rgba(35, 107, 128, .34);
    --ct-btn-active-bg: rgba(35, 107, 128, .1);
    --ct-btn-active-border-color: rgba(35, 107, 128, .42);
    --ct-btn-disabled-bg: transparent;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
textarea,
[contenteditable="true"] {
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    /* Disable smart quotes on iOS */
    font-variant-ligatures: no-common-ligatures;
    -webkit-font-variant-ligatures: no-common-ligatures;
}

.splashscreen {
    z-index: 100000;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(334deg, #B3D1FF, #0053CE, #003F99);
    background-size: 180% 180%;
    animation: gradient-animation 6s ease infinite;
}

.splashscreen.fade-out {
        opacity: 0;
        transition: opacity 0.5s ease-out;
        pointer-events: none; /* Optional: disables interaction */
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.text-inherit {
    color: inherit;
}

.text-body {
    color: #000;
}

h1 {
    color: #99a3ab;
}

h4 {
    color: #b5b7b9;
    font-weight: 300;
    letter-spacing: 0;
}

.card {
    border: solid 1px #e5e5e5;
}

.card-header .header-title {
    font-size: 26px !important;
    text-transform: none;
    color: #b5b7b9;
    font-weight: 300 !important;
    letter-spacing: 0;
}
.card-header .page-title {
    font-size: 32px !important;
    text-transform: none;
    color: #727677;
    font-weight: 300 !important;
    letter-spacing: 0;
}
.leftside-menu {
    background-color: #333;
    background-image: linear-gradient(
        to bottom,
        #151515 0%,
        #333 20%,
        #333 100%
    );
}

@media (min-width: 992px) {
    :root {
        --ct-menu-item-padding-y: 8.5px;
    }
}

.text-inherit:hover {
    color: var(--ct-link-hover-color) !important;
}

.bg-soft-danger {
    background-color: var(--bg-soft-danger);
}

.list-group {
    --bs-list-group-active-bg: var(--ct-primary);
    --ct-list-group-active-bg: var(--ct-primary);
}

.list-group-item-action.active {
    background-color: #edf0f5;
    color: var(--ct-tertiary-color);
}

.list-group-item-action.active .text-white-50,
.list-group-item-action.active .text-muted {
    color: var(--ct-secondary-color) !important;
}

.white-space-pre {
    white-space: pre-line;
}

.isa-detail-card .card-body {
    padding: 1.25rem;
}

/* Align invoice detail titles with the first column's Bootstrap card gutter. */
.invoice-detail-page-title {
    margin-left: .75rem;
}

.isa-detail-section + .isa-detail-section {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ct-border-color);
}

.isa-detail-heading {
    margin: 0 0 .55rem;
    color: var(--ct-secondary-color);
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.isa-detail-title {
    color: var(--ct-body-color);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
}

.isa-detail-list {
    display: grid;
    gap: .4rem;
    margin-top: .7rem;
}

.isa-detail-row {
    display: grid;
    grid-template-columns: minmax(5.5rem, 7rem) minmax(0, 1fr);
    column-gap: .75rem;
    align-items: start;
    color: var(--ct-body-color);
    font-size: .875rem;
    line-height: 1.45;
}

.isa-detail-label {
    color: var(--ct-secondary-color);
    font-weight: 700;
}

.isa-detail-value {
    min-width: 0;
    color: var(--ct-body-color);
}

.isa-detail-stack {
    display: inline-flex;
    min-width: 0;
    flex-direction: column;
}

.isa-detail-link {
    color: var(--ct-body-color);
    text-decoration: none;
}

.isa-detail-link:hover {
    color: var(--ct-link-hover-color);
    text-decoration: underline;
}

.nutshell-sync-link {
    color: var(--ct-secondary-color) !important;
    text-decoration: none !important;
}

.nutshell-sync-link:hover,
.nutshell-sync-link:focus {
    color: var(--ct-link-color) !important;
    text-decoration: none !important;
}

.isa-detail-note {
    color: var(--ct-body-color);
    font-size: .875rem;
    line-height: 1.5;
}

.isa-detail-badge {
    background-color: var(--ct-light, #f8f9fa);
    color: var(--ct-secondary-color);
    border: 1px solid var(--ct-border-color);
}

.isa-section-title {
    margin: 0;
    color: var(--ct-body-color);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.isa-section-subtitle {
    color: var(--ct-secondary-color);
    font-size: .8125rem;
    line-height: 1.35;
}

.isa-row-icon-btn {
    display: inline-flex;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC4wODE1IDI5MSA9NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA6IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-check-input:checked {
    background-color: var(--ct-primary);
    border-color: var(--ct-primary);
}

.side-nav > a {
    text-decoration: none;
}

.leftside-menu .side-nav > .side-nav-item > .side-nav-link > i {
    font-size: calc(var(--ct-menu-item-icon-size) - 2px);
    width: 2rem;
    min-width: 2rem;
}

.side-nav .side-nav-link.active {
    color: var(--ct-menu-item-hover-color);
    text-decoration: none;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid var(--ct-border-color);
    }

    .separator:not(:empty)::before {
        margin-right: .25em;
    }

.separator:not(:empty)::after {
        margin-left: .25em;
    }

.simple-email-editor {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    gap: .5rem;
}

.simple-email-editor-toolbar {
    align-items: center;
    padding: .5rem;
    background: #f8f9fa;
    border: 1px solid var(--ct-border-color);
    border-radius: .25rem;
}

.simple-email-editor-toolbar .btn {
    min-width: 2.25rem;
}

.simple-email-editor-variable {
    width: min(100%, 28rem);
}

.simple-email-editor-surface,
.simple-email-editor-code {
    flex: 1 1 auto;
    min-height: 24rem;
    overflow: auto;
}

.simple-email-editor-surface {
    line-height: 1.5;
}

.simple-email-editor-surface:focus {
    border-color: var(--ct-primary);
    box-shadow: 0 0 0 .15rem rgba(var(--bs-primary-rgb), .15);
}

.simple-email-editor-surface img {
    max-width: 100%;
    height: auto;
}

.simple-email-editor-surface table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
}

.simple-email-editor-surface th {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    text-align: left;
    background: #f9fafb;
    font-weight: 600;
}

.simple-email-editor-surface td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
}

.loading {
    width: 10em;
    height: 10em;
    border: .4em solid !important;
    border-right-color: transparent !important;
}

.loading-container {
    background-color: rgba(0,0,0,.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000
}

.dxbs-gridview > .card > .table-bordered, .dxbs-gridview > .card > .table-bordered:first-child {
    border: none;
    border-color: var(--bs-border-color);
}

.img-cover {
    object-fit: cover;
    border-radius: 4px;
}

.shadow-none .card {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.image-input {
    position: relative;
    display: inline-block;
    border-radius: 0.75rem;
    background-repeat: no-repeat;
    background-size: cover;
}

    .image-input .image-input-wrapper {
        background-repeat: no-repeat;
        background-size: cover;
    }

        .image-input .image-input-wrapper, .image-input .image-input-wrapper img {
            border-radius: 0.25rem;
        }


iframe {
    aspect-ratio: 16/9;
    width: 100%;
}

.pager-container {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border: 1px solid #d2d2d2;
    border-top: none;
}

.table-striped .dxbl-grid-table > tbody > tr {
    padding:10px;
}

.table-striped .dxbl-grid-table > tbody > tr:hover {
    background-color: #f5f5f5;
}

/* Global grid borders: keep horizontal row separators, remove vertical column lines */
.dxbl-grid-table > thead > tr > th,
.dxbl-grid-table > tbody > tr > td,
.dxbl-grid-table > tfoot > tr > td,
.dxbl-grid-table > tfoot > tr > th {
    border-left: 0 !important;
    border-right: 0 !important;
}

/* Shared invoice table header surface for native tables and DevExpress grids. */
.invoice-editor,
.invoice-editor > .modal-body,
.invoice-editor .modal-body > .d-flex,
.invoice-editor .invoice-tabs {
    background-color: var(--invoice-canvas, #f6f8fb) !important;
}

.invoice-editor > .modal-body {
    flex: 1 1 auto;
}

.invoice-editor .invoice-tabs,
.invoice-editor .invoice-tabs [role="tabpanel"],
.invoice-editor .invoice-tabs .tab-content,
.invoice-editor .invoice-tabs .dxbl-tabs-content {
    background-color: var(--invoice-canvas, #f6f8fb) !important;
}

.invoice-editor .invoice-tabs [role="tablist"],
.invoice-editor .invoice-tabs .nav-tabs,
.invoice-editor .invoice-tabs .dxbl-tabs-tablist,
.invoice-editor .invoice-tabs .dxbl-tabs-nav {
    background-color: transparent !important;
}

.invoice-editor .invoice-summary-section .dxbl-grid {
    border: 1px solid var(--invoice-line, #edf0f4) !important;
    border-radius: .5rem !important;
    box-shadow: none !important;
    overflow: hidden;
}

.invoice-editor .invoice-summary-section .dxbl-grid-table {
    border-color: var(--invoice-line, #edf0f4) !important;
    outline: 0 !important;
}

.invoice-editor .invoice-table-head > tr > th,
.invoice-editor .invoice-soft-grid .dxbl-grid-table > thead > tr:first-child > th,
.invoice-editor .invoice-summary-section .dxbl-grid-table > thead > tr:first-child > th {
    background-color: #f1f2f4 !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--invoice-line, #edf0f4) !important;
    color: #667085 !important;
}

.invoice-editor .invoice-soft-grid .dxbl-grid-table > tbody > tr > td,
.invoice-editor .invoice-summary-section .dxbl-grid-table > tbody > tr > td {
    border-bottom: 1px solid var(--invoice-line, #edf0f4) !important;
}

.invoice-editor .invoice-review-table > thead > tr > th,
.invoice-editor .invoice-items-table > thead > tr > th {
    border-bottom: 1px solid var(--invoice-line, #edf0f4) !important;
    color: #667085 !important;
}

.invoice-editor .invoice-review-table > tbody > tr > td,
.invoice-editor .invoice-items-table > tbody > tr > td {
    border-bottom: 1px solid var(--invoice-line, #edf0f4) !important;
}

.invoice-editor .invoice-soft-grid .dxbl-grid-table > tbody > tr:last-child > td,
.invoice-editor .invoice-summary-section .dxbl-grid-table > tbody > tr:last-child > td,
.invoice-editor .invoice-review-table > tbody > tr:last-child > td,
.invoice-editor .invoice-items-table > tbody > tr:last-child > td {
    border-bottom: 0 !important;
}

.invoice-editor .invoice-soft-grid .dxbl-grid-table > thead > tr > th,
.invoice-editor .invoice-soft-grid .dxbl-grid-table > thead > tr > th .dxbl-text,
.invoice-editor .invoice-summary-section .dxbl-grid-table > thead > tr > th,
.invoice-editor .invoice-summary-section .dxbl-grid-table > thead > tr > th .dxbl-text {
    color: #667085 !important;
}

.invoice-editor .invoice-table-head > tr > th:first-child,
.invoice-editor .invoice-soft-grid .dxbl-grid-table > thead > tr:first-child > th:first-child,
.invoice-editor .invoice-summary-section .dxbl-grid-table > thead > tr:first-child > th:first-child {
    border-top-left-radius: .55rem;
}

.invoice-editor .invoice-table-head > tr > th:last-child,
.invoice-editor .invoice-soft-grid .dxbl-grid-table > thead > tr:first-child > th:last-child,
.invoice-editor .invoice-summary-section .dxbl-grid-table > thead > tr:first-child > th:last-child {
    border-top-right-radius: .55rem;
}

.dxbl-popup-cell, .dxbl-dropdown-dialog {
    z-index: 10000 !important;
}

.dropdown-menu {
    z-index: 10000 !important;
}

/* Customer/company hover details should read like the app's compact context menus. */
.customer-detail-popover.popover {
    --bs-popover-max-width: 20rem;
    --bs-popover-border-color: var(--ct-border-color);
    --bs-popover-border-radius: .375rem;
    --bs-popover-box-shadow: 0 .25rem .75rem rgba(15, 23, 42, .12);
    color: var(--ct-body-color);
    font-family: inherit;
    font-size: .8125rem;
    box-shadow: var(--bs-popover-box-shadow);
}

.customer-detail-popover .popover-header {
    padding: .5rem .75rem;
    background-color: var(--ct-light, #f8f9fa);
    color: var(--ct-body-color);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.35;
}

.customer-detail-popover .popover-body {
    padding: .55rem .75rem;
    color: var(--ct-secondary-color);
    font-size: .8125rem;
    line-height: 1.45;
}

.customer-detail-popover .popover-body .fa {
    width: 1rem;
    color: var(--ct-secondary-color);
    text-align: center;
}


.dxbl-grid {
    --dxbl-grid-text-cell-padding-x: 0.75rem;
    --dxbl-grid-text-cell-padding-y: 0.5rem;
    font-size: 0.8125rem;
}

/* Keep column-chooser grids flush with their card when visible columns change.
   The table's auto-width columns consume any space left by fixed-width columns. */
.column-chooser-grid,
.column-chooser-grid .dxbl-grid-table {
    min-width: 100%;
}

.dxbl-grid .dxbl-grid-table,
.dxbl-grid .dxbl-grid-table th,
.dxbl-grid .dxbl-grid-table td,
.dxbl-grid .dxbl-grid-empty-data-area,
.dxbl-grid .dxbl-pager,
.dxbl-grid .dxbl-text-edit,
.dxbl-grid .dxbl-text-edit-input,
.dxbl-grid .form-control,
.dxbl-grid .form-select {
    font-size: inherit;
}

.dxbl-btn-dropdown-popup.dxbl-dropdown-dialog .dxbl-dropdown-body {
    --dxbl-dropdown-body-padding-x: 0.65rem !important;
    --dxbl-dropdown-body-padding-y: 0.4rem !important;
}


.dx-combobox-dropdown {
    width: auto !important;
    min-width: 100%; /* fallback to input width */
    white-space: nowrap;
}


.swal2-container {
    z-index: 10000;
}

.item-status-started {
    border: .5em solid #b6effb !important;
    background-color: #b6effb;
}

.item-status-picked {
    border: .5em solid #b6d4fe !important;
    background-color: #b6d4fe;
}

.item-status-completed {
    border: .5em solid #badbcc !important;
    background-color: #badbcc;
}

.page-title-box {
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.fancybox__container {
    z-index: 10000;
}

/* DevExpress Report Viewer Icon Override */
.dxd-icon-ReportViewer_Toolbar_Print::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    content: "\f02f" !important;
    font-weight: 900 !important;
}

.dxd-icon-ReportViewer_Toolbar_ExportTo::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    content: "\f56e" !important;
    font-weight: 900 !important;
}

.dxd-icon-ReportViewer_Toolbar_ZoomIn::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    content: "\f00e" !important;
    font-weight: 900 !important;
}

.dxd-icon-ReportViewer_Toolbar_ZoomOut::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    content: "\f010" !important;
    font-weight: 900 !important;
}

/* Buttons */

a, .btn-link {
    color: #0c48b9;
}

    a.text-muted:hover, a.text-inherit:hover {
        color: var(--ct-link-hover-color) !important;
    }

.btn-primary .d-lg-inline-flex {
    display: none !important;
}

.btn-danger .d-lg-inline-flex {
    display: none !important;
}

.btn-primary .me-lg-1, .btn-danger .me-lg-1 {
    margin-right: 0 !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 .15rem rgba(37, 140, 251, .16);
}

hr {
    border-top: solid 1px #f2f2f2;
}

hr {
    border-top: solid 1px #f2f2f2;
}

/* Auction List */
.auction-id-muted {
    color: #99a3ab;
    padding: 3px;
    font-size: .75em;
    border-radius: 3px;
    background: #efefef;
    float: right;
}

/* Inventory List */
.inv-item-link {
    color: #333333;
}

    .inv-item-link:hover {
        color: #000000;
    }

.bg-archive {
    background: #f0f0f0;
    color: #aaa !important;
}

.bg-success {
    background: #0d6efd;
}

.bg-img-count {
    background: #cce8f6;
    color: #3095ea;
    box-shadow: #fff 1px 1px 5px;
}

.img-thumb-col .bg-danger {
    background-color: rgb(247,199,199,0.5) !important;
    color: #ba7171;
    padding: 3px 6px;
    box-shadow: #fff 1px 1px 5px;
}


/* Inventory Detail */

.inv-main-thumb {
    border-radius: 6px;
    box-shadow: 2px 2px 12px rgb(0,0,0,0.125);
}

.inv-small-thumb {
    padding: 0;
    display: inline-block;
    width: 84px;
    margin: 0 .25rem;
}

.inv-small-thumb .img-thumbnail {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.inv-small-thumb-more {
    width: 84px;
    aspect-ratio: 4 / 3;
}

.accordion-button:not(.collapsed) {
    color: #99a3ab;
    border-bottom: none;
    box-shadow: none;
    border-bottom: none;
}

.accordion-item {
    overflow: hidden;
}

    .accordion-item h2 .collapsed {
        border-bottom: none !important;
    }

.accordian-item .accordian-button:focus {
    border-radius: unset;
    box-shadow: none;
}

/* Add Inventory */
.dropzone {
    min-height: 120px;
    border: dashed 2px #99a3ab;
    transition: 0.5s all ease 0s;
    -webkit-transition: 0.5s all ease 0s;
    -moz-transition: 0.5s all ease 0s;
    -ms-transition: 0.5s all ease 0s;
}

    .dropzone:hover {
        background-color: #f5f5f5;
        transition: 0.5s all ease 0s;
        -webkit-transition: 0.5s all ease 0s;
        -moz-transition: 0.5s all ease 0s;
        -ms-transition: 0.5s all ease 0s;
    }

    .dropzone input[type=file] {
        width: 100%;
        min-height: 100px;
    }

    .dropzone input[type=file].file-upload-input {
        max-width: 28rem;
        min-height: auto;
    }

.contract-file-upload .dropzone {
    min-height: 48px;
    border-width: 1px;
}

    .contract-file-upload .dropzone input[type=file] {
        min-height: 46px;
        padding: 9px 12px;
        font-size: 0.875rem;
    }

.contract-file-upload .list-group-item {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

/* Item Detail */
.fa-copy {
    margin-right: 0.375rem !important;
}

.item-detail-preview {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--bs-border-radius);
}

.item-detail-preview-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.item-detail-list .list-group-item .row > div {
    padding: 0 0 0 0;
}
.item-detail-list .list-group-item .row {
    margin:0;
}

.card-body .list-group-item {
    padding:6px 8px;
}

/* Consignment Order Detail */
.co-inventory .list-group-item:nth-child(odd) {
    background-color: #f8f8f8;
}

/* Global removal of number input spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* For DevExpress components if they use internal number inputs */
.dxbs-spin-edit-spin-button,
.dx-spin-button {
    display: none !important;
}

/* edit copy actions on grid column */
.item-actions {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.item-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--bs-secondary-color);
    text-decoration: none;
    line-height: 1;
}

.item-action-link:hover {
    color: var(--bs-primary);
}

.item-action-link:focus-visible {
    outline: var(--bs-focus-ring-width, 0.25rem) solid var(--bs-focus-ring-color, rgba(13, 110, 253, 0.25));
    outline-offset: 0.1rem;
    border-radius: 0.2rem;
}

.image-drag-item {
    width:10em;
    height:10em;
    aspect-ratio: 1 / 1;
}
.remove-image {
    padding: 2px 7px 0 8px;
}

/* CO List page had extra rows for CO Notes, but empty ones were creating a thin white line */
.co-detail-empty {
    display: none !important;
    border: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
}

tr:has(> td.row-detail-empty) {
    display: none !important;
}

.co-detail-note {
    white-space: pre-wrap;
    text-align: left;
}

.item-row-note-editor {
    display: block;
    width: 100%;
}

/* List pages: make expanded note detail feel attached to its parent row */
.item-row-note-parent-expanded > td {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

tr:has(> td.item-row-note-detail-cell) > td {
    border-top: 0 !important;
}

td.item-row-note-detail-cell {
    padding-top: 0.25rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: calc(0.5rem + 4px) !important;
}

.item-row-note-display {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 1.25rem;
    font-size: 13px;
    color: #646464;
}

.item-row-note-display-editable {
    cursor: text;
}

.item-row-note-mouse-tooltip .tooltip-inner {
    white-space: pre-line;
    text-align: left;
}

.item-row-note-mouse-tooltip {
    opacity: 0.75;
}

.item-row-note-editor-input {
    resize: vertical;
    min-height: 2.25rem;
    width: 30%;
}

.item-row-note-parent-expanded:hover > td,
.item-row-note-parent-expanded:hover + tr:has(> td.item-row-note-detail-cell) > td,
.item-row-note-parent-expanded:has(+ tr > td.item-row-note-detail-cell:hover) > td,
tr:has(> td.item-row-note-detail-cell:hover) > td {
    background-color: #f5f5f5 !important;
}

/* Media Queries */
/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {

    .list-group-item {
        border-top: none;
        border-left: none;
        border-right: none;
    }

    .content-page {
        padding: 0;
    }

    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        padding: 0 !important;
    }

    .content {
        padding: 0;
    }

    .card-body {
        padding: 10px;
    }

        .card-body .list-group-item {
            padding: 10px 8px;
        }

            .card-body .list-group-item .img-cover {
                aspect-ratio: 4 / 3;
            }

        .card-body .list-group-item {
            padding: 13px 8px;
        }

    .dxbl-text-edit > .dxbl-text-edit-input {
        font-size: 16px !important;
    }

    .image-drag-item {
        width: 27% !important;
        height: auto !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {

    .list-group-item {
        border-top: none;
        border-left: none;
        border-right: none;
    }

    .content-page {
        padding: 0;
    }

    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        padding: 0 !important;
    }

    .content {
        padding: 0 !important;
    }

    .card-body .list-group-item {
        padding: 0;
    }

    .image-drag-item {
        width: 28% !important;
    }

}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {

}

/* Sticky action bar — lot creation / edit form (#1633) */
.sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: var(--bs-body-bg, #fff);
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    padding: 0.5rem 1rem;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.sticky-action-bar-spacer {
    height: 60px;
}


.erp-chat-offcanvas {
    width: min(520px, 100vw);
}

.erp-chat-messages {
    overflow-y: auto;
    background-color: #f8f9fa;
}

.erp-chat-bubble {
    max-width: 80%;
    padding: 0.6rem 0.8rem;
    border-radius: 14px;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.92rem;
}

.erp-chat-bubble-user {
    background-color: #0d6efd;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.erp-chat-bubble-assistant {
    background-color: #e9ecef;
    color: #212529;
    border-bottom-left-radius: 4px;
}

