body {
    background-color: transparent;
}

.body-small .navmenu-button {
    display: block !important;
}

.dropdown-menu li .fa {
    display: inline-block;
    width: 18px !important;
}

.nav > li > a.submenu-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav > li.main-menu a.submenu-item .fa {
    margin-right: 8px;
}

.btn-inset {
    box-shadow: inset 0px 3px 8px 0px rgb(129 129 129 / 33%);
}

.flex-fill {
    min-width: 0;
}

.inline-block {
    display: inline-block;
}

.uppercase {
    text-transform: uppercase;
}

.capitalize {
    text-transform: capitalize;
}

.assistant-provider {
    text-transform: uppercase;
    color: #02334b;
}

.badge-icon {
    padding: 5px 6px !important;
}

.help-text {
    font-style: italic;
}

.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.navmenu-button {
    display: none !important;
}

.body-small.mini-navbar .mini-navbar-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

body.mini-navbar .submenu-item .nav-label {
    display: block !important;
}

body.mini-navbar .submenu-item i {
    display: none !important;
}

/* Base sidebar modal */
.modal.sidebar .modal-dialog {
    position: fixed;
    margin: 0;
    top: 0;
    right: 0;
    height: 100vh;
    transform: translateX(100%);
    transition: transform .3s ease;
    max-width: 750px; /* allow Bootstrap width classes */
    width: auto; /* let modifiers apply */
}

/* Animate in */
.modal.sidebar.show .modal-dialog,
.modal.sidebar.fade.show .modal-dialog {
    transform: translateX(0);
}


.modal.sidebar .modal-header {
    padding: 0.8rem 1rem;
    color: #333;
}

.modal.sidebar .modal-content {
    height: 100%;
    min-width: 380px;
    border: 0;
    border-radius: 0;
}

.modal.sidebar .modal-body {
    overflow-y: auto;
}

/* Size overrides */
.modal.sidebar .modal-dialog.modal-sm {
    width: 300px; /* or whatever feels right */
}

.modal.sidebar .modal-dialog.modal-lg {
    width: 600px;
}

.modal.sidebar .modal-dialog.modal-xl {
    width: 900px;
}

.modal.sidebar .modal-footer {
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    padding: 26px 30px;
}

.modal.sidebar .modal-content form {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#wrapper.sidebar .modal.sidebar .modal-dialog {
    z-index: 100; /* keep above everything */
    right: 450px !important;
}

/* Optional: nicer easing */
@media (prefers-reduced-motion: reduce) {
    .modal.sidebar .modal-dialog {
        transition: none;
    }
}

.notification-menu {
    margin-left: -180px;
}

.panel-border {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
}

.no-scroll,
.no-vertical-scroll {
    overflow-y: hidden;
}

.no-scroll,
.no-horizontal-scroll {
    overflow-x: hidden;
}

.btn-rounded {
    border-radius: 50% !important;
}

.fa-success {
    color: green;
}

.fa-danger {
    color: red;
}

.fa-text {
    margin-left: 3px;
}

.load-hidden {
    display: none;
}

.no-wrap {
    white-space: nowrap !important;
}

.nav-tabs li {
    position: relative;
}

.tabs-container .panel-body{
    margin-top: -1px;
}

.swal2-container.swal2-center {
    z-index: 100000;
}

.modal {
    overflow-y: auto !important;
}

.form-control {
    font-size: 0.8rem;
}

p.help-block {
    font-size: 12px;
}

.btn-stretch {
    width: 100%;
}

.btn-execute-query {
    color: #333 !important;
    background: #cfdded;
}

    .btn-execute-query:hover {
        color: #333;
        font-weight: bold;
    }

.page-heading h2 {
    font-size: 25px;
    font-weight: bold;
    color: #264f70;
    letter-spacing: 1px;
}

.hover:not(:hover) .hover-show {
    display: none !important;
}

.dropdown-menu {
    z-index: 10000;
}

.panel-heading .panel-title {
    margin-bottom: 10px;
}

.tabulator-wrapper {
    padding-top: 10px;
}

.tabulator .tabulator-tableHolder .tabulator-placeholder span {
    text-transform: capitalize;
    color: #aaa !important;
}

.row-selectable .tabulator-row:hover {
    background: #f5f5f8 !important;
    border-radius: 8px;
}

.tab-action-container {
    position: relative;
}

.page-wrapper .tabs-container {
    margin-top: 15px;
}

.page-wrapper .panel {
    padding: 10px;
}

.page-action-container {
    position: relative;
    width: 100%;
    text-align: right;
    padding-top: 32px;
    padding-right: 25px;
}

.page-button-placeholder {
    display: inline-block;
    position: relative;
}

.action-button-container {
    position: absolute;
    top: 0px;
    right: 15px;
}

ol.breadcrumb {
    font-size: 13px;
    color: #1d2f3e;
    letter-spacing: 1px;
}

.card-rounded {
    border-radius: 20px;
}

.hidden {
    display: none;
}

.logo-image {
    width: 95%;
    margin-bottom: 15px;
    image-rendering: -webkit-optimize-contrast;
}

/* Uploaded company logo (general settings). The built-in logo is a banner that
   is deliberately stretched to width:95%; an uploaded logo of unknown shape
   must instead be contained, so it is capped in both axes and keeps its aspect
   ratio. Specificity is raised past the clearblue theme's
   `.logo-image-wrapper img.logo-image { width: 120px }` override. */
.logo-image.logo-image-company,
.logo-image-wrapper img.logo-image.logo-image-company {
    width: auto;
    height: auto;
    max-width: 95%;
    max-height: 64px;
    object-fit: contain;
}

li.main-menu.active {
    border-left: none !important;
    background: #1d2f3e;
}

