/* User component */
.modern-user-editor {
        --user-surface: #ffffff;
        --user-muted-surface: #f8fafc;
        --user-border: #e2e8f0;
        --user-text: #0f172a;
        --user-muted: #64748b;
        --user-primary: var(--primary, #007bff);
        --user-primary-soft: rgba(0, 123, 255, .1);
        --user-radius: 8px;
        color: var(--user-text);
    }

    .modern-user-editor .user-profile-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 1rem;
        align-items: start;
        margin-bottom: 1rem;
    }

    .modern-user-editor .user-main-panel,
    .modern-user-editor .user-side-panel {
        border: 1px solid var(--user-border);
        border-radius: var(--user-radius);
        background: var(--user-surface);
        box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
    }

    .modern-user-editor .user-main-panel {
        position: relative;
        padding: 1rem;
    }

    .modern-user-editor .user-side-panel {
        position: sticky;
        top: .75rem;
        overflow: hidden;
    }

    .modern-user-editor .user-panel-header,
    .modern-user-editor .user-side-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        margin-bottom: 1rem;
        padding-bottom: .85rem;
        border-bottom: 1px solid var(--user-border);
    }

    .modern-user-editor .user-title {
        display: flex;
        align-items: center;
        gap: .65rem;
        margin: 0;
        font-size: 1rem;
        font-weight: 800;
        color: var(--user-text);
    }

    .modern-user-editor .user-title i,
    .modern-user-editor .field-icon {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 34px;
        border-radius: 8px;
        color: var(--user-primary);
        background: var(--user-primary-soft);
    }

    .modern-user-editor .user-status-controls {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem 1rem;
        align-items: center;
    }

    .modern-user-editor .user-field,
    .modern-user-editor .details > .form-row > [class*="col-"] {
        margin-bottom: 1rem;
    }

    .modern-user-editor .user-field label:not(.custom-control),
    .modern-user-editor .details label:not(.custom-control) {
        margin-bottom: .35rem;
        color: #475569;
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: 0;
    }

    .modern-user-editor .input-group-text svg {
        width: 1rem;
        height: 1rem;
        fill: currentColor;
    }

    .modern-user-editor .user-side-header {
        margin: 0;
        padding: 1rem;
        background: linear-gradient(135deg, #f8fafc 0%, #eef6ff 100%);
    }

    .modern-user-editor .user-side-body {
        padding: 1rem;
    }

    .modern-user-editor .user-photo-frame {
        display: flex;
        justify-content: center;
        padding: .75rem;
        border: 1px dashed var(--user-border);
        border-radius: var(--user-radius);
        background: var(--user-muted-surface);
    }

    .modern-user-editor .user-qr-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .modern-user-editor .user-qr-wrapper .qrCode {
        position: static;
        height: 7.5rem;
        border: 1px solid var(--user-border);
        border-radius: 8px;
        background: #fff;
        padding: .35rem;
    }

    .modern-user-editor .user-meta-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: .75rem;
        margin-top: 1rem;
    }

    .modern-user-editor .user-meta-grid .user-field {
        margin-bottom: 0;
    }

    .modern-user-editor .edit-section {
        border-radius: var(--user-radius);
        box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
    }

    .modern-user-editor .user-address-collapse .Address > .edit-section {
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .modern-user-editor .user-address-collapse .Address > .edit-section > .header {
        display: none;
    }

    .modern-user-editor .edit-section .form-row > [class*="col-"] {
        margin-bottom: 1rem;
    }

    .modern-user-editor .edit-section label:not(.custom-control) {
        margin-bottom: .35rem;
        color: #475569;
        font-size: .78rem;
        font-weight: 700;
    }

    .modern-user-editor .edit-section .form-control,
    .modern-user-editor .edit-section .select2-container--bootstrap4 .select2-selection {
        border-color: var(--user-border);
        border-radius: 8px;
    }

    .modern-user-editor .custom-control-label {
        color: #334155;
        font-weight: 700;
    }

    .modern-user-editor .suggestedUsers {
        position: absolute;
        right: auto;
        left: auto;
        top: auto;
        z-index: 1060;
        width: min(31rem, calc(100% - 1.5rem));
        max-width: calc(100% - 1.5rem);
    }

    .modern-user-editor .suggestedUsers .card {
        border: 1px solid var(--user-border);
        border-radius: var(--user-radius);
        overflow: hidden;
        box-shadow: 0 1rem 2rem rgba(15, 23, 42, .14);
    }

    .modern-user-editor .suggestedUsers .card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        padding: .65rem .85rem;
        border-bottom: 1px solid var(--user-border);
        background: #fff;
        color: var(--user-text);
        font-weight: 800;
    }

    .modern-user-editor .suggestedUsers .card-body {
        max-height: 20rem;
        overflow-y: auto;
        padding: .35rem;
        background: var(--user-muted-surface);
    }

    .modern-user-editor .suggestedUsers .borderlessBtn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;
        flex: 0 0 2rem;
        float: none !important;
        margin-left: auto;
        margin-right: 0;
        padding: 0 !important;
        color: var(--user-muted);
    }

    .modern-user-editor .suggestedUsers .user-search-result {
        overflow: hidden;
        border: 1px solid var(--user-border);
        border-radius: var(--user-radius);
        background: #fff;
    }

    .modern-user-editor .suggestedUsers .user-search-option {
        display: flex;
        align-items: flex-start;
        gap: .75rem;
        width: 100%;
        min-height: 4.25rem;
        padding: .7rem .85rem !important;
        border-right: 0;
        border-left: 0;
        line-height: 1.25;
        white-space: normal;
        text-align: inherit;
    }

    .modern-user-editor .suggestedUsers .user-search-option:first-child {
        border-top: 0;
    }

    .modern-user-editor .suggestedUsers .user-search-option:last-child {
        border-bottom: 0;
    }

    .modern-user-editor .suggestedUsers .user-search-avatar {
        width: 2.5rem;
        height: 2.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 2.5rem;
        overflow: hidden;
        border-radius: 50%;
        background: var(--user-primary-soft);
        color: var(--user-primary);
    }

    .modern-user-editor .suggestedUsers .user-search-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .modern-user-editor .suggestedUsers .user-search-details {
        min-width: 0;
        flex: 1 1 auto;
    }

    .modern-user-editor .suggestedUsers .user-search-title-row {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: .5rem;
    }

    .modern-user-editor .suggestedUsers .user-search-name {
        display: block;
        min-width: 0;
        overflow: hidden;
        font-weight: 800;
        color: var(--user-text);
        text-overflow: ellipsis;
    }

    .modern-user-editor .suggestedUsers .user-search-option.active .user-search-name,
    .modern-user-editor .suggestedUsers .user-search-option.active .user-search-email {
        color: #fff;
    }

    .modern-user-editor .suggestedUsers .user-search-meta {
        display: flex;
        flex-wrap: wrap;
        gap: .35rem;
        margin-top: .3rem;
        color: var(--user-muted);
        font-size: .82rem;
    }

    .modern-user-editor .suggestedUsers .user-search-email {
        display: inline-flex;
        align-items: center;
        gap: .25rem;
        max-width: 100%;
        line-height: 1.2;
        color: var(--user-muted);
    }

    .modern-user-editor .suggestedUsers .user-search-meta .badge {
        display: inline-flex;
        align-items: center;
        gap: .25rem;
        line-height: 1.2;
    }

    .modern-user-editor .suggestedUsers .user-search-empty,
    .modern-user-editor .suggestedUsers .user-search-loading {
        padding: 1rem;
        border: 1px solid var(--user-border);
        border-radius: var(--user-radius);
        background: #fff;
        text-align: center;
        color: var(--user-muted);
    }

    .modern-user-editor .suggestedUsers .user-search-empty i {
        display: block;
        margin-bottom: .35rem;
        color: #94a3b8;
        font-size: 1.25rem;
    }

    @media (max-width: 991.98px) {
        .modern-user-editor .user-profile-layout {
            grid-template-columns: 1fr;
        }

        .modern-user-editor .user-side-panel {
            position: static;
            order: -1;
        }
    }

    @media (max-width: 575.98px) {
        .modern-user-editor .user-main-panel,
        .modern-user-editor .user-side-body {
            padding: .85rem;
        }

        .modern-user-editor .user-panel-header,
        .modern-user-editor .user-side-header {
            align-items: flex-start;
            flex-direction: column;
        }
    }

