@charset "UTF-8";

/*----------------------------------------------------------------------------*/
/* #region Root Overriding and Custom Variables */
/*----------------------------------------------------------------------------*/
:root {
    /* Colours - Theme Colour */
    --primary-color: #9f6cc9;
    --companion-color: #96c96c;
    --tertiary-color: #393857;
    --ix-white: #ffffff;
    --ix-black: #000000;
    --ix-text-color: #566a7f;

    /* Overriding Bootstrap color variable for theme */
    --bs-primary: var(--primary-color);
    --bs-primary-rgb: 105,108,255;
    --bs-link-color: var(--primary-color);

    /* Overriding Sneat */
    --box-shadow: 0px 2px 6px 0px rgba(67, 89, 113, 0.12);


    /* Custom variables */
    --custom-border-color: #d9dee3;
    --custom-nav-icon-color: #fdfdff;
    --custom-navbar-top-bg-color: var(--primary-color);
    --custom-navbar-bottom-bg-color: var(--ix-white);
    --custom-navbar-height: 140px;
    --top-navbar-height: var(--custom-navbar-height);
    --custom-navbar-margin: 12px;
    --side-menu-title-color: var(--companion-color);
    --side-menu-icon-color: var(--primary-color);
    --side-menu-icon-selected-color: var(--companion-color);
    --side-menu-selected: color-mix(in srgb, var(--tertiary-color), var(--ix-black) 15%);
    --side-menu-hover: color-mix(in srgb, var(--tertiary-color), var(--ix-white) 3%);
    --side-menu-dot: color-mix(in srgb, var(--tertiary-color), var(--ix-white) 20%);
    --side-menu-dot-selected: var(--companion-color);
    --side-menu-footer-font-text: color-mix(in srgb, var(--tertiary-color), var(--ix-white) 50%);
    --sticky-bar-bg-color: var(--ix-white);
    --sticky-divider-color: var(--custom-border-color);
    --custom-navbar-bottom-text-color: var(--ix-text-color);
    --side-menu-fs: 14px;
    --side-menu-ls: 0.03em;
    --side-menu-lh: 20px;
    /* --side-menu-font-color: color-mix(in srgb, var(--tertiary-color), var(--ix-white) 50%); */
    --side-menu-font-color: var(--ix-white); /* Show white instead */
    --side-menu-bg-color: var(--tertiary-color);
    --side-menu-header-color: color-mix(in srgb, var(--tertiary-color), var(--ix-black) 15%);
    --body-text-color: var(--ix-text-color);
    --input-placeholder-color: var(--disabled-text-color);
    --table-row-hover-color: var(--body-text-color);
    --table-row-selected-bg-color: color-mix(in srgb, var(--primary-color), var(--ix-white) 75%);
    --table-row-hover-bg-color: color-mix(in srgb, var(--primary-color), var(--ix-white) 95%);
    --table-row-hover-text-color: var(--table-row-hover-color);
    --sorting-icon-color: var(--body-text-color);
    --custom-card-header-footer-height: 70px;
    --scrollbar-thumb-width: 6px;
    --scrollbar-thumb-hover-width: 11px;
    --scrollbar-thumb-color: color-mix(in srgb, var(--tertiary-color), var(--ix-white) 30%);
    --scrollbar-thumb-hover-color: color-mix(in srgb, var(--tertiary-color), var(--ix-white) 50%);
    --horizontal-scrollbar-thumb-color: color-mix(in srgb, var(--tertiary-color), var(--ix-white) 90%);
    --horizontal-scrollbar-thumb-hover-color: color-mix(in srgb, var(--tertiary-color), var(--ix-white) 60%);
    --custom-input-height: 40px;
    --ix-read-only-color: #eceef1;
    --ix-link-color: var(--primary-color);
    --ix-link-hover-color: var(--primary-hover-color);
    --image-action-button-color: #0387ec;

    /* Button colors */
    --primary-hover-color: color-mix(in srgb, var(--primary-color), var(--ix-white) 10%);
    --primary-bg-color: color-mix(in srgb, var(--primary-color), var(--ix-white) 80%);
    --companion-hover-color: color-mix(in srgb, var(--companion-color), var(--ix-white) 10%);
    --companion-bg-color: color-mix(in srgb, var(--companion-color), var(--ix-white) 80%);
    --disabled-bg-color: var(--ix-read-only-color);
    --disabled-text-color: #a1acb8;
    --disabled-primary-color: color-mix(in srgb, var(--primary-color), var(--ix-white) 40%);

    /* Material Icon */
    --icon-size: 20px;
    --icon-size-menu: 20px;

    /* Custom font-weight, font-size that use multiple times */
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fs-xs-small: 10px;
    --fs-x-small: 11px;
    --fs-small: 12px;
    --fs-normal: 14px;
    --fs-medium: 16px;
    --fs-large: 18px;
    --fs-xlarge: 22px;
    --custom-ls: unset;
    --lh-small: 18px;
    --lh-normal: 21px;
    --lh-medium: 24px;
    --lh-large: 27px;
    --lh-xlarge: 33px;

    /* Overriding Bootstrap */
    --bs-body-font-family: "Poppins", serif;
    --bs-body-font-size: var(--fs-normal);
    --bs-body-font-weight: var(--fw-normal); /* we changed from medium to normal */
    --bs-body-line-height: var(--lh-normal);
    --bs-modal-padding: 24px;
}
/*----------------------------------------------------------------------------*/
/*#endregion Root Overriding and Custom Variables */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Component - General HTML tag Overriding */
/*----------------------------------------------------------------------------*/
body, header {
    /* Always show the scrollbar, prevent the page content shift to left if scrollbar exist (does not look good) */
    /* overflow-y: scroll !important; */

    padding-right: unset !important;
}

a {
    color: var(--ix-link-color);
}

    a:focus, a:hover {
        color: var(--ix-link-hover-color);
    }
/*----------------------------------------------------------------------------*/
/*#endregion Component - General HTML tag Overriding */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Component - Heading, Text, Forms Overriding */
/*----------------------------------------------------------------------------*/
/*
An element with the .paragraph class is used in place of a <p> tag, when we need
the paragraph font styling but cannot use a <p> tag as there are certain elements
that are not allowed inside a <p> tag such as <ul>, <li>, etc.
*/
p, .paragraph {
    font-size: var(--fs-normal);
    font-weight: var(--fw-normal);
    line-height: var(--lh-medium);
}

h1 {
    font-size: var(--fs-xlarge);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-xlarge);
}

