
:root {
    --primary-color: rgb(38 89 163);
    --primary-border: #1861ac;
    --primary-hover: #1a87b5;
    --link-color: #006bb7;
    --link-hover: #004a80;
    --nav-bg: #1e1e2d;
    --nav-link: #1e293b;
    --nav-link-hover: #fff;
    --nav-link-active-bg: #327ecb;
    --nav-link-active-color: #fff;
    --footer-bg: #efefef;
    --footer-border: #ccc;
    --content-bg: #fff;
    --focus-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    --valid-outline: 1px solid #26b050;
    --invalid-outline: 1px solid #e50000;
    --validation-color: #e50000;
    --checkbox-border: #929292;
    --brand-color: #fff;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-size: 14px;
    --font-color: #212529;
    --ui-transition-duration: 300ms;
    --ui-transition-easing: ease;
}

@media (min-width: 991px) {
    body {
        min-height: 100vh !important;
    }
}

html, body {
    font-family: var(--font-family);
    font-size: var(--font-size);
    color: var(--font-color);
    font-stretch: normal;
    font-style: normal;
}

*, *::before, *::after {
    transition-property: color, background-color, border-color, box-shadow, opacity, transform, fill, stroke, text-decoration-color;
    transition-duration: var(--ui-transition-duration);
    transition-timing-function: var(--ui-transition-easing);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0ms !important;
        animation-duration: 0ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

a, .btn-link {
    color: var(--link-color);
    text-decoration: underline;
    transition: color 0.2s;
}

    a:hover, .btn-link:hover {
        color: var(--link-hover);
    }

.wms-breadcrumb-nav {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    position: sticky;
    top: 2px;
    z-index: 15;
    padding-top: 0.5rem;
    /*padding-bottom: 0.25rem;*/
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    margin-bottom: 0;
    overflow: visible;
    box-shadow: 0 5px 8px -1px rgb(247 250 251);
}

.wms-breadcrumb-nav-bottom-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -18px;
    height: 18px;
    pointer-events: none;
    background: linear-gradient( to bottom, rgba(248,250,252,0.95), rgba(248,250,252,0) );
}
/* Left blur */
.wms-breadcrumb-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: 0px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient( to right, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0) );
    filter: blur(10px);
}

/* Right blur */
.wms-breadcrumb-nav::after {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    width: 40px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient( to left, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0) );
    filter: blur(10px);
}



@media (max-width: 640.98px) {
    .wms-breadcrumb-nav {
        top: 49px;
    }
}

.wms-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 8px 8px;
    list-style: none;
    /*background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.06);*/
}

.wms-breadcrumb-item {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: .95rem;
    font-weight: 500;
}

    .wms-breadcrumb-item a,
    .wms-breadcrumb-item .crumb-label {
        display: flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        transition: all .2s ease;
    }

    .wms-breadcrumb-item a {
        color: #475569;
    }

        .wms-breadcrumb-item a:hover {
            color: #2563eb;
        }

    .wms-breadcrumb-item + .wms-breadcrumb-item::before {
        content: "\f285";
        font-family: bootstrap-icons;
        font-size: .7rem;
        color: #5c5f62;
        margin: 0 10px;
    }

    .wms-breadcrumb-item i {
        font-size: 1rem;
    }

    /*.wms-breadcrumb-item.active {
        font-weight: 600;
    }*/

    .wms-breadcrumb-item.active .crumb-label {
        color: #2563eb;
    }

    .wms-breadcrumb-item span {
        white-space: nowrap;
    }

[data-wms-tooltip] {
    position: relative;
}

.wms-global-tooltip {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2147483647;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
    max-width: 280px;
}

    .wms-global-tooltip.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.wms-global-tooltip-content {
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid #dbe4ef;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    color: #334155;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.1px;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
}

.wms-global-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.wms-global-tooltip[data-placement="top"]::after {
    top: 100%;
    border-top: 6px solid #ffffff;
}

.wms-global-tooltip[data-placement="bottom"]::after {
    bottom: 100%;
    border-bottom: 6px solid #ffffff;
}

.company-name {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: min(34vw, 360px);
    min-width: 0;
    height: 49px;
    padding: 0 12px;
    margin: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    /*background: #f8fafc;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);*/
}

    .company-name i {
        flex: 0 0 auto;
        font-size: 0.85rem;
        color: #64748b;
    }

