.rz-body::-webkit-scrollbar {
    display: none;
}

.rz-body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* START Fluent UI font CSS */

@font-face {
    font-family: 'fluentsystemicons-regular';
    font-style: normal;
    font-weight: 100 700;
    src: url('../fonts/fluentsystemicons-regular.woff2') format('woff2');
}

.fluent-icons {
    --rz-icon-font-family: 'fluentsystemicons-regular';
}

/* END Fluent UI font CSS */

.radzen-panelmenu {
    overflow: visible;
}

.menu-item {
    color: black;
}

.menu-icon {
    color: black;
}

.menu-item-selected {
    border-left: 4px solid var(--rz-primary) !important;
    background-color: var(--rz-base-200) !important;
    font-weight: initial;
}

.rz-navigation-item-wrapper-active {
}

.menu-icon-selected {
    color: var(--rz-primary) !important;
    font-weight: normal;
}

.fluent-icons.menu-icon-selected {
    color: var(--rz-primary) !important;
}

.menu-icon-selected span {
    font-weight: normal;
}

.menu-item span {
    font-weight: normal;
}

.menu-text {
    display: inline-block;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

/*MENU END*/

.rz-navigation-item-link span {
    font-weight: normal;
}
/*MENU END*/
/*RADZEN START*/
.rz-body {
    padding: 0px !important;
}

.rz-header a {
    color: #323130 !important;
    font-family: 'Segoe UI','Segoe UI Web';
}

#toggle {
    display: block;
    padding: 10px 0px 10px 17px !important;
}

ul.rz-profile-menu {
    padding: 0px !important;
}

.rz-chkbox-box {
    border: 1px solid #878787 !important;
}

.rz-grid-table th {
   /* padding: 5px 0px 5px 0px !important;*/
    padding: 0px !important;
}

.rz-header .rz-sidebar-toggle {
    padding-left: 10px !important;
}

.rz-sidebar-toggle {
    padding: 0px !important;
}

.rz-chkbox .rz-chkbox-box {
    width: 14px;
    height: 14px;
    margin-top: 4px;
}

.rz-form-field-content {
    margin-block: initial !important;
}

.rz-card {
    border-radius: 15px !important;
}

.rz-datatable {
    box-shadow: none !important;
    border: none !important;
}

.data-column-mini .rz-datatable {
    border: none !important;
    height: 77vh;
}

.rz-button {
    border: none !important;
}

.data-column-full .rz-data-grid {
    display: flex;
    flex-direction: column;
    height: 76vh
}

.data-column-mini .data-grid .rz-grid-table thead {
    display: none;
}

.rz-grid-table col:first-child {
    width: 35px !important;
}

.role-grid .rz-grid-table col:first-child {
    width: 200px !important;
}
/*.rz-grid-table th:first-child,
.rz-grid-table td:first-child {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
}*/
.rz-panel-menu .rz-navigation-item-link {
    color: #323130 !important;
    padding-block: var(--rz-panel-menu-item-2nd-level-padding-block);
}

.rz-datatable-data td .rz-cell-data, .rz-grid-table td .rz-cell-data, .rz-numeric-input, .rz-datepicker input, .rz-colorpicker, .rz-lookup-search input, .rz-numeric, .rz-datepicker > .rz-inputtext, .rz-multiselect, .rz-dropdown, .mask, .rz-textarea, .rz-textbox, .rz-colorpicker, .rz-lookup-search input, .rz-numeric, .rz-datepicker > .rz-inputtext, .rz-multiselect, .rz-dropdown, .mask, .rz-textarea, .rz-textbox, .rz-colorpicker, .rz-lookup-search input, .rz-numeric, .rz-datepicker > .rz-inputtext {
    font-size: 12px !important;
}

.rz-grid-table td {
    padding-top: 8px;
    padding-bottom: 8px;
}

.rz-fieldset {
    border-radius: 8px !important;
}

.rz-form-field-content .rz-inputtext {
    padding-top: 0px;
}