li.menu-title {
    padding: 10px 21px 0px;
    color: #ffe2a2;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

li.menu-group-title:hover {
    text-decoration: underline;
    cursor: pointer;
}

.footer {
    background: none repeat scroll 0 0 #fcfcfc;
}

.header-search-input {
    margin-left: -35px;
    float: left;
    padding-left: 50px;
    background-color: transparent !important;
    border: none !important;
    font-size: 16px;
    min-width: 350px;
}

    .header-search-input:active,
    .header-search-input:focus,
    .header-search-input:hover {
        border-bottom: 1px solid #eee !important;
        background: none !important;
    }

.search-icon {
    z-index: 100;
    position: relative;
    float: left;
    padding-top: 12px;
    padding-left: 20px;
    font-size: 15px;
}

ul.navbar-top-links li a {
    background: #fbfbfb;
    padding: 10px 20px;
    min-height: initial;
    margin: 10px 5px;
    border-radius: 22px;
    border: 1px solid #f3f3f4;
    color: #14596c !important;
    display: inline-block;
    text-shadow: 3px 2px 2px #f5f5f5;
}

ul.navbar-top-links .dropdown-menu a {
    width: 100%;
    background: white !important;
    margin: 0px !important;
    border-radius: 0px !important;
    padding: 10px 20px !important;
}

.right-bar {
    background-color: #fff;
    -webkit-box-shadow: 0 0 24px 0 rgb(0, 0, 0, 6%), 0 1px 0 0 rgb(0, 0, 0, 2%);
    box-shadow: 0 0 24px 0 rgb(0, 0, 0, 6%), 0 1px 0 0 rgb(0, 0, 0, 2%);
    display: block;
    position: fixed;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
    width: 280px;
    z-index: 9999;
    float: right !important;
    right: -290px;
    top: 0;
    bottom: 0;
}

.right-bar-enabled .right-bar {
    right: 0;
}

.rightbar-overlay {
    background-color: rgba(52,58,64,.55);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: none;
    z-index: 9998;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.right-bar-enabled .rightbar-overlay {
    display: block;
}

.btn-notification {
    background-color: transparent !important;
}

.empty-notification {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.wrapper-content {
    padding: 5px 10px 40px;
}

.ui-wrapper-padder {
    padding: 1rem 2rem 1rem 1rem;
}

.ui-wrapper {
    background: white;
    padding: 15px;
    padding-bottom: 15px;
    box-shadow: 0 2px 4px rgb(0, 0, 0, 10%);
    border: none;
    border-radius: 10px;
    border-bottom: 3px solid #b0b4b7;
}

.box {
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.1);
    clear: both;
    margin-bottom: 25px;
    margin-top: 0;
    padding: 0;
    border: none;
}

    .box .box-title {
        background-color: #ffffff;
        color: inherit;
        margin-bottom: 0;
        min-height: 48px;
        position: relative;
        clear: both;
        -webkit-border-radius: 3px 3px 0 0;
        -moz-border-radius: 3px 3px 0 0;
        border-radius: 2px 2px 0 0;
        border: none !important;
        padding: 15px 0px 8px 15px;
    }

    .box .box-content {
        background-color: #ffffff;
        color: inherit;
        padding: 5px 20px 20px 20px;
        border: none;
        clear: both;
    }

.box .box-content h1 {
    font-weight: 400;
    border-left: 3px solid #1c84c6;
    padding-left: 15px;
}

.system-name {
    float: left;
    font-size: 22px;
    padding: 16px 10px;
    font-weight: bolder;
    color: #1d2f3e;
    margin-top: 5px;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: sub;
    letter-spacing: 1px;
}

.system-name-color {
    /* text-shadow: 1px 1px 1px #fff; */
    background: -webkit-linear-gradient( -45deg, #1d2f3e 0%,#005c85 49%,#18547e 50%,#163476 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-header.search {
    float: left;
    margin-top: 15px;
}

.navbar.hide-header {
    margin-top: -60px;
    transition: all 0.6s ease-in-out;
}

.navbar-menu.hide-sidebar {
    margin-left: -220px;
    transition: all 0.6s ease-in-out;
}

.input-search {
    width: 250px;
    background-color: #f2f2f3 !important;
    border: none !important;
    border-radius: 5px;
    padding-left: 25px;
}

.input-search-group button {
    border-radius: 3px;
    padding-left: 25px;
    padding-right: 25px;
}

.form-group label {
    margin-bottom: 0.3em;
}

ul.checkbox-list {
    list-style: none;
    padding: 10px;
}

label input[type=checkbox] {
    vertical-align: middle;
}

.permission-tree .tree-file {
    display: none;
}

.permission-tree {
    max-height: 550px;
}

.modal.sidebar .permission-tree {
    max-height: 100%;
}

.icon-feature+span {
    display: none;
}

.table-filter {
    border-bottom: 1px solid #eee;
}

    .table-filter input {
        background-color: #f2f2f3 !important;
        border: none !important;
        height: 30px;
        font-size: 12px;
    }

    .table-filter .select2-container--default .select2-selection--single,
    .table-filter .select2-container--default .select2-selection--multiple {
        background-color: #f2f2f3 !important;
        border: none !important;
        height: 30px;
        font-size: 12px;
    }

    .table-filter button.btn {
        height: 30px;
    }

.txt-parameters {
    height: 200px !important;
    outline: none;
    border: none;
    background-color: #eee;
    font-size: 12px;
}

.fa-audit-icon {
    margin-right: 5px;
}

.fa-audit-icon.fa-check-circle {
    color: green;
}

    .fa-audit-icon.fa-exclamation-circle {
        color: red;
    }

.stacked-badge .badge {
    margin-right: 5px;
}

.nav-tabs li.closeable a {
    padding-right: 35px;
}

.nav-tabs li.closeable .fa-times {
    position: absolute;
    top: 15px;
    right: 10px;
    cursor: pointer;
}

.mini-navbar .menu-group-title {
    display: none !important;
}

.branch-title-wrapper {
    margin-left: 10px;
    vertical-align: middle;
}

.superscript-title {
    font-size: 10px;
    line-height: 6px;
}

.btn-switch-branch-wrapper {
    color: white !important;
    vertical-align: middle;
    margin-left: 8px;
}

/* Animation */

.slide-fade-enter-active {
    transition: all 0.3s ease-out;
}

.slide-fade-leave-active {
    transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter-from {
    transform: translateX(-80px);
    opacity: 0;
}

.slide-fade-leave-to {
    transform: translateX(20px);
    opacity: 0;
}

/*Uploader*/

.uploader-wrapper,
.multi-uploader-wrapper {
    width: 100%;
    float: left;
}

.upload-section {
    background-color: #fafafa;
    border-radius: 12px;
    padding: 15px;
    display: block;
    float: left;
    width: 100%;
}

    .upload-section .upload-item {
        width: 100px;
        height: 100px;
        background: white;
        border-radius: 10px;
        display: inline-block;
        margin-top: 15px;
        margin-right: 15px;
        float: left;
        overflow: hidden;
        box-shadow: 2px 2px 5px #ddd;
        cursor: pointer !important;
    }


.upload-item {
    position: relative;
    cursor: pointer;
    transition: all 0.1s;
}

    .upload-item:hover {
        transform: scale(1.1);
    }

    .upload-item.upload-button {
        text-align: center;
    }

        .upload-item.upload-button i {
            font-size: 45px;
            display: block;
            color: #264f70;
            margin-top: 15px;
        }

        .upload-item.upload-button span.upload-button-text {
            display: block;
            font-weight: bold;
            color: #264f70;
            text-transform: uppercase;
            font-size: 13px;
            letter-spacing: 1px;
        }

        .upload-item.upload-button .filepond--file-info-sub {
            display: none !important;
        }

        .upload-item.upload-button .filepond--item-panel {
            background-color: #fafafa;
        }

        .upload-item.upload-button .filepond--panel-center {
            height: 330px !important;
        }

        .upload-item.upload-button .filepond--panel-bottom {
            transform: translate3d(0px, 60px, 0px) !important;
        }

.upload-item-preview {
    width: 100%;
    height: 100%;
    background-size: cover;
}

.upload-item-icon {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 15px;
}

    .upload-item-icon img {
        width: 60%;
        margin-top: 8px;
    }

.upload-item .close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 14px;
    text-shadow: 1px 1px 5px white;
    display: none;
}

.upload-item:hover .close-button {
    display: block;
}

.upload-item.selected {
    border: 2px solid #243a8e;
    border-collapse: collapse;
    border-bottom: 3px solid #184d78;
    box-shadow: 0px 1px 5px #2b5372;
}

.upload-loading {
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 10px;
    display: inline-block;
    margin-top: 15px;
    margin-right: 15px;
    float: left;
    overflow: hidden;
    box-shadow: 2px 2px 5px #ddd;
    cursor: pointer !important;
    position: absolute;
    z-index: 10;
    opacity: 0.8;
}
.upload-loading-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 50px;
    font-size: 28px;
}

.notification-menu {
    max-width: 300px;
}

.notification-menu .dropdown-item {
    white-space: pre-wrap;
    line-height: 20px;
    padding-left: 10px;
}

.text-duration {
    color: #2359bd !important;
    font-weight: bold;
    font-size: 12px;
}

.notification-icon-wrapper {
    padding: 0px 10px 0px 0px;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: #eee;
    border-radius: 20px;
    text-align: center;
    padding-top: 8px;
    color: #264f70;
}

.count-info .label {
    line-height: 12px;
    padding: 2px 5px;
    position: absolute;
    right: 15px;
    top: 12px;
    border-radius: 15px;
}

.notification-header {
    padding: 8px;
    background: #efefef;
}

.notification-footer a {
    text-align: center !important;
    border-top: 1px solid #ccc;
}

.notification-message .fa {
    margin-right: 5px;
    color: green;
}

.breadcrumb {
    background: transparent !important;
}

@media print {
    #page-wrapper {
        width: 100% !important;
        padding: 0px !important;
        background-color: white !important;
    }

    .wrapper-content {
        padding: 0px !important;
    }

    .ui-wrapper-padder {
        padding: 0px !important;
    }

    .pace {
        display: none;
    }
}

/*Mobile view override*/
body.mini-navbar .nav-header {
    background-color: transparent;
}

.mini-navbar .nav .nav-second-level {
    background-color: #f3f3f4;
}

.mini-navbar .nav-second-level > li a:hover {
    background: #293846;
    color: #ffffff;
}

.submenu {
    position: relative;
}

.nav.navbar-top-links > li > a:hover, .nav.navbar-top-links > li > a:focus {
    background: #fbfbfb;
}

#page-wrapper.page-no-sidebar {
    width: 100% !important;
    padding: 0px !important;
    height: 100vh;
}

