@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}



a, .btn-link {
    color: var(--primary-color);
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    color: #424242;
}

.k-toolbar {
    border-color: rgba(0, 0, 0, 0.08);
    color: #424242;
    background-color: transparent !important;
}



.myfieldset {
    margin: 2px;
    border: 1px solid #ECECEC;
    padding: 8px;
    border-radius: 4px;
}

.mylegend {
    padding: 2px;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
.link-color{
    color:#fff;
}

.demo-notification {
    margin-bottom: 80px;
    position: absolute;
    z-index: 5000;
}

    .demo-notification .k-notification {
        width: 320px;
    }

.stock-info-message {
    font-size: 16px;
    font-weight: bold;
    padding-left: 6px;
    padding-top: 5px;
    margin: 0;
}

.notif {
    margin-left: 25px;
    margin-right: 25px;
    margin-bottom: 50px;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    width: 100%;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
            color: #0099bc !important;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }




.content {
    padding-top: 1.1rem;
}


.myfooter {
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    max-height: 80px;
    position: fixed;
    z-index: 1000;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #1274AC;
    color: white;
    text-align: center;
    font-size: small;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .set {
        background-color: darkblue;
        color: white;
        font-weight: bold;
    }
}



.heart-icon.k-checkbox,
.heart-icon.k-checkbox:focus,
.heart-icon.k-checkbox:checked,
.heart-icon.k-checkbox:checked:focus {
    border: none;
    background: none;
    box-shadow: none;
}

    .heart-icon.k-checkbox::before,
    .heart-icon.k-checkbox:checked::before,
    .heart-icon.k-checkbox:indeterminate::before {
        transform: none;
        top: 0;
        left: 0;
        width: auto;
        height: auto;
        font-size: 20px; /* used for dimensions, see the next section */
    }

/* set desired dimensions */
.heart-icon.k-checkbox {
    width: 20px;
    height: 20px;
}

.toolbar-size {
    max-width: 100%;
}

.toolbarbutton-image img, .scale-image {
    max-width: 20px;
    max-height: 20px;
    margin-right: 8px !important;
}

/* change the font icon glyph to a different one - in this case - a heart icon from the Telerik font
        we also change the colors here to denote states, you can alter this further - like using your own fonts or colors
        */
.heart-icon.k-checkbox:checked::before {
    content: "\e305";
    color: green;
}

.heart-icon.k-checkbox:indeterminate::before {
    content: "\e300";
    color: green;
    background: none;
}

.heart-icon.k-checkbox::before {
    content: "\e304";
    color: #656565;
}

.btn btn-primary btn-sm {
    background-color: #1274AC !important;
    color: white;
}


.css-grid-table,
.css-grid-table-header,
.css-grid-table-body {
    display: grid;
}

.css-grid-table {
    grid-template-rows: 24px 72px;
    width: 80%;
}

.css-grid-table-header,
.css-grid-table-body {
    grid-template-columns: 48px 110px 110px 180px;
    width: 100%;
    line-height: 24px;
}

.css-grid-table-header {
    grid-column-gap: 2px;
    grid-template-rows: auto;
}

.css-grid-table-body {
    grid-template-rows: auto auto auto;
}

.css-grid-table-header div {
    text-align: center;
    font-weight: bold;
    background-color: dimgray;
}

.css-grid-table-body div {
    padding-left: 6px;
}


.teamMate img {
    display: inline-block;
    vertical-align: top;
    width: 70px !important;
    height: 70px !important;
    margin: 4px;
    border: 1px solid #ccc;
    border-radius: 50% !important;
}


.smallteamMate img {
    display: inline-block;
    vertical-align: central;
    width: 50px;
    height: 50px;
    margin: 2px;
    border: 1px solid #ccc;
    border-radius: 50%;
}

.smallMateInfo {
    display: inline-block;
    vertical-align: central;
}


.MateInfo {
    display: inline-block;
    vertical-align: central;
}

.myVideoWith {
}

.k-card.kbcard {
    border-color: gray !important;
}


.grid-no-scroll .k-grid-content {
    overflow-y: auto;
}

.grid-no-scroll .k-grid-header,
.grid-no-scroll .k-grid-footer {
    padding-right: 0; /* version 2.26 and older requires !important here */
}

.grid-no-scroll .k-grid-header-wrap,
.grid-no-scroll .k-grid-footer-wrap {
    border-right-width: 0;
}


.MyDimGrayButton:hover {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}

.MyDimGrayButton:active {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}

.MyDimGrayButton:focus {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}





.btn btn-primary btn-sm:hover {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}

.btn btn-primary btn-sm:active {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}

.btn btn-primary btn-sm:focus {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}

.no-visited-color {
    color: black;
}

    .no-visited-color:visited {
        color: black;
    }

.k-button-solid-base.k-selected {
    color: black;
}

.ProfileImg {
    display: inline-block;
    vertical-align: central;
    width: 100px;
    height: 100px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 50%;
}



.error-message {
    color: red;
    font-size: 17px;
}

.k-checkbox {
    border-color: #212529;
}

.icon {
    filter: var(--primary-filter);
}

::deep .pending-info-window.k-window {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.24);
}

::deep .pending-info-window .k-window-titlebar {
    min-height: 68px;
    padding: 0 22px;
    color: #172033;
    background: #ffffff;
    border-bottom: 1px solid #e8edf3;
}

::deep .pending-info-window .k-window-title {
    display: flex;
    align-items: center;
    overflow: visible;
}

::deep .pending-info-window .k-window-content {
    max-height: calc(100vh - 100px);
    padding: 0;
    overflow-y: auto;
    background: #ffffff;
}

.pending-window-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #172033;
    font-size: 20px;
    font-weight: 700;
}