h2 {
    font-size: var(--fs-large);
    font-weight: var(--fw-medium);
    line-height: var(--lh-large);
}

h5 {
    font-size: var(--fs-large);
    font-weight: var(--fw-medium);
    line-height: var(--lh-large);
}

.form-control:not(textarea), .form-select {
    height: var(--custom-input-height) !important;
}

    body, p, .card-body, input, .form-control, .form-select, .form-select:focus, input:focus, .form-control:focus {
        color: var(--body-text-color) !important;
    }

    input::placeholder, .form-control, .form-select, textarea {
        font-size: var(--fs-normal);
        font-weight: var(--fw-medium);
        line-height: var(--lh-normal);
    }

        input::placeholder {
            color: var(--input-placeholder-color);
        }

        .form-control[type=file] {
            line-height: var(--lh-large);
        }

label, .form-label {
    font-size: var(--fs-normal);
    font-weight: var(--fw-medium);
    line-height: var(--lh-normal);
    color: var(--body-text-color);
    letter-spacing: var(--custom-ls);
    text-transform: unset;
    margin-bottom: 4px;
}

input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='color']):read-only, textarea:read-only, select[readonly], input:not([type='checkbox']):not([type='radio']):not([type='file']):disabled {
    color: var(--input-placeholder-color) !important;
    background-color: var(--ix-read-only-color);
    border-color: var(--custom-border-color);
    cursor: default;
    height: 100%;
    pointer-events: none;
}

.form-read-only {
    color: var(--input-placeholder-color) !important;
    background-color: var(--ix-read-only-color);
    border-color: var(--custom-border-color);
    cursor: default;
    pointer-events: none;
}

.form-read-only, .form-check-input:disabled, .check-box:disabled, input[type="checkbox"][readonly] {
    color: var(--input-placeholder-color) !important;
    background-color: var(--disabled-bg-color);
    border-color: var(--custom-border-color);
    cursor: default;
    pointer-events: none;
}

.form-control::file-selector-button {
    margin-block: -0.77rem;
    padding-block: .77rem
}

.form-control:read-only:focus, .form-control:disabled:focus, textarea:read-only:focus, .form-read-only:focus, .snapshot-control:focus {
    background-color: var(--ix-read-only-color);
    color: var(--input-placeholder-color) !important;
}

.input-group-text {
    color: var(--input-placeholder-color) !important;
    background-color: var(--ix-read-only-color);
    border-color: var(--custom-border-color);
}

.input-group:has(input[type="hidden"]) > .form-control {
    border-radius: var(--bs-border-radius) !important;
}

.field-validation-error {
    color: var(--bs-danger);
}

/* Should not show this, as the errors will show in toast */
.validation-summary-errors {
    display: none;
}

span.field-validation-error + input,
span.field-validation-error ~ div textarea,
span.field-validation-error ~ div select,
span.field-validation-error ~ div input,
span.field-validation-error + div.input-group .input-group-text {
    border-color: var(--bs-danger);
}

.form-check-input:checked, .form-check-input[type=checkbox]:indeterminate, input.check-box:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px 0 rgba(105,108,255,.4);
}

    .form-check-input:focus, input:focus, .form-control:focus, .form-select:focus, input.check-box:checked
    .input-group > .form-control:focus, .input-group > .form-select:focus, .input-group > .form-floating:focus,
    .input-group > *:has(~ .form-control:focus), .input-group > *:has(~ .form-floating:focus), .input-group > *:has(~ .form-select:focus),
    .input-group > *:has(+ .form-control:focus), .input-group .form-control:focus ~ .input-group-text, .input-group .form-control:focus ~ input,
    .input-group > .form-control:focus, .input-group > .form-select:focus,
    .input-group:focus-within .form-control, .input-group:focus-within .input-group-text {
        border-color: var(--primary-color) !important;
    }

.form-check-input, .check-box {
    height: 16px;
    width: 16px;
}

.check-box {
    height: 16px;
    width: 16px;
    appearance: none;
    border: 1px solid var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

    .check-box:disabled {
        pointer-events: none;
        filter: none;
        opacity: 1;
    }

        .check-box:disabled:not(:checked) {
            background-image: none;
            border: 1px solid var(--custom-border-color);
        }

        .check-box:disabled:checked, .input[type=checkbox]:checked {
            background-color: var(--disabled-primary-color) !important;
            border-color: var(--disabled-primary-color) !important;
        }

    .form-check-input[type=checkbox], .check-box {
        border-radius: 4px;
        background-size: 15px;
    }
.form-switch .form-check-input[type=checkbox] {
    border-radius: 28px;
    background-size: contain;
}

    .form-switch .form-check-input:focus {
        --focus-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%2867, 89, 113, 0.3%29'/%3e%3c/svg%3e") !important;
        background-image: var(--focus-switch-bg);
    }

.form-switch .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")
}

.form-check-secondary.companion .form-check-input:checked, .form-check-secondary.companion .form-check-input[type=checkbox]:indeterminate {
    background-color: var(--companion-color) !important;
    border-color: var(--companion-color) !important;
}

.form-check-secondary.companion .form-check-input:checked, .form-check-secondary.companion .form-check-input[type=checkbox]:indeterminate {
    background-color: var(--companion-color) !important;
    border-color: var(--companion-color) !important;
}