.company-name-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-switcher {
    max-width: min(34vw, 320px);
    padding: 0 6px;
}

    .company-switcher .company-switcher-dropdown {
        min-width: 170px;
        max-width: 250px;
    }

    .company-switcher .e-input-group,
    .company-switcher .e-input-group.e-control-wrapper {
        border: none;
        background: transparent;
        box-shadow: none;
        font-size: 13px;
        font-weight: 600;
        color: #495057;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
        border-radius: 8px;
        padding-left: 4px;
    }

        .company-switcher .e-input-group:hover,
        .company-switcher .e-input-group.e-control-wrapper:hover {
            background-color: #f1f5f9;
        }

        .company-switcher .e-input-group.e-input-focus,
        .company-switcher .e-input-group.e-control-wrapper.e-input-focus {
            background-color: #f1f5f9;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
        }

    .company-switcher .e-ddl.e-input-group .e-input[disabled],
    .company-switcher .e-ddl.e-input-group.e-disabled {
        opacity: 1;
        cursor: default;
    }

.company-item {
    gap: 0.5rem;
    padding: 2px 0;
}

.company-item-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-flag-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

    .company-flag-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.company-switcher-dropdown.e-popup .e-list-item {
    display: flex;
    align-items: center;
    transition: background-color 0.15s ease;
}


[data-wms-tooltip] {
    position: relative;
}

.wms-global-tooltip {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2147483647;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
    max-width: 280px;
}

    .wms-global-tooltip.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.wms-global-tooltip-content {
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid #dbe4ef;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    color: #334155;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.1px;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
}

.wms-global-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.wms-global-tooltip[data-placement="top"]::after {
    top: 100%;
    border-top: 6px solid #ffffff;
}

.wms-global-tooltip[data-placement="bottom"]::after {
    bottom: 100%;
    border-bottom: 6px solid #ffffff;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-border);
    transition: background 0.2s, border 0.2s;
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
    }


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: var(--focus-shadow);
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}


.content {
    padding-top: 1.1rem;
    background: var(--content-bg);
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
    font-size: 0.8rem;
}


.darker-border-checkbox.form-check-input {
    border-color: var(--checkbox-border);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--content-bg);
}

.error-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 1rem;
}

.error-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 3rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-card h1 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #212529;
}

.error-subtitle {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.error-request {
    background: #f1f3f5;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 1.75rem;
    font-size: 0.85rem;
}

    .error-request span {
        display: block;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

.error-actions {
    display: flex;
    justify-content: center;
}

.btn-primary {
    background: rgb(38 89 163);
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
}

.flag-drop {
    height: 35px;
}

.flag-input input {
    height: 35px;
}

.nav-children a.nav-link {
    font-size: small;
    letter-spacing: 0.2px;
    line-height: 1.2;
    height: auto;
    min-height: 2.25rem;
    padding: 0.35rem 0.75rem;
}

.dxbl-grid-filter-row td {
    padding: 12px !important;
}

    .dxbl-grid-filter-row td .dxbl-text-edit-input {
        background-color: #fff;
        border-radius: 4px;
        box-shadow: 0 0 3px 0 #0000001a;
        margin: 0 auto;
        height: 36px;
    }

*:focus-within, *:focus-visible {
    outline: none !important;
}

dxbl-modal-dialog dxbl-form-layout {
    overflow: visible !important;
}

dxbl-combo-box .dxbl-text-edit-template img {
    box-shadow: 0 0 2px 0 #0000003b;
}

.grid-border {
    background-color: #fff;
    border: none;
    box-shadow: 0 0 3px 0 #00000030;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.tabs-border-bottom {
    border-bottom: 2px solid #e4e4e4;
}

button.dxbl-btn {
    box-shadow: 0 0 3px 0 #0000002e;
    border: none;
    font-size: small;
}

.validation-message {
    font-size: x-small;
}

.dxbl-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl) {
    padding: 0 0 9px;
    margin-right: 12px;
}

    .dxbl-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl)::after {
        width: 100%;
        left: 0;
    }