.rz-label {
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.rz-textbox:disabled {
    background: #f7f7f7 !important;
    color: none !important;
    opacity: unset !important;
}

.rz-tabview-panel {
    padding: 0 !important
}

.rz-tabview-nav {
    background: #fff;
    border-bottom: 1px solid #f7f2f2;
    border-left: 1px solid #f7f2f2;
    border-right: 1px solid #f7f2f2;
    /*  box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.12);*/
}

.rz-tabview-panel {
    padding: 20px 0px 10px 0px;
}

    .rz-tabview-panel .section {
        padding: 10px 0px 5px 0px;
    }

.rz-panel-menu .rz-navigation-item {
    border: none !important;
    border-radius: 5px !important;
}

.rz-lookup-panel .rz-data-grid .rz-data-grid-data .rz-grid-table thead {
    display: none;
}

.rz-lookup-panel .rz-data-grid .rz-data-grid-data .rz-grid-table table tbody tr:first-child {
    display: none;
}

.rz-data-grid .rz-data-grid .rz-data-grid-data .rz-grid-table .rz-state-highlight {
    background-color: #fff !important;
    color: #000;
}

/*RADZEN END*/
.profile-menu {
    display: flex;
    /*    flex-direction: column;*/
    align-items: center;
}

.profile-icon {
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    color: var(--rz-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
    font-size: 11pt;
    font-weight: 500;
}

.title-icon {
    width: 30px;
    height: 30px;
    background-color: var(--rz-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
    font-size: 11pt;
    font-weight: 500;
}

.sidebar-toggle {
    background-color: #219BD5;
    display: none;
}

.btn-list-content {
    background-color: #FAF9F8;
}

.main-form-actions {
    position: sticky;
    z-index: 999;
    top: 11px;
}

.btn-action {
    background-color: #fff;
    color: #000;
    border-radius: 8px;
    border: 1px solid #E9EAEC
}

.button-container {
    display: flex;
    height: 42px;
    justify-content: space-between;
    margin: 0px 5px 0px 0px;
    width: 99%;
}

.list-actions {
    display: flex;
    padding: 0px 10px 0px 5px;
    margin-bottom: 10px;
}

    .list-actions button {
        display: flex;
        align-items: center;
        padding: 1px 8px;
        border: none;
        background-color: #ffffff;
        color: #323130;
        cursor: pointer;
        transition: background-color 0.2s, color 0.2s;
    }

        .list-actions button:first-child {
            border-left: none;
        }

        .list-actions button i {
            margin-right: 8px;
        }

        .list-actions button:hover {
            background-color: #E9EAEC;
            color: #000;
        }

            .list-actions button:hover i {
                color: #000;
            }

.arrow-btn {
    width: 35px;
    border-right: 1px solid #E9EAEC;
}

.btn-action {
    background-color: #fff;
    margin-top: 3px;
    border-radius: 12px;
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin: 0 5px;
    width: 99%;
    height: 42px;
}

.button-lists {
    display: flex;
}

.dottet-menu {
    display: block;
}

.dottet-menu {
    display: block;
}

.button-lists {
    display: flex;
    padding-left: 5px;
}

    .button-lists button {
        display: flex;
        align-items: center;
        padding: 1px 8px;
        border: none;
        background-color: #ffffff;
        color: #323130;
        cursor: pointer;
        transition: background-color 0.2s, color 0.2s;
        font-family: 'Segoe UI','Segoe UI Web';
        font-size: 14px;
    }

        .button-lists button:first-child {
            border-left: none;
        }

        .button-lists button i {
            margin-right: 8px;
        }

        .button-lists button:hover {
            background-color: #E9EAEC;
            color: #000;
        }

            .button-lists button:hover i {
                color: #000;
            }

.arrow-btn {
    width: 35px;
    border-right: 1px solid #E9EAEC;
}

.dropdown {
    position: relative;
    display: inline-block;
    outline: none;
    padding: 0px;
    z-index: 999;
}

.dropdown-toggle {
    background-color: #fff;
    color: #000;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    background-color: #ffffff;
    width: 150px;
    right: 0;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 5px;
    padding: 5px 0;
    display: none;
}

    .dropdown:focus-within .dropdown-menu,
    .dropdown-menu:focus-within {
        display: block;
    }

    .dropdown-menu .dropdown-item {
        height: 35px;
        padding: 5px 10px;
        color: #333;
        text-align: left;
        background: none;
        border: none;
        cursor: pointer;
        width: 100%;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

        .dropdown-menu .dropdown-item:hover {
            background-color: #E9EAEC;
            color: #000;
            width: 100%;
        }

.toggle-button {
    height: 42px;
}

#more {
    display: none;
}

    #more button {
        display: flex;
        align-items: center;
        padding: 1px 8px;
        border: none;
        background-color: #ffffff;
        color: #333;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.2s, color 0.2s;
    }

.container {
    background: #fff;
    margin-top: 10px;
    padding: 10px 0px 0px 0px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.14);
    flex-basis: calc(14 * (100% - 11 * var(--rz-gap)) / 12 + 5 * var(--rz-gap));
    overflow: hidden;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 4px
}


.search-bar {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    padding: 0px 8px;
    width: 200px;
    max-width: 400px;
}

.brand-image {
    height: 48px !important;
    object-fit: contain;
    border-radius: 20%;
    margin: 0px 15px;
}

.sticky-actions {
    position: sticky;
    top: 11px;
    z-index: 999;
    background-color: #FAF9F8
}

.item-text {
    font-size: 12px;
}

.rz-pager {
    position: sticky;
    bottom: 0;
    background: #EEECEA !important;
    z-index: 10;
    padding: 0.5rem;
}

.responsive-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dropdown-column {
    flex: 1 1 100%;
    max-width: 100%;
}

.actions-column {
    flex: 1 1 auto;
    text-align: right;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.rz-dropdown .rz-list-item {
    pointer-events: none;
}

.search-box {
    display: flex;
    align-items: center;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0px 0px 0px 5px;
}

.rz-textbox input {
    font-size: 12px !important;
}

.rz-form-field-content, .rz-colorpicker, .rz-lookup-search input, .rz-numeric, .rz-datepicker > .rz-inputtext, .rz-multiselect, .rz-dropdown, .mask, .rz-textarea, .rz-textbox {
    box-sizing: border-box;
    border: none !important;
    border-radius: var(--rz-input-border-radius);
    box-shadow: var(--rz-input-shadow);
    background-color: #f3f2f1 !important;
    border-radius: 4px !important;
}

.detail-screen {
    position: sticky;
    top: 120px;
}

.notfound {
    width: 100%;
    text-align: center;
    line-height: 1.4;
}

    .notfound .notfound-404 {
        position: relative;
    }


.fluent-icons i {
    color: #323130;
}

.title-container {
    display: flex;
    flex-direction: column;
}

.detail-header-title {
    font-size: 12px;
}

.label {
    font-size: 12px;
}

.rz-icon {
    margin-right: 5px;
}

.QcForm .rz-dialog-titlebar {
    padding-bottom: 15px;
    display: none !important;
}

.QcForm .rz-dialog-content {
    padding: 0px;
}

    .QcForm .rz-dialog-content #xrm-modal {
        padding: 20px 25px 20px 25px;
        background: #fff;
        border-top: 1px solid #e0e0e0;
    }
/* MOBILE START*/
@media (max-width: 1024px) {
    .data-column-full .rz-data-grid {
        height: 81vh;
    }
}

@media screen and (max-width: 768px) {
    .sidebar-toggle {
        padding: 0px;
        display: block;
    }

    .sidebar.close {
        left: -100%;
    }

    .search_bar {
        display: none;
    }

    .sidebar.close .bottom_content {
        left: -100%;
    }

    #btn {
        display: none;
    }

    .sidebar {
        display: none;
    }

        .sidebar.open {
            padding: 40px 0px;
        }

    .content-sidebar-close {
        margin: 0px;
    }

    .main-content {
        margin: 5px 0px 0px 0px;
    }

    #import-export {
        display: none;
    }

    .dottet-menu {
        display: block;
    }

    .data-column-mini {
        display: block;
    }

    .textboxes-row {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0px 0px 0 10px;
        flex-direction: column;
    }

    .dropdown-with-icon {
        position: relative;
        padding: 0px 10px 10px 0px;
        min-width: 100%;
    }

    .textbox-with-icon .rz-textbox {
        padding: 8px 30px !important;
        min-width: 100%;
    }

    .data-column-full {
        display: none;
    }

    .more-buttons {
        display: none;
    }

    #more {
        display: flex;
        padding: 0px 5px 0px 5px
    }

    #quick-create {
        display: none;
    }

    #btn-deactivate {
        display: none;
    }

    .rz-layout .rz-sidebar {
        /* display: none;*/
    }

    .rz-header .module-dropdown {
        display: none;
    }

    #toggle {
        display: none;
    }

    .actions-column {
        justify-content: space-around;
    }

    .app-name {
        display: none !important;
    }

    .dropdownModule {
        display: none !important;
    }

    .sideNavDropdownModule {
        width: 190px !important;
        border: 1px solid #d5d7da !important;
        border-radius: 10px !important;
        background-color: transparent !important;
        color: black !important;
        margin: 5px 0px 5px 5px;
        font-size: var(--rz-panel-menu-font-size) !important;
        font-weight: normal;
        overflow: visible !important;
    }

    .search {
        display: none !important;
    }

    .desktop.quick-create {
        display: none !important;
    }

    .desktop.filterIcon {
        display: none !important;
    }

    .rz-dialog-side-position-right {
        width: 100% !important;
    }

    .rz-context-menu {
        top: 15px !important;
        left: -150px;
        box-sizing: border-box;
        background-color: #DEDEE0;
        padding: 0.25rem;
        border-radius: 4px;
        width: 150px;
    }

    .mobile-search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 1rem;
        z-index: 2000; /* above header */
    }

    .mobile-search-container {
        position: relative;
        width: 100%;
        max-width: 600px;
        background: white;
        border-radius: 8px;
        padding: 1rem;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
        max-height: 80%;
        overflow-y: auto;
    }

    .mobile-search-bar {
        position: relative;
        margin-bottom: 1rem;
    }

    .mobile-search-results {
        background: #f9f9f9;
        border-radius: 6px;
        overflow: hidden;
    }

    .search-preview-item {
        padding: 10px 12px;
        display: flex;
        justify-content: space-between;
        cursor: pointer;
        border-bottom: 1px solid #eee;
        background: white;
    }

        .search-preview-item:hover {
            background: #f0f0f0;
        }

    .entity-type {
        font-size: 0.8em;
        color: #777;
    }

    .view-all-results {
        padding: 10px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        background: white;
        border-top: 1px solid #eee;
        font-weight: 500;
    }

    .search-loading,
    .no-results {
        padding: 12px;
        text-align: center;
        color: #555;
    }

}