.form-check-secondary.companion .form-check-input:focus {
    border-color: var(--companion-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}
/*----------------------------------------------------------------------------*/
/*#endregion Component - Heading, Text, Forms Overriding */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Component - Badge Overriding */
/*----------------------------------------------------------------------------*/
/* The following is a new class rather than overriding */
.badge.bg-label-muted
{
    background-color: var(--disabled-bg-color) !important;
    color: var(--disabled-text-color) !important;
}
/*----------------------------------------------------------------------------*/
/*#endregion Component - Badge Overriding */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Component - Button Overriding */
/*----------------------------------------------------------------------------*/
.btn {
    --bs-btn-padding-x: 16px;
    --bs-btn-padding-y: 9.5px;
    --bs-btn-font-size: 14px;
    --bs-btn-font-weight: 500;
    --bs-btn-line-height: 21px;
    --bs-btn-border-radius: 6px;
    letter-spacing: unset;
    height: 40px;
    box-shadow: unset;
}

.btn-icon {
    height: 40px;
    width: 40px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: var(--primary-hover-color) !important;
        border-color: var(--primary-hover-color) !important;
    }

    .btn-check:focus + .btn-primary, .btn-primary:focus, .btn-primary.focus {
        background-color: var(--primary-hover-color);
        border-color: var(--primary-hover-color);
    }

    /*.btn-primary.disabled, .btn-primary:disabled {
        background-color: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
    }*/

.btn-label-primary {
    color: var(--primary-color);
    background: var(--primary-bg-color);
}

    .btn-label-primary:hover, .btn-label-primary:focus, .btn-label-primary.focus {
        background: var(--primary-color) !important;
    }

    .btn-label-primary:active, .btn-label-primary.active, .btn-label-primary.show.dropdown-toggle, .show > .btn-label-primary.dropdown-toggle {
        background-color: var(--primary-color) !important;
    }

    /*.btn-label-primary.disabled, .btn-label-primary:disabled {
        color: var(--primary-color) !important;
        background: var(--primary-bg-color) !important;
        opacity: var(--bs-btn-disabled-opacity) !important;
    }*/

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-outline-primary:hover, .btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus {
        background-color: var(--primary-hover-color) !important;
        border-color: var(--primary-hover-color) !important;
    }

    .btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
        background-color: var(--primary-color) !important;
        border-color: var(--primary-color) !important
    }

    /*.btn-outline-primary.disabled, .btn-outline-primary:disabled {
        color: var(--primary-color) !important;
    }*/

    .btn-outline-primary .badge {
        background: var(--primary-color);
        border-color: var(--primary-color);
    }

    .btn-outline-primary:hover .badge, .btn-outline-primary:focus:hover .badge, .btn-outline-primary:active .badge, .btn-outline-primary.active .badge, .show > .btn-outline-primary.dropdown-toggle .badge {
        color: var(--primary-color);
    }

.btn-secondary.companion {
    background-color: var(--companion-color);
    border-color: var(--companion-color);
}

    .btn-secondary.companion:hover {
        background-color: var(--companion-hover-color) !important;
        border-color: var(--companion-hover-color) !important;
    }

    .btn-check:focus + .btn-secondary.companion, .btn-secondary.companion:focus, .btn-secondary.companion.focus {
        background-color: var(--companion-hover-color);
        border-color: var(--companion-hover-color);
    }

    /*.btn-secondary.companion.disabled, .btn-secondary.companion:disabled {
        background-color: var(--companion-color) !important;
        border-color: var(--companion-color) !important;
    }*/

.btn-label-secondary.companion {
    color: var(--companion-color);
    background: var( --companion-bg-color);
}

    .btn-label-secondary.companion:hover, .btn-label-secondary.companion:focus, .btn-label-secondary.companion.focus {
        background: var(--companion-hover-color) !important;
    }

    .btn-label-secondary.companion:active, .btn-label-secondary.companion.active, .btn-label-secondary.companion.show.dropdown-toggle, .show > .btn-label-secondary.companion.dropdown-toggle {
        background-color: var(--companion-color) !important;
    }

    /*.btn-label-secondary.companion.disabled, .btn-label-primary:disabled {
        color: var(--companion-color) !important;
        background: var( --companion-bg-color) !important;
        opacity: var(--bs-btn-disabled-opacity) !important;
    }*/

.btn-outline-secondary.companion {
    color: var(--companion-color);
    border-color: var(--companion-color);
}

    .btn-outline-secondary.companion:hover, .btn-check:focus + .btn-outline-secondary.companion, .btn-outline-secondary.companion.companion:focus {
        background-color: var(--companion-hover-color) !important;
        border-color: var(--companion-hover-color) !important;
    }

    .btn-check:checked + .btn-outline-secondary.companion, .btn-check:active + .btn-outline-secondary.companion.companion, .btn-outline-secondary.companion:active, .btn-outline-secondary.companion.active, .btn-outline-secondary.companion.dropdown-toggle.show {
        background-color: var(--companion-color) !important;
        border-color: var(--companion-color) !important
    }

    /*.btn-outline-secondary.companion.disabled, .btn-outline-secondary.companion:disabled {
        color: var(--companion-color) !important;
    }*/

    .btn-outline-secondary.companion .badge {
        background: var(--companion-color);
        border-color: var(--companion-color);
    }

    .btn-outline-secondary.companion:hover .badge, .btn-outline-secondary.companion:focus:hover .badge, .btn-outline-secondary.companion:active .badge, .btn-outline-secondary.companion.active .badge, .show > .btn-outline-secondary.companion.dropdown-toggle .badge {
        color: var(--companion-color);
    }

.btn.disabled, .btn:disabled {
    border-color: var(--custom-border-color) !important;
    background-color: var(--disabled-bg-color) !important;
    color: var(--disabled-text-color) !important;
    opacity: 1;

    pointer-events: auto !important; /* Else the cursor will not show */
    cursor: not-allowed !important; /* Make it obvious that the button is disabled */
    transform: none !important; /* Remove the sneat template button transform during hover */
}
/*----------------------------------------------------------------------------*/
/*#endregion Component - Button Overriding */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Component - Icon Overriding */
/*----------------------------------------------------------------------------*/
.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    font-family: 'Material Symbols Outlined';
    font-size: var(--icon-size); 
}

.menu-icon.material-symbols-outlined {
    font-size: var(--icon-size-menu); 
}
/*----------------------------------------------------------------------------*/
/*#endregion Component - Icon Overriding */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Component - Toast Overriding */
/*----------------------------------------------------------------------------*/
#toast-container {
    /* The default was 999999 from Toastr */
    /* Set it higher than the .layout-navbar (1075) but lower than the Bootstrap modal (1090) */
    z-index: 1089 !important;
}

#toast-container > .toast {
    box-shadow: 0px 2px 6px 0px rgba(67, 89, 113, 0.12) !important;

    /* For the icon to be top aligned, as the top padding for the toast message is 15px */
    background-position-y: 15px !important;
}

.light-style #toast-container > .toast-close-button,
.light-style #toast-container > .toast-success .toast-close-button,
.light-style #toast-container > .toast-error .toast-close-button,
.light-style #toast-container > .toast-info .toast-close-button,
.light-style #toast-container > .toast-warning .toast-close-button {
    box-shadow: 0px 2px 4px 0px #A1ACB866 !important;
}

.light-style #toast-container > .toast-success,
.light-style #toast-container > .toast-success .toast-message a,
.light-style #toast-container > .toast-success .toast-message label {
    background-color: #71dd37 !important;
    color: #ffffff !important;
}