/*Top Menu bar*/
.header-profile-section {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-detail-section {
    display: flex;
    gap: 16px;
    align-items: center;
    border-right: 1.5px solid #fffdfd;
    padding: 15px;
    cursor: pointer;
}

span.profile-detail {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    line-height: 19px;
    padding-top: 2px;
    gap: 1px;
}

button.btn.btn-link.logout-btn {
    font-size: small;
    color: var(--bs-heading-color);
    letter-spacing: 0.7px;
    margin-left: 0;
    font-weight: 500;
    text-transform: uppercase;
}

span.profile-img {
    height: 38px;
    width: 38px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    box-shadow: inset 0 0 5px 0px #ea4d1d1c, 0 0 4px 1px #8e1e0517;
    font-size: 15px;
    color: #f0522e;
    background: #fbede4;
    border: 3px solid #ffffff;
    line-height: 0;
    text-shadow: 0.5px 0.5px 0px #0000004a;
    letter-spacing: 1.5px;
}

.profile-popup-content span.profile-img {
    height: 46px;
    width: 46px;
}

.profile-detail b {
    color: #08143a;
    letter-spacing: 1px;
    font-size: 15px;
    padding-bottom: 2px;
}

.profile-detail small {
    color: #909090;
    font-size: 13px;
    letter-spacing: 0.2px;
}


.profile-drop-down-view, .profile-drop-down-view:hover {
    background-color: transparent;
    box-shadow: none !important;
    height: 100%;
}

.dxbl-menu-bar ul li button {
    font-weight: 500;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7e7e7e;
}

.profile-drop-down-view svg.dxbl-image {
    width: 26px !important;
    height: 26px !important;
}

.dxbl-menu-bar ul li button {
    font-weight: 500;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7e7e7e;
}

.profile-customization-drop-down .dxbl-menu.dxbl-menu-vertical {
    width: 100%;
}

.header-profile-section button.dxbl-btn-secondary,
.header-profile-section button.dxbl-btn:not(.dxbl-disabled):not(:disabled):hover {
    padding: 0;
    background: transparent !important;
    box-shadow: none;
}

.profile-detail-section.profile-detail-section-header {
    border: none;
    padding: 0 12px;
    min-height: 42px;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.t-card-section .card-header {
    background-color: transparent;
}

main {
    background-color: #f8fafc;
}

.page .content-section-dashboard {
    padding: 0px 20px 20px !important;
}

.model-profile-drop-down .dxbl-modal-header {
    padding: 8px !important;
}

.model-profile-drop-down {
    padding: 0 !important;
    min-width: 215px;
}

    .model-profile-drop-down button.dxbl-menu-item-mute-selection {
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.8px;
        padding: 12px;
    }

.dxbl-btn-dropdown-content-template .profile-detail-section {
    padding: 14px;
}

.profile-customization-drop-down .dxbl-dropdown-body {
    padding: 0 !important;
}

.profile-customization-drop-down .profile-detail-section {
    padding: 10px 15px 18px;
    background-color: #ffffff;
    border: none;
}

.text-small {
    font-size: 0.8rem;
}


.profile-circle {
    width: 36px;
    height: 36px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-dropdown {
    border: none;
}

.profile-detail-logout {
    width: 100%;
}

    .profile-detail-logout button .dxbl-menu-item-text-container {
        margin-right: 0 !important;
        margin-left: auto;
    }

    .profile-detail-logout button {
        box-shadow: none;
        padding: 12px 14px 2px !important;
        text-transform: capitalize !important;
        letter-spacing: 0.6px !important;
    }

.profile-country-name .dxbl-menu-item-text-container {
    margin: 0 auto;
    color: #444;
}

.profile-country-name button {
    border-radius: 0 !important;
    background-color: #ecf1f8;
}

.dxbl-grid .dxbl-grid-table > tbody > tr:nth-child(even) {
    background-color: #fafcfd;
}

button.view-profile-link {
    font-size: 12px;
    box-shadow: none;
    color: #526fe0;
    justify-content: start;
    letter-spacing: 0.2px;
    text-align: left;
}

.profile-detail-logout button:hover {
    background-color: transparent;
}

.dxbl-dropdown-body span.profile-img {
    height: 50px;
    width: 50px;
}

.profile-customization-drop-down {
    margin-top: 7px;
}

.dxbl-menu .dxbl-menu-bar {
    display: block !important;
}

.profile-country-name {
    width: 100%;
    text-align: center;
    padding: 8px;
    background-color: #f2f2f2;
    margin-top: 4px;
    letter-spacing: 0.5px;
    color: #818181;
    font-size: small;
}

.profile-logout-items button:hover {
    background: transparent !important;
}

    .profile-logout-items button:hover:before {
        display: none;
    }

.nav-children .menu-item-container:before {
    content: '';
    width: 12px;
}
/* ///////////////////////////////////////////////////////// Body CSS Start ////////////////////////////////////////////////////*/
.content {
    flex: 1;
    background: var(--content-bg);
}

article.content-section-dashboard {
    background-color: #f8fafc;
}

header.title-section-dashboard {
    background-color: #fafcfd !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.t-card-section {
    background-color: #fff;
    border: none;
    box-shadow: 0 0 3px 0 #00000030;
    border-radius: 8px !important;
    overflow: hidden;
    margin-top: 15px;
}

    .t-card-section .card-header h4 {
        margin: 0;
        font-weight: 500;
        font-size: larger;
        letter-spacing: 0.3px;
    }

    .t-card-section .card-header {
        border-radius: 5px 5px 0 0;
        border-bottom: 1px solid #eaeaea;
        padding: 1rem .8rem;
    }

    .t-card-section .dxbl-scroll-viewer,
    .t-card-section .dxbl-grid > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content,
    .t-card-section .dxbl-grid > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > .dxbl-grid-table,
    .t-card-section dxbl-grid.dxbl-grid {
        background-color: transparent;
    }

    .t-card-section dxbl-grid.dxbl-grid {
        border: none;
    }

    .t-card-section dxbl-grid th, .t-card-section dxbl-grid td {
        border-color: #efefef !important;
    }

    .t-card-section dxbl-grid td {
        font-size: small !important;
        color: #505050;
    }

    .t-card-section dxbl-grid th {
        font-size: small !important;
    }

    .t-card-section .dxbl-grid-filter-row td {
        background-color: #fff8f8 !important;
    }

.editform-fields {
    flex-direction: column !important;
}

    .editform-fields dxbl-combo-box, .editform-fields dxbl-input-editor {
        border: none;
        box-shadow: 0 0 3px 0 #0000002e;
        border-radius: 5px;
    }

.dxbl-fl-ctrl textarea {
    border: none;
    box-shadow: 0 0 3px 0 #0000002e;
    border-radius: 5px;
    padding: 10px;
}

.t-card-section dxbl-form-layout {
    overflow: visible;
}

.t-card-section .dxbl-grid-header-row {
    background-color: #fff;
}

.button-layout-form .dxbl-fl-ctrl {
    display: flex;
    gap: 10px;
}

.ch-480 {
    height: 400px; /* Fixed height */
    overflow-y: auto;
}

.gird-manage-user {
    background-color: #fff;
    border: none;
    box-shadow: 0 0 3px 0 #00000030;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 25px;
}

.pagination-grid-table {
    border-top: 1px solid #eee;
    margin-top: 0 !important;
    padding: 10px 0;
}

    .pagination-grid-table dxbl-pager.dxbl-pager dxbl-input-editor {
        margin-inline: 6px;
        border: none;
        border-radius: 4px;
        color: #ffffff;
        box-shadow: 0 0 4px 0 #00000052;
        background-color: #0f6cbd;
    }

        .pagination-grid-table dxbl-pager.dxbl-pager dxbl-input-editor input {
            font-weight: 600;
        }






#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* Footer */
.footer {
    background: var(--footer-bg);
    text-align: center;
    padding: 1rem;
    border-top: 1px solid var(--footer-border);
}

.e-tab-header .e-template i.bi {
    padding-right: 6px;
    line-height: 20px;
}

.profile-popup-dialog {
    height: 100% !important;
    min-width: 280px !important;
    width: auto !important;
    left: inherit !important;
    top: 56px !important;
    z-index: 1000 !important;
    right: 0 !important;
    min-height: 173px !important;
}

    .profile-popup-dialog .e-dlg-content {
        overflow: visible !important;
    }

.profile-detail-logout button.btn {
    color: #999;
    box-shadow: none !important;
    font-size: 0.9rem;
}

.profile-detail-logout {
    display: flex;
    justify-content: flex-end;
}

.nav-children .menu-item-container:before {
    content: '';
    width: 9px;
    border-left: 0.14em solid;
    border-bottom: 0.14em solid;
    border-color: #ccc;
    height: 21px;
    display: inline-block;
    border-radius: 0 4px;
    z-index: 9;
    top: -3px;
    position: absolute;
    left: 15px;
}

.nav-children .menu-item-container {
    margin-left: 24px;
    padding: 8px;
    border-radius: 5px;
}

.nav-scrollable .nav-link.active::before {
    display: none;
}

.nav-scrollable .nav-children a.nav-link {
    padding: 0;
}

.e-btn.e-primary, .e-css.e-btn.e-primary {
    background-color: rgb(38 89 163);
}

.e-tab .e-tab-header .e-toolbar-item .e-text-wrap {
    color: rgb(38 89 163);
}
/*------------------ appy the  ----------------*/
@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 18rem;
        height: calc(100vh - 20px);
        position: sticky;
        top: 0;
        z-index: 6;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 5;
    }

        .top-row.auth ::deep a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

@media(max-width: 768px) {
    .content {
        padding: 1rem 0.3rem !important;
    }

    dxbl-modal-dialog {
        margin: 10px;
    }
}
/* Remove duplicate nav-item .nav-link rules, handled above */

@media (min-width: 641px) {
    main {
        max-width: calc(100% - 18rem);
    }
}

@media(max-width: 641px) {
    .header-profile-section {
        margin-left: auto;
        width: 100%;
        justify-content: space-between;
        gap: 6px;
    }

    .company-name {
        max-width: calc(100vw - 150px);
        height: 35px;
        padding: 0 10px;
        font-size: 12px;
    }

        .company-name i {
            font-size: 0.75rem;
        }

    .profile-detail-section {
        border-right: none;
    }

        .profile-detail-section.profile-detail-section-header {
            padding: 0px;
            min-height: 35px;
        }


    header.title-section-dashboard {
        position: fixed;
        top: 0px;
        right: 58px;
        padding: 0 !important;
        margin: 0;
        background-color: transparent !important;
        border: none !important;
        z-index: 999
    }

    .sidebar {
        position: sticky;
        top: 0;
        z-index: 999;
    }

    .profile-customization-drop-down ul.dxbl-menu-item-list button {
        font-size: 12px;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        font-weight: 500;
        padding: 10px;
    }

    span.profile-img {
        font-size: 12px;
        background-color: #fff;
        cursor: pointer;
        width: 2.5rem;
        height: 2.16rem;
        border-radius: 0.5rem;
        border: 1px solid rgba(15, 23, 42, 0.18);
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
    }

    .profile-detail b {
        font-size: 13px;
    }

    .wms-breadcrumb-item {
        font-size: 0.8rem;
        letter-spacing: 0.3px;
    }

        .wms-breadcrumb-item i {
            font-size: 0.8rem;
            padding-right: 0;
        }

        .wms-breadcrumb-item a, .wms-breadcrumb-item .crumb-label {
            gap: 0.25rem;
        }

    .wms-breadcrumb {
        gap: 0.15rem;
        margin: 0 0 5px 0;
    }

    .wms-breadcrumb-item + .wms-breadcrumb-item::before {
        font-size: 17px;
    }
}

@media(min-width:767px) {
    dxbl-modal-dialog {
        max-width: 800px !important;
    }
}

@media(min-width:1072px) {
    .dxbl-modal-dialog {
        max-width: 1000px !important;
    }
}

.dx-placeholder {
    color: #a6a6a6;
    user-select: none;
}

.non-label-controls {
    display: flex;
    align-content: space-around;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.e-savebtn {
    border: 1px solid #198754 !important;
    padding: 3px 9px !important;
}

.e-cancelbtn {
    border: 1px solid #dc3545 !important;
    padding: 3px 9px !important;
}

.e-editbtn {
    border: 1px solid #0d6efd !important;
    padding: 3px 9px !important;
}

.e-savebtn .e-btn-icon {
    font-size: 18px !important;
}

.e-cancelbtn .e-btn-icon {
    font-size: 18px !important;
}

.e-editbtn .e-btn-icon {
    font-size: 18px !important;
}

/* Layout */
.form-grid {
    display: 1fr);
    display: grid;
    gap: 16px;
    padding: 12px;
}

.phone-group {
    grid-column: span 2;
    display: flex;
    gap: 10px;
}

/* Buttons */
.icon-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
}

/* Skeleton */
.e-skeleton {
    border-radius: 10px;
}

/* Floating label spacing fix */
.e-control-wrapper {
    margin-bottom: 6px;
}

/* Card polish */
.t-card-section {
    border-radius: 8px;
}

/* Add Button */
.add-btn {
    border-radius: 8px;
    padding: 6px 12px;
}

/* Base override */
.e-btn.e-icon-btn,
.e-css.e-btn.e-icon-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 6px !important;
    margin: 0 !important;
    min-width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6b7280 !important; /* default icon color */
    border-radius: 8px !important;
    cursor: pointer !important;
}

    /* Remove focus outline */
    .e-btn.e-icon-btn:focus,
    .e-btn.e-icon-btn:active {
        outline: none !important;
        box-shadow: none !important;
    }

    /* Hover effect (subtle) */
    .e-btn.e-icon-btn:hover {
        background: rgba(0, 0, 0, 0.05) !important;
        color: #111827 !important;
    }

    /* Active click */
    .e-btn.e-icon-btn:active {
        background: rgba(0, 0, 0, 0.08) !important;
    }

    /* Disabled */
    .e-btn.e-icon-btn.e-disabled,
    .e-btn.e-icon-btn:disabled {
        opacity: 0.4 !important;
        cursor: not-allowed !important;
        background: transparent !important;
    }

    .e-btn.e-icon-btn .e-btn-icon {
        font-size: 16px !important;
        line-height: 1 !important;
    }