@media (max-width: 768px) {
    /*Body Wrapper */
    .body-small #wrapper {
        position: relative;
    }

    .body-small #page-wrapper {
        width: 100%;
        padding: 0px;
    }

    body.mini-navbar #page-wrapper {
        width: 100%;
    }

    body-small.mini-navbar #page-wrapper {
        width: 100%;
        padding: 0px;
    }

    .body-small .ui-wrapper-padder {
        padding: 0px;
        margin-bottom: 25px;
    }
    /* End of Body Wrapper */

    /* Side Nav Bar */
    .body-small .nav-header {
        display: none !important;
    }

    .body-small.mini-navbar .sidebar-collapse {
        opacity: 1;
    }

    .body-small .sidebar-collapse {
        opacity: 0;
    }

    .body-small .navbar-static-side {
        position: absolute;
        box-shadow: 3px -4px 8px -2px #bfbfbf
    }

    .body-small.mini-navbar .navbar-static-side {
        display: block;
        overflow: visible;
        background: #f3f3f4;
        height: 100%;
    }

    .body-small.mini-navbar .nav > li.active {
        border-radius: 0px;
    }

    .navmenu-button {
        background-color: #293846;
        border-bottom: 2px solid #dfdfdf;
    }

        .navmenu-button i {
            color: black !important;
        }

    .mini-navbar .nav .nav-second-level {
    }

    .body-small .ui-wrapper-padder > .ui-wrapper {
        padding: 5px;
    }

        .body-small .ui-wrapper-padder > .ui-wrapper > .page-heading {
            background: none;
        }

    .body-small:not(.fixed-sidebar):not(.canvas-menu).mini-navbar .nav li > .nav-second-level, .mini-navbar .nav li:focus > .nav-second-level {
        display: block;
        border-radius: 0 2px 2px 0;
        min-width: 160px;
        height: auto;
    }

    .mini-navbar .metismenu .nav-second-level.collapse {
        display: none !important;
    }

        .mini-navbar .metismenu .nav-second-level.collapse.in {
            display: block !important;
        }

    .body-small .main-menu,
    .body-small .main-menu .nav,
    .body-small .main-menu li.submenu {
        position: inherit !important;
    }

        .body-small .main-menu li.submenu ul.nav-second-level {
            position: absolute !important;
            top: 0px;
        }

    .mini-navbar li.active .nav-second-level {
        left: 70px;
        height: 100% !important;
        box-shadow: 1px 1px 8px 2px #bfbfbf
    }

    .nav.nav-second-level.collapse[style] {
        height: 100% !important;
    }

    /* End of Side Nav Bar*/
    /* Top Nav Bar*/
    .body-small .navbar-static-top > .row {
        margin: 0px;
    }

    .body-small .system-name {
        margin-left: 0px;
        padding: 0px;
    }

    .body-small ul.navbar-top-links li a {
        padding: 5px 10px;
        margin: 10px 0px;
    }

        .body-small ul.navbar-top-links li a > i {
            margin: 0px;
        }

    .body-small .branch-title-wrapper {
        font-size: 0.7rem;
    }

    .body-small .btn-switch-branch-wrapper {
        display: none;
    }

    .body-small .btn-switch-branch-label {
        display: none;
    }

    .body-small .navbar-logout-label {
        display: none;
    }

    .body-small .navbar-language-label {
        display: none;
    }

    .body-small .navbar-static-top .dropdown {
        display: block !important;
    }

    /*End of Top Nav Bar*/
}