.modern-user-editor .user-email-action {
    cursor: pointer;
}

.modern-user-editor .suggestedUsers.autocompleteSuggesstions {
    display: none;
}

/* One image partial */
.modern-one-image {
        --image-border: #e2e8f0;
        --image-surface: #ffffff;
        --image-muted-surface: #f8fafc;
        --image-text: #0f172a;
        --image-muted: #64748b;
        --image-primary: var(--primary, #007bff);
        --image-danger: #dc3545;
        --image-radius: 8px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 18rem;
        gap: .65rem;
        color: var(--image-text);
    }

    .modern-one-image .nameWrapper {
        width: 100%;
        padding: 0 .25rem;
        text-align: center;
    }

    .modern-one-image .name {
        margin: 0;
        color: var(--image-muted);
        font-size: .78rem;
        font-weight: 800;
        line-height: 1.35;
    }

    .modern-one-image .imgWrapper {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 8rem;
        overflow: hidden;
        border: 1px solid var(--image-border);
        border-radius: var(--image-radius);
        background: linear-gradient(135deg, #f8fafc 0%, #eef6ff 100%);
        box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    }

    .modern-one-image.Circle .imgWrapper {
        width: 8.5rem;
        height: 8.5rem;
        min-height: 8.5rem;
        border-radius: 50%;
    }

    .modern-one-image .imgWrapper img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .modern-one-image.Circle .imgWrapper img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }

    .modern-one-image.Rectangle .imgWrapper {
        min-height: 9.5rem;
    }

    .modern-one-image.Rectangle .imgWrapper img {
        max-height: 14rem;
        object-fit: contain;
    }

    .modern-one-image .uploadedImg {
        cursor: pointer;
        transition: opacity .18s ease, transform .18s ease;
    }

    .modern-one-image .uploadedImg:hover {
        opacity: .92;
        transform: scale(1.01);
    }

    .modern-one-image .operations {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: .5rem;
        width: 100%;
    }

    .modern-one-image .operations button {
        min-height: 2.15rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .4rem;
        padding: .35rem .7rem;
        border: 1px solid var(--image-border);
        border-radius: 8px;
        background: var(--image-surface);
        color: #334155;
        font-size: .82rem;
        font-weight: 800;
        text-decoration: none;
        cursor: pointer;
        transition: border-color .18s ease, color .18s ease, box-shadow .18s ease;
    }

    .modern-one-image .operations button:hover,
    .modern-one-image .operations button:focus {
        border-color: var(--image-primary);
        color: var(--image-primary);
        box-shadow: 0 0 0 .16rem rgba(0, 123, 255, .1);
        outline: none;
    }

    .modern-one-image .operations .deleteImgBtn:hover,
    .modern-one-image .operations .deleteImgBtn:focus {
        border-color: rgba(220, 53, 69, .35);
        color: var(--image-danger);
        box-shadow: 0 0 0 .16rem rgba(220, 53, 69, .1);
    }

    .modern-one-image .operations .downloadBtn:hover,
    .modern-one-image .operations .downloadBtn:focus {
        border-color: rgba(25, 135, 84, .35);
        color: #198754;
        box-shadow: 0 0 0 .16rem rgba(25, 135, 84, .1);
    }

/* Preloader partial */
.preloader {
        text-align: center;
        opacity: 0.5;
    }

    .mainPreloader .preloader {
        width: 100% !important;
        height: 100% !important;
        top: 0;
        left: 0;
        position: fixed;
        display: none;
        background-color: #fff;
        z-index: 5000;
        text-align: center;
    }

        .mainPreloader .preloader p {
            position: absolute;
            top: 89vh;
            left: 48%;
            z-index: 100;
            display: block !important;
        }

        .mainPreloader .preloader img {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 100;
            display: block !important;
        }

/* Cascading Bootstrap alerts */
.alert-stack {
    position: fixed;
    top: 1rem;
    left: 50%;
    z-index: 6000;
    display: flex;
    width: min(92vw, 680px);
    flex-direction: column;
    gap: .65rem;
    transform: translateX(-50%);
    pointer-events: none;
}

.alert-stack .alert {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin: 0;
    padding: .85rem 3rem .85rem 1rem;
    border-radius: .45rem;
    box-shadow: 0 .5rem 1.25rem rgba(15, 23, 42, .18);
    pointer-events: auto;
}

.alert-stack__icon {
    margin-top: .2rem;
    flex: 0 0 auto;
}

.alert-stack__message {
    min-width: 0;
    flex: 1 1 auto;
}

.alert-stack .close {
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    line-height: 1;
}

.alert-stack .close span {
    display: block;
    line-height: 1;
}

/* Print modal partial */
#printModal .modal-dialog {
        min-width: 80%!important;
    }
    #printModal .modal-body {
        min-height: 500px!important;
        overflow: scroll!important;
    }