.light-style #toast-container > .toast-error,
.light-style #toast-container > .toast-error .toast-message a,
.light-style #toast-container > .toast-error .toast-message label {
    background-color: #ff3e1d !important;
    color: #ffffff !important;
}

.light-style #toast-container > .toast-info,
.light-style #toast-container > .toast-info .toast-message a,
.light-style #toast-container > .toast-info .toast-message label {
    background-color: #03c3ec !important;
    color: #ffffff !important;
}

.light-style #toast-container > .toast-warning,
.light-style #toast-container > .toast-warning .toast-message a,
.light-style #toast-container > .toast-warning .toast-message label {
    background-color: #ffab00 !important;
    color: #ffffff !important;
}

.light-style #toast-container > .toast-success {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%23ffffff' d='M186.301 339.893L96 249.461l-32 30.507L186.301 402 448 140.506 416 110z'/%3E%3C/svg%3E") !important;
}

.light-style #toast-container > .toast-error {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%23ffffff' d='M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z'/%3E%3C/svg%3E") !important;
}

.light-style #toast-container > .toast-info {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%23ffffff' d='M256 90c44.3 0 86 17.3 117.4 48.6C404.7 170 422 211.7 422 256s-17.3 86-48.6 117.4C342 404.7 300.3 422 256 422s-86-17.3-117.4-48.6C107.3 342 90 300.3 90 256s17.3-86 48.6-117.4C170 107.3 211.7 90 256 90m0-42C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48z'/%3E%3Cpath fill='%23ffffff' d='M277 360h-42V235h42v125zm0-166h-42v-42h42v42z'/%3E%3C/svg%3E") !important;
}

.light-style #toast-container > .toast-warning {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%23ffffff' d='M32 464h448L256 48 32 464zm248-64h-48v-48h48v48zm0-80h-48v-96h48v96z'/%3E%3C/svg%3E") !important;
}

.tooltip-primary .tooltip-inner, .tooltip-primary > .tooltip .tooltip-inner, .ngb-tooltip-primary + ngb-tooltip-window .tooltip-inner {
    background: var(--primary-color);
}

.tooltip-primary.bs-tooltip-auto[data-popper-placement=top] .tooltip-arrow::before, .tooltip-primary > .tooltip.bs-tooltip-auto[data-popper-placement=top] .tooltip-arrow::before, .ngb-tooltip-primary + ngb-tooltip-window.bs-tooltip-auto[data-popper-placement=top] .tooltip-arrow::before {
    border-top-color: var(--primary-color);
}

.tooltip-primary.bs-tooltip-auto[data-popper-placement=left] .tooltip-arrow::before, .tooltip-primary > .tooltip.bs-tooltip-auto[data-popper-placement=left] .tooltip-arrow::before, .ngb-tooltip-primary + ngb-tooltip-window.bs-tooltip-auto[data-popper-placement=left] .tooltip-arrow::before {
    border-left-color: var(--primary-color);
}

.tooltip-primary.bs-tooltip-auto[data-popper-placement=bottom] .tooltip-arrow::before, .tooltip-primary > .tooltip.bs-tooltip-auto[data-popper-placement=bottom] .tooltip-arrow::before, .ngb-tooltip-primary + ngb-tooltip-window.bs-tooltip-auto[data-popper-placement=bottom] .tooltip-arrow::before {
    border-bottom-color: var(--primary-color);
}

.tooltip-primary.bs-tooltip-auto[data-popper-placement=right] .tooltip-arrow::before, .tooltip-primary > .tooltip.bs-tooltip-auto[data-popper-placement=right] .tooltip-arrow::before, .ngb-tooltip-primary + ngb-tooltip-window.bs-tooltip-auto[data-popper-placement=right] .tooltip-arrow::before {
    border-right-color: var(--primary-color);
}

.popover.popover-primary, .popover .popover-primary > .popover, .popover .ngb-popover-primary + ngb-popover-window {
    background: var(--primary-color);
}
    .popover.popover-primary.bs-popover-auto[data-popper-placement=top] > .popover-arrow::after, .popover .popover-primary > .popover.bs-popover-auto[data-popper-placement=top] > .popover-arrow::after, .popover .ngb-popover-primary + ngb-popover-window.bs-popover-auto[data-popper-placement=top] > .popover-arrow::after {
        border-top-color: var(--primary-color) !important;
    }

    .popover.popover-primary.bs-popover-auto[data-popper-placement=right] > .popover-arrow::after, .popover .popover-primary > .popover.bs-popover-auto[data-popper-placement=right] > .popover-arrow::after, .popover .ngb-popover-primary + ngb-popover-window.bs-popover-auto[data-popper-placement=right] > .popover-arrow::after {
        border-right-color: var(--primary-color) !important;
    }

    .popover.popover-primary.bs-popover-auto[data-popper-placement=bottom] > .popover-arrow::after, .popover .popover-primary > .popover.bs-popover-auto[data-popper-placement=bottom] > .popover-arrow::after, .popover .ngb-popover-primary + ngb-popover-window.bs-popover-auto[data-popper-placement=bottom] > .popover-arrow::after {
        border-bottom-color: var(--primary-color) !important;
    }

    .popover.popover-primary.bs-popover-auto[data-popper-placement=left] > .popover-arrow::after, .popover .popover-primary > .popover.bs-popover-auto[data-popper-placement=left] > .popover-arrow::after, .popover .ngb-popover-primary + ngb-popover-window.bs-popover-auto[data-popper-placement=left] > .popover-arrow::after {
        border-left-color: var(--primary-color) !important;
    }