.pending-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #ffffff;
    background: #f59e0b;
    border-radius: 50%;
    font-size: 15px;
}

.pending-window-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
}

.profile-warning-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(90deg, #fff9f0 0%, #fffaf5 100%);
    border: 1px solid #fb923c;
    border-radius: 8px;
}

.profile-warning-icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #f59e0b;
    font-size: 34px;
}

.profile-warning-content h5 {
    margin: 0 0 5px;
    color: #172033;
    font-size: 16px;
    font-weight: 700;
}

.profile-warning-content p {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

.pending-section {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce3eb;
    border-radius: 8px;
}

.pending-section-header {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 10px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.pending-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .pending-section-heading h5 {
        margin: 0;
        color: #1e293b;
        font-size: 16px;
        font-weight: 700;
    }

.pending-count-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
}

    .pending-count-badge.warning {
        color: #ea7200;
        background: #fff1e4;
    }

    .pending-count-badge.primary {
        color: #1261c9;
        background: #eaf3ff;
    }

.pending-grid-wrapper {
    width: 100%;
    overflow-x: auto;
}

::deep .pending-actions-grid {
    border: 0;
}

    ::deep .pending-actions-grid .k-grid-header {
        background: #f8fafc;
    }

        ::deep .pending-actions-grid .k-grid-header th {
            height: 44px;
            padding: 10px 14px;
            color: #64748b;
            background: #f8fafc;
            border-color: #e2e8f0;
            font-size: 12px;
            font-weight: 600;
        }

    ::deep .pending-actions-grid .k-table-td {
        height: 46px;
        padding: 8px 14px;
        color: #334155;
        border-color: #e8edf3;
        font-size: 13px;
    }

    ::deep .pending-actions-grid .k-table-row:hover .k-table-td {
        background: #f8fbff;
    }

.missing-info-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.missing-info-cell-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #0d6efd;
    background: #eaf3ff;
    border-radius: 50%;
}

.document-type-link {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}

    .document-type-link:hover {
        color: #084dbf;
        text-decoration: underline;
    }

::deep .pending-review-button.k-button {
    min-width: 88px;
    min-height: 31px;
    padding: 5px 13px;
    color: #0969da;
    background: #ffffff;
    border: 1px solid #70aef8;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

    ::deep .pending-review-button.k-button:hover {
        color: #ffffff;
        background: #0d6efd;
        border-color: #0d6efd;
    }

::deep .pending-actions-grid .k-pager {
    min-height: 50px;
    padding: 8px 14px;
    background: #ffffff;
    border-color: #e2e8f0;
}

.pending-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 45px 20px;
    text-align: center;
}

.pending-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    color: #15803d;
    background: #dcfce7;
    border-radius: 50%;
    font-size: 25px;
}

.pending-success-state h5 {
    margin: 0 0 6px;
    color: #172033;
    font-weight: 700;
}