/* Runtime top navigation shell */
body.bsns-top-navigation {
    overflow-x: hidden;
}

/* The root element owns the scrollbar, so Bootstrap's body/modal scrollbar
   compensation would add a second gutter and shift the entire RTL layout. */
body.bsns-top-navigation.modal-open {
    padding-inline: 0 !important;
}

body.bsns-top-navigation .modal {
    padding-inline: 0 !important;
}

body.bsns-top-navigation .wrapper {
    min-height: 100vh;
    overflow-x: hidden;
}

body.bsns-top-navigation .main-header.bsns-top-shell {
    position: sticky !important;
    top: 0;
    z-index: 1037;
    display: block;
    margin: 0 !important;
    padding: 0;
    border: 0;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .12);
}

body.bsns-top-navigation .content-wrapper,
body.bsns-top-navigation .main-footer {
    width: 100%;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
}

body.bsns-top-navigation .content-wrapper {
    height: auto;
    min-height: calc(100vh - 7.25rem);
    overflow-x: hidden;
    overflow-y: visible;
}

.bsns-command-bar {
    min-height: 4rem;
    display: flex;
    flex-wrap: nowrap;
    padding: .45rem 1rem;
    background: linear-gradient(135deg, #4057ad 0%, #667eea 100%);
}

.bsns-mobile-menu-toggle {
    display: none;
}

.bsns-application-identity {
    min-width: 0;
    max-width: 18rem;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    color: #fff !important;
}

.bsns-application-identity > img {
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 2.55rem;
    padding: .2rem;
    border-radius: .65rem;
    background: rgba(255, 255, 255, .95);
    object-fit: contain;
}

.bsns-identity-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-inline-start: .65rem;
    padding-block: .1rem;
}