/*----------------------------------------------------------------------------*/
/*#endregion Component - Toast Overriding */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Component - Modal Overriding */
/*----------------------------------------------------------------------------*/
.modal {
    --bs-modal-border-radius: 8px;
    --bs-modal-padding: 24px;
    
}

    .modal .btn-close {
        --bs-btn-close-color: var(--body-text-color);
        --bs-btn-close-bg: url("data:image/svg+xml,%3Csvg width='150px' height='151px' viewBox='0 0 150 151' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpolygon id='path-1' points='131.251657 0 74.9933705 56.25 18.7483426 0 0 18.75 56.2450278 75 0 131.25 18.7483426 150 74.9933705 93.75 131.251657 150 150 131.25 93.7549722 75 150 18.75'%3E%3C/polygon%3E%3C/defs%3E%3Cg id='🎨-%5BSetup%5D:-Colors-&amp;-Shadows' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Artboard' transform='translate%28-225.000000, -250.000000%29'%3E%3Cg id='Icon-Color' transform='translate%28225.000000, 250.500000%29'%3E%3Cuse fill='%23566a7f' xlink:href='%23path-1'%3E%3C/use%3E%3Cuse fill-opacity='0.5' fill='%23566a7f' xlink:href='%23path-1'%3E%3C/use%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        border-radius: 4px;
        width: 12px;
        height: 12px;
        padding: 9px;
    }

.modal-header {
    padding: 21.5px var(--bs-modal-padding);
    border-bottom: 1px solid var(--custom-border-color);
}

.modal-title {
    font-weight: var(--fw-medium);
    line-height: var(--lh-large);
    font-size: var(--fs-large);
    color: var(--body-text-color);
}

.modal-footer, .modal-footer.erd-content {
    padding: 14.5px var(--bs-modal-padding);
    border-top: 1px solid var(--custom-border-color);
}
/*----------------------------------------------------------------------------*/
/*#endregion Component - Modal Overriding */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Component - Theme Sneat Overriding */
/*----------------------------------------------------------------------------*/
.bg-primary {
    background-color: var(--primary-color) !important
}

a.bg-primary:hover, a.bg-primary:focus {
    background-color: var(--primary-hover-color) !important
}

.dropdown-notifications-item:not(.mark-as-read) .dropdown-notifications-read span {
    background-color: var(--primary-color)
}

.dropdown-item > *:active {
    color: var(--primary-color);
}

.bg-label-primary {
    color: var(--primary-color) !important
}

.bg-label-hover-primary {
    color: var(--primary-color) !important
}

    .bg-label-hover-primary:hover {
        background-color: var(--primary-color) !important;
    }

.page-item.active .page-link, .page-item.active .page-link:hover, .page-item.active .page-link:focus, .pagination li.active > a:not(.page-link), .pagination li.active > a:not(.page-link):hover, .pagination li.active > a:not(.page-link):focus {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.progress-bar {
    background-color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.modal-onboarding .carousel-indicators [data-bs-target] {
    background-color: var(--primary-color)
}

.carousel-control-prev, .carousel-control-next {
    color: var(--primary-color)
}

    .carousel-control-prev:hover, .carousel-control-prev:focus, .carousel-control-next:hover, .carousel-control-next:focus {
        color: var(--primary-color)
    }

.list-group-item-primary {
    border-color: var(--primary-color);
    color: var(--primary-color) !important
}

a.list-group-item-primary, button.list-group-item-primary {
    color: var(--primary-color)
}

    a.list-group-item-primary:hover, a.list-group-item-primary:focus, button.list-group-item-primary:hover, button.list-group-item-primary:focus {
        border-color: var(--primary-color);
        color: var(--primary-color)
    }

    a.list-group-item-primary.active, button.list-group-item-primary.active {
        border-color: var(--primary-color) !important;
        background-color: var(--primary-color) !important;
    }

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.list-group.list-group-timeline .list-group-timeline-primary:before {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.alert-primary {
    color: var(--primary-color);
}

    .alert-primary .alert-link {
        color: var(--primary-color);
    }

    .alert-primary hr {
        background-color: var(--primary-color) !important;
    }

.accordion.accordion-header-primary .accordion-item.active .accordion-button {
    color: var(--primary-color) !important;
}
/*----------------------------------------------------------------------------*/
/*#endregion Component - Theme Sneat Overriding */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Side Menu and Top Nav Menu Overriding */
/*----------------------------------------------------------------------------*/
.menu .app-brand {
    height: 71px;
    margin-top: 12px;
    padding-left: 27px;
    padding-right: 27px;
}

    .menu .app-brand .layout-menu-toggle {
        background-color: var(--primary-color) !important;
    }

        .menu .app-brand .layout-menu-toggle:hover, .menu .app-brand .layout-menu-toggle:focus {
            background-color: var(--primary-hover-color) !important;
        }

    .menu .app-brand .app-short-name {
        --avatar-border-color: color-mix(in srgb, var(--primary-color), var(--ix-white) 30%);
        width: 30px;
        height: 30px;
        min-width: 30px;
        border: 2px solid var(--avatar-border-color);
        border-radius: 50%;
        text-align: center;
        line-height: var(--lh-large);
        color: var(--ix-white);
        background: var(--primary-color);
        font-size: var(--fs-xs-small);
        font-weight: var(--fw-medium);
    }

.menu .app-brand-logo img, .menu .app-brand-logo svg {
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
}

.bg-menu-theme .menu-text {
    font-weight: var(--fw-bold);
    font-size: var(--fs-normal);
    letter-spacing: -0.08px;
}

.environment-tag {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
    pointer-events: none;
    width: 64px;
    height: 64px;
}

.content-wrapper .navbar {
    z-index: auto;
}

.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
    background-color: var(--side-menu-selected) !important;
}

.bg-menu-theme .menu-inner > .menu-item.open .menu-item.active > .menu-link {
    background-color: unset !important;
}

.bg-menu-theme .menu-link:hover, .bg-menu-theme .menu-link:focus, .bg-menu-theme .menu-horizontal-prev:hover, .bg-menu-theme .menu-horizontal-prev:focus, .bg-menu-theme .menu-horizontal-next:hover, .bg-menu-theme .menu-horizontal-next:focus {
    background-color: var(--side-menu-hover) !important;
}

.layout-navbar-fixed .layout-navbar.navbar-detached {
    background-color: var(--custom-navbar-top-bg-color) !important;
    flex-direction: column;
    height: fit-content;
    padding-left: 0;
    padding-right: 0;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: calc(var(--top-navbar-height) + var(--custom-navbar-margin)) !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal) .layout-page:before {
    height: calc(var(--top-navbar-height) + var(--custom-navbar-margin)) !important;
    z-index: 1;
}

.material-symbols-outlined.md-40, .layout-menu-toggle .nav-item .material-symbols-outlined.md-40 {
    font-size: 34px;
    width: 34px;
    height: 34px;
}

.navbar-top {
    background-color: var(--custom-navbar-top-bg-color) !important;
    width: 100%;
    height: var(--custom-card-header-footer-height);
    display: flex;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 6px 6px 0 0;
}

.navbar-bottom {
    background-color: var(--custom-navbar-bottom-bg-color) !important;
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-radius: 0 0 6px 6px;
    box-shadow: var(--box-shadow);
}

    .navbar-bottom .card-header:not(:empty) {
        width: 100%;
        height: var(--custom-card-header-footer-height);
        padding-left: 24px;
        padding-right: 24px;
    }

.bg-navbar-theme .navbar-nav > .nav-link, .bg-navbar-theme .navbar-nav > .nav-item > .nav-link, .bg-navbar-theme .navbar-nav > .nav > .nav-item > .nav-link, .nav-item h1, .bg-navbar-theme .navbar-nav > .nav-item > .nav-link:hover, .bg-navbar-theme .navbar-nav > .nav-item > .nav-link:focus {
    color: var(--custom-nav-icon-color);
}

.nav-item h1 {
    max-width: calc(1388px - 1.625rem * 2 - 5.25rem - 52px);
    text-overflow: ellipsis;
    overflow: hidden;
}

.navbar-nav.bottom .nav-item h4 {
    color: var(--custom-navbar-bottom-text-color);
}

.bg-menu-theme .menu-inner > .menu-item.active:before {
    background: none;
}

.menu-vertical .menu-item .menu-link {
    font-size: var(--side-menu-fs);
    letter-spacing: var(--side-menu-ls);
    color: var(--side-menu-font-color);
    line-height: var(--side-menu-lh);
}

.bg-menu-theme {
    background-color: var(--side-menu-header-color) !important;
    color: var(--side-menu-font-color);
}
    .bg-menu-theme .menu-inner .menu-item .menu-link {
        /*margin: 0;
        padding: 10px 30px;
        border-radius: unset;*/
    }

.menu-vertical .menu-inner {
    background-color: var(--side-menu-bg-color) !important;
    color: var(--side-menu-font-color);
    padding-top: 4px;
    padding-bottom: var(--custom-card-header-footer-height);
}

.side-menu-footer {
    color: var(--side-menu-footer-font-text);
    font-size: var(--fs-small);
    line-height: var(--lh-normal);
    font-weight: var(--fw-medium);
    padding: 15px 30px;
    white-space: nowrap;
    width: 100%;
    opacity: 1;
    transition: width .20s ease-in-out;
}

    .side-menu-footer span {
        white-space: nowrap;
        opacity: 1;
        transition: opacity .20s ease-in-out;
    }

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu.menu-vertical .side-menu-footer span {
    overflow: hidden;
    opacity: 0;
}

.menu-icon {
    color: var(--side-menu-icon-color);
}

.menu-toggle::after {
    width: 8px;
    height: 8px;
    border-width: 2px;
}

.layout-menu-toggle .material-symbols-outlined {
    color: #fff;
    font-size: 23px;
    width: 23px;
    height: 23px;
}

.bg-menu-theme .menu-item.active .menu-icon {
    color: var(--side-menu-icon-selected-color);
}

.bg-menu-theme .menu-sub > .menu-item > .menu-link:before {
    background-color: var(--side-menu-dot) !important;
}

.bg-menu-theme .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle):before {
    background-color: var(--side-menu-dot-selected) !important;
    border-color: var(--side-menu-bg-color) !important;
}

.bg-menu-theme .menu-inner > .menu-item.open .menu-item.open > .menu-toggle::before, .bg-menu-theme .menu-inner > .menu-item.open .menu-item.active > .menu-link::before {
    box-shadow: 0 0 0 0.5px var(--side-menu-dot-selected);
}

.bg-menu-theme .menu-header:before {
    content: ""; /* Remove the line to the left of the header from the default theme */
    background-color: transparent !important;
}

.bg-menu-theme .menu-header {
    color: var(--side-menu-title-color);
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-small);
    letter-spacing: 0.05em;
    padding: 10px 30px;
    margin: 24px 0 0 0;
}

    .bg-menu-theme .menu-header:first-child {
        margin-top: 0; /* No top margin for the first menu-header */
    }

    .bg-menu-theme .menu-header:empty {
        margin-top: 0; /* No top margin for subsequest menu-header, if there are no header content */
    }

.bg-menu-theme .menu-inner-shadow {
    border-bottom: 2px solid rgba(4, 5, 7, 0.15);
    background: none;
    height: unset;
    top: 83px;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu.menu-vertical .menu-inner > .menu-header:before {
    background-color: #a1acb8 !important;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu.menu-vertical .app-brand-text {
    overflow: hidden;
    opacity: 0;
}

.menu:not(.menu-no-animation) .menu-link > :not(.menu-icon):not(.material-symbols-outlined) {
    will-change: transform;
    font-weight: var(--fw-medium);
    font-size: var(--fs-normal);
    line-height: var(--lh-normal);
    letter-spacing: 0;
}

.bg-menu-theme .ps__thumb-y, .bg-menu-theme .ps__rail-y.ps--clicking > .ps__thumb-y {
    background: var(--scrollbar-thumb-color) !important;
    width: var(--scrollbar-thumb-width) !important;
}

.light-style .ps__rail-x:hover > .ps__thumb-x, .light-style .ps__rail-y:hover > .ps__thumb-y, 
.light-style .ps__rail-x:focus > .ps__thumb-x, .light-style .ps__rail-y:focus > .ps__thumb-y, 
.light-style .ps__rail-x.ps--clicking > .ps__thumb-x, .light-style .ps__rail-y.ps--clicking > .ps__thumb-y {
    background: var(--scrollbar-thumb-hover-color) !important;
    width: var(--scrollbar-thumb-hover-width) !important;
}

.account-name {
    font-size: var(--fs-normal);
    font-weight: var(--fw-bold);
    line-height: var(--lh-normal);
    color: #FFFFFF;
    letter-spacing: 0.03rem;
}

.account-role {
    font-size: var(--fs-x-small);
    font-weight: var(--fw-normal);
    line-height: 16.5px;
    color: #FFFFFF;
    letter-spacing: 0.03rem;
}

.action-btns {
    row-gap: 10px;
    column-gap: 10px;
}

    .action-btns .icon-only-buttons:has(div), .action-btns .icon-only-buttons:has(a), .action-btns .icon-only-buttons:has(button) {
        display: flex;
        flex-wrap: wrap;
        row-gap: 10px;
        column-gap: 10px;
        margin-right: 14px;
    }


.layout-navbar .navbar-nav .nav-item.dropdown .dropdown-menu {
    width: auto;
    min-width: 14rem;
    right: -24px;
    top: 60px; /* The parent of this absolute element is the <li> element, which has a top padding 10px, thus the top will be (70-10) px */
}

.layout-navbar .navbar-nav .nav-item.dropdown .dropdown-menu .dropdown-item:hover {
    color: var(--primary-color);
}

@media (max-width: 1520px) {
    .nav-item h1 {
        max-width: calc(100vw - 1.625rem * 2 - 5.25rem - 190px);
    }
}


@media(min-width: 1200px) {
    .layout-menu-hover.layout-menu-collapsed .layout-menu .layout-menu-toggle span {
        transform: rotate(180deg) !important;
        transition-duration: .3s !important;
        transition-property: transform !important
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: unset;
        padding-left: unset;
    }

    .nav-item h1 {
        max-width: calc(100vw - 1.625rem * 2 - 5.25rem - 160px);
    }
}

@media (max-width: 767.98px) {
    .layout-navbar .navbar-nav .nav-item.dropdown .dropdown-menu {
        top: var(--custom-card-header-footer-height);
        left: auto;
        right: 0;
        width: auto;
        min-width: 14rem;
    }
}

@media(max-width: 700px) {
    .navbar-bottom .card-header:not(:empty) {
        height: fit-content;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .navbar-bottom .card-title {
        line-height: 34px;
    }
}

@media (max-width: 576px) {
    .nav-item h1 {
        max-width: calc(100vw - 90px - 82px);
    }

    .layout-navbar .navbar-nav-right {
        justify-content: flex-end;
    }
}
/*----------------------------------------------------------------------------*/
/*#endregion Side Menu and Top Nav Menu Overriding */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Overriding for Entity Listing */
/*----------------------------------------------------------------------------*/
.bg-sticky {
    background-color: var(--sticky-bar-bg-color) !important;
    border-bottom: 1px solid var(--sticky-divider-color);
}

.card, .card.accordion-item, .modal-content {
    box-shadow: var(--box-shadow);
}

.card-header {
    min-height: var(--custom-card-header-footer-height);
    color: var(--body-text-color);
    padding-top: 21px;
    padding-bottom: 21px;
}

.card-title {
    color: var(--body-text-color);
}

.accordion {
    --bs-accordion-body-padding-x: 24px;
    --bs-accordion-body-padding-y: 0;
}
    .accordion .row {
        padding: 0;
        margin: 0 -10px;
    }

    .accordion .row > * {
        padding: 0 10px;
        margin: 0;
    }

.accordion-button {
    font-size: var(--fs-large);
    font-weight: var(--fw-medium);
    line-height: var(--lh-large);
}

    .accordion-button.ix-custom {
        padding: 15px 24px;
    }

    .accordion-button.ix-custom.collapsed {
        height: var(--custom-card-header-footer-height);
    }

    .accordion-button.ix-custom:not(.collapsed) {
        height: var(--custom-card-header-footer-height);
        border-bottom: 1px solid #d9dee3 !important;
        margin-bottom: 30px !important;
    }


.accordion-action-btn {
    position: absolute;
    top: 0;
    right: 60px;
    padding: 15px 0;
    z-index: 3;
    display: none;
}

.accordion-item.active .accordion-action-btn, .accordion-header:has(+ .accordion-collapse.collapse.show) .accordion-action-btn {
    display: block;
}

.accordion-footer {
    padding: 0 var(--bs-accordion-body-padding-x);
    height: var(--custom-card-header-footer-height);
    display: flex;
    align-items: center;
    border-top: 1px solid #d9dee3 !important;
}

/* Overriding sorting icon */
table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
    font-family: 'Material Symbols Outlined' !important;
    color: var(--sorting-icon-color) !important;
    position: absolute;
    font-size: 14px !important;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before {
    content: "\e316" !important;
    top: -4px !important;
    right: -15px !important;
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
    content: "\e313" !important;
    top: 4px !important;
    right: -15px !important;
}

.row-selected, tr.row-selected > * {
    background: var(--table-row-selected-bg-color);
    background-color: var(--table-row-selected-bg-color) !important;
}

table a, table a:hover {
    color: var(--table-row-hover-color);
}

.table-hover > tbody > tr:not(.row-selected):hover > * {
    box-shadow: none;
    background: var(--table-row-hover-bg-color) !important;
    color: var(--table-row-hover-text-color);
}

.table-hover > tbody > tr.row-selected:hover > * {
    box-shadow: none;
    background: var(--table-row-selected-bg-color) !important;
    color: var(--table-row-hover-text-color);
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-link {
    padding: 14px 13px !important;
    width: 40px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-link.page-link .material-symbols-outlined {
    font-size: 21px;
}

.paginate_button.page-item .form-control, .paginate_button.page-item .form-select {
    min-width: 64px;
    border-radius: 4px;
    width: fit-content;
    color: var(--body-text-color);
    font-size: var(--fs-normal);
}

.paginate_button.page-item span:not(.material-symbols-outlined), .paginate_button.page-item label {
    color: var(--body-text-color);
    font-size: var(--fs-normal);
    font-weight: var(--fw-normal);
    line-height: var(--lh-normal);
}

.page-item:not(:first-child) .page-link {
    margin-left: 4px;
}

.page-item.disabled .page-link {
    border-color: var(--custom-border-color);
    background-color: var(--disabled-bg-color) !important;
    color: var(--disabled-text-color) !important;
    border-width: 1px;
}

table.dataTable, .table-responsive, .dataTables_scroll {
    margin-bottom: 0 !important;
}

div.card-datatable {
    padding-bottom: 0px;
}

.table th {
    text-transform: unset;
    font-size: var(--fs-normal);
    font-weight: var(--fw-medium);
    line-height: var(--lh-normal);
    letter-spacing: var(--custom-ls);
}

.table td img {
    height: 80px;
    width: auto;
    max-width: unset;
    object-fit: cover;
    border-radius: 6px;
}

.table td {
    font-weight: var(--fw-medium);
}

div.dataTables_wrapper div.dataTables_info {
    padding: 0;
    line-height: 40px;
}

div.row[aria-label="Pagination"] {
    padding: 15px 24px;
}

/* WebKit (Chrome, Edge, Safari) */
.table-responsive::-webkit-scrollbar {
    width: var(--scrollbar-thumb-hover-width);
    height: var(--scrollbar-thumb-hover-width);
}


.table-responsive::-webkit-scrollbar-track {
    background: unset; /* Track color */
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--horizontal-scrollbar-thumb-color) !important;
    width: var(--scrollbar-thumb-hover-width) !important;
    height: var(--scrollbar-thumb-hover-width) !important;
    border-radius: 8px;
}

    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: var(--horizontal-scrollbar-thumb-hover-color) !important;
    }


.dt-fixedcolumns
{
    position: relative;
    overflow: auto;
    width: 100%;
}
    .dt-fixedcolumns tr th:first-child, .dt-fixedcolumns tr th:last-child,
    .dt-fixedcolumns tr td:first-child, .dt-fixedcolumns tr td:last-child {
        position: relative;
        max-width: 85px;
        min-width: 60px;
        width: 85px;
        box-sizing: border-box;
    }

    .dt-fixedcolumns:not(.scroll-left-end) tr th:first-child, .dt-fixedcolumns:not(.scroll-right-end) tr th:last-child,
    .dt-fixedcolumns:not(.scroll-left-end) tr td:first-child, .dt-fixedcolumns:not(.scroll-right-end) tr td:last-child {
        top: 0;
        bottom: 0;
        z-index: 3;
        background-color: #FFFFFF;
        position: sticky;
    }


    .dt-fixedcolumns:not(.scroll-left-end) tr td:first-child, .dt-fixedcolumns:not(.scroll-left-end) tr th:first-child {
        left: 0;
    }
        .dt-fixedcolumns:not(.scroll-left-end) tr td:first-child::after, .dt-fixedcolumns:not(.scroll-left-end) tr th:first-child::after {
            box-shadow: inset 6px 0 6px -4px rgba(67, 89, 113, 0.12);
            left: 100%;
        }


    .dt-fixedcolumns:not(.scroll-right-end) tr td:last-child, .dt-fixedcolumns:not(.scroll-right-end) tr th:last-child {
        right: -1px;
    }

        .dt-fixedcolumns:not(.scroll-left-end) tr th:first-child::after, .dt-fixedcolumns:not(.scroll-right-end) tr th:last-child::before,
        .dt-fixedcolumns:not(.scroll-left-end) tr td:first-child::after, .dt-fixedcolumns:not(.scroll-right-end) tr td:last-child::before {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 100%;
            transition: box-shadow 0.3s;
            content: "";
            pointer-events: none;
        }

        .dt-fixedcolumns:not(.scroll-right-end) tr td:last-child::before, .dt-fixedcolumns:not(.scroll-right-end) tr th:last-child::before {
            box-shadow: inset -6px 0 6px -4px rgba(67, 89, 113, 0.12);
            right: 100%;
        }

    

@media screen and (max-width: 992px) {
    div .dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: center !important;
    }

    div.dataTables_wrapper div.dataTables_info {
        text-align: center !important;
    }
}

@media(max-width: 768px) {
    .navbar-bottom .card-header:not(:empty) {
        height: fit-content;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .navbar-bottom .card-title {
        line-height: 34px;
    }

    div .dataTables_wrapper div.dataTables_paginate ul.pagination {
        flex-wrap: wrap !important;
        row-gap: 8px !important;
    }

    .dt-fixedcolumns tr th:first-child,
    .dt-fixedcolumns tr td:first-child,
    .dt-fixedcolumns tr th:last-child,
    .dt-fixedcolumns tr td:last-child {
        width: 80px;
        max-width: 80px;
    }

    .dt-fixedcolumns tr th:first-child,
    .dt-fixedcolumns tr td:first-child,
    .dt-fixedcolumns:not(.scroll-left-end) tr th:first-child,
    .dt-fixedcolumns:not(.scroll-left-end) tr td:first-child {
        position: relative;
    }

        .dt-fixedcolumns:not(.scroll-left-end) tr th:first-child::after,
        .dt-fixedcolumns:not(.scroll-left-end) tr td:first-child::after {
            box-shadow: unset;
        }
}

/*----------------------------------------------------------------------------*/
/*#endregion Overriding for Entity Listing */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Tabs Overriding */
/*----------------------------------------------------------------------------*/
.modal-dialog {
    width: auto;
}

#entityRelationDetailsModal .modal-dialog {
    max-width: 767px;
    width: 100%;
    min-width: 25vw;
}

.modal iframe {
    overflow-y: auto;
    max-height: 85vh;
    min-height: 125px;
}

.nav.nav-tabs .nav-link {
    font-size: var(--fs-large);
    font-weight: var(--fw-medium);
    line-height: var(--lh-large);
    color: var(--body-text-color);
    padding: 12px 24px;
}

.tab-content {
    padding: 0;
}
.tab-pane {
    margin-bottom: -6px;
}

.tab-pane:has(:not(iframe)) {
    padding: 24px;
}

.content-only-wrapper .row {
    margin: 0 !important;
}

.content-only-wrapper form .row {
    margin: 24px 12px !important;
}

.content-only-wrapper form .row:only-of-type {
    margin: 0 !important;
}

.content-only-wrapper form .row > * {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.content-only-wrapper .row:only-of-type > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.content-only-wrapper .row:last-child, .content-only-wrapper .card {
    margin: 0 !important;
}

.content-only-wrapper .card, .content-only-wrapper .card-header:first-child {
    border-start-start-radius: 0;
}

.content-only-wrapper form .row .card, .content-only-wrapper form .row .card-header {
    border-radius: 8px;
}

.content-only-wrapper form .row:only-of-type .card, .content-only-wrapper form .row:only-of-type .card-header {
    border-radius: 0;
    box-shadow: none !important;
}

.modal .content-only-wrapper .col-xl, .modal .modal-body:has(iframe) {
    padding: 0;
}

body.content-only {
    overflow: hidden;
}

.content-only-wrapper .card-body {
    /*margin-bottom: 80px;*/ 
    overflow-y: auto;
}

.card-body.erd-content {
    margin-bottom: 80px;
}

.content-only-wrapper .card .modal-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--ix-white);
}

.modal-footer.paging-footer{
    padding: unset;
}

@media screen and (max-width: 576px) {
    .modal-dialog {
        min-width: 300px;
    }

    .modal .modal-dialog:not(.modal-fullscreen) {
        padding: 0 !important;
        margin: 0 16px;
    }

    .modal iframe {
        overflow-y: auto;
        max-height: 60vh;
    }

}

@media screen and (max-width: 500px) {
    .modal .modal-header .btn-close {
        margin-top: -2rem;
    }
}
/*----------------------------------------------------------------------------*/
/*#endregion Tabs Overriding */
/*----------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------*/
/* #region Additional Custom Styling */
/*----------------------------------------------------------------------------*/
/* Make the cards same height if they are in the same row */
.equal-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

    .equal-height > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

        .equal-height > [class*='col-'] > [class*='card'] {
            height: 100%;
        }
/*----------------------------------------------------------------------------*/
/*#endregion Additional Custom Styling */
/*----------------------------------------------------------------------------*/