/*Dockable*/


.dockable-container {
    overflow-y: auto;
}

.fill-space {
    width: 100%;
    height: 100%;
}


.lm_content {
    background: #f8f8fb !important;
    border: 1px solid #e4e4e4 !important;
}

.lm_header {
    background-color: #DEE1E6;
}

    .lm_header .lm_tab {
        height: 18px;
        padding-top: 3px;
        background-color: #DEE1E6;
        color: #333;
        border: none;
        padding-left: 15px;
    }

.lm_tab:hover, .lm_tab.lm_active {
    background: #f8f8fb;
    color: #333;
    padding-bottom: 5px;
    border-radius: 5px 5px 0px 0px;
    border-top: 2px solid #747c94;
}

.lm_header .lm_tab .lm_title {
}

.ui-full {
    width: 100%;
    position: absolute;
    height: calc(100% - 118px);
    left: 0px;
    top: 0px;
    margin-top: 78px;
}

.ui-full-inner {
    background-color: #eee;
    width: 100%;
    height: 100%;
    position: relative;
}

.property-frame {
    border-radius: 5px;
    padding: 15px 15px 1px 15px;
    background: #f1f1f1;
    margin-bottom: 18px;
}

.tbl-worker-icon {
    width: 28px;
    display: inline;
    margin-right: 15px;
    vertical-align: top;
}

.worker-action-wrapper .worker-action-section {
    color: #333;
    padding-bottom: 10px;
    display: inline-block;
    cursor: pointer;
}

.worker-action-wrapper .ibox {
    margin-bottom: 10px;
}

.worker-action-wrapper .ibox-content {
    border: none !important;
    padding: 30px;
    background: #f1f1f1;
    border-radius: 25px;
    margin: -28px 0px 15px;
    padding-top: 45px;
}

.worker-action-wrapper .ibox-title {
    cursor: pointer;
    border: none !important;
    border-radius: 15px;
    background: #f1f1f1;
}

    .worker-action-wrapper .ibox-title h5 {
        padding-left: 10px;
    }

    .worker-action-wrapper .ibox-title h5 .fa {
        margin-right: 15px;
    }

    .worker-action-wrapper .ibox-title.collapsed {
        border: none;
        border-radius: 25px;
        background: #f1f1f1;
    }

    .worker-action-wrapper .ibox-title:hover {
        background: #f1f1f1;
    }

.settings-tab-content h3 {
    background-color: #eee;
    padding: 10px 10px 10px 15px;
    border-radius: 10px;
    margin-bottom: 16px;
    display: inline-block;
    width: 100%;
}

.separator {
    border-right: 1px solid #ccc;
    margin-left: 5px;
    margin-right: 5px;
}

.sidebar .modal {
    width: calc(100% - 450px);
}

.modal-open .chat-sidebar {
    position: fixed;
    z-index: 100000;
}

.worker-action-config-wrapper {
    margin-left: 6px;
    padding-left: 15px;
    border-left: 1px dashed #333;
}

.app-grid-scroller {
    max-height: 700px;
    overflow-y: auto;
}

.app-group-header {
    font-size: 14px;
    color: #5d5d5d;
    font-weight: 500;
    margin: 18px 8px 0px 8px;
}

.header-sep {
    height: 6px;
    width: 45px;
    background-color: #e8e8e8;
    margin: 16px 0px 16px;
    border-radius: 10px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(338px, 1fr));
    gap: 20px;
}