@media (min-width: 769px) {

    .sidebar {
        display: block;
    }

    .content-sidebar-close {
        margin: 0px 0px 0px 55px;
    }

    #import-export {
        display: flex;
        padding-left: 5px
    }

    #dottet-menu {
        display: none;
    }

    .data-column-mini {
        display: none;
    }

    .data-column-full {
        display: block;
    }

    .more-buttons {
        display: flex;
        padding-left: 5px
    }

    #more {
        display: none;
    }

    #quick-create {
        display: block;
    }

    #btn-deactivate {
        display: block;
    }

    .rz-layout .rz-sidebar {
        display: block;
    }

    .module-dropdown {
        display: block;
    }

    #toggle {
        display: block;
    }

    .collapsedMenuIcon {
        display: none !important;
    }

    .searchIcon {
        display: none !important;
    }

    .module-name {
        display: none !important;
    }

    .module-trigger {
        display: none !important;
    }

    .sideNavDropdownModule {
        display: none !important;
    }
}

@media screen and (max-width: 1023px){
    .app-name {
        display: none !important;
    }

    .dropdownModule {
        display: none !important;
    }

    .module-name {
        display: flex !important;
    }
}
/*============= MOBILE END ===================*/

/*RADZEN MOBILE*/
@media (max-height: 800px) {
    .rz-tabview-panel {
        height: 70vh;
    }

    .data-column-full .rz-data-grid {
        height: 68vh;
    }
}x