.bsns-branch-name {
    display: block;
    overflow: hidden;
    padding-block: .15rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bsns-menu-search {
    position: relative;
    width: min(25rem, 32vw);
    flex: 0 1 25rem;
    margin-inline-start: 1rem;
}

.bsns-menu-search .input-group {
    flex-wrap: nowrap;
}

.bsns-menu-search .input-group-text,
.bsns-menu-search .form-control {
    height: 2.5rem;
    border: 0;
    background: rgba(255, 255, 255, .96);
}

.bsns-menu-search .input-group-text {
    color: #64748b;
}

.bsns-menu-search .form-control {
    min-width: 0;
    padding-inline-start: .25rem;
    color: #1e293b;
    box-shadow: none;
}

.bsns-search-results {
    inset-inline-start: 0;
    inset-inline-end: auto;
    top: calc(100% + .35rem);
    width: min(27rem, calc(100vw - 2rem));
    max-height: min(27rem, calc(100vh - 8rem));
    overflow-y: auto;
    padding: .35rem;
    border: 0;
    border-radius: .65rem;
    box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, .2);
}

.bsns-search-results .top-menu-search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding: .65rem .75rem;
    border-radius: .45rem;
}

.bsns-search-result-title {
    overflow: hidden;
    color: #1e293b;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bsns-search-result-module {
    flex: 0 0 auto;
    margin-inline-start: .75rem;
    color: #64748b;
}

.bsns-current-title {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    margin-inline-start: 1rem;
    color: rgba(255, 255, 255, .92);
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bsns-command-actions {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    margin-inline-start: .5rem;
    padding: 0;
}

.bsns-command-actions > .dropdown {
    position: relative;
}

.bsns-command-actions .dropdown-menu {
    position: absolute !important;
    inset-block-start: calc(100% + .35rem);
    inset-inline-start: auto;
    inset-inline-end: 0;
    z-index: 1050;
    margin: 0;
}

.bsns-command-actions .nav-link {
    min-width: 2.45rem;
    min-height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .6rem;
    border: 0;
    border-radius: .55rem;
    background: transparent;
}

.bsns-command-actions .dropdown.show > .nav-link,
.bsns-command-actions .nav-link:hover,
.bsns-command-actions .nav-link:focus {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.bsns-user-toggle {
    max-width: 13rem;
}

.bsns-user-toggle > img {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    margin-inline-end: .45rem;
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    object-fit: cover;
}

.bsns-user-toggle > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bsns-user-chevron {
    margin-inline-start: .45rem;
    font-size: .65rem;
}

.bsns-user-dropdown {
    width: min(20rem, calc(100vw - 1rem));
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    padding: .5rem;
    border: 0;
    border-radius: .75rem;
    box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, .2);
}

.bsns-user-summary {
    display: flex;
    align-items: center;
    padding: .65rem;
}

.bsns-user-summary > img {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    margin-inline-end: .75rem;
    border-radius: 50%;
    object-fit: cover;
}

.bsns-user-summary > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bsns-user-summary strong,
.bsns-user-summary small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bsns-user-summary small {
    margin-top: .25rem;
    color: #64748b;
}

.bsns-user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    min-height: 2.6rem;
    padding: .55rem .7rem;
    border: 0;
    border-radius: .45rem;
    background: transparent;
    text-align: inherit;
}

.bsns-user-dropdown .dropdown-item i {
    width: 1.5rem;
    margin-inline-end: .5rem;
    text-align: center;
}

.bsns-module-navbar {
    min-height: 3.25rem;
    padding: .3rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.bsns-menu-scroll-button {
    display: none;
}

.bsns-module-navbar .navbar-toggler {
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    border-color: #dbe3ef;
    color: #334155;
    font-size: .9rem;
}

.bsns-module-navbar .navbar-toggler i {
    margin-inline-end: .5rem;
}

.bsns-module-list {
    flex-wrap: wrap;
    padding: 0;
}

.bsns-module-list > .nav-item {
    margin: .1rem .15rem;
}

.bsns-module-list > .nav-item > .nav-link {
    min-height: 2.45rem;
    display: flex;
    align-items: center;
    padding: .5rem .7rem;
    border-radius: .5rem;
    color: #475569;
    font-size: .84rem;
    font-weight: 700;
}

.bsns-module-list > .nav-item > .nav-link > i {
    width: 1.25rem;
    margin-inline-end: .35rem;
    color: #6579c9;
    text-align: center;
}

.bsns-module-list > .nav-item > .nav-link:hover,
.bsns-module-list > .nav-item > .nav-link:focus,
.bsns-module-list > .nav-item.show > .nav-link {
    background: #eef2ff;
    color: #334ca3;
}

.bsns-module-dropdown {
    width: min(24rem, calc(100vw - 2rem));
    max-height: calc(100vh - 8rem);
    overflow-x: hidden;
    overflow-y: auto;
    padding: .5rem;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, .18);
}