.pending-success-state p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 767.98px) {
    ::deep .pending-info-window.k-window {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    ::deep .pending-info-window .k-window-titlebar {
        min-height: 60px;
        padding: 0 14px;
    }

    .pending-window-title {
        font-size: 17px;
    }

    .pending-window-content {
        gap: 14px;
        padding: 12px;
    }

    .profile-warning-banner {
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
    }

    .profile-warning-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .pending-section-header {
        padding: 10px 12px;
    }

    ::deep .pending-actions-grid {
        min-width: 650px;
    }
}

/* =========================================================
   ERP GLOBAL LIST PAGE DESIGN SYSTEM
   Telerik Blazor + Bootstrap
   ========================================================= */

:root {
    --erp-primary: #075fbe;
    --erp-primary-hover: #054e9e;
    --erp-primary-light: #eaf3ff;
    --erp-success: #198754;
    --erp-success-light: #e8f7ef;
    --erp-warning: #d97706;
    --erp-warning-light: #fff4df;
    --erp-danger: #dc3545;
    --erp-danger-light: #fff0f1;
    --erp-info: #6f42c1;
    --erp-info-light: #f1eafd;
    --erp-text: #102546;
    --erp-text-secondary: #52627a;
    --erp-muted: #7b8798;
    --erp-border: #dce4ee;
    --erp-border-light: #e8edf3;
    --erp-background: #f6f8fb;
    --erp-card-background: #ffffff;
    --erp-radius-sm: 6px;
    --erp-radius-md: 9px;
    --erp-radius-lg: 12px;
    --erp-shadow-sm: 0 2px 7px rgba(18, 44, 75, 0.05);
    --erp-shadow-md: 0 6px 20px rgba(18, 44, 75, 0.08);
}

/* =========================================================
   Main page layout
   ========================================================= */

.erp-list-page {
    width: 100%;
    min-height: 100vh;
    padding: 24px;
    color: var(--erp-text);
}

.erp-list-container {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
}

/* =========================================================
   Page header
   ========================================================= */

.erp-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.erp-page-heading {
    min-width: 0;
}

.erp-page-title {
    margin: 0 0 6px;
    color: var(--erp-text);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.erp-page-description {
    margin: 0;
    color: var(--erp-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.erp-page-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.erp-help-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    color:  rgb(var(--primary-rgb));
    background: transparent;
    border: 0;
    border-radius: var(--erp-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

    .erp-help-link:hover {
        color: rgba(var(--primary-rgb), 0.9);
        background: var(--erp-primary-light);
    }

/* =========================================================
   Generic card
   ========================================================= */

.erp-card {
    background: var(--erp-card-background);
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius-md);
    box-shadow: var(--erp-shadow-sm);
}

.erp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--erp-border-light);
}

.erp-card-title {
    margin: 0;
    color: var(--erp-text);
    font-size: 16px;
    font-weight: 700;
}

.erp-card-body {
    padding: 16px;
}

/* =========================================================
   Dashboard summary area
   ========================================================= */

.erp-summary-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(190px, 220px)) minmax(420px, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.erp-summary-card {
    position: relative;
    min-height: 210px;
    padding: 22px 20px;
    overflow: hidden;
    background: var(--erp-card-background);
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius-md);
    box-shadow: var(--erp-shadow-sm);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

    .erp-summary-card:hover {
        transform: translateY(-2px);
        border-color: #bfd0e4;
        box-shadow: var(--erp-shadow-md);
    }

.erp-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 50%;
    font-size: 23px;
}

    .erp-summary-icon.primary {
        color:  rgb(var(--primary-rgb));
        background: var(--erp-primary-light);
    }

    .erp-summary-icon.success {
        color: var(--erp-success);
        background: var(--erp-success-light);
    }

    .erp-summary-icon.info {
        color: var(--erp-info);
        background: var(--erp-info-light);
    }

    .erp-summary-icon.warning {
        color: var(--erp-warning);
        background: var(--erp-warning-light);
    }

.erp-summary-label {
    display: block;
    margin-bottom: 14px;
    color: var(--erp-text);
    font-size: 14px;
    font-weight: 500;
}

.erp-summary-value {
    display: block;
    margin-bottom: 3px;
    color: #0b2143;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
}

.erp-summary-unit {
    color: var(--erp-text-secondary);
    font-size: 13px;
}

/* =========================================================
   Chart card
   ========================================================= */

.erp-chart-card {
    min-width: 0;
    overflow: hidden;
}

.erp-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 12px 16px;
}

.erp-chart-title {
    margin: 0;
    color: var(--erp-text);
    font-size: 15px;
    font-weight: 700;
}

.erp-chart-filter {
    width: 130px;
}

.erp-chart-body {
    min-height: 150px;
    padding: 0 14px 8px;
}

/* =========================================================
   List panel
   ========================================================= */

.erp-list-panel {
    overflow: hidden;
    background: var(--erp-card-background);
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius-md);
    box-shadow: var(--erp-shadow-sm);
}

.erp-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 12px 15px;
    background: #ffffff;
    border-bottom: 1px solid var(--erp-border-light);
}