x

@media (min-height: 1280px) {
    .rz-tabview-panel

{
    padding: 0 !important
}

}

@media (max-height: 1280px) {
    .section .rz-p-lg-4 {
        padding: 0rem !important;
    }

    /*    .rz-tabview-panel {
        height: 77vh !important;
    }*/
}

/* =========== RADZEN MOBILE =========== END*/
.custom-dropdown .rz-datatable-thead {
    display: none;
}

.lookup-host {
    display: block;
}

.tn-forms .rz-dropdown {
    padding-top: 8px !important;
    cursor: pointer;
}

.rz-header .rz-dropdown {
    border: 1px solid #ffffff !important;
    border-radius: 10px;
    background-color: transparent !important;
    color: #ffffff;
    padding: 4px 10px;
}

    .rz-header .rz-dropdown .rz-dropdown-label {
        cursor: pointer;
        font-size: 16px;
    }

.centered-progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 100;
}

input.highlight-error {
    border: 1px solid red !important;
    background-color: #ffe6e6 !important;
}

.rz-dropdown.highlight-error {
    border: 1px solid red !important;
    background-color: #ffe6e6 !important;
}

.module-dropdown {
    display: block;
    position: relative;
    width: 200px;
}

.module-dropdown-btn {
    width: 100%;
    padding: 8px;
    background-color: var(--rz-primary);
    color: white;
    border: 1px solid #ffffff;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease-in-out;
    font-size: 14px;
    font-family: 'Segoe UI','Segoe UI Web';
}

    .module-dropdown-btn:hover {
        background-color: var(--rz-primary);
    }

    .module-dropdown-btn::after {
        content: '⌵';
        font-size: 14px;
        font-weight: 500;
        margin-left: 8px;
        transition: transform 0.3s ease-in-out;
    }