.bsns-module-dropdown .dropdown-item {
    min-height: 2.45rem;
    display: flex;
    align-items: center;
    padding: .55rem .75rem;
    border-radius: .45rem;
    color: #334155;
    font-size: .86rem;
    text-align: inherit;
    white-space: normal;
}

.bsns-module-dropdown .dropdown-item > i:first-child {
    width: 1.25rem;
    flex: 0 0 1.25rem;
    margin-inline-end: .45rem;
    color: #7586c9;
    text-align: center;
}

.bsns-module-dropdown .dropdown-item:hover,
.bsns-module-dropdown .dropdown-item:focus {
    background: #eef2ff;
    color: #334ca3;
}

.bsns-developed-by {
    display: flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .6rem .75rem;
    border-radius: .5rem;
    color: #64748b;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
}

.bsns-developed-by:hover,
.bsns-developed-by:focus {
    color: #334ca3;
    background: #f8fafc;
    outline: 0;
}

.bsns-developed-by__label {
    flex: 0 0 auto;
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.bsns-developed-by img {
    width: 7.5rem;
    max-width: 55%;
    height: auto;
    padding: .25rem .4rem;
    border: 1px solid #e2e8f0;
    border-radius: .4rem;
    background: #fff;
}

.bsns-mobile-menu-footer {
    display: none;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu-toggle {
    width: 100%;
    border: 0;
    background: transparent;
}

.dropdown-submenu-toggle .submenu-chevron {
    margin-inline-start: auto;
    color: #94a3b8;
    font-size: .65rem;
    transition: transform .18s ease;
}

.dropdown-submenu-toggle[aria-expanded="true"] .submenu-chevron {
    transform: rotate(180deg);
}

.bsns-module-navbar .bsns-module-dropdown .dropdown-submenu > .dropdown-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none;
    width: 100%;
    max-height: none;
    margin: .15rem 0 .35rem;
    overflow: visible;
    padding: .25rem;
    padding-inline-start: 1rem;
    border: 0;
    border-radius: .45rem;
    background: #f8fafc;
    box-shadow: none;
}

.bsns-module-navbar .bsns-module-dropdown .dropdown-submenu > .dropdown-menu.show {
    display: block !important;
}

.dark-mode .bsns-top-navigation .main-header.bsns-top-shell,
.dark-mode .bsns-module-navbar {
    border-color: #343a40;
    background: #252a31;
}

.dark-mode .bsns-module-list > .nav-item > .nav-link,
.dark-mode .bsns-module-dropdown .dropdown-item,
.dark-mode .bsns-user-dropdown .dropdown-item,
.dark-mode .bsns-user-summary small {
    color: #ced4da;
}

.dark-mode .bsns-module-list > .nav-item > .nav-link:hover,
.dark-mode .bsns-module-list > .nav-item > .nav-link:focus,
.dark-mode .bsns-module-list > .nav-item.show > .nav-link,
.dark-mode .bsns-module-dropdown .dropdown-item:hover,
.dark-mode .bsns-module-dropdown .dropdown-item:focus {
    background: rgba(102, 126, 234, .2);
    color: #fff;
}

.dark-mode .bsns-module-dropdown,
.dark-mode .dropdown-submenu > .dropdown-menu,
.dark-mode .bsns-user-dropdown,
.dark-mode .bsns-search-results {
    border-color: #3b424b;
    background: #2d333b;
}

.dark-mode .bsns-developed-by {
    color: #aebbd0;
}

.dark-mode .bsns-developed-by:hover,
.dark-mode .bsns-developed-by:focus {
    color: #fff;
    background: rgba(102, 126, 234, .14);
}

.dark-mode .bsns-developed-by img {
    border-color: #46536a;
}

.dark-mode .bsns-search-result-title {
    color: #f1f5f9;
}

@media (max-width: 1199.98px) {
    .bsns-menu-search {
        width: min(20rem, 29vw);
        flex-basis: 20rem;
    }

    .bsns-current-title {
        display: none;
    }
}

@media (min-width: 992px) {
    .bsns-mobile-menu-toggle {
        display: none;
    }

    .bsns-module-navbar {
        position: relative;
        flex-wrap: nowrap;
        padding-inline: 3rem;
    }

    .bsns-module-navbar .navbar-collapse {
        min-width: 0;
        display: flex !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scrollbar-width: none;
        cursor: grab;
        touch-action: pan-y;
    }

    .bsns-module-navbar .navbar-collapse::-webkit-scrollbar {
        display: none;
    }

    .bsns-module-navbar .navbar-collapse.bsns-menu-is-dragging {
        scroll-behavior: auto;
        cursor: grabbing;
        user-select: none;
    }

    .bsns-module-list {
        width: max-content;
        min-width: 100%;
        flex: 0 0 auto;
        flex-wrap: nowrap;
    }

    .bsns-module-list > .nav-item {
        flex: 0 0 auto;
    }

    .bsns-menu-scroll-button {
        position: absolute;
        inset-block: .35rem;
        z-index: 3;
        width: 2.35rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid #dbe3ef;
        border-radius: .65rem;
        color: #5269c3;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 3px 10px rgba(15, 23, 42, .1);
        transition: color .15s ease, background-color .15s ease, opacity .15s ease;
    }

    .bsns-menu-scroll-button--left {
        left: .35rem;
    }

    .bsns-menu-scroll-button--right {
        right: .35rem;
    }

    .bsns-menu-scroll-button:hover:not(:disabled),
    .bsns-menu-scroll-button:focus:not(:disabled) {
        color: #fff;
        background: #5d73cd;
        outline: 0;
    }

    .bsns-menu-scroll-button:disabled {
        opacity: .3;
        cursor: default;
        box-shadow: none;
    }

    .bsns-module-dropdown {
        position: fixed !important;
        transform: none !important;
    }

    .dark-mode .bsns-menu-scroll-button {
        border-color: #46536a;
        color: #c7d2fe;
        background: #2d333b;
    }
}

@media (max-width: 991.98px) {
    body.bsns-top-navigation .content-wrapper {
        min-height: calc(100vh - 4rem);
    }

    .bsns-command-bar {
        min-height: 4rem;
        flex-wrap: nowrap;
        box-shadow: 0 4px 14px rgba(30, 41, 59, .18);
    }

    .bsns-application-identity,
    .bsns-menu-search {
        display: none;
    }

    .bsns-mobile-menu-toggle {
        width: 2.65rem;
        height: 2.65rem;
        flex: 0 0 2.65rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-inline-end: .35rem;
        padding: 0;
        border: 0;
        border-radius: .75rem;
        color: #fff;
        background: rgba(255, 255, 255, .13);
        font-size: 1.15rem;
        order: 1;
    }

    .bsns-current-title {
        min-width: 0;
        display: block;
        order: 2;
        margin: 0 .5rem;
        color: #fff;
        font-size: 1rem;
        text-align: start;
    }

    .bsns-command-actions {
        order: 3;
        margin-inline-start: auto;
    }

    .bsns-mobile-menu-toggle:hover,
    .bsns-mobile-menu-toggle:focus,
    .bsns-mobile-menu-toggle[aria-expanded="true"] {
        color: #fff;
        background: rgba(255, 255, 255, .23);
        outline: 0;
    }

    .bsns-module-navbar {
        position: absolute;
        inset-block-start: 100%;
        inset-inline: 0;
        z-index: 1036;
        min-height: 0;
        display: block;
        width: 100%;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .bsns-module-navbar .navbar-collapse {
        width: 100%;
        max-height: calc(100vh - 4rem);
        overflow-x: hidden;
        overflow-y: auto;
        border-bottom: 1px solid #e2e8f0;
        background: #f8fafc;
        box-shadow: 0 14px 28px rgba(15, 23, 42, .16);
    }

    .bsns-module-navbar .navbar-collapse.show,
    .bsns-module-navbar .navbar-collapse.collapsing {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        padding: .75rem;
    }

    .bsns-module-list {
        width: 100%;
        flex: 0 0 auto;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: .3rem;
    }

    .bsns-module-list > .nav-item {
        width: 100%;
        margin: 0;
    }

    .bsns-module-list > .nav-item > .nav-link {
        min-height: 3.2rem;
        justify-content: flex-start;
        padding: .5rem .6rem;
        border: 1px solid transparent;
        border-radius: .85rem;
        color: #334155;
        background: #fff;
        font-size: .95rem;
        box-shadow: 0 2px 7px rgba(15, 23, 42, .045);
    }

    .bsns-module-list > .nav-item > .nav-link > i {
        width: 2.15rem;
        height: 2.15rem;
        flex: 0 0 2.15rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-inline-end: .65rem;
        border-radius: .65rem;
        color: #5269c3;
        background: #eef2ff;
        font-size: .95rem;
    }

    .bsns-module-list > .nav-item > .dropdown-toggle::after {
        margin-inline-start: auto;
        color: #94a3b8;
    }

    .bsns-module-list > .nav-item.show > .nav-link {
        border-color: #cfd8f8;
        background: #eef2ff;
        box-shadow: none;
    }

    .bsns-module-dropdown,
    .dropdown-submenu > .dropdown-menu {
        position: static !important;
        width: calc(100% - 1rem);
        max-height: none;
        margin: .3rem .5rem .45rem;
        overflow: visible;
        padding: .35rem;
        border: 1px solid #e2e8f0;
        border-radius: .75rem;
        background: #fff;
        box-shadow: none;
    }

    .bsns-module-dropdown .dropdown-item {
        min-height: 2.85rem;
        padding: .5rem .6rem;
        border-radius: .65rem;
        font-size: .9rem;
    }

    .bsns-module-dropdown .dropdown-item > i:first-child {
        width: 1.9rem;
        height: 1.9rem;
        flex: 0 0 1.9rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-inline-end: .55rem;
        border-radius: .55rem;
        background: #f1f5f9;
    }

    .bsns-developed-by--desktop {
        display: none !important;
    }

    .bsns-mobile-menu-footer {
        flex: 0 0 auto;
        display: block;
        margin-top: .75rem;
        padding-top: .75rem;
        border-top: 1px solid #e2e8f0;
    }

    .bsns-mobile-menu-footer .bsns-developed-by {
        min-height: 3.75rem;
        padding: .55rem .75rem;
        border: 1px solid #e2e8f0;
        border-radius: .85rem;
        background: #fff;
        box-shadow: 0 2px 7px rgba(15, 23, 42, .045);
    }

    .dark-mode .dropdown-submenu > .dropdown-menu {
        background: rgba(0, 0, 0, .12);
    }

    .dark-mode .bsns-module-navbar .navbar-collapse {
        border-color: #343a40;
        background: #20252b;
    }

    .dark-mode .bsns-module-list > .nav-item > .nav-link,
    .dark-mode .bsns-module-dropdown,
    .dark-mode .bsns-mobile-menu-footer .bsns-developed-by {
        border-color: #3b424b;
        background: #2d333b;
    }

    .dark-mode .bsns-mobile-menu-footer {
        border-color: #3b424b;
    }
}

@media (max-width: 767.98px) {
    .bsns-command-bar {
        flex-wrap: nowrap;
        padding: .4rem .55rem;
    }

    .bsns-command-actions .nav-link {
        min-width: 2.25rem;
        min-height: 2.25rem;
        padding: .35rem .45rem;
    }

    .bsns-user-toggle > img {
        margin: 0;
    }

    .bsns-user-chevron {
        display: none;
    }

    .bsns-search-results {
        width: 100%;
        max-width: 100%;
    }

    .bsns-module-navbar {
        padding: 0;
    }
}

@media (max-width: 420px) {
    .bsns-command-actions .nav-link {
        min-width: 2rem;
        padding-inline: .3rem;
    }
}

/* Shared search filters */
.card.search {
    --search-accent: var(--primary, #5771c9);
    --search-accent-soft: rgba(87, 113, 201, .1);
    padding: 0;
    overflow: hidden;
    margin-top: 1rem;
    border: 1px solid rgba(87, 113, 201, .24);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .09);
}

.card.search::before {
    display: block;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--search-accent), #7c91dd);
}

.card.search .card-body {
    padding: 0;
}

.card.search form {
    margin: 0;
    padding: 0 1.25rem;
}

.search-filter-heading {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin: 0 -1.25rem 1.25rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(87, 113, 201, .18);
    background: linear-gradient(135deg, rgba(87, 113, 201, .11), rgba(87, 113, 201, .035));
}

.search-filter-heading__icon {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background: var(--search-accent);
    box-shadow: 0 7px 16px rgba(87, 113, 201, .24);
}

.search-filter-heading__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .1rem;
}