.form-field {
    position: relative;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

    .form-field .validation-message {
        position: absolute;
        left: 8px;
        top: 100%;
        font-size: 12px;
        line-height: 14px;
        width: 100%;
    }



.e-savebtn .e-btn-icon {
    font-size: 18px !important;
}

.e-cancelbtn .e-btn-icon {
    font-size: 18px !important;
}

.e-editbtn .e-btn-icon {
    font-size: 18px !important;
}

.e-toast.e-lib.e-toast-container .wms-toast {
    background: #fff !important;
}

.mobile-grid {
    min-width: 940px;
}


button.e-control.archive-icon {
    background-color: transparent;
    border-color: transparent;
    padding: 1px 3px;
    border-radius: 9px;
}

    button.e-control.archive-icon svg#svg {
        width: 21px;
        height: 21px;
        position: relative;
        top: -2px;
    }

    button.e-control.archive-icon:hover {
        background-color: rgba(0, 0, 0, 0.05) !important
    }

.e-tab .e-tab-header .e-toolbar-item.e-active span.icon-archive-tab svg#svg path {
    fill: #000 !important;
}

button.e-control.archive-icon svg#svg path {
    fill: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}
.e-icons.e-archive-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
}

    .e-icons.e-archive-icon:before {
        content: "";
        background-image: url('https://gallery.trainocate.com/archive-icon-red.svg');
        width: 20px;
        height: 20px;
        display: inline-flex;
        background-size: contain;
    }

html, body {
    height: 100%;
    overflow: hidden;
}

.page {
    height: 100vh;
    overflow: hidden;
}

.page > main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
}

.page > main > article.content-section-dashboard {
    overflow-y: auto !important;
    overflow-x: hidden;
    min-height: 0;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.45) transparent;
}

*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(100, 116, 139, 0.45);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: rgba(71, 85, 105, 0.75);
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

.page > main > .top-row {
    flex: 0 0 auto;
}

.app-version-footer {
    position: sticky;
    bottom: 0;
    z-index: 20;
    flex: 0 0 auto;
    margin-top: auto;
    padding: 0.4rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: #6c757d;
    background-color: #fafcfd;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

main > article.content-section-dashboard {
    flex: 1 1 auto;
}
.e-tab .e-toolbar-item:focus-within .e-tab-wrap {
    box-shadow: none !important;
}

.card-body .e-tab .e-toolbar-item .e-tab-wrap {
    border-radius: 9px 9px 0 0 !important;
}

.card-body .e-tab .e-toolbar-item:hover .e-tab-wrap {
    background: rgb(240 240 240 / 48%) !important;
}