.module-dropdown-content {
    position: absolute;
    top: 112%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000;
}

    .module-dropdown-content.show {
        opacity: 1;
        visibility: visible;
    }

    .module-dropdown-content a:hover {
        background-color: #f5f5f5;
        border-left: 3px solid var(--rz-primary);
        padding-left: 9px;
    }


    .module-dropdown-content a {
        display: block;
        padding: 12px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
        transition: background 0.3s ease-in-out;
        border-bottom: 1px solid #ddd;
        cursor: pointer;
    }

        .module-dropdown-content a:last-child {
            border-bottom: none;
        }

        .module-dropdown-content a:hover {
            background-color: #f1f1f1;
        }

.textboxes-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0px 0px 0 10px;
}

.seach-list-box {
    display: flex;
    padding-bottom: 10px;
    padding-right: 10px;
}

.rz-grid-table thead th {
    background-color: #c3c3c2 !important;
}

.rz-grid-table tbody tr {
    cursor: pointer !important;
}

.context-btn {
    cursor: pointer;
    right: 0;
    background: white;
    border: none;
    padding-top: 12px;
    z-index: 1000;
}

.dash-container {
    background: #fff;
    text-align: center;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.14);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

    .dash-container img {
        width: 20%;
        height: auto;
    }

    .dash-container h2 {
       /* font-size: 1.5rem;*/
        color: #969696;
    }

    .dash-container p {
        color: #666;
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .dash-container a {
        display: inline-block;
        padding: 10px 20px;
        background-color: #007bff;
        color: #fff;
        text-decoration: none;
        border-radius: 6px;
        transition: background-color 0.3s ease;
    }

        .dash-container a:hover {
            background-color: #0056b3;
        }

@media (max-width: 480px) {
    .dash-container {
        padding: 20px;
    }

        .dash-container h2 {
            font-size: 1.25rem;
        }

        .dash-container p {
            font-size: 0.95rem;
        }
}


.app-name, .module-name {
    font-size: 16px;
    color: #ffffff;
    margin: 0px 15px 0px 0px;
}

.grid-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    flex-wrap: wrap;
}

.rz-tabview-top > .rz-tabview-nav {
    border-end-end-radius: 4px !important;
    border-end-start-radius: 4px !important;
}

#popup-selectedMobile {
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 5px 15px 2px 15px;
    background-color: #DEDEE0;
    overflow: visible;
    width: 300px !important;
    max-height: 600px;
    top: 45px;
}

    #popup-selectedMobile .rz-dropdown-items-wrapper {
        background-color: white;
        border-radius: 4px !important;
        min-height: max-content !important;
        overflow: hidden;
    }

        #popup-selectedMobile .rz-dropdown-items-wrapper .rz-dropdown-items {
            max-height: 400px !important;
            overflow-y: auto !important;
        }

.rz-dropdown-panel .rz-dropdown-items-wrapper .rz-dropdown-items {
    max-height: 200px !important;
    overflow-y: auto !important;
}

#popup-sideNavDropdownModule .rz-dropdown-items-wrapper .rz-dropdown-items {
    height: 400px;
    overflow-y: auto;
}

.rz-dropdown-panel {
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 5px 15px 2px 15px;
    background-color: #DEDEE0;
    overflow: visible;
    width: 300px !important;
    top: 45px;
}

    .rz-dropdown-panel .rz-dropdown-items-wrapper {
        background-color: white;
        border-radius: 4px !important;
        overflow: hidden;
    }

#popup-selectedMobile .rz-dropdown-panel .rz-dropdown-items-wrapper .rz-dropdown-items {
    min-height: 200px;
    overflow-y: auto;
}