.search-filter-heading__title {
    color: #263b78;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.search-filter-heading__description {
    color: #64748b;
    font-size: .79rem;
    line-height: 1.4;
}

.search-filter-heading__hide {
    display: inline-flex;
    min-width: 5.25rem;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-inline-start: auto;
    padding: .45rem .75rem;
    border: 1px solid rgba(87, 113, 201, .25);
    border-radius: 9px;
    color: #3e569d;
    background: rgba(255, 255, 255, .72);
    font-size: .8rem;
    font-weight: 750;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.search-filter-heading__hide:hover,
.search-filter-heading__hide:focus {
    border-color: var(--search-accent);
    color: #263b78;
    background: #fff;
    outline: 0;
}

.card.search label:not(.custom-control) {
    margin-bottom: .4rem;
    color: #334155;
    font-size: .82rem;
    font-weight: 700;
}

.card.search .form-control,
.card.search .select2-container--bootstrap4 .select2-selection {
    border-color: #bdcbea;
    border-radius: 9px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .025);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.card.search .form-control:focus,
.card.search .select2-container--bootstrap4.select2-container--focus .select2-selection,
.card.search .select2-container--bootstrap4.select2-container--open .select2-selection {
    border-color: var(--search-accent);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(87, 113, 201, .14);
}

.card.search .custom-control.custom-checkbox,
.card.search .custom-control.custom-radio {
    display: flex;
    align-items: center;
    margin-bottom: .75rem;
    padding-block: .3rem !important;
    padding-inline: 2rem .75rem !important;
    border: 1px solid #d7e0ef;
    border-radius: 9px;
    background: #f8fafc;
}

.card.search .custom-control-label {
    width: 100%;
    color: #475569;
    font-size: .84rem;
    font-weight: 650;
    line-height: 1.7rem;
}

.card.search .custom-control-input:checked ~ .custom-control-label {
    color: #263b78;
}

.card.search .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--search-accent);
    background-color: var(--search-accent);
}

.searchBtnsWrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .65rem;
    margin: 1rem -1.25rem 0;
    padding: 1rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    text-align: initial;
}

.searchBtnsWrapper button {
    display: inline-flex;
    min-width: 7rem;
    min-height: 2.6rem;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 9px;
    font-weight: 700;
}

.searchBtnsWrapper .SearchBtn {
    box-shadow: 0 7px 16px rgba(87, 113, 201, .2);
}

.search .searchBtnsWrapper button:nth-child(2) {
    margin: 0;
}

.dark-mode .card.search {
    border-color: rgba(148, 163, 184, .28);
    background: #1f2937;
}

.dark-mode .search-filter-heading {
    border-color: rgba(148, 163, 184, .2);
    background: linear-gradient(135deg, rgba(99, 123, 214, .22), rgba(30, 41, 59, .45));
}

.dark-mode .search-filter-heading__title,
.dark-mode .card.search label:not(.custom-control) {
    color: #e2e8f0;
}

.dark-mode .search-filter-heading__description,
.dark-mode .card.search .custom-control-label {
    color: #aebbd0;
}

.dark-mode .search-filter-heading__hide {
    border-color: #52617b;
    color: #d8e1f2;
    background: rgba(15, 23, 42, .45);
}

.dark-mode .search-filter-heading__hide:hover,
.dark-mode .search-filter-heading__hide:focus {
    border-color: #8093db;
    color: #fff;
    background: #25334a;
}