.erp-list-toolbar-left,
.erp-list-toolbar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.erp-list-search-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 66px;
    padding: 10px 15px;
    background: #ffffff;
    border-bottom: 1px solid var(--erp-border-light);
}

.erp-list-search {
    width: min(290px, 100%);
}

/* =========================================================
   Global Telerik buttons
   ========================================================= */

.btn btn-primary btn-wave me-2.k-button,
.btn btn-primary btn-wave me-2 {
    min-height: 42px;
    padding: 8px 17px;
    color: #ffffff !important;
    background:  rgb(var(--primary-rgb)) !important;
    border-color:  rgb(var(--primary-rgb)) !important;
    border-radius: var(--erp-radius-sm) !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(7, 95, 190, 0.18);
}

    .btn btn-primary btn-wave me-2.k-button:hover,
    .btn btn-primary btn-wave me-2:hover {
        background: rgba(var(--primary-rgb), 0.9) !important;
        border-color: rgba(var(--primary-rgb), 0.9) !important;
    }

.btn btn-outline-primary btn-wave.k-button,
.btn btn-outline-primary btn-wave {
    min-height: 42px;
    padding: 8px 15px;
    color: rgb(var(--primary-rgb)) !important;
    background: #ffffff !important;
    border-color: rgb(var(--primary-rgb)) !important;
    border-radius: var(--erp-radius-sm) !important;
    font-weight: 600;
}

    .btn btn-outline-primary btn-wave.k-button:hover,
    .btn btn-outline-primary btn-wave:hover {
        color: #ffffff !important;
        background: rgb(var(--primary-rgb)) !important;
        border-color: rgb(var(--primary-rgb)) !important;
    }

.erp-danger-button.k-button,
.erp-danger-button {
    color: var(--erp-danger) !important;
    background: #ffffff !important;
    border-color: #efb4ba !important;
}

    .erp-danger-button.k-button:hover,
    .erp-danger-button:hover {
        color: #ffffff !important;
        background: var(--erp-danger) !important;
        border-color: var(--erp-danger) !important;
    }

.erp-close-button.k-button,
.erp-close-button {
    min-height: 42px;
    color:  rgb(var(--primary-rgb)) !important;
    background: #ffffff !important;
    border: 1px solid  rgb(var(--primary-rgb)) !important;
    border-radius: var(--erp-radius-sm) !important;
}

    .erp-close-button.k-button:hover,
    .erp-close-button:hover {
        color: #ffffff !important;
        background:  rgb(var(--primary-rgb)) !important;
    }

/* Disabled buttons */

.erp-list-page .k-button:disabled,
.erp-list-page .k-button.k-disabled {
    color: #9ca8b8 !important;
    background: #f6f8fb !important;
    border-color: #dce3ec !important;
    box-shadow: none !important;
    opacity: 1;
}

/* =========================================================
   Telerik toolbar
   ========================================================= */

.erp-toolbar.k-toolbar {
    min-height: 72px;
    padding: 12px 15px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--erp-border-light);
    border-radius: 0;
    gap: 8px;
}

.erp-toolbar .k-button {
    min-height: 40px;
    padding-inline: 14px;
    border-radius: var(--erp-radius-sm);
    font-weight: 600;
}

.erp-toolbar .k-toolbar-spacer {
    min-width: 20px;
}

/* =========================================================
   Telerik Grid
   ========================================================= */

.erp-list-grid.k-grid {
    
    border-top: 1px solid var(--erp-border-light);
    border-radius: 0;
    font-size: 13px;
}

.erp-list-grid .k-grid-header {
    background: #f7f9fc;
    border-color: var(--erp-border-light);
}

    .erp-list-grid .k-grid-header th {
        height: 21px;
        padding: 10px 14px;
        color: #203550;
        background: transparent;
        border-color: var(--erp-border-light);
        font-size: 12px;
        font-weight: 700;
        vertical-align: middle;
    }

.erp-list-grid .k-table-td {
    height: 52px;
    padding: 10px 14px;
    color: #263b57;
    background: transparent;
    border-color: var(--erp-border-light);
    vertical-align: middle;
}

.erp-list-grid .k-table-row:hover .k-table-td {
    background: color-mix(in srgb, var(--kendo-color-primary) 10%, transparent);
}



    .erp-list-grid tr.k-selected > td:first-child {
        box-shadow: inset 3px 0 0  rgb(var(--primary-rgb));
    }

.erp-list-grid .k-grid-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-height: 64px;
    padding: 10px 14px;
    background: #ffffff;
    border-color: var(--erp-border-light);
}