.rz-dropdown-panel .rz-dropdown-items-wrapper .rz-dropdown-items {
    overflow-y: auto;
}

    .rz-dropdown-panel .rz-dropdown-items-wrapper .rz-dropdown-items::-webkit-scrollbar {
        width: 6px;
    }

    .rz-dropdown-panel .rz-dropdown-items-wrapper .rz-dropdown-items::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 10px;
    }

    .rz-dropdown-panel .rz-dropdown-items-wrapper .rz-dropdown-items::-webkit-scrollbar-thumb {
        background-color: #aaa;
        border-radius: 4px;
    }

.rz-dropdown-panel .rz-dropdown-items-wrapper .rz-dropdown-items {
    scrollbar-gutter: stable both-edges;
}

    .rz-dropdown-panel .rz-dropdown-items-wrapper .rz-dropdown-items .rz-dropdown-item {
        font-size: 14px;
        color: #555;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
    }

        .rz-dropdown-panel .rz-dropdown-items-wrapper .rz-dropdown-items .rz-dropdown-item:last-child {
            border-bottom: none;
        }


.rz-dropdown-panel .rz-dropdown-items-wrapper::-webkit-scrollbar-track {
    border-radius: 10px;
}

.rz-dropdown-panel .rz-dropdown-items-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}


.dropdown-with-icon {
    position: relative;
    width: 300px;
}

    .dropdown-with-icon .dropdown-icon {
        position: absolute;
        top: 16px;
        left: 8px;
        transform: translateY(-50%);
        pointer-events: none;
        color: #6b6b6b;
        z-index: 1;
    }

    .dropdown-with-icon .rz-dropdown {
        padding-top: 8px !important;
        cursor: pointer;
    }

.rz-dropdown-panel .rz-button {
    font-size: 0.9rem;
    padding: 4px 10px;
}

.search-container .suggestion-item:hover {
    background-color: #f0f0f0;
}

.search-container .suggestion-item {
    transition: background-color 0.2s;
    font-size: 9pt;
}

.rz-button.filterIcon:not(.rz-state-disabled):not(:active):hover {
    background-color: var(--rz-secondary-light);
}

.rz-button-md.filterIcon {
    padding: 0 !important;
    height: auto;
    margin-left: 5px;
    margin-right: 5px;
}

.rz-button.filterIcon {
    border: solid 1px white !important;
    border-radius: 50% !important;
}

.rz-button.collapsedMenuIcon:not(.rz-state-disabled):not(:active):hover {
    background-color: var(--rz-secondary-light) !important;
}

.rz-button-md.collapsedMenuIcon {
    padding: 0 !important;
    height: auto;
}

.rz-button.searchIcon:not(.rz-state-disabled):not(:active):hover {
    background-color: var(--rz-secondary-light) !important;
}

.rz-button.searchIcon {
    padding: 0 !important;
}

.searchIcon.rz-button-md .rzi, .collapsedMenuIcon.rz-button-md .rzi {
    font-weight: 300;
    font-size: 1.75rem !important;
    height: 1.75rem !important;
    line-height: 1.75rem !important;
    width: 1.75rem !important;
}

.rz-pager-element:not(.rz-state-disabled):not(:active):hover, .rz-button:not(.rz-state-disabled):not(:active):hover {
    background-color: var(--rz-primary-lighter);
}

.rz-navigation-item-link:hover {
    text-decoration: none;
    background-color: var(--rz-grid-hover-background-color);
}

.rz-menuitem:hover, .rz-autocomplete-list-item:hover, .rz-multiselect-item:hover, .rz-autocomplete-items li:hover, .rz-dropdown-items li:hover, .rz-multiselect-items li:hover, .rz-dropdown-item:hover {
    background-color: var(--rz-grid-hover-background-color) !important;
}

.rz-navigation-item-link.active {
    text-decoration: none;
    background-color: var(--rz-primary-lighter);
}

.rz-menuitem.active, .rz-autocomplete-list-item.active, .rz-multiselect-item.active, .rz-autocomplete-items li.active {
    background-color: var(--rz-primary-lighter) !important;
}

.rz-panel-menu .rz-navigation-item-active, .rz-panel-menu .rz-navigation-item-wrapper-active {
    background-color: var(--rz-primary-lighter) !important;
}

.rz-dropdown .rz-state-highlight,
.rz-multiselect .rz-state-highlight {
    background-color: var(--rz-primary-lighter) !important;
}