.app-grid.app-grid-group {
    padding: 0px 6px;
    margin-bottom: 40px;
}

    .app-grid .app-superscript {
        color: #454545;
        margin-bottom: 15px;
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .app-grid .app-card {
        background-color: white;
        position: relative;
        /*background: radial-gradient(circle, #fff 0%, #fff 50%, #fafafa 80%, #f7f8ff 100%);*/
        background: radial-gradient(circle, #fafafa 0%, #fafafa 20%, #fafafa 60%, #fff 90%, #fff 100%);
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        margin: 20px 0px 10px;
        border: 1px solid #f6f6f6;
        transition: all 0.1s;
    }

        .app-grid .app-card.app-card-sparse {
            padding: 30px 25px;
            margin-right: 15px;
        }

    .app-grid .app-card.app-selectable {
        cursor: pointer;
    }

    .app-grid .app-card.app-selectable:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        background-color: #fafafa;
        transform: translateY(-6px);
    }

        .app-grid .app-card.selected {
            border: 2px dotted #4361ee;
            background-color: #fafafa;
        }

    .app-grid .app-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .app-grid .app-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        margin-right: 12px;
        object-fit: contain;
        object-position: center;
    }

    .app-grid .app-info {
        flex-grow: 1;
    }

    .app-grid .app-name {
        font-weight: 600;
        margin: 0;
        color: #333;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box; 
        -webkit-line-clamp: 3; 
        line-clamp: 3; 
        -webkit-box-orient: vertical; 
    }

    .app-grid .app-company {
        color: #666;
        font-size: 1em;
        margin: 0;
    }

    .app-grid .btn:not(.btn-global) {
        color: #555;
        background: #efefef;
        border: none;
        font-weight: 500;
    }

    .app-grid .btn:not(.btn-global):hover {
        font-weight: bold;
    }

    .app-grid .app-description {
        font-size: 1em;
        color: #555;
        margin-top: 20px;
        margin-bottom: 20px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 5;
    }

    .app-grid .app-description.trim {
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .app-grid .app-rating {
        color: #4f4fc9;
        font-weight: bold;
    }

    .app-grid .app-star {
        color: #ffd700;
    }

    .app-grid .app-categories {
        margin-top: 10px;
    }

        .app-grid .app-categories .app-category {
            display: inline-block;
            background-color: #f0f0f0;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.9em;
            margin-right: 5px;
            color: #666;
        }

    .app-grid .app-grid-footer-padding {
        height: 12px;
    }

    .app-grid .app-grid-footer {
        position: absolute;
        bottom: 15px;
    }

    /* Standard card footer for access-controlled app-grid pages (data studios, data models,
       dashboards, workflows, workers, command centres). The card only becomes a flex column
       when it actually carries this footer, so every other app-card keeps its own layout. */

    .app-grid .app-card:has(> .app-grid-card-footer) {
        display: flex;
        flex-direction: column;
        border: 1px solid #9eb3c7;
    }

    .app-grid .app-grid-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: auto;
        padding-top: 14px;
        border-top: 1px solid #eef1f6;
    }

    .app-grid .app-grid-badges {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .app-grid .app-grid-badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 5px 10px;
        border-radius: 20px;
        background: #eef1f6;
        color: #55657c;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    /* Accessibility variants - bound as 'app-grid-badge-' + accessibility */

    .app-grid .app-grid-badge-private {
        background: #eef1f6;
        color: #55657c;
    }

    .app-grid .app-grid-badge-shared {
        background: #e6edf8;
        color: #2c5ea8;
    }

    .app-grid .app-grid-badge-open {
        background: #e7f7ee;
        color: #1c7c4a;
    }

    .app-grid .app-grid-badge-owner {
        background: #fff6e5;
        color: #9a6a10;
    }

    .app-grid .app-grid-card-meta {
        color: #93a1b5;
        font-size: 12px;
    }

    /* Pin toggle in the card's superscript row */

    .app-grid .app-pin-btn {
        padding: 2px 8px;
        border-radius: 8px;
        background: transparent !important;
        color: #b6c1d0 !important;
        line-height: 1;
    }

    .app-grid .app-pin-btn:hover {
        background: #eef1f6 !important;
        color: #55657c !important;
    }

    .app-grid .app-pin-btn.pinned {
        color: #2c5ea8 !important;
    }

        .app-grid .app-pin-btn.pinned .fa {
            transform: rotate(-30deg);
        }

    /* Space (scoped context) line, rendered at the top of the description block */

    .app-grid .app-space-name {
        display: block;
        margin-bottom: 6px;
        color: #333;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-grid .rounded-ref {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 15px;
    }

.worker-form-body textarea {
    height: 100px;
}

.worker-engine-selector .icon-wrapper {
    padding: 16px;
    padding-right: 0px;
}

    .worker-engine-selector .icon-wrapper .icon-img-wrapper {
        padding: 8px;
        background: #eee;
        border-radius: 8px;
    }

.worker-engine-selector .icon-wrapper img {
    height: 100px;
}

.worker-engine-selector .input-wrapper {
    padding-left: 0px;
}

.worker-engine-selector .alert-worker-description {
    color: #323138;
    background-color: #f5f5f5;
    border-color: #efefef;
    font-size: 14px;
}

.kb-selector-item .kb-strong {
    font-weight: bold;
    font-size: 14px;
}

.input-group > .input-group-wrapper {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

.label-helper-wrapper {
    padding: 15px 0px;
}

.label-helper-wrapper .label-helper {
    cursor: pointer;
    margin: 5px;
    padding: 6px 15px;
    border-radius: 8px;
}

    .label-helper-wrapper .label-helper:hover {
        background-color: #1d2f3e;
        color: white;
    }

@keyframes sk-shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.skeleton-loader {
    position: relative;
    overflow: hidden;
    background-color: white;
}

    .skeleton-loader::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 200%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.4), transparent );
        animation: sk-shimmer 1.5s infinite;
        z-index: 10001;
    }

    .skeleton-loader::before {
        content: '';
        position: absolute;
        top: 5%;
        left: 10px;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(#e0e0e0 16px, transparent 0), linear-gradient(#e0e0e0 16px, transparent 0);
        background-size: 80% 62px, /* Full-width lines */
        60% 62px; /* 80%-width lines */
        background-position: 0px 0px, /* First line starts at top */
        0px 28px; /* Second line starts after first line plus spacing */
        background-repeat: repeat-y;
        z-index: 10000;
    }

.user-group-editor {
    height: 500px;
}

    .user-group-editor .btn {
        width: 120px;
        margin-top: 8px;
    }

    .user-group-editor .user-item-wrapper {
        height: 100%;
        width: 312px;
        background: #f3f3f3;
        padding: 10px;
        border-radius: 15px;
        overflow-y: auto;
    }

    .user-group-editor .user-item-command {
        text-align: center;
    }

    .user-group-editor .user-item {
        font-weight: 500;
        color: #333;
    }

    .user-group-editor .user-item-wrapper .search-input {
        border-radius: 5px;
        outline: none;
        border: none;
        margin-bottom: 15px;
    }

button.maximize {
    position: absolute;
    right: 0px;
    border: none !important;
    background: transparent;
    margin-right: 42px;
    font-size: 14px;
    opacity: 0.8;
}

.search-input {
    background: #fff url("data:image/svg+xml;utf8,\
      <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'>\
        <path d='M15.5 14h-.79l-.28-.27\
                 A6.471 6.471 0 0 0 16 9.5\
                 6.5 6.5 0 1 0 9.5 16\
                 a6.471 6.471 0 0 0 4.23-1.57\
                 l.27.28v.79l5 4.99\
                 L20.49 19l-4.99-5zM9.5 14\
                 C7.01 14 5 11.99 5 9.5\
                 S7.01 5 9.5 5\
                 14 7.01 14 9.5\
                 11.99 14 9.5 14z'/>\
      </svg>") no-repeat 12px center; /* position the icon */
    background-size: 16px 16px;
    transition: border-color .2s;
    padding-left: 36px;
}

.nav.nav-tabs.nav-style-pill {
    border-bottom: none;
    padding: 0;
    margin-bottom: 0;
}

.nav-style-pill {
    border: none;
    background-color: #f0f2f5; 
    border-radius: 8px; 
    display: inline-flex;
    padding: 5px;
    list-style: none;
}

    .nav-style-pill li {
        margin: 0;
        margin-bottom: 0px !important;
        padding: 5px !important;
    }

    .nav-style-pill .nav-link {
        border: none;
        color: #5c606b !important;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 6px;
        margin: 0 2px !important;
        transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
        white-space: nowrap;
        background: transparent !important;
        background-color: transparent !important;
    }

        .nav-style-pill .nav-link:hover {
            color: #000; 
        }

        .nav-style-pill .nav-link.active {
            color: #000000 !important;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            background: white !important;
            border-radius: 5px !important;
            border-top: none !important;
        }

.chat-header-button .chat-header-button-icon {
    width: 22px;
    height: 22px;
    transition: all 0.2s;
    display: inline-block;
    background-image: url(/_content/Unify.PortalLight/portal-light/assets/img/chat-icon.png);
    background-size: contain;
    vertical-align: middle;
    margin-right: 5px;
    background-repeat: no-repeat;
}

.chat-header-button .chat-header-button-text {
    vertical-align: middle;
}

.app-grid-header {
    margin: 8px 6px;
    font-weight: 500;
    color: #555;
}

.app-grid-header+.app-grid {
    margin-bottom: 28px;
}

.square-tabs {
    border-radius: 10px;
    box-shadow: -1px 0px 10px #ccc;
    margin-top: 10px;
    border: 3px solid #ffffff;
}

    .square-tabs .square-tab-item {
        flex: 1;
        list-style: none;
        text-align: center;
        width: 138px;
        height: 78px;
        color: #4c5e95;
    }

        .square-tabs .square-tab-item .fa {
            display: block;
            font-size: 24px;
        }

        .square-tabs .square-tab-item.btn-selected {
            background: #e7eaf3;
        }

.mr-editor {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 62px);
    background: #f7f8fa;
    border-radius: 15px 15px 0px 0px;
    overflow: hidden;
}