.erp-list-grid .k-grid-search {
    width: min(290px, 100%);
}

.erp-list-grid .k-pager {
    min-height: 64px;
    padding: 10px 14px;
    background: #ffffff;
    border-color: var(--erp-border-light);
}

.erp-list-grid .k-pager-numbers .k-selected {
    color: #ffffff;
    background:  rgb(var(--primary-rgb));
    border-color:  rgb(var(--primary-rgb));
    border-radius: var(--erp-radius-sm);
}

.erp-list-grid .k-grid-content {
    overflow-x: auto;
}

/* =========================================================
   Status badges
   ========================================================= */

.erp-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.status-draft,
.status-open {
    color: #145fc4;
    background: #eaf3ff;
    border-color: #b9d4fa;
}

.status-review,
.status-pending {
    color: #9a5a00;
    background: #fff4df;
    border-color: #f3d394;
}

.status-returned,
.status-onhold {
    color: #664d03;
    background: #fff3cd;
    border-color: #ffdf7e;
}

.status-approved,
.status-completed,
.status-posted {
    color: #146c43;
    background: #e8f7ef;
    border-color: #b8ddc5;
}

.status-rejected,
.status-cancelled {
    color: #b42318;
    background: #fff0f1;
    border-color: #f1b6bb;
}

/* =========================================================
   Action dropdown
   ========================================================= */

.erp-row-action.k-dropdown-button .k-button,
.erp-row-action.k-button {
    min-width: 42px;
    min-height: 38px;
    padding: 6px 10px;
    color: #44566d;
    background: #ffffff;
    border-color: var(--erp-border);
    border-radius: var(--erp-radius-sm);
}

    .erp-row-action.k-dropdown-button .k-button:hover,
    .erp-row-action.k-button:hover {
        color:  rgb(var(--primary-rgb));
        background: var(--erp-primary-light);
        border-color: #aac9eb;
    }

/* =========================================================
   Utility classes
   ========================================================= */

.erp-hidden-export-button {
    display: none !important;
}

.erp-nowrap {
    white-space: nowrap;
}

.erp-text-link {
    color:  rgb(var(--primary-rgb));
    font-weight: 600;
    text-decoration: none;
}

    .erp-text-link:hover {
        color: rgba(var(--primary-rgb), 0.9);
        text-decoration: underline;
    }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1200px) {
    .erp-summary-layout {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }

    .erp-chart-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .erp-list-page {
        padding: 14px;
    }

    .erp-page-header {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .erp-page-header-actions {
        justify-content: flex-start;
    }

    .erp-page-title {
        font-size: 23px;
    }

    .erp-summary-layout {
        grid-template-columns: 1fr;
    }

    .erp-summary-card {
        min-height: auto;
    }

    .erp-chart-card {
        grid-column: auto;
    }

    .erp-list-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .erp-list-toolbar-left,
    .erp-list-toolbar-right {
        width: 100%;
    }

    .erp-list-toolbar-right {
        justify-content: flex-start;
    }

    .erp-list-search-row {
        justify-content: stretch;
    }

    .erp-list-search,
    .erp-list-grid .k-grid-search {
        width: 100%;
    }

    .erp-toolbar.k-toolbar {
        align-items: stretch;
    }
}

@media (max-width: 520px) {
    .erp-list-page {
        padding: 10px;
    }

    .erp-page-header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

        .erp-page-header-actions .k-button {
            width: 100%;
        }

    .erp-list-toolbar-left,
    .erp-list-toolbar-right {
        display: grid;
        grid-template-columns: 1fr;
    }

        .erp-list-toolbar-left .k-button,
        .erp-list-toolbar-right .k-button,
        .erp-list-toolbar-left .k-combobox,
        .erp-list-toolbar-right .k-combobox {
            width: 100%;
        }
}
.erp-selected-record {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--erp-text-secondary);
    font-size: 12px;
}

    .erp-selected-record strong {
        color:  rgb(var(--primary-rgb));
        font-weight: 700;
    }
.card-title:before {
    content: "";
    position: absolute;
    height: 1rem;
    width: 0.2rem;
    inset-block-start: 0.15rem;
    inset-inline-start: -0.65rem;
    background: linear-gradient(to bottom, var(--primary05) 50%, rgba(var(--secondary-rgb), 0.5) 50%);
    border-radius: 0.5rem;
}

.card-title {
    position: relative;
    margin-block-end: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: capitalize;
}

.head-ref{
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px !important;
}

.filter-text-heading{
    margin:0;
    padding: 8px 12px 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