.dark-mode .card.search .form-control,
.dark-mode .card.search .select2-container--bootstrap4 .select2-selection,
.dark-mode .card.search .custom-control.custom-checkbox,
.dark-mode .card.search .custom-control.custom-radio,
.dark-mode .searchBtnsWrapper {
    border-color: #46536a;
    background-color: #182231;
    color: #e2e8f0;
}

@media (max-width: 575.98px) {
    .card.search form {
        padding-inline: .9rem;
    }

    .search-filter-heading {
        margin-inline: -.9rem;
        padding: .9rem;
    }

    .search-filter-heading__description {
        display: none;
    }

    .search-filter-heading__hide {
        min-width: 2.5rem;
        padding-inline: .65rem;
    }

    .search-filter-heading__hide span {
        display: none;
    }

    .searchBtnsWrapper {
        margin-inline: -.9rem;
        padding: .9rem;
    }

    .searchBtnsWrapper > .btn {
        flex: 1 1 8rem;
    }
}
#AuditingsList .audit-changes {
    min-width: 190px;
    max-width: 320px;
}

#AuditingsList .audit-change {
    display: flex;
    align-items: center;
    gap: .3rem;
    min-width: 0;
    margin-bottom: .2rem;
    font-size: .78rem;
    line-height: 1.2;
    white-space: nowrap;
}

    #AuditingsList .audit-change:last-child {
        margin-bottom: 0;
    }

#AuditingsList .audit-change-field {
    flex: 0 1 34%;
    overflow: hidden;
    color: #495057;
    font-weight: 600;
    text-overflow: ellipsis;
}

#AuditingsList .audit-change-value {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

#AuditingsList .audit-change-old {
    color: #868e96;
    text-decoration: line-through;
}

#AuditingsList .audit-change-new {
    color: #218838;
    font-weight: 600;
}

#AuditingsList .audit-change-arrow {
    flex: 0 0 auto;
    color: #adb5bd;
}

#AuditingsList .audit-change-more {
    font-size: .68rem;
    font-weight: 600;
}

#AuditingsList .audit-change-text {
    display: block;
    overflow: hidden;
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[dir="rtl"] #AuditingsList .audit-change-arrow,
html[lang="ar"] #AuditingsList .audit-change-arrow {
    transform: rotate(180deg);
}
.notification-troubleshooter-steps .list-group-item {
    border-left: 4px solid #dee2e6;
}

.notification-troubleshooter-steps .notification-step-success {
    border-left-color: #28a745;
}

.notification-troubleshooter-steps .notification-step-warning {
    border-left-color: #ffc107;
}

.notification-troubleshooter-steps .notification-step-failed {
    border-left-color: #dc3545;
}

.notification-step-state {
    min-width: 2.6rem;
}