.rz-dropdown-items li.rz-state-highlight,
.rz-multiselect-items li.rz-state-highlight {
    background-color: var(--rz-primary-lighter) !important;
}

.rz-dropdown-items li.rz-state-highlight,
.rz-multiselect-items li.rz-state-highlight {
    background-color: var(--rz-primary-lighter) !important;
}

.textbox-with-icon {
    position: relative;
    width: 100%;
}

    .textbox-with-icon .textbox-icon {
        position: absolute;
        top: 16px;
        left: 8px;
        transform: translateY(-50%);
        pointer-events: none;
        color: #6b6b6b;
        z-index: 1;
    }

    .textbox-with-icon .rz-textbox {
        padding: 8px 30px !important;
        width: 300px;
    }

.textbox-with-currency {
    position: relative;
}

    .textbox-with-currency .currency-icon {
        position: absolute;
        top: 16px;
        left: 8px;
        transform: translateY(-50%);
        pointer-events: none;
        color: #6b6b6b;
        z-index: 1;
    }

    .textbox-with-currency .rz-textbox {
        padding: 8px 20px !important;
    }

ul.rz-profile-menu .rz-navigation-menu {
    top: 2rem;
    background-color: rgb(222, 222, 224);
    width: 235px;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.custom-profile-item {
    display: block;
    background-color: white !important;
}

    .custom-profile-item:last-child {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

.customised-profile-item {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
    cursor: pointer;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: white !important;
}

    .customised-profile-item .title {
        font-size: 0.875rem;
        line-height: 1.25rem;
        font-weight: 600;
    }

    .customised-profile-item .subtitle {
        font-size: 0.75rem;
        line-height: 1.125rem;
        color: #475467;
    }

ul.rz-profile-menu .rz-navigation-item-wrapper:last-child {
    border-top: 1px solid #f0f0f0;
}

.rz-dialog-side-position-right {
    right: 0;
    min-width: 150px;
    width: 40%;
    max-width: 100%;
    height: 100%;
}

.rz-context-menu {
    position: absolute;
    right: -215px;
    box-sizing: border-box;
    position: absolute;
    background-color: #DEDEE0;
    padding: 0.25rem;
    border-radius: 4px;
    width: 215px;
}

.rz-menu:not(.rz-profile-menu) {
    border-radius: 4px;
}

.rz-menu:not(.rz-profile-menu) .rz-navigation-item {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

        .rz-menu:not(.rz-profile-menu) .rz-navigation-item:last-child {
            border-bottom: none;
        }

#xrm-modal .rz-fieldset {
    border-radius: 0px !important;
}

.twoColfieldGroup {
    display: block;
}

    .twoColfieldGroup .msg-error {
        margin-top: -1.5rem;
        margin-bottom: 0.5rem;
        display: block;
        font-size: 12px;
        color: red;
    }

.fieldGroup {
    display: block;
}

.twoColfieldGroup .char-counter {
    margin-top: -1.5rem;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 12px;
}

.qcform-header-icons {
    position: absolute;
    top: 8px;
    right: 40px;
    display: flex;
    gap: 8px;
}

    .qcform-header-icons button {
        background: transparent;
        border: none;
        cursor: pointer;
        font-size: 1.2rem;
    }

.rz-context-menu {
    width: 250px;
    max-height: 300px;
    min-height: max-content !important;
}

    .rz-context-menu .rz-menu {
        max-height: 300px !important;
        overflow-x: hidden;
    }

#btnActionSave:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.module-trigger {
    margin: 0.5rem;
    width: 40px;
    height: 40px;
    background-color: transparent !important;
}

.sidebar-backdrop {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040; 
    transition: opacity 0.3s ease;
}

    .sidebar-backdrop.hidden {
        opacity: 0;
        pointer-events: none;
    }

.rz-fileupload-files {
    display: none;
}

/* Hide hidden tabs from tab bar but keep their content rendered */
.hidden-tab {
    display: none !important;
}

.title-container h6 {
    margin-bottom: 0px;
}

input::placeholder, .rz-dropdown .rz-placeholder {
    color: #d3d3d3;
}

.input-label {
    display: block; /* make it a block element */
    width: 100%; /* fill the parent container */
    white-space: nowrap; /* prevent wrapping */
    overflow: hidden; /* hide overflow */
    text-overflow: ellipsis; /* show ellipsis */
    vertical-align: middle;
}

.invalid-field {
    border: 1px solid red !important;
    border-radius: 5px;
}

/* Disable all interactions inside Radzen HTML Editor */
.rz-html-editor[disabled],
.rz-html-editor.disabled,
.rz-html-editor.readonly,
.xrm-editor-disabled .rz-html-editor-content {
    pointer-events: none !important;
    opacity: 0.6;
}


#loading-overlay {
    display: none !important;
}