.mr-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #e4e7ed;
    flex-shrink: 0;
}

.mr-name-input {
    font-weight: 600;
}

.mr-strategy-select {
    max-width: 160px;
}

.mr-toolbar-check {
    font-weight: normal;
    margin: 0;
    white-space: nowrap;
    cursor: pointer;
}

.mr-toolbar-spacer {
    flex: 1;
}

.mr-body {
    display: flex;
    flex: 1;
    min-height: 0;
    position: relative;
}

.mr-canvas {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: grab;
    background-color: #f7f8fa;
    background-image: radial-gradient(#d9dde3 1px, transparent 1px);
    background-size: 22px 22px;
}

    .mr-canvas:active {
        cursor: grabbing;
    }

.mr-canvas-inner {
    position: absolute;
    transform-origin: 0 0;
    width: 6000px;
    height: 4000px;
}

.mr-edge-layer {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.mr-edge {
    fill: none;
    stroke: #b8c0cc;
    stroke-width: 2.5;
    transition: stroke .2s ease;
}

.mr-edge-match {
    stroke: #10b981;
    stroke-dasharray: none;
}

.mr-edge-fallback {
    stroke: #f0b429;
    stroke-dasharray: 6 5;
}

.mr-edge-error {
    stroke: #ef4b6c;
    stroke-dasharray: 6 5;
}

.mr-edge-visited {
    stroke: #7c8ba1;
}

.mr-edge-nomatch {
    stroke: #b8c0cc;
}

.mr-edge-matched {
    stroke: #10b981;
    stroke-width: 3.5;
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, .65));
    animation: mrEdgePulse 1.2s ease-in-out infinite;
}

.mr-edge-label {
    font-size: 10px;
    font-weight: 600;
    fill: #7c8ba1;
    paint-order: stroke;
    stroke: #f7f8fa;
    stroke-width: 4px;
    stroke-linejoin: round;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: .4px;
}

@@keyframes mrEdgePulse {
    50% {
        filter: drop-shadow(0 0 9px rgba(16, 185, 129, .9));
    }
}

.mr-node {
    position: absolute;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(28, 39, 60, .07);
    cursor: move;
    user-select: none;
}

.mr-rule-node {
    width: 260px;
    min-height: 118px;
    padding: 10px 12px;
    border-left: 4px solid #4f7cf7;
}

    .mr-rule-node.mr-error-lane {
        border-left-color: #ef4b6c;
    }

    .mr-rule-node.mr-selected {
        border-color: #4f7cf7;
        box-shadow: 0 0 0 3px rgba(79, 124, 247, .18);
    }

    .mr-rule-node.mr-disabled {
        opacity: .5;
    }

    .mr-rule-node.mr-matched {
        border-color: #10b981;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, .25), 0 6px 18px rgba(16, 185, 129, .25);
        animation: mrNodePulse 1.2s ease-in-out infinite;
    }

@@keyframes mrNodePulse {
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, .18), 0 6px 22px rgba(16, 185, 129, .35);
    }
}

.mr-rule-node.mr-failed {
    border-color: #f1d2d9;
    opacity: .75;
}

.mr-rule-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.mr-rule-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eef2fd;
    color: #4f7cf7;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.mr-error-lane .mr-rule-order {
    background: #fdeef1;
    color: #ef4b6c;
}

.mr-rule-name {
    font-weight: 600;
    font-size: 13px;
    color: #1c273c;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mr-rule-weight {
    font-size: 10px;
    color: #98a1b0;
}

.mr-rule-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.mr-chip {
    font-size: 10px;
    background: #f3f5f8;
    color: #5a6474;
    border-radius: 12px;
    padding: 2px 8px;
    white-space: nowrap;
}

    .mr-chip i {
        margin-right: 3px;
        opacity: .7;
    }

.mr-port {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #d0d5dd;
}

.mr-port-match {
    right: -6px;
    top: 36px;
    background: #10b981;
}

.mr-port-nomatch {
    bottom: -6px;
    left: calc(50% - 6px);
    background: #94a3b8;
}

.mr-target-node {
    width: 220px;
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-left: 4px solid #10b981;
}

    .mr-target-node.mr-target-auto {
        border-style: dashed;
        border-left-style: solid;
        border-left-color: #f0b429;
        background: #fffdf5;
    }

    .mr-target-node.mr-matched {
        border-color: #10b981;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, .25);
        animation: mrNodePulse 1.2s ease-in-out infinite;
    }

.mr-target-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e6f7f1;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.mr-target-auto .mr-target-icon {
    background: #fdf6e3;
    color: #f0b429;
}

.mr-target-name {
    font-weight: 600;
    font-size: 13px;
    color: #1c273c;
}

.mr-target-sub {
    font-size: 11px;
    color: #98a1b0;
}

.mr-side-node {
    width: 180px;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.mr-start-node {
    border-left: 4px solid #7c5cff;
}

.mr-fallback-node {
    border-left: 4px solid #f0b429;
}

    .mr-fallback-node.mr-matched {
        border-color: #f0b429;
        box-shadow: 0 0 0 3px rgba(240, 180, 41, .3);
        animation: mrNodePulse 1.2s ease-in-out infinite;
    }

.mr-side-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: #f1edff;
    color: #7c5cff;
    flex-shrink: 0;
}

.mr-fallback-node .mr-side-icon {
    background: #fdf6e3;
    color: #f0b429;
}

.mr-nomodel-node {
    border-left: 4px solid #ef4b6c;
}

    .mr-nomodel-node .mr-side-icon {
        background: #fdeef1;
        color: #ef4b6c;
    }

    .mr-nomodel-node.mr-matched {
        border-color: #ef4b6c;
        box-shadow: 0 0 0 3px rgba(239, 75, 108, .3);
        animation: mrNodePulse 1.2s ease-in-out infinite;
    }

.mr-panel-title {
    flex: 1;
    font-weight: 600;
    font-size: 13px;
    color: #1c273c;
}

.mr-script-editor {
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 12px;
    background: #1c273c;
    color: #d5dbe5;
    border-color: #38455f;
}

.mr-script-help {
    font-size: 11px;
    color: #5a6474;
    background: #f7f8fa;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 10px;
}

    .mr-script-help > div {
        margin-bottom: 6px;
    }

    .mr-script-help code {
        font-size: 10px;
    }

.mr-script-example pre {
    font-size: 10px;
    margin: 4px 0 0 0;
    padding: 6px;
    background: #eef1f5;
    border: none;
}

.mr-side-title {
    font-weight: 600;
    font-size: 13px;
    color: #1c273c;
}

.mr-side-sub {
    font-size: 10px;
    color: #98a1b0;
}

.mr-trace-badge {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.mr-trace-pass {
    background: #e6f7f1;
    color: #10b981;
}

.mr-trace-fail {
    background: #fdeef1;
    color: #ef4b6c;
}

.mr-canvas-actions {
    position: absolute;
    bottom: 18px;
    left: 18px;
    display: flex;
    gap: 8px;
}

.mr-panel {
    width: 440px;
    background: #fff;
    border-left: 1px solid #e4e7ec;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.mr-panel-head {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px;
    border-bottom: 1px solid #f0f2f5;
}

.mr-panel-name {
    flex: 1;
    font-weight: 600;
}

.mr-panel-tabs {
    padding: 0 10px;
}

    .mr-panel-tabs .nav-link {
        cursor: pointer;
        padding: 8px 12px;
        font-size: 12px;
    }

.mr-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    overflow-x: hidden;
}

.mr-modality-grid {
    display: flex;
    gap: 12px;
}

.mr-modality-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mr-modality-chip {
    font-size: 11px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    padding: 3px 9px;
    cursor: pointer;
    color: #98a1b0;
    transition: all .12s ease;
}

    .mr-modality-chip.mr-mod-on {
        background: #e6f7f1;
        border-color: #10b981;
        color: #0e9f6e;
    }

    .mr-modality-chip.mr-mod-off {
        background: #fdeef1;
        border-color: #ef4b6c;
        color: #ef4b6c;
        text-decoration: line-through;
    }

.mr-custom-row {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
    align-items: center;
}

.mr-flags {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid #f0f2f5;
    padding-top: 12px;
}

.mr-weight-input {
    margin: 0;
    max-width: 110px;
}

.mr-target-preview {
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 14px;
    background: #fafbfc;
}

.mr-test-console {
    background: #1c273c;
    color: #d5dbe5;
    padding: 12px 16px;
    flex-shrink: 0;
    max-height: 300px;
    overflow-y: auto;
}

.mr-test-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.mr-test-field label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #8b95a7;
    margin-bottom: 3px;
}

.mr-test-field .form-control {
    background: #27324a;
    border-color: #38455f;
    color: #e8ecf3;
    min-width: 130px;
}

/* select2 renders its own container — keep the test console's dark theme */
.mr-test-field .select2-container .select2-selection {
    background: #27324a;
    border-color: #38455f;
    min-width: 130px;
}

.mr-test-field .select2-container .select2-selection__rendered {
    color: #e8ecf3;
}

.mr-test-modality label.mr-toolbar-check {
    display: inline-block;
    font-size: 11px;
    text-transform: none;
    color: #d5dbe5;
    margin-right: 8px;
}

.mr-test-run {
    margin-left: auto;
}

.mr-test-result {
    margin-top: 12px;
    border-top: 1px solid #38455f;
    padding-top: 10px;
}

.mr-test-verdict {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 8px;
}

.mr-verdict-matched i {
    color: #10b981;
    font-size: 16px;
}

.mr-verdict-fallback i {
    color: #f0b429;
    font-size: 16px;
}

.mr-test-traces {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mr-trace-item {
    font-size: 11px;
    border-radius: 12px;
    padding: 3px 10px;
    background: #27324a;
}

    .mr-trace-item.mr-trace-pass {
        color: #35d29a;
        background: rgba(16, 185, 129, .12);
    }

    .mr-trace-item.mr-trace-fail {
        color: #f2708c;
        background: rgba(239, 75, 108, .12);
    }

    .mr-trace-item em {
        opacity: .75;
        font-style: normal;
    }

    .mr-verdict-trophy {
        color: #f0b429;
        font-size: 16px;
    }

    .mr-verdict-rule {
        color: #35d29a;
    }

    .mr-trace-item.mr-trace-winner {
        color: #ffd166;
        background: rgba(240, 180, 41, .16);
        box-shadow: inset 0 0 0 1px rgba(240, 180, 41, .5);
        font-weight: 600;
    }

    .mr-trace-spec {
        font-size: 9px;
        opacity: .65;
        border: 1px solid currentColor;
        border-radius: 8px;
        padding: 0 5px;
        margin-left: 2px;
    }

.mr-section-header {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    margin-bottom: 6px;
}

.mr-section-subheader {
    font-size: 11px;
    color: #888;
    display: inline-block;
    margin-bottom: 10px;
}

.mr-section-seperator {
    height: 1px;
    border-top: 2px dotted #666;
    margin: 20px 0px;
}

.company-logo-setting {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Fixed frame, image contained: any aspect ratio renders whole and
           undistorted, and an oversized upload can never stretch the form. */
.company-logo-preview {
    width: 220px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid #e4e4ea;
    border-radius: 8px;
    background-color: #fff;
}

    .company-logo-preview img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

.company-logo-empty {
    flex-direction: column;
    gap: 4px;
    border-style: dashed;
    color: #9a9aa5;
    font-size: 12px;
    background-color: #fafafb;
}

    .company-logo-empty i {
        font-size: 20px;
        opacity: .5;
    }

.company-logo-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------------
   Data model / domain picker - shared by every "pick the models to include" modal
   (dataengine data warehouse, dashboard domains, ...)
   ------------------------------------------------------------------ */

.data-model-picker {
    border: 1px solid #e3e9f3;
    border-radius: 12px;
    background: #fbfcfe;
    overflow: hidden;
}

.data-model-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e3e9f3;
}

.data-model-picker-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .data-model-picker-title h4 {
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        color: #24344d;
    }

.data-model-picker-counter {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    background: #e6edf8;
    color: #2c5ea8;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

    .data-model-picker-counter.is-empty {
        background: #fdecec;
        color: #b64545;
    }

.data-model-picker-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.data-model-picker-search {
    width: 210px;
}

    .data-model-picker-search .form-control {
        height: 32px;
        font-size: 13px;
    }

    .data-model-picker-search .btn {
        height: 32px;
        padding: 0px 12px;
    }

.data-model-picker-body {
    max-height: 360px;
    overflow-y: auto;
    padding: 14px 16px;
}

.data-model-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 12px;
}

.data-model-picker-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e6ebf4;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .data-model-picker-card:hover {
        border-color: #a9c2ea;
        box-shadow: 0 4px 10px rgba(38, 62, 96, 0.08);
        transform: translateY(-2px);
    }

    .data-model-picker-card.selected {
        border-color: #2c5ea8;
        background: #f4f8ff;
    }

.data-model-picker-card-icon.rounded-ref {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    padding-top: 8px;
    font-size: 13px;
}

.data-model-picker-card-body {
    flex-grow: 1;
    min-width: 0;
}

.data-model-picker-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #24344d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.data-model-picker-card-desc {
    margin-top: 2px;
    font-size: 12px;
    color: #6b7a90;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.data-model-picker-card-meta {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #8494a8;
}

    .data-model-picker-card-meta .fa {
        margin-right: 3px;
    }

.data-model-picker-card-check .fa {
    font-size: 18px;
    color: #cbd5e3;
}

.data-model-picker-card.selected .data-model-picker-card-check .fa {
    color: #2c5ea8;
}

.data-model-picker-empty {
    padding: 40px 10px;
    text-align: center;
    color: #93a1b5;
}

    .data-model-picker-empty .fa {
        display: block;
        font-size: 32px;
        margin-bottom: 10px;
        color: #cbd5e3;
    }

.data-model-picker-help {
    font-size: 12px;
    color: #93a1b5;
}

/* Icon well for pickers whose items carry no data-model colour class */

.data-model-picker-card-icon:not(.rounded-ref) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    background: #e9f2ff;
    color: #2c5ea8;
    font-size: 13px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-primary {
    background-color: #264f70;
    border-color: #113b52;
    color: #FFFFFF;
}

    .btn-primary.btn-outline {
        background-color: white;
        border-color: #113b52;
        color: #113b52;
    }

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active,
    .open .dropdown-toggle.btn-primary, .btn-primary:active:focus, .btn-primary:active:hover,
    .btn-primary.active:hover, .btn-primary.active:focus {
        background-color: #3f637e;
        border-color: #113b52;
        color: #fff;
    }

    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
        background-color: #0c2940;
        border-color: #113b52;
        color: #fff;
    }

    .btn-primary.disabled, .btn-primary:disabled {
        background-color: #0c2940;
        color: white;
        border: none !important;
    }

    .tab-content {
        box-shadow: 0px -1px #eee;
    }

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border-top: 2px solid #2d7197;
    color: #264f70;
    font-size: 12px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
    font-size: 13px;
}

.tabs-container .nav-tabs {
    border-bottom: 1px solid #fafafa;
}

.tabulator {
    border-color: white;
    border-top: 2px solid #264f70;
    border-radius: 8px;
}

.tabulator-tableHolder {
    border-radius: 0px 0px 8px 8px;
}

.tabulator-headers {
    background-color: #fafafa;
}

.tabulator .tabulator-header .tabulator-col {
    background-color: #fafafa;
    border-bottom: 1px solid white;
}

.tabulator-header-filter input {
    border: none;
    background-color: #efefef;
    font-size: 12px;
    padding: 5px 8px !important;
    border-radius: 5px;
}

.tabulator-header-filter input:focus {
    outline: none !important;
    background-color: #ddd !important;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
    color: #264f70;
    font-size: 13px;
}

.tabulator .tabulator-tableHolder {
    background: #fafafa;
}

.tabulator-row .tabulator-cell {
    font-size: 13px;
    line-height: 22px;
}

.tabulator-paginator button {
    border-radius: 20px !important;
    width: 27px !important;
    height: 27px !important;
    font-size: 11px;
    font-weight: bold;
}

.tabulator .tabulator-footer .tabulator-page.active {
    background-color: #264f70 !important;
    color: white !important;
    border: none;
}

.tabulator-page-size {
    border: none !important;
    background-color: #fafafa;
    margin-right: 15px;
    font-weight: bold;
}

.tabulator .tabulator-footer {
    border-top: none !important;
    overflow-x: auto;
}

.form-group input.form-control {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 5px;
}

.form-group label {
    color: #0c2f4a;
    font-weight: 600;
}

.form-group input.form-control:disabled {
    background-color: #eaeaea !important;
    cursor: not-allowed;
}

.modal-title {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    color: #264f70;
}

.modal-header {
    border-bottom: none;
    background: #fdfdfd;
    padding-top: 10px;
}

.modal-content {
    border-top: 3px solid #264f70;
}

.modal-body {
    padding: 15px 25px 20px 25px;
    background: #fdfdfd;
}

.modal-footer {
    background: #f3f3f3;
    border-top: none !important;
}

.blockUI.blockMsg {
    border: none !important;
    background-color: transparent !important;
    color: white !important;
    left: 50% !important;
    margin-left: -18px !important;
    top: 50% !important;
    margin-top: -12px !important;
    width: 40px !important;
    animation: spin 2s linear infinite;
}


.form-group label.error {
    color: red !important;
    font-size: 12px;
    font-weight: normal;
}

.nav-tabs > li > a {
    color: #959595;
}

.list-group-item.active {
    background-color: #264f70;
    border-color: #264f70;
}

.form-section {
    color: #264f70;
    padding-bottom: 10px;
    margin-top: 18px;
}