.rz-alert .rz-alert-title {
    font-size: 13px !important;
    gap: 0rem !important;
    margin-top: 2px;
}

.rz-alert .rz-alert-icon {
    font-size: 14px;
    margin: 7px;
}

.dashboard {
    height: 90vh !important;
}

#components-reconnect-modal {
    display: none !important;
}

:root {
    --rz-white: #ffffff;
    --rz-black: #000000;
    --rz-base: #e0e0e0;
    --rz-base-50: #f5f5f5;
    --rz-base-100: #f0f0f0;
    --rz-base-200: #e0e0e0;
    --rz-base-300: #bdbdbd;
    --rz-base-400: #757575;
    --rz-base-500: #6b6b6b;
    --rz-base-600: #525252;
    --rz-base-700: #616161;
    --rz-base-800: #3d3d3d;
    --rz-base-900: #292929;
    --rz-base-light: #f0f0f0;
    --rz-base-lighter: #ffffff;
    --rz-base-dark: #525252;
    --rz-base-darker: #292929;
    --rz-primary: #ffffff;
    --rz-primary-light: #80a7c6;
    --rz-primary-lighter: #dee8f0;
    --rz-primary-dark: #00467e;
    --rz-primary-darker: #003b69;
    --rz-secondary: #666666;
    --rz-secondary-light: #b3b3b3;
    --rz-secondary-lighter: #ebebeb;
    --rz-secondary-dark: #5c5c5c;
    --rz-secondary-darker: #4d4d4d;
    --rz-info: #00666d;
    --rz-info-light: #80b3b6;
    --rz-info-lighter: #deebec;
    --rz-info-dark: #005c62;
    --rz-info-darker: #004d52;
    --rz-success: #0b6a0b;
    --rz-success-light: #85b585;
    --rz-success-lighter: #dfecdf;
    --rz-success-dark: #0a5f0a;
    --rz-success-darker: #085008;
    --rz-warning: #ffc80a;
    --rz-warning-light: #ffe485;
    --rz-warning-lighter: #fff8df;
    --rz-warning-dark: #e6b409;
    --rz-warning-darker: #bf9608;
    --rz-danger: #a4262c;
    --rz-danger-light: #d29396;
    --rz-danger-lighter: #f3e3e4;
    --rz-danger-dark: #942228;
    --rz-danger-darker: #7b1d21;
    --rz-on-base: #292929;
    --rz-on-base-light: #292929;
    --rz-on-base-lighter: #292929;
    --rz-on-base-dark: #ffffff;
    --rz-on-base-darker: #ffffff;
    --rz-on-primary: #ffffff;
    --rz-on-primary-light: #000000;
    --rz-on-primary-lighter: #003b69;
    --rz-on-primary-dark: #ffffff;
    --rz-on-primary-darker: #ffffff;
    --rz-on-secondary: #ffffff;
    --rz-on-secondary-light: #000000;
    --rz-on-secondary-lighter: #4d4d4d;
    --rz-on-secondary-dark: #ffffff;
    --rz-on-secondary-darker: #ffffff;
    --rz-on-info: #ffffff;
    --rz-on-info-light: #000000;
    --rz-on-info-lighter: #004d52;
    --rz-on-info-dark: #ffffff;
    --rz-on-info-darker: #ffffff;
    --rz-on-success: #ffffff;
    --rz-on-success-light: #000000;
    --rz-on-success-lighter: #085008;
    --rz-on-success-dark: #ffffff;
    --rz-on-success-darker: #ffffff;
    --rz-on-warning: #000000;
    --rz-on-warning-light: #000000;
    --rz-on-warning-lighter: #000000;
    --rz-on-warning-dark: #000000;
    --rz-on-warning-darker: #000000;
    --rz-on-danger: #ffffff;
    --rz-on-danger-light: #000000;
    --rz-on-danger-lighter: #7b1d21;
    --rz-on-danger-dark: #ffffff;
    --rz-on-danger-darker: #ffffff;
}
