html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: black !important;
}



.bottombar {
    width: 100% !important;
    background-color: #fafafa !important;
    border-top: 1px solid #ddd !important;
    padding: 4px !important;
    margin-top: 20px;
    margin-bottom: 2px; /* space below */
}

.status-actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 4px !important;
}

.myfieldset {
    margin: 2px;
    border: 1px solid #ECECEC;
    padding: 8px;
    border-radius: 4px;
}

.mylegend {
    padding: 2px;
}

h1:focus {
    outline: none;
}

.btn-link {
    color: #0071c1;
}

.GridActiveStatus {
    background-color: #1274AC;
    color: white;
    border-radius: 25px;
    width: 120px;
    height: 30px;
    font-size: 12px;
    padding: 8px;
}

.GridInActiveStatus {
    background-color: red;
    color: white;
    border-radius: 25px;
    width: 120px;
    height: 30px;
    font-size: 12px;
    padding: 8px;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 0.3rem;
    /*padding-top: 1.1rem;*/
}

.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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.demo-notification {
    position: absolute;
    z-index: 100;
}

    .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: 10px;
}

a.myalink {
    color: #1274AC !important;
}

a.mysearchlink {
    color: #1274AC !important;
}

/*a.mysearchlink:hover {
    color: white !important;
}
   */
/*a:visited {
        color: #1274AC !important;
    }*/

/* mouse over link */
/*a:hover {
        color: #1274AC !important;
    }*/

/* selected link */
/*a:active {
        color: #1274AC !important;
    }*/


.logoutbutton {
    color: #1274AC !important;
}

.ButtonMargin {
    margin-top: 3px;
    margin-left: 2px;
    margin-right: 2px;
    width: 110px;
    height: 80px;
    word-wrap: break-word !important; /* Internet Explorer 5.5+ */
    white-space: -webkit-pre-wrap; /* Newer versions of Chrome/Safari*/
    white-space: normal !important;
    vertical-align: central;
    background-color: #1274AC !important;
    color: white !important;
}
/*.DeshboardButtonMargin {
    margin-top: 3px;
    margin-left: 2px;
    margin-right: 2px;
    width: 210px;
    height: 100px;
    word-wrap: break-word !important;*/ /* Internet Explorer 5.5+ */
/*white-space: -webkit-pre-wrap;*/ /* Newer versions of Chrome/Safari*/
/*white-space: normal !important;
    vertical-align: central;
    background-color: #1274AC !important;
    color: white !important;
}*/

.mytoolbar {
    position: fixed;
    /*z-index: 5000;*/
    background-color: #fafafa;
    padding-top: 10px;
}


.mymenu {
    background-color: white !important;
    width: 100%;
    text-align: center;
    font-size: small;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, #0b3c66, #1aa3d8, #f7941d) 1;
    /*border-bottom: 1px solid #FFCC99;*/
}

label {
    color: #4A4A4A !important;
}

.k-menu-link {
    color: #4A4A4A !important;
}

    .k-menu-link:hover {
        background-color: #e9f1f7 !important; /* Adjust this color as needed */
    }

k-menu-group .k-item > .k-link:active, .k-menu-group .k-item > .k-link.k-active, .k-menu-group .k-item > .k-link.k-selected, .k-menu.k-context-menu .k-item > .k-link:active, .k-menu.k-context-menu .k-item > .k-link.k-active, .k-menu.k-context-menu .k-item > .k-link.k-selected {
    background-color: #e9f1f7 !important;
}


/*
    .lookupButton {
    height: 30px;
    width: 80px;
}

    .lookupButton:hover {
        color: gray;
        height: 30px;
        width: 80px;
    }
*/


.myNumericTextbox .k-input-inner,
.myCombobox .k-input-inner {
    text-align: right;
}

.k-grid-header th {
    /*  font-weight: bold !important;*/
}

.k-grid-footer td, .k-group-footer td, .k-grouping-row td, .k-grid-footer .k-table-td, .k-group-footer .k-table-td, .k-grouping-row .k-table-td {
    font-weight: bold;
    text-align: right !important;
}

.k-grid th.GridCol-align-right {
    text-align: right;
}
/* sortable headers */
th.GridCol-align-right .k-cell-inner > .k-link {
    justify-content: right;
}

.k-grid th.GridCol-align-center {
    text-align: center;
}
/* sortable headers */
th.GridCol-align-center .k-cell-inner > .k-link {
    justify-content: center;
}


.MultiColHeader {
    padding: 8px 12px;
    font-weight: bold;
}

/*.searchButton:hover {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}

.searchButton:active {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}

.searchButton:focus {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}*/


.searchButton {
    background-color: #1274AC !important;
    color: white !important;
    border: 1px solid #1274AC !important;
    border-radius: 6px;
    font-weight: 500;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

    .searchButton .k-icon {
        color: white !important;
        transition: color 0.2s ease;
        font-size: 16px;
        vertical-align: middle;
    }

    .searchButton:hover,
    .searchButton:focus,
    .searchButton:active {
        background-color: white !important;
        color: #1274AC !important;
        border: 1px solid #1274AC !important;
        transform: scale(1.03);
        outline: none;
    }

        .searchButton:hover .k-icon,
        .searchButton:focus .k-icon,
        .searchButton:active .k-icon {
            color: #1274AC !important;
        }

    .searchButton:focus-visible {
        outline: 2px solid #1274AC;
        outline-offset: 2px;
    }



.lookupButton {
    background-color: #1274AC !important;
    color: white !important;
    border: 1px solid #1274AC !important;
    border-radius: 6px;
    font-weight: 500;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

    .lookupButton .k-icon {
        color: white !important;
        transition: color 0.2s ease;
        font-size: 16px;
        vertical-align: middle;
    }

    .lookupButton:hover,
    .lookupButton:focus,
    .lookupButton:active {
        background-color: white !important;
        color: #1274AC !important;
        border: 1px solid #1274AC !important;
        transform: scale(1.03);
        outline: none;
    }

        .lookupButton:hover .k-icon,
        .lookupButton:focus .k-icon,
        .lookupButton:active .k-icon {
            color: #1274AC !important;
        }

    .lookupButton:focus-visible {
        outline: 2px solid #1274AC;
        outline-offset: 2px;
    }

/*

.lookupButton:hover {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}

.lookupButton:active {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}

.lookupButton:focus {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}*/
/*.SaveBackButton:hover {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}
.SaveBackButton .k-icon {
    color: #1274AC;*/ /* or any color you want */
/*}

.SaveBackButton:hover .k-icon {
    color: white !important;
    background-color: dimgray !important;
}
.SaveBackButton:active {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}

.SaveBackButton:focus {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}*/

/* Default State */
.SaveBackButton {
    background-color: #ffffff;
    color: #1274AC;
    border: 1px solid #1274AC;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px; /* spacing between icon and text */
    padding: 6px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

    /* Icon default */
    .SaveBackButton .k-icon {
        color: #1274AC !important;
        transition: color 0.2s ease;
    }

    /* Hover, Focus, Active states */
    .SaveBackButton:hover,
    .SaveBackButton:focus,
    .SaveBackButton:active {
        background-color: dimgray !important;
        color: #ffffff !important;
        border: 1px solid #333 !important;
        outline: none;
    }

        /* Icon on interaction */
        .SaveBackButton:hover .k-icon,
        .SaveBackButton:focus .k-icon,
        .SaveBackButton:active .k-icon {
            color: #ffffff !important;
        }


/*.MyToolBarButton:hover {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}
.MyToolBarButton .k-icon {
    color: #1274AC;*/ /* or any color you want */
/*}

.MyToolBarButton:hover .k-icon {
    color: white !important;
    background-color: dimgray !important;

}
.MyToolBarButton:active {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}

.MyToolBarButton:focus {
    color: white !important;
    background-color: dimgray !important;
    border: 1px solid black !important;
}*/
/* Base button style */
.MyToolBarButton {
    background-color: #fafafa !important;
    color: #1274AC;
    border: 1px solid #1274AC;
    border-radius: 6px;
    font-weight: 500;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

    .MyToolBarButton .k-icon {
        color: #1274AC;
        transition: color 0.2s ease;
        font-size: 16px;
        vertical-align: middle;
    }

    .MyToolBarButton:hover,
    .MyToolBarButton:focus,
    .MyToolBarButton:active {
        background-color: #1274AC !important;
        color: white !important;
        border: 1px solid #1274AC !important;
        transform: scale(1.03);
        outline: none;
    }

        .MyToolBarButton:hover .k-icon,
        .MyToolBarButton:focus .k-icon,
        .MyToolBarButton:active .k-icon {
            color: white !important;
        }

    .MyToolBarButton:focus-visible {
        outline: 2px solid #1274AC;
        outline-offset: 2px;
    }


.MyCommandButton {
    background-color: #1274AC !important;
    color: white !important;
    border: 1px solid #1274AC !important;
    border-radius: 6px;
    font-weight: 500;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

    .MyCommandButton .k-icon {
        color: white !important;
        transition: color 0.2s ease;
        font-size: 16px;
        vertical-align: middle;
    }

    .MyCommandButton:hover,
    .MyCommandButton:focus,
    .MyCommandButton:active {
        background-color: white !important;
        color: #1274AC !important;
        border: 1px solid #1274AC !important;
        transform: scale(1.03);
        outline: none;
    }

        .MyCommandButton:hover .k-icon,
        .MyCommandButton:focus .k-icon,
        .MyCommandButton:active .k-icon {
            color: #1274AC !important;
        }

    .MyCommandButton:focus-visible {
        outline: 2px solid #1274AC;
        outline-offset: 2px;
    }

.MyToolBarDeleteButton {
    background-color: #fafafa !important;
}

    .MyToolBarDeleteButton .k-icon {
        color: #1274AC; /* or any color you want */
    }

    .MyToolBarDeleteButton:hover {
        background-color: #1274AC !important;
        color: #fff !important;
        border-color: #1274AC !important;
    }

        .MyToolBarDeleteButton:hover .k-icon {
            color: white !important;
            background-color: #1274AC !important;
        }

.button-glow {
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease-in-out;
}

    .button-glow:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
    }
/*.k-button .k-icon {
    color: var(--kendo-primary-color, #008000);*/ /* Use theme variable */
/*}*/
.sidebarmsg {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    background-color: #f3f2f7;
    color: rgba(0, 0, 0, 0.75);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    border: 1px solid #8f8a8a;
}

    .sidebarmsg a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: rgba(0, 0, 0, 0.75);
        display: block;
        transition: 0.3s;
    }

        .sidebarmsg a:hover {
            color: rgba(0, 0, 0, 0.45);
        }

    .sidebarmsg .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }


.nested-dropdown {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    border: 1px solid #ccc;
    z-index: 1000;
    padding: 5px;
    margin-top: 5px;
    min-width: 150px;
}

    .nested-dropdown .dropdown-item {
        display: block;
        padding: 5px 10px;
        text-align: left;
        background: none;
        border: none;
        text-decoration: none;
        color: #fff;
        cursor: pointer;
        width: 100%;
    }

        .nested-dropdown .dropdown-item:hover {
            background-color: #f0f0f0;
            color: #424242;
        }

.user-auth-box {
    background-color: #e9f1f7;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(18, 116, 172, 0.1);
    transition: background-color 0.3s ease;
}

    .user-auth-box:hover {
        background-color: #e6f3fc;
    }

.user-name-link {
    font-size: 1rem;
    color: #1274AC !important;
}

.logoutbutton {
    transition: background-color 0.2s ease;
}

    .logoutbutton:hover {
        background-color: #e63946;
        color: #fff;
        border-color: #e63946;
    }

.k-toolbar {
    border-color: rgba(0, 0, 0, 0.08);
    color: black !important;
    background-color: #fafafa !important;
}

.k-checkbox {
    width: 18px !important;
    height: 18px !important;
    border-color: dimgrey !important;
    transition: background-color 0.2s, border-color 0.2s;
}

    /* Checked state */
    .k-checkbox:checked,
    .k-checkbox.k-checked {
        border-color: dimgrey !important;
    }

    /* The checkmark symbol inside the checkbox */
    .k-checkbox::after {
        border-color: #fff !important; /* white checkmark */
        border-width: 2px;
        transform: scale(1.2); /* slightly enlarge checkmark */
    }

@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;
    }
}



/*.k-grid .k-grid-header {
    background-color: #f4f9fd !important;*/ /* slightly lighter */
/*}

.k-grid .k-header {
    background-color: #f4f9fd !important;
    border-bottom: none !important;
    color: black !important;*/ /* for readable contrast */
/*}*/

.status-bar {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
    font-size: 13px;
    z-index: 100;
}

.status-text {
    font-weight: 500;
}

.log-container {
    font-family: Consolas, monospace;
    font-size: 12px;
    max-height: 100%;
    overflow-y: auto;
}

.log-line {
    padding: 2px 0;
    border-bottom: 1px dashed #eee;
}

:root {
    --app-primary: #1274AC;
    */ /* your theme */
    /*--app-tabs-bg: #e6f3fc;*/ /* sky-blue bar */
    /*--app-border: #D6DBE3;
    --app-text: #334155;
}

/* Frame */
    .app-tabs.k-tabstrip, .app-tabs .k-tabstrip

{
    background: #fff;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    overflow: hidden;
}

/* Header bar background */
.app-tabs .k-tabstrip-items-wrapper,
.app-tabs .k-tabstrip-items {
    background: var(--app-tabs-bg) !important;
    border-bottom: 1px solid var(--app-border);
}

    /* Tabs */
    .app-tabs .k-tabstrip-items .k-item,
    .app-tabs .k-tabstrip-items .k-tabstrip-item {
        margin: 0;
        border: 0;
    }

    /* Tab button */
    .app-tabs .k-tabstrip-items .k-link {
        padding: 12px 18px;
        font-weight: 600;
        color: var(--app-text);
        background: transparent;
        border: 0;
        border-radius: 0;
    }

        /* Hover */
        .app-tabs .k-tabstrip-items .k-link:hover {
            background: rgba(255,255,255,0.55);
        }

    /* Active tab (works across Kendo/Telerik class variations) */
    .app-tabs .k-tabstrip-items .k-active .k-link,
    .app-tabs .k-tabstrip-items .k-state-active .k-link,
    .app-tabs .k-tabstrip-items .k-selected .k-link {
        background: #fff !important;
        color: var(--app-primary) !important;
        position: relative;
    }

        /* Active indicator line (top) */
        .app-tabs .k-tabstrip-items .k-active .k-link::after,
        .app-tabs .k-tabstrip-items .k-state-active .k-link::after,
        .app-tabs .k-tabstrip-items .k-selected .k-link::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            height: 3px;
            background: var(--app-primary);
        }

/* Content area */
.app-tabs .k-content,
.app-tabs .k-tabstrip-content {
    background: #fff;
    padding: 16px;
}

/* Optional: remove default focus outline if theme adds ugly ring */
.app-tabs .k-tabstrip-items .k-link:focus {
    outline: none;
    box-shadow: none;
}

.k-badge.k-badge-solid.k-badge-error {
    background-color: var(--kendo-color-error, #d32f2f) !important;
    border-color: var(--kendo-color-error, #d32f2f) !important;
    color: #fff !important;
}

.k-window.k-window-primary .k-window-titlebar {
    color: var(--kendo-color-on-app-surface, #424242) !important;
    background-color: var(--kendo-color-surface, #fafafa) !important;
}

.nav-user img {
    height: 36px;
    width: 36px;
}

.dashboard-page {
    background: #fbfbfb;
    padding: 0px !important;
}

.k-tilelayout {
    background-color: #fbfbfb;
}

.k-menu:not(.k-context-menu) > .k-item:focus, .k-menu:not(.k-context-menu) > .k-item.k-focus {
    box-shadow: inset 0 0 0 0 var(--kendo-color-border-alt, rgba(0, 0, 0, 0));
}

/* ==========================================
   PROGROX FLEET HOME
   Shared enterprise navigation design
   ========================================== */

.prgx-fleet-home {
    width: 100%;
    min-width: 0;
    padding-bottom: 22px;
}

    /* MAIN TWO-COLUMN WORKSPACE */

    .prgx-fleet-home .prgx-home-main {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 16px;
        align-items: start;
    }

    /* LEFT SECTION */

    .prgx-fleet-home .prgx-home-left {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-width: 0;
    }

    .prgx-fleet-home .prgx-home-primary {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 16px;
    }

    /* CARDS */

    .prgx-fleet-home .prgx-home-card {
        background: #fff;
        border: 1px solid #e3ebf4;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(20, 46, 85, .045);
        min-width: 0;
        overflow: hidden;
        height: 100%;
    }

    /* CARD HEADER */

    .prgx-fleet-home .prgx-home-card-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 13px 16px;
        border-bottom: 1px solid #edf1f6;
        background: #fff;
    }

    .prgx-fleet-home .prgx-home-heading {
        display: flex;
        align-items: center;
        gap: 11px;
        min-width: 0;
    }

    .prgx-fleet-home .prgx-home-icon {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 37px;
        height: 37px;
        border-radius: 9px;
        background: #eaf4ff;
        color: #1274ac;
        font-size: 15px;
    }

    .prgx-fleet-home .prgx-home-heading h3 {
        margin: 0;
        font-size: 15px;
        color: #172b4d;
        font-weight: 700;
    }

    .prgx-fleet-home .prgx-home-heading p {
        margin: 3px 0 0;
        font-size: 11px;
        color: #708198;
    }

    /* MENU COUNT */

    .prgx-fleet-home .prgx-home-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 28px;
        height: 25px;
        padding: 0 7px;
        font-size: 11px;
        font-weight: 600;
        color: #52718f;
        background: #f1f5fa;
        border: 1px solid #e4ebf3;
        border-radius: 7px;
        flex-shrink: 0;
    }

    /* CARD BODY */

    .prgx-fleet-home .prgx-home-card-body {
        padding: 12px;
    }

    /* TWO-COLUMN NAVIGATION */

    .prgx-fleet-home .prgx-home-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px 9px;
    }

    /* NAVIGATION LINKS */

    .prgx-fleet-home .prgx-home-link {
        display: flex;
        align-items: center;
        gap: 9px;
        min-width: 0;
        min-height: 33px;
        padding: 8px 10px;
        border: 1px solid transparent;
        border-radius: 7px;
        color: #39526e;
        text-decoration: none;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.4;
        transition: background-color .16s ease, color .16s ease, border-color .16s ease;
    }

        .prgx-fleet-home .prgx-home-link > i {
            flex-shrink: 0;
            font-size: 10px;
            color: #1274ac;
        }

        .prgx-fleet-home .prgx-home-link > span {
            min-width: 0;
            overflow-wrap: anywhere;
        }

        /* HOVER */

        .prgx-fleet-home .prgx-home-link:hover {
            background: #edf6ff;
            color: #1274ac;
            border-color: #dbeeff;
            text-decoration: none;
        }

            .prgx-fleet-home .prgx-home-link:hover > i {
                color: #08699e;
            }

        /* KEYBOARD ACCESSIBILITY */

        .prgx-fleet-home .prgx-home-link:focus-visible {
            outline: 2px solid #1274ac;
            outline-offset: 2px;
            background: #edf6ff;
        }

/* RESPONSIVE */

@media (max-width: 1200px) {

    .prgx-fleet-home .prgx-home-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .prgx-fleet-home .prgx-home-primary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {

    .prgx-fleet-home .prgx-home-main {
        grid-template-columns: 1fr;
    }

    .prgx-fleet-home .prgx-home-primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {

    .prgx-fleet-home .prgx-home-primary {
        grid-template-columns: 1fr;
    }

    .prgx-fleet-home .prgx-home-links {
        grid-template-columns: 1fr;
    }

    .prgx-fleet-home .prgx-home-card-head {
        padding: 12px;
    }

    .prgx-fleet-home .prgx-home-card-body {
        padding: 9px;
    }
}

.prgx-fleet-home .prgx-home-link {
    min-height: 30px;
    padding: 6px 10px;
}

    .prgx-fleet-home .prgx-home-link:hover {
        background: #eaf4ff;
        border-color: #cfe7fb;
        color: #1274ac;
    }

.prgx-fleet-home .prgx-home-card-head {
    background: #fbfdff;
}

/*
.list-group-item {
    border: none;
    padding: 8px 0;
    font-size: 14px;
}

    .list-group-item i {
        font-size: 13px;
        margin-right: 8px;
    }

    .list-group-item a {
        color: #4A4A4A;
    }

    .list-group-item:hover {
        background-color: #f3f4f6;
        padding-left: 12px;
        color: #2563eb;
    }
*/
.text-primary {
    color: var(--kendo-color-primary) !important;
}

.lookup-header-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    margin-bottom: 8px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.06);
}

.lh-left {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 320px;
}

.lh-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    background: #eef2ff;
    border: 1px solid #dbe3ff;
}

.lh-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 2px;
}

.lh-right {
    display: grid;
    gap: 6px;
    min-width: 360px;
}

.smallteamMate img {
    width: 37px;
    height: 37px;
    border-radius: 50%;
}

/* Tile content spacing */
.shortcuts-tile .k-card-body,
.shortcuts-tile .k-tilelayout-item-body {
    padding: 12px;
}

/* Responsive “launcher” layout */
.shortcuts-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(15, minmax(110px, 1fr)); /* desktop like your image row */
    align-items: start;
}

/* Each shortcut button looks like a tile */
.shortcut-btn {
    width: 100%;
    height: 86px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    padding: 0;
}

    .shortcut-btn:hover {
        box-shadow: 0 4px 10px rgba(0,0,0,.10);
    }

    .shortcut-btn .k-button-text,
    .shortcut-btn .k-button-text > * {
        width: 100%;
    }

/* Center icon + label like the screenshot */
.shortcut-inner {
    height: 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 10px 8px;
}

.shortcut-icon-wrap i {
    font-size: 28px;
    line-height: 1;
    opacity: .9;
}

.shortcut-label {
    font-size: 11px;
    line-height: 1.1;
    color: rgba(0,0,0,.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Responsiveness --- */
@media (min-width: 1652px) {
    .shortcuts-grid {
        grid-template-columns: repeat(10, minmax(110px, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 1651px) {
    .shortcuts-grid {
        grid-template-columns: repeat(6, minmax(110px, 1fr));
    }
}

@media (max-width: 767px) {
    .shortcuts-grid {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
    }

    .shortcut-btn, .shortcut-inner {
        height: 82px;
    }

    .shortcut-icon-wrap i {
        font-size: 26px;
    }
}

@media (max-width: 420px) {
    .shortcuts-grid {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }
}


.grid-status {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

    .grid-status::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        margin-right: 6px;
    }

    .grid-status.Available::before {
        background-color: #22c55e;
    }

    .grid-status.Cancelled::before {
        background-color: #ef4444;
    }

    .grid-status.InWork::before {
        background-color: #f59e0b;
    }

    .grid-status.StandBy::before {
        background-color: #3b82f6;
    }


.window-content-height {
    max-height: 80vh;
    overflow: auto;
    padding-right: 12px;
}

.upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .upload-box:hover {
        border-color: #3b82f6;
        background: #eff6ff;
    }

.upload-btn {
    border-radius: 999px !important;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.custom-tabstrip .k-tabstrip-items {
    border-bottom: 1px solid #ddd;
    background: #fff;
}

    .custom-tabstrip .k-tabstrip-items .k-item {
        border: none !important;
        background: transparent !important;
        margin: 0 8px 0 0;
    }

    .custom-tabstrip .k-tabstrip-items .k-link {
        color: #555;
        padding: 9px 13px;
        font-size: 15px;
        font-weight: 500;
        border: none !important;
        background: transparent !important;
    }

    .custom-tabstrip .k-tabstrip-items .k-active .k-link {
        color: #0a8f5a;
        font-weight: 600;
        border-bottom: 3px solid #0a8f5a !important;
    }

.custom-tabstrip .k-content {
    border: none !important;
    padding-top: 16px;
}



.Myk-popup {
    border-radius: 9999px;
}

#floating-action-button {
    z-index: 9999;
}

.imp-dark-color-textbox {
    background-color: #606060;
    color: #fff
}

.imp-light-color-textbox {
    background-color: #8d8d8d;
    color: #fff
}

.hierarchy-container {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: auto;
    box-sizing: border-box;
}

/* PROGROX Fleet Dashboard — add as FleetDashboard.razor.css */
.fleet-dashboard {
    --fleet-ink: #10254b;
    --fleet-muted: #6c7c94;
    --fleet-border: #e6edf5;
    background: #f3f7fb;
    padding: 16px 18px 30px;
    color: var(--fleet-ink);
    font-family: inherit;
    display: grid;
    gap: 12px;
    min-width: 0
}

.fleet-panel {
    background: #fff;
    border: 1px solid var(--fleet-border);
    border-radius: 12px;
    box-shadow: 0 3px 16px rgba(16,37,75,.035);
    min-width: 0;
    overflow: hidden
}

.fleet-hero {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap
}

.fleet-hero-title {
    display: flex;
    align-items: center;
    gap: 14px
}

.fleet-hero-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg,#1684ef,#092f78);
    color: white;
    font-size: 24px
}

.fleet-hero h1 {
    font-size: 21px;
    margin: 0;
    font-weight: 750
}

.fleet-hero p {
    font-size: 12px;
    color: var(--fleet-muted);
    margin: 4px 0 0
}

.fleet-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

    .fleet-actions ::deep .k-button {
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 6px;
        border: 1px solid #c8daf2;
        background: #fff;
        color: #0965b4
    }

        .fleet-actions ::deep .k-button i {
            margin-right: 6px
        }

    .fleet-actions ::deep .fleet-action-primary {
        background: #087acb;
        color: #fff;
        border-color: #087acb
    }

.fleet-kpis {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 10px
}

.fleet-kpi {
    padding: 15px 13px;
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 10px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    min-height: 108px
}

.fleet-kpi-icon {
    grid-row: span 3;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: white;
    font-size: 17px
}

.fleet-kpi strong {
    font-size: 23px;
    line-height: 1.2
}

.fleet-kpi > span:not(.fleet-kpi-icon) {
    font-size: 12px;
    color: #425574
}

.fleet-kpi small {
    font-size: 10px;
    color: var(--fleet-muted)
}

.fleet-kpi-icon.blue {
    background: #537fa8
}

.fleet-kpi-icon.green {
    background: #0cbd6a
}

.fleet-kpi-icon.sky {
    background: #338bf2
}

.fleet-kpi-icon.amber {
    background: #ffbd28
}

.fleet-kpi-icon.red {
    background: #f54d63
}

.fleet-kpi-icon.purple {
    background: #8c4de5
}

.fleet-three {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px
}

.fleet-two {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px
}

.fleet-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--fleet-border)
}

    .fleet-panel-head h2 {
        font-size: 14px;
        font-weight: 750;
        margin: 0
    }

    .fleet-panel-head a {
        font-size: 11px;
        text-decoration: none
    }

.fleet-subtle {
    font-size: 10px;
    color: var(--fleet-muted)
}

.fleet-panel-body {
    padding: 8px 10px 10px;
    min-width: 0
}

.fleet-compliance {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    align-content: start
}

.fleet-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    background: #f7faff;
    border: 1px solid #e6eef9;
    border-radius: 8px;
    color: #17345d;
    text-decoration: none;
    min-width: 0;
    font-size: 11px
}

    .fleet-alert span:nth-child(2) {
        overflow: hidden;
        text-overflow: ellipsis
    }

    .fleet-alert strong {
        margin-left: auto;
        color: #d93945;
        font-size: 15px
    }

    .fleet-alert > i {
        font-size: 9px;
        color: #9caac0
    }

.fleet-alert-symbol {
    color: #2478db
}

.fleet-operations {
    padding: 12px 16px
}

    .fleet-operations > div {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 4px;
        border-bottom: 1px solid #edf1f6
    }

        .fleet-operations > div:last-child {
            border: 0
        }

    .fleet-operations i {
        color: #1684ef;
        width: 20px
    }

    .fleet-operations strong {
        font-size: 15px;
        min-width: 35px
    }

    .fleet-operations span {
        font-size: 12px;
        color: #536781
    }

.fleet-issue-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    padding: 20px
}

    .fleet-issue-grid a {
        display: grid;
        text-align: center;
        gap: 6px;
        padding: 24px 8px;
        background: #f7f9fd;
        border: 1px solid #e9eef5;
        border-radius: 9px;
        text-decoration: none;
        color: #17345d
    }

    .fleet-issue-grid strong {
        font-size: 27px
    }

    .fleet-issue-grid span {
        font-size: 11px;
        color: #65758a
    }

    .fleet-issue-grid a:nth-child(2) strong {
        color: #dc3545
    }

    .fleet-issue-grid a:nth-child(3) strong {
        color: #16a34a
    }

.fleet-expiry .expiry-container {
    background: #fff;
    width: 100%
}

.fleet-expiry .expiry-toolbar {
    display: flex;
    justify-content: flex-end;
    padding: 12px 15px
}

.fleet-expiry .expiry-period-buttons {
    display: flex;
    gap: 6px
}

.fleet-expiry ::deep .expiry-period-btn.k-button {
    font-size: 11px;
    background: #fff;
    color: #17426f;
    border: 1px solid #d7e3f2;
    border-radius: 5px;
    padding: 8px 12px
}

.fleet-expiry ::deep .expiry-period-btn.active.k-button {
    border-color: #1684ef;
    background: #eef6ff;
    color: #0865b9
}

.fleet-expiry ::deep .expiry-tabstrip {
    border: 0
}

.fleet-expiry .expiry-grid-wrapper {
    padding: 8px 12px 15px;
    overflow: auto
}

.fleet-expiry ::deep .expiry-grid .k-grid-header {
    background: #f7f9fc
}

.fleet-expiry .expiry-days, .fleet-expiry .expiry-status {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 650
}

.fleet-expiry .expired, .fleet-expiry .critical {
    background: #fee8e8;
    color: #b42318
}

.fleet-expiry .warning {
    background: #fff1cd;
    color: #a75b00
}

.fleet-expiry .upcoming, .fleet-expiry .normal {
    background: #eaf3ff;
    color: #1262b3
}

.fleet-expiry .valid {
    background: #e5f9ed;
    color: #067647
}

.fleet-links {
    padding-bottom: 12px
}

.fleet-link-grid, .fleet-report-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 15px 0
}

::deep .fleet-shortcut.k-button {
    font-size: 11px;
    background: #fff;
    color: #20426c;
    border: 1px solid #dce6f1;
    border-radius: 7px;
    padding: 10px 12px
}

.fleet-shortcut i {
    margin-right: 7px;
    color: #1781dc
}

@media(max-width:1250px) {
    .fleet-kpis {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

    .fleet-three {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

        .fleet-three > .fleet-panel:last-child {
            grid-column: 1/-1
        }
}

@media(max-width:800px) {
    .fleet-dashboard {
        padding: 10px
    }

    .fleet-three, .fleet-two {
        grid-template-columns: 1fr
    }

        .fleet-three > .fleet-panel:last-child {
            grid-column: auto
        }

    .fleet-kpis {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .fleet-hero h1 {
        font-size: 18px
    }

    .fleet-hero {
        align-items: flex-start
    }

    .fleet-compliance {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:480px) {
    .fleet-kpis {
        grid-template-columns: 1fr 1fr
    }

    .fleet-kpi {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 5px
    }

    .fleet-kpi-icon {
        grid-row: auto;
        width: 34px;
        height: 34px
    }

    .fleet-compliance {
        grid-template-columns: 1fr
    }

    .fleet-issue-grid {
        grid-template-columns: 1fr
    }

    .fleet-expiry .expiry-toolbar {
        overflow-x: auto;
        justify-content: flex-start
    }

    .fleet-expiry .expiry-period-buttons {
        min-width: max-content
    }
}

/* Visual fidelity pass — 21 Oct 2026 */
.fleet-dashboard {
    background: #f1f5fa;
    padding: 16px 18px 24px;
    gap: 13px;
    color: #10244a
}

.fleet-panel {
    border: 1px solid #e5ecf5;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(18,42,76,.045)
}

.fleet-hero {
    padding: 14px 16px;
    min-height: 78px
}

    .fleet-hero h1 {
        font-size: 21px;
        font-weight: 800;
        letter-spacing: -.4px
    }

.fleet-hero-icon {
    width: 58px;
    height: 58px;
    font-size: 25px;
    box-shadow: 0 6px 13px rgba(4,87,190,.14)
}

.fleet-kpis {
    gap: 11px
}

.fleet-kpi {
    min-height: 108px;
    padding: 16px;
    grid-template-columns: 49px 1fr;
    column-gap: 12px;
    align-content: center
}

.fleet-kpi-icon {
    width: 46px;
    height: 46px;
    font-size: 19px;
    border-radius: 12px
}

.fleet-kpi strong {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.7px
}

.fleet-kpi > span:not(.fleet-kpi-icon) {
    font-size: 12px;
    color: #425477
}

.fleet-kpi small {
    font-size: 11px;
    margin-top: 4px
}

.fleet-panel-head {
    min-height: 48px;
    padding: 12px 16px
}

    .fleet-panel-head h2 {
        font-size: 14px;
        font-weight: 800;
        letter-spacing: -.15px
    }

.fleet-panel-body {
    padding: 14px 14px 12px
}

.fleet-availability-content {
    display: grid;
    grid-template-columns: minmax(160px,1fr) minmax(130px,.9fr);
    gap: 8px;
    align-items: center;
    padding: 14px 15px 12px;
    min-height: 275px
}

.fleet-donut-wrap {
    position: relative;
    min-width: 0
}

.fleet-donut-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    line-height: 1.2
}

    .fleet-donut-center strong {
        font-size: 29px;
        font-weight: 800
    }

    .fleet-donut-center span {
        font-size: 11px;
        color: #536987;
        margin-top: 5px
    }

.fleet-status-legend {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-width: 0
}

.fleet-status-row {
    display: grid;
    grid-template-columns: 10px minmax(0,1fr) 34px 34px;
    gap: 8px;
    align-items: center;
    font-size: 11px
}

.fleet-status-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.fleet-status-row strong {
    text-align: right;
    font-size: 12px
}

.fleet-status-row small {
    text-align: right;
    color: #7889a3
}

.fleet-status-dot {
    width: 9px;
    height: 9px;
    background: #1683ed;
    border-radius: 50%
}

.fleet-status-row:nth-child(2) .fleet-status-dot {
    background: #12b76a
}

.fleet-status-row:nth-child(3) .fleet-status-dot {
    background: #ffca39
}

.fleet-status-row:nth-child(4) .fleet-status-dot {
    background: #8e50dc
}

.fleet-status-row:nth-child(5) .fleet-status-dot {
    background: #fa5063
}

.fleet-status-row:nth-child(6) .fleet-status-dot {
    background: #95a8c1
}

.fleet-compliance {
    padding: 16px;
    gap: 12px;
    align-content: start
}

.fleet-alert {
    min-height: 85px;
    padding: 13px;
    display: grid;
    grid-template-columns: 32px minmax(0,1fr) 12px;
    grid-template-rows: auto auto;
    gap: 4px 9px;
    background: linear-gradient(110deg,#fff8f8,#fff1f2);
    border: 1px solid #ffeaec;
    border-left: 3px solid #ff4d5d;
    border-radius: 9px
}

    .fleet-alert .fleet-alert-symbol {
        grid-row: 1/3;
        display: grid;
        place-items: center;
        width: 32px;
        height: 38px;
        border-radius: 8px;
        background: #fff;
        color: #f34555;
        font-size: 16px
    }

    .fleet-alert strong {
        grid-column: 2;
        grid-row: 1;
        font-size: 23px;
        font-weight: 800;
        color: #d82e3d;
        margin: 0;
        line-height: 1
    }

    .fleet-alert span:nth-child(2) {
        grid-column: 2;
        grid-row: 2;
        font-size: 11px;
        color: #253c61
    }

    .fleet-alert > i {
        grid-column: 3;
        grid-row: 1/3;
        align-self: center;
        color: #d82e3d
    }

    .fleet-alert:nth-child(2) {
        background: linear-gradient(110deg,#f5f9ff,#eaf3ff);
        border-color: #e3efff;
        border-left-color: #2583f4
    }

        .fleet-alert:nth-child(2) strong, .fleet-alert:nth-child(2) .fleet-alert-symbol, .fleet-alert:nth-child(2) > i {
            color: #176ed1
        }

    .fleet-alert:nth-child(3) {
        background: linear-gradient(110deg,#fffaf2,#fff4e5);
        border-color: #fff1d9;
        border-left-color: #ffa31a
    }

        .fleet-alert:nth-child(3) strong, .fleet-alert:nth-child(3) .fleet-alert-symbol, .fleet-alert:nth-child(3) > i {
            color: #de8300
        }

    .fleet-alert:nth-child(4) {
        background: linear-gradient(110deg,#faf6ff,#f2ebff);
        border-color: #efe6ff;
        border-left-color: #8e53e9
    }

        .fleet-alert:nth-child(4) strong, .fleet-alert:nth-child(4) .fleet-alert-symbol, .fleet-alert:nth-child(4) > i {
            color: #7c3bd4
        }

.fleet-rank-list {
    padding: 15px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 315px;
    justify-content: center
}

.fleet-rank-row {
    display: grid;
    grid-template-columns: minmax(110px,1.15fr) minmax(70px,1.65fr) 72px;
    gap: 10px;
    align-items: center;
    min-width: 0;
    font-size: 11px
}

.fleet-rank-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #304669
}

.fleet-rank-track {
    height: 12px;
    background: #e8edf4;
    border-radius: 2px;
    overflow: hidden
}

.fleet-rank-fill {
    height: 100%;
    background: linear-gradient(90deg,#b0d2f5,#2386ec)
}

.fleet-rank-list.drivers .fleet-rank-fill {
    background: linear-gradient(90deg,#c4dcef,#63abe5)
}

.fleet-rank-row strong {
    font-size: 11px;
    font-weight: 600;
    color: #2b456d;
    text-align: right;
    font-variant-numeric: tabular-nums
}

.fleet-empty {
    text-align: center;
    font-size: 12px;
    color: #8291a8;
    padding: 30px 0
}

.fleet-operations {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    padding: 17px
}

    .fleet-operations > div {
        border: 1px solid #eaf0f7;
        border-radius: 9px;
        padding: 14px 12px;
        display: grid;
        grid-template-columns: 22px 1fr;
        gap: 5px 8px
    }

        .fleet-operations > div:last-child {
            border: 1px solid #eaf0f7
        }

    .fleet-operations i {
        grid-row: span 2
    }

    .fleet-operations strong {
        font-size: 21px
    }

    .fleet-operations span {
        grid-column: 2
    }

.fleet-issue-grid {
    padding: 17px
}

    .fleet-issue-grid a {
        padding: 25px 8px;
        min-height: 115px
    }

    .fleet-issue-grid strong {
        font-size: 29px
    }

.fleet-expiry .expiry-container {
    padding-bottom: 5px
}

.fleet-expiry .expiry-grid-wrapper {
    padding: 8px 14px 15px
}

@media(max-width:1350px) {
    .fleet-availability-content {
        grid-template-columns: 1fr
    }

    .fleet-status-legend {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 9px
    }

    .fleet-rank-row {
        grid-template-columns: minmax(90px,1fr) minmax(60px,1.2fr) 62px;
        gap: 5px
    }
}

@media(max-width:800px) {
    .fleet-availability-content {
        grid-template-columns: minmax(140px,1fr) minmax(130px,1fr)
    }

    .fleet-status-legend {
        display: flex
    }

    .fleet-rank-list {
        min-height: auto
    }

    .fleet-compliance {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
}

@media(max-width:520px) {
    .fleet-availability-content {
        grid-template-columns: 1fr
    }

    .fleet-status-legend {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .fleet-compliance {
        grid-template-columns: 1fr
    }

    .fleet-rank-row {
        grid-template-columns: minmax(90px,1fr) minmax(70px,1fr) 65px
    }
}


/* ===========================================================
   PROGROX FMS - Polished dashboard refinement (scoped)
   Append to current site.css; does not modify other pages.
   =========================================================== */
.fleet-dashboard {
    gap: 12px;
    background: #f3f7fb;
}

    .fleet-dashboard .fleet-panel {
        border: 1px solid #e5ecf4;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(21,46,82,.045);
    }

    .fleet-dashboard .fleet-hero {
        padding: 16px 18px;
    }

    .fleet-dashboard .fleet-panel-head {
        min-height: 45px;
        padding: 11px 15px;
    }

        .fleet-dashboard .fleet-panel-head h2 {
            font-size: 13px;
            letter-spacing: 0;
        }

    .fleet-dashboard .fleet-subtle {
        font-size: 10px;
    }

    .fleet-dashboard .fleet-kpi {
        position: relative;
        transition: transform .18s ease,box-shadow .18s ease;
    }

    .fleet-dashboard a.fleet-kpi:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(15,47,88,.08);
        text-decoration: none;
    }

    .fleet-dashboard .fleet-kpi strong {
        font-size: 25px;
    }

    .fleet-dashboard .fleet-kpi small {
        white-space: nowrap;
    }

    .fleet-dashboard .fleet-alert {
        min-height: 73px;
        padding: 10px 12px;
        transition: transform .15s ease,box-shadow .15s ease;
    }

        .fleet-dashboard .fleet-alert:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 12px rgba(21,46,82,.09);
        }

    .fleet-dashboard .fleet-availability-content {
        min-height: 250px;
    }

    .fleet-dashboard .fleet-rank-list.compact {
        min-height: 0;
        height: auto;
        padding: 20px 16px;
        justify-content: flex-start;
        gap: 13px;
    }

        .fleet-dashboard .fleet-rank-list.compact .fleet-rank-row {
            min-height: 23px;
        }

    .fleet-dashboard .fleet-rank-track {
        height: 12px;
        border-radius: 4px;
    }

    .fleet-dashboard .fleet-rank-fill {
        border-radius: 4px;
    }

    .fleet-dashboard .fleet-operations {
        padding: 14px;
    }

        .fleet-dashboard .fleet-operations > div {
            padding: 12px;
            min-height: 63px;
        }

    .fleet-dashboard .fleet-issue-content {
        display: grid;
        grid-template-columns: 155px minmax(0,1fr);
        gap: 18px;
        align-items: center;
        padding: 17px 15px 8px;
    }

    .fleet-dashboard .fleet-issue-donut {
        width: 148px;
        height: 148px;
        border-radius: 50%;
        display: grid;
        place-items: center;
    }

    .fleet-dashboard .fleet-issue-donut-core {
        width: 90px;
        height: 90px;
        background: #fff;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

        .fleet-dashboard .fleet-issue-donut-core strong {
            font-size: 26px;
            line-height: 1.15;
            color: #11284d;
        }

        .fleet-dashboard .fleet-issue-donut-core span {
            font-size: 11px;
            color: #677a94;
        }

    .fleet-dashboard .fleet-issue-grid {
        padding: 0;
        gap: 9px;
    }

        .fleet-dashboard .fleet-issue-grid a {
            padding: 12px 6px;
            min-height: 108px;
            position: relative;
            align-items: center;
            gap: 4px;
        }

        .fleet-dashboard .fleet-issue-grid strong {
            font-size: 23px;
        }

    .fleet-dashboard .fleet-issue-dot {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        display: block;
    }

    .fleet-dashboard .dot-open {
        background: #16b879;
    }

    .fleet-dashboard .dot-overdue {
        background: #f04452;
    }

    .fleet-dashboard .dot-resolved {
        background: #94a3b8;
    }

    .fleet-dashboard .fleet-issue-grid a:nth-child(1) strong {
        color: #159b69;
    }

    .fleet-dashboard .fleet-issue-grid a:nth-child(2) strong {
        color: #e33447;
    }

    .fleet-dashboard .fleet-issue-grid a:nth-child(3) strong {
        color: #536981;
    }

    .fleet-dashboard .fleet-issue-note {
        margin: 0 15px 12px;
        font-size: 10px;
        color: #7788a0;
    }

    .fleet-dashboard .fleet-expiry .expiry-toolbar {
        padding: 8px 15px;
    }

    .fleet-dashboard .expiry-tabstrip .k-tabstrip-items-wrapper {
        border-bottom: 1px solid #e6edf5;
    }

    .fleet-dashboard .expiry-tabstrip .k-tabstrip-item.k-active {
        border-bottom: 2px solid #1379d8;
    }

    .fleet-dashboard .expiry-grid .k-grid-header {
        background: #f8fafc;
    }

    .fleet-dashboard .expiry-grid .k-table-th {
        font-size: 11px;
        font-weight: 650;
        color: #344966;
    }

    .fleet-dashboard .expiry-grid .k-table-td {
        font-size: 11px;
        color: #405574;
    }

    .fleet-dashboard .fleet-expiry-empty {
        min-height: 116px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 13px;
        text-align: center;
        color: #788ca7;
        background: white;
    }

        .fleet-dashboard .fleet-expiry-empty i {
            font-size: 28px;
            color: #b5c4d6;
        }

        .fleet-dashboard .fleet-expiry-empty strong {
            color: #536783;
            font-size: 12px;
        }

        .fleet-dashboard .fleet-expiry-empty span {
            font-size: 11px;
        }

    .fleet-dashboard .fleet-expiry .expiry-grid-wrapper {
        padding: 7px 14px 12px;
    }

    .fleet-dashboard .fleet-links {
        padding-bottom: 12px;
    }

    .fleet-dashboard .fleet-link-grid, .fleet-dashboard .fleet-report-links {
        gap: 6px;
        padding-top: 8px;
    }

    .fleet-dashboard .fleet-shortcut.k-button {
        min-height: 30px;
        padding: 6px 10px;
    }

@media(max-width:1400px) {
    .fleet-dashboard .fleet-issue-content {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }

    .fleet-dashboard .fleet-issue-grid {
        width: 100%;
    }
}

@media(max-width:800px) {
    .fleet-dashboard .fleet-issue-content {
        grid-template-columns: 145px minmax(0,1fr);
    }
}

@media(max-width:570px) {
    .fleet-dashboard .fleet-issue-content {
        grid-template-columns: 1fr;
    }

    .fleet-dashboard .fleet-issue-grid a {
        min-height: 85px;
    }

    .fleet-dashboard .fleet-status-legend {
        grid-template-columns: 1fr 1fr;
    }
}



/* ===========================================================
   PROGROX FMS - Polished dashboard refinement (scoped)
   Append to current site.css; does not modify other pages.
   =========================================================== */
.fleet-dashboard {
    gap: 12px;
    background: #f3f7fb;
}

    .fleet-dashboard .fleet-panel {
        border: 1px solid #e5ecf4;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(21,46,82,.045);
    }

    .fleet-dashboard .fleet-hero {
        padding: 16px 18px;
    }

    .fleet-dashboard .fleet-panel-head {
        min-height: 45px;
        padding: 11px 15px;
    }

        .fleet-dashboard .fleet-panel-head h2 {
            font-size: 13px;
            letter-spacing: 0;
        }

    .fleet-dashboard .fleet-subtle {
        font-size: 10px;
    }

    .fleet-dashboard .fleet-kpi {
        position: relative;
        transition: transform .18s ease,box-shadow .18s ease;
    }

    .fleet-dashboard a.fleet-kpi:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(15,47,88,.08);
        text-decoration: none;
    }

    .fleet-dashboard .fleet-kpi strong {
        font-size: 25px;
    }

    .fleet-dashboard .fleet-kpi small {
        white-space: nowrap;
    }

    .fleet-dashboard .fleet-alert {
        min-height: 73px;
        padding: 10px 12px;
        transition: transform .15s ease,box-shadow .15s ease;
    }

        .fleet-dashboard .fleet-alert:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 12px rgba(21,46,82,.09);
        }

    .fleet-dashboard .fleet-availability-content {
        min-height: 250px;
    }

    .fleet-dashboard .fleet-rank-list.compact {
        min-height: 0;
        height: auto;
        padding: 20px 16px;
        justify-content: flex-start;
        gap: 13px;
    }

        .fleet-dashboard .fleet-rank-list.compact .fleet-rank-row {
            min-height: 23px;
        }

    .fleet-dashboard .fleet-rank-track {
        height: 12px;
        border-radius: 4px;
    }

    .fleet-dashboard .fleet-rank-fill {
        border-radius: 4px;
    }

    .fleet-dashboard .fleet-operations {
        padding: 14px;
    }

        .fleet-dashboard .fleet-operations > div {
            padding: 12px;
            min-height: 63px;
        }

    .fleet-dashboard .fleet-issue-content {
        display: grid;
        grid-template-columns: 155px minmax(0,1fr);
        gap: 18px;
        align-items: center;
        padding: 17px 15px 8px;
    }

    .fleet-dashboard .fleet-issue-donut {
        width: 148px;
        height: 148px;
        border-radius: 50%;
        display: grid;
        place-items: center;
    }

    .fleet-dashboard .fleet-issue-donut-core {
        width: 90px;
        height: 90px;
        background: #fff;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

        .fleet-dashboard .fleet-issue-donut-core strong {
            font-size: 26px;
            line-height: 1.15;
            color: #11284d;
        }

        .fleet-dashboard .fleet-issue-donut-core span {
            font-size: 11px;
            color: #677a94;
        }

    .fleet-dashboard .fleet-issue-grid {
        padding: 0;
        gap: 9px;
    }

        .fleet-dashboard .fleet-issue-grid a {
            padding: 12px 6px;
            min-height: 108px;
            position: relative;
            align-items: center;
            gap: 4px;
        }

        .fleet-dashboard .fleet-issue-grid strong {
            font-size: 23px;
        }

    .fleet-dashboard .fleet-issue-dot {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        display: block;
    }

    .fleet-dashboard .dot-open {
        background: #16b879;
    }

    .fleet-dashboard .dot-overdue {
        background: #f04452;
    }

    .fleet-dashboard .dot-resolved {
        background: #94a3b8;
    }

    .fleet-dashboard .fleet-issue-grid a:nth-child(1) strong {
        color: #159b69;
    }

    .fleet-dashboard .fleet-issue-grid a:nth-child(2) strong {
        color: #e33447;
    }

    .fleet-dashboard .fleet-issue-grid a:nth-child(3) strong {
        color: #536981;
    }

    .fleet-dashboard .fleet-issue-note {
        margin: 0 15px 12px;
        font-size: 10px;
        color: #7788a0;
    }

    .fleet-dashboard .fleet-expiry .expiry-toolbar {
        padding: 8px 15px;
    }

    .fleet-dashboard .expiry-tabstrip .k-tabstrip-items-wrapper {
        border-bottom: 1px solid #e6edf5;
    }

    .fleet-dashboard .expiry-tabstrip .k-tabstrip-item.k-active {
        border-bottom: 2px solid #1379d8;
    }

    .fleet-dashboard .expiry-grid .k-grid-header {
        background: #f8fafc;
    }

    .fleet-dashboard .expiry-grid .k-table-th {
        font-size: 11px;
        font-weight: 650;
        color: #344966;
    }

    .fleet-dashboard .expiry-grid .k-table-td {
        font-size: 11px;
        color: #405574;
    }

    .fleet-dashboard .fleet-expiry-empty {
        min-height: 116px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 13px;
        text-align: center;
        color: #788ca7;
        background: white;
    }

        .fleet-dashboard .fleet-expiry-empty i {
            font-size: 28px;
            color: #b5c4d6;
        }

        .fleet-dashboard .fleet-expiry-empty strong {
            color: #536783;
            font-size: 12px;
        }

        .fleet-dashboard .fleet-expiry-empty span {
            font-size: 11px;
        }

    .fleet-dashboard .fleet-expiry .expiry-grid-wrapper {
        padding: 7px 14px 12px;
    }

    .fleet-dashboard .fleet-links {
        padding-bottom: 12px;
    }

    .fleet-dashboard .fleet-link-grid, .fleet-dashboard .fleet-report-links {
        gap: 6px;
        padding-top: 8px;
    }

    .fleet-dashboard .fleet-shortcut.k-button {
        min-height: 30px;
        padding: 6px 10px;
    }

@media(max-width:1400px) {
    .fleet-dashboard .fleet-issue-content {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }

    .fleet-dashboard .fleet-issue-grid {
        width: 100%;
    }
}

@media(max-width:800px) {
    .fleet-dashboard .fleet-issue-content {
        grid-template-columns: 145px minmax(0,1fr);
    }
}

@media(max-width:570px) {
    .fleet-dashboard .fleet-issue-content {
        grid-template-columns: 1fr;
    }

    .fleet-dashboard .fleet-issue-grid a {
        min-height: 85px;
    }

    .fleet-dashboard .fleet-status-legend {
        grid-template-columns: 1fr 1fr;
    }
}



/* ==========================================
   PROGROX - GLOBAL KPI DESIGN SYSTEM
   Reusable across all ERP modules
   ========================================== */

.prgx-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.prgx-kpi-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    min-height: 86px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5ecf5;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(18, 42, 76, 0.045);
    color: #10244a;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

    .prgx-kpi-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(18, 42, 76, .09);
    }

.prgx-kpi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 20px;
}

.prgx-kpi-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.prgx-kpi-label {
    font-size: 12px;
    font-weight: 500;
    color: #667085;
}

.prgx-kpi-value {
    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
    color: #10244a;
    font-variant-numeric: tabular-nums;
}

.prgx-kpi-subtitle {
    font-size: 10px;
    color: #8492a6;
}

/* Global color variants */

.prgx-kpi-blue {
    background: #e8f2ff;
    color: #1677e8;
}

.prgx-kpi-green {
    background: #e6f9ef;
    color: #12a65a;
}

.prgx-kpi-orange {
    background: #fff3dd;
    color: #ed9700;
}

.prgx-kpi-red {
    background: #ffe9ec;
    color: #e63950;
}

.prgx-kpi-purple {
    background: #f2eaff;
    color: #8746d9;
}

.prgx-kpi-cyan {
    background: #e4f8fb;
    color: #0891b2;
}

/* Responsive */

@media (max-width: 1200px) {
    .prgx-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .prgx-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .prgx-kpi-grid {
        grid-template-columns: 1fr;
    }
}

.prgx-list-page {
    background: #f3f7fb;
    padding: 18px 18px 22px;
    min-width: 0;
}

/* ============================================================
   PROGROX ERP - GLOBAL PAGE HEADER
   Supports:
   1. Legacy PageHeader
   2. Modern PageHeader
   3. Optional Icon, Subtitle, Add Button
   4. Favourites + Breadcrumbs
   5. Desktop / Tablet / Mobile
   ============================================================ */

:root {
    --prgx-header-primary: #1274AC;
    --prgx-header-primary-hover: #0c6095;
    --prgx-header-text: #162a4b;
    --prgx-header-muted: #667892;
    --prgx-header-border: #e3ebf4;
    --prgx-header-bg: #ffffff;
    --prgx-header-icon-bg: #eaf4ff;
    --prgx-header-radius: 12px;
    --prgx-header-shadow: 0 4px 16px rgba(20, 46, 85, 0.045);
}

/* ============================================================
   1. MODERN HEADER MAIN CONTAINER
   ============================================================ */

.prgx-list-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    gap: 16px;
    padding: 19px 20px;
    margin-bottom: 14px;
    background: var(--prgx-header-bg);
    border: 1px solid var(--prgx-header-border);
    border-radius: var(--prgx-header-radius);
    box-shadow: var(--prgx-header-shadow);
}

/* ============================================================
   2. LEFT SIDE - PAGE IDENTITY
   ============================================================ */

.prgx-list-identity {
    display: flex;
    align-items: center;
    flex: 1 1 280px;
    min-width: 0;
    gap: 15px;
}

/* Optional icon */

.prgx-list-hero-icon {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--prgx-header-icon-bg);
    color: var(--prgx-header-primary);
    font-size: 23px;
}

    .prgx-list-hero-icon i {
        font-size: inherit;
        line-height: 1;
        color: inherit;
    }

/* Title container */

.prgx-list-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    overflow-wrap: anywhere;
}

    /* Page title */

    .prgx-list-title h1 {
        margin: 0;
        padding: 0;
        font-size: 23px;
        font-weight: 750;
        line-height: 1.3;
        letter-spacing: -0.45px;
        color: var(--prgx-header-text);
    }

    /* Optional subtitle */

    .prgx-list-title p {
        margin: 4px 0 0;
        padding: 0;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
        color: var(--prgx-header-muted);
    }

/* ============================================================
   3. RIGHT SIDE - NAVIGATION AND ADD BUTTON
   ============================================================ */

.prgx-list-hero-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex: 0 1 auto;
    min-width: 0;
    gap: 16px;
    margin-left: auto;
}

/* Compatibility with earlier modern header markup */

.prgx-list-navigation,
.prgx-header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
}

    /* ============================================================
   4. FAVOURITES BUTTON
   ============================================================ */

    .prgx-header-nav .k-button,
    .prgx-list-navigation .k-button {
        flex-shrink: 0;
        min-width: 30px;
        min-height: 30px;
        border-radius: 6px;
        box-shadow: none;
    }

    .prgx-header-nav .mdi,
    .prgx-list-navigation .mdi {
        font-size: 17px;
        color: var(--prgx-header-primary);
    }

    .prgx-header-nav .k-button:hover,
    .prgx-list-navigation .k-button:hover {
        background: #eaf4ff;
    }

    /* ============================================================
   5. BREADCRUMBS
   ============================================================ */

    .prgx-header-nav .breadcrumb,
    .prgx-list-navigation .breadcrumb {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
        gap: 0;
        background: transparent;
        border: none;
        font-size: 12px;
        line-height: 1.5;
    }

    /* Breadcrumb items */

    .prgx-header-nav .breadcrumb-item,
    .prgx-list-navigation .breadcrumb-item {
        color: #526581;
        font-size: 12px;
        white-space: nowrap;
    }

        /* Current breadcrumb */

        .prgx-header-nav .breadcrumb-item.active,
        .prgx-list-navigation .breadcrumb-item.active {
            color: #8491a5;
        }

        /* Breadcrumb separator */

        .prgx-header-nav .breadcrumb-item + .breadcrumb-item::before,
        .prgx-list-navigation .breadcrumb-item + .breadcrumb-item::before {
            color: #8393a8;
        }

/* ============================================================
   6. MODERN ADD BUTTON
   ============================================================ */

.prgx-list-primary.k-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 39px;
    padding: 8px 17px;
    background: var(--prgx-header-primary) !important;
    color: #ffffff !important;
    border: 1px solid var(--prgx-header-primary) !important;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(18, 116, 172, 0.14);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

    .prgx-list-primary.k-button:hover {
        background: var(--prgx-header-primary-hover) !important;
        border-color: var(--prgx-header-primary-hover) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 10px rgba(18, 116, 172, 0.2);
    }

    .prgx-list-primary.k-button:focus-visible {
        outline: 2px solid var(--prgx-header-primary);
        outline-offset: 3px;
    }

/* Telerik button icons */

.prgx-list-primary .k-icon,
.prgx-list-primary .k-svg-icon,
.prgx-list-primary .k-button-icon {
    color: #ffffff !important;
}

/* ============================================================
   7. LEGACY ERP PAGE HEADER
   Existing:
   <div class="page-title-box ...">
       <h4>...</h4>
       <PageHeader ... />
   </div>
   ============================================================ */

/* Legacy header retains its original layout */

.page-title-box {
    min-width: 0;
}

    /* Existing right-side header component */

    .page-title-box > .page-title-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        min-width: 0;
        max-width: 100%;
        margin-left: auto;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        margin-bottom: 0;
    }

    /* Legacy navigation must not create a white card */

    .page-title-box .prgx-header-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Keep existing legacy title appearance */

    .page-title-box h4 {
        flex-shrink: 0;
    }

/* ============================================================
   8. TABLET / MEDIUM SCREENS
   ============================================================ */

@media (max-width: 1100px) {

    .prgx-list-hero {
        gap: 14px;
        padding: 16px;
    }

    .prgx-list-identity {
        flex: 1 1 240px;
    }

    .prgx-list-hero-right {
        gap: 12px;
    }

    .prgx-list-hero-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 21px;
    }

    .prgx-list-title h1 {
        font-size: 21px;
    }
}

/* ============================================================
   9. MOBILE SCREENS
   ============================================================ */

@media (max-width: 768px) {

    /* Modern header */

    .prgx-list-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 14px;
    }

    .prgx-list-identity {
        flex: 0 1 auto;
        width: 100%;
        gap: 12px;
    }

    .prgx-list-hero-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 19px;
        border-radius: 10px;
    }

    .prgx-list-title h1 {
        font-size: 19px;
    }

    .prgx-list-title p {
        font-size: 11px;
    }

    .prgx-list-hero-right {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        margin-left: 0;
        gap: 12px;
    }

    .prgx-header-nav,
    .prgx-list-navigation {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .prgx-list-primary.k-button {
        min-height: 36px;
        padding: 7px 14px;
    }

    /* Legacy header */

    .page-title-box {
        flex-wrap: wrap;
        gap: 10px;
    }

        .page-title-box > .page-title-right {
            margin-left: 0 !important;
            max-width: 100%;
            justify-content: flex-start;
        }

        .page-title-box .prgx-header-nav {
            justify-content: flex-start;
        }

        .page-title-box h4 {
            flex-shrink: 1;
        }
}

/* ============================================================
   10. EXTRA SMALL MOBILE SCREENS
   ============================================================ */

@media (max-width: 480px) {

    .prgx-list-hero {
        padding: 12px;
        border-radius: 10px;
    }

    .prgx-list-title h1 {
        font-size: 18px;
    }

    .prgx-list-title p {
        font-size: 11px;
    }

    .prgx-list-hero-right {
        gap: 10px;
    }

    .prgx-header-nav,
    .prgx-list-navigation {
        gap: 8px;
    }

        .prgx-header-nav .breadcrumb,
        .prgx-list-navigation .breadcrumb {
            font-size: 11px;
        }

        .prgx-header-nav .breadcrumb-item,
        .prgx-list-navigation .breadcrumb-item {
            font-size: 11px;
        }
}


/* PROGROX MODERN PAGE HEADER - FINAL OVERRIDES */

header.prgx-list-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 19px 20px;
    margin-bottom: 14px;
    background-color: #ffffff;
    border: 1px solid #e3ebf4;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(20, 46, 85, .045);
}

    header.prgx-list-hero .prgx-list-identity {
        display: flex;
        align-items: center;
        flex: 1 1 280px;
        gap: 15px;
        min-width: 0;
    }

    header.prgx-list-hero .prgx-list-hero-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 54px;
        height: 54px;
        flex: 0 0 54px;
        border-radius: 12px;
        background-color: #eaf4ff;
        color: #1274ac;
        font-size: 23px;
    }

    header.prgx-list-hero .prgx-list-title h1 {
        margin: 0;
        color: #162a4b;
        font-size: 23px;
        font-weight: 750;
        line-height: 1.3;
    }

    header.prgx-list-hero .prgx-list-title p {
        margin: 4px 0 0;
        color: #667892;
        font-size: 12px;
    }

    header.prgx-list-hero .prgx-list-hero-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 16px;
        margin-left: auto;
    }

    /* Telerik Add button */
    header.prgx-list-hero .prgx-list-primary.k-button {
        background-color: #1274ac !important;
        border-color: #1274ac !important;
        color: #ffffff !important;
        opacity: 1;
        min-height: 39px;
        padding: 8px 17px;
        border-radius: 7px;
        font-weight: 650;
    }

        header.prgx-list-hero .prgx-list-primary.k-button:hover {
            background-color: #0c6095 !important;
            border-color: #0c6095 !important;
        }

    header.prgx-list-hero .prgx-list-primary .k-icon,
    header.prgx-list-hero .prgx-list-primary .k-svg-icon {
        color: #ffffff !important;
    }

@media (max-width: 768px) {
    header.prgx-list-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }

        header.prgx-list-hero .prgx-list-identity {
            flex: 0 1 auto;
            width: 100%;
        }

        header.prgx-list-hero .prgx-list-hero-right {
            width: 100%;
            margin-left: 0;
            justify-content: flex-start;
        }
}

/* Progrox Fleet List Report - page layout only. Does not restyle the Telerik Grid. */
.prgx-fleet-report {
    width: 100%;
    min-width: 0;
    padding-bottom: 18px;
}

    .prgx-fleet-report .prgx-report-panel {
        background: #fff;
        border: 1px solid #e3ebf4;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(20,46,85,.045);
        margin-bottom: 15px;
        min-width: 0;
        overflow: hidden;
    }

    .prgx-fleet-report .prgx-report-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 17px;
        border-bottom: 1px solid #edf1f6;
    }

    .prgx-fleet-report .prgx-report-panel-heading {
        display: flex;
        gap: 11px;
        align-items: center;
    }

        .prgx-fleet-report .prgx-report-panel-heading > i {
            display: grid;
            place-items: center;
            width: 35px;
            height: 35px;
            border-radius: 9px;
            background: #eaf4ff;
            color: #1274ac;
            font-size: 15px;
        }

        .prgx-fleet-report .prgx-report-panel-heading h2 {
            margin: 0;
            font-size: 15px;
            color: #172b4d;
            font-weight: 700;
        }

        .prgx-fleet-report .prgx-report-panel-heading p {
            margin: 2px 0 0;
            font-size: 11px;
            color: #708198;
        }

    .prgx-fleet-report .prgx-report-filter-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0,1fr));
        gap: 15px 19px;
        padding: 17px;
    }

    .prgx-fleet-report .prgx-report-field {
        min-width: 0;
    }

    .prgx-fleet-report .prgx-report-label {
        display: block;
        margin-bottom: 6px;
        font-size: 12px;
        font-weight: 600;
        color: #39526e;
    }

    .prgx-fleet-report .prgx-report-input {
        min-width: 0;
        width: 100%;
    }

        .prgx-fleet-report .prgx-report-input > .k-combobox, .prgx-fleet-report .prgx-report-input > .k-multicolumncombobox {
            width: 100% !important;
            min-width: 0;
        }

    .prgx-fleet-report .prgx-report-project {
        display: flex;
        gap: 7px;
        align-items: center;
    }

        .prgx-fleet-report .prgx-report-project > .k-multicolumncombobox {
            flex: 1 1 auto;
            min-width: 0;
            width: 1% !important;
        }

    .prgx-fleet-report .prgx-report-lookup {
        flex: 0 0 auto;
    }

    .prgx-fleet-report .prgx-report-actions {
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 9px;
        padding: 12px 17px;
        border-top: 1px solid #edf1f6;
    }

    .prgx-fleet-report .prgx-report-generate.k-button {
        background: #1274ac !important;
        border-color: #1274ac !important;
        color: #fff !important;
        font-weight: 600;
    }

    .prgx-fleet-report .prgx-report-back.k-button {
        background: #fff;
        border: 1px solid #d9e2ec;
        color: #1e4d72;
    }

    /* PROGROX - SHARED REPORT VIEWER */

    .prgx-fleet-report .prgx-report-viewer-body {
        width: 100%;
        min-width: 0;
        padding: 10px;
        box-sizing: border-box;
        overflow: hidden;
        background: #f3f6fa;
    }

    .prgx-fleet-report #rv1 {
        position: relative;
        display: block;
        width: 100% !important;
        max-width: 100%;
        height: 75vh;
        min-height: 600px;
    }

@media (max-width: 768px) {
    .prgx-fleet-report #rv1 {
        height: 65vh;
        min-height: 450px;
    }
}


@media (max-width: 950px) {
    .prgx-fleet-report .prgx-report-filter-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 600px) {
    .prgx-fleet-report .prgx-report-filter-grid {
        grid-template-columns: 1fr;
        padding: 13px;
    }

    .prgx-fleet-report .prgx-report-actions {
        padding: 12px 13px;
    }

    .prgx-fleet-report .prgx-report-viewer-body {
        padding: 5px;
    }

    .prgx-fleet-report #rv1 {
        height: 65vh;
        min-height: 440px;
    }
}


/* Shared report lookup layout */
.prgx-fleet-report .prgx-report-project {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 7px;
}

    .prgx-fleet-report .prgx-report-project
    .k-multicolumncombobox {
        flex: 1 1 0;
        width: 100% !important;
        min-width: 0;
    }

.prgx-fleet-report .prgx-report-lookup {
    flex: 0 0 auto;
}
.prgx-report-generate:hover .k-icon, .prgx-report-generate:focus .k-icon, .prgx-report-generate:active .k-icon {
    color: #fff !important;
}


/* =============================================
   PROGROX HORIZONTAL TELERIK MENU
   ============================================= */

.prgx-menu-host {
    width: 100%;
    background: #fff;
}

    .prgx-menu-host .prgx-main-menu {
        background: #fff;
        border: 0;
        border-bottom: 1px solid #e2eaf3;
        padding: 5px 18px;
    }

    /* ROOT NAVIGATION */

    .prgx-menu-host .prgx-root-content {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        white-space: nowrap;
        font-size: 13px;
        font-weight: 600;
        color: #344e6b;
        padding: 7px 11px;
    }

        .prgx-menu-host .prgx-root-content i {
            font-size: 14px;
            color: #1274ac;
        }

    .prgx-menu-host .k-menu-item:hover > .k-menu-link {
        background: #eaf4ff;
        border-radius: 8px;
    }

    .prgx-menu-host .prgx-root-active {
        color: #1274ac;
    }

/* NATIVE TELERIK DROPDOWN */

/* Telerik dropdowns may be rendered outside the
   original menu host, so these selectors target
   only popups containing our custom child labels. */

.k-menu-popup:has(.prgx-submenu-label) {
    border: 1px solid #dce7f3;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(20,46,85,.14);
    background: #fff;
    max-width: calc(100vw - 32px);
}

    /* Cards, Transactions, Reports: three columns */

    .k-menu-popup:has(.prgx-submenu-label)
    .k-menu-group {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0,1fr));
        gap: 3px 10px;
        width: min(780px, calc(100vw - 42px));
        max-height: 460px;
        overflow-y: auto;
        padding: 14px !important;
        box-sizing: border-box;
    }

/* Setup: four columns */

.k-menu-popup:has(.prgx-menu-child-setup)
.k-menu-group {
    grid-template-columns: repeat(4, minmax(0,1fr));
    width: min(1080px, calc(100vw - 42px));
}

/* INDIVIDUAL MENU ITEMS */

.k-menu-popup:has(.prgx-submenu-label)
.k-menu-group > .k-item {
    min-width: 0;
    width: auto !important;
    margin: 0;
    border: 0;
}

    .k-menu-popup:has(.prgx-submenu-label)
    .k-menu-group > .k-item > .k-menu-link {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 36px;
        padding: 7px 10px;
        border-radius: 7px;
        background: transparent;
        box-sizing: border-box;
    }

.prgx-submenu-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
    font-size: 12px;
    color: #39526e;
    white-space: normal;
}

    .prgx-submenu-label i {
        color: #8ba4bd;
        font-size: 10px;
        flex-shrink: 0;
    }

.k-menu-popup:has(.prgx-submenu-label)
.k-menu-group > .k-item:hover > .k-menu-link {
    background: #eaf4ff;
}

.k-menu-popup:has(.prgx-submenu-label)
.k-item:hover .prgx-submenu-label {
    color: #1274ac;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .k-menu-popup:has(.prgx-submenu-label)
    .k-menu-group {
        grid-template-columns: repeat(2, minmax(0,1fr));
        width: min(680px, calc(100vw - 42px));
    }
}

@media (max-width: 600px) {
    .k-menu-popup:has(.prgx-submenu-label)
    .k-menu-group {
        grid-template-columns: 1fr;
        width: min(350px, calc(100vw - 28px));
    }
}


/* =====================================================
   PROGROX ERP - GLOBAL EDIT PAGE DESIGN SYSTEM
   Use for all master, card and transaction edit pages
   ===================================================== */

.prgx-edit-page {
    width: 100%;
    min-width: 0;
    padding-bottom: 20px;
}

    /* =========================
   ACTION TOOLBAR
   ========================= */

    .prgx-edit-page .prgx-edit-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        padding: 9px 12px;
        border: 1px solid #e3ebf4;
        border-radius: 10px;
        background: #fff;
        margin-bottom: 14px;
    }

        .prgx-edit-page .prgx-edit-toolbar .k-toolbar {
            width: 100%;
            border: 0;
            padding: 0;
            background: transparent;
        }

    /* Global button appearance */

    .prgx-edit-page .prgx-btn-save.k-button,
    .prgx-edit-page .prgx-btn-save.k-toolbar-button {
        background: #1274ac;
        border-color: #1274ac;
        color: #fff;
        font-weight: 600;
    }

        .prgx-edit-page .prgx-btn-save.k-button:hover,
        .prgx-edit-page .prgx-btn-save.k-toolbar-button:hover {
            background: #0e6091;
            border-color: #0e6091;
            color: #fff;
        }

    .prgx-edit-page .prgx-btn-secondary.k-button {
        background: #fff;
        border-color: #d9e2ec;
        color: #27496b;
    }

        .prgx-edit-page .prgx-btn-secondary.k-button:hover {
            background: #edf6ff;
            border-color: #c5dff1;
            color: #1274ac;
        }

    .prgx-edit-page .prgx-btn-post.k-button {
        background: #e9f7ef;
        border-color: #bee8cd;
        color: #167648;
        font-weight: 600;
    }

    /* =========================
   MAIN CARD
   ========================= */

    .prgx-edit-page .prgx-edit-card {
        background: #fff;
        border: 1px solid #e3ebf4;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(20,46,85,.045);
        min-width: 0;
        margin-bottom: 15px;
        overflow: hidden;
    }

    /* =========================
   TELERIK TABSTRIP
   ========================= */

    .prgx-edit-page .k-tabstrip {
        border: 0;
        background: #fff;
    }

    .prgx-edit-page .k-tabstrip-items-wrapper {
        border-bottom: 1px solid #e3ebf4;
        background: #fbfdff;
    }

    .prgx-edit-page .k-tabstrip-item {
        color: #60758c;
        font-weight: 500;
        font-size: 13px;
    }

        .prgx-edit-page .k-tabstrip-item.k-active {
            color: #1274ac;
            font-weight: 700;
            border-bottom: 2px solid #1274ac;
        }

    .prgx-edit-page .k-tabstrip-content {
        padding: 15px !important;
        overflow: visible;
    }

    /* =========================
   SECTION PANELS
   ========================= */

    .prgx-edit-page .prgx-edit-section {
        border: 1px solid #e3ebf4;
        border-radius: 10px;
        background: #fff;
        min-width: 0;
        overflow: hidden;
    }

    .prgx-edit-page .prgx-edit-section-spaced {
        margin-top: 14px;
    }

    .prgx-edit-page .prgx-edit-section-heading {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 11px 14px;
        color: #172b4d;
        font-size: 13px;
        font-weight: 700;
        border-bottom: 1px solid #e3ebf4;
        background: #f4f9ff;
    }

        .prgx-edit-page .prgx-edit-section-heading i {
            color: #1274ac;
        }

    /* =========================
   FORM AND PHOTO LAYOUT
   ========================= */

    .prgx-edit-page .prgx-edit-general-layout {
        display: grid;
        grid-template-columns: minmax(0, 2.2fr) minmax(245px, 1fr);
        gap: 14px;
        align-items: stretch;
    }

    /* =========================
   FORM FIELD GRID
   ========================= */

    .prgx-edit-page .prgx-edit-fields {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 19px;
        padding: 16px;
    }

    .prgx-edit-page .prgx-edit-fields-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prgx-edit-page .prgx-edit-fields-three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .prgx-edit-page .prgx-edit-fields-one {
        grid-template-columns: 1fr;
    }

    .prgx-edit-page .prgx-edit-field {
        min-width: 0;
    }

    .prgx-edit-page .prgx-edit-field-full {
        grid-column: 1 / -1;
    }

    .prgx-edit-page .prgx-edit-field label {
        display: block;
        margin-bottom: 6px;
        font-size: 12px;
        font-weight: 600;
        color: #39526e;
    }

    /* Telerik controls: only within edit fields */

    .prgx-edit-page .prgx-edit-field .k-input,
    .prgx-edit-page .prgx-edit-field .k-picker,
    .prgx-edit-page .prgx-edit-field .k-combobox,
    .prgx-edit-page .prgx-edit-field .k-multicolumncombobox,
    .prgx-edit-page .prgx-edit-field .k-numerictextbox,
    .prgx-edit-page .prgx-edit-field .k-dropdownlist,
    .prgx-edit-page .prgx-edit-field textarea {
        max-width: 100%;
        min-width: 0;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* =========================
   LOOKUP BUTTON + INPUT
   ========================= */

    .prgx-edit-page .prgx-edit-lookup {
        display: flex;
        align-items: center;
        gap: 7px;
        width: 100%;
        min-width: 0;
    }

        .prgx-edit-page .prgx-edit-lookup > .k-input,
        .prgx-edit-page .prgx-edit-lookup > .k-picker,
        .prgx-edit-page .prgx-edit-lookup > .k-combobox,
        .prgx-edit-page .prgx-edit-lookup > .k-multicolumncombobox {
            flex: 1 1 0;
            min-width: 0;
            width: 100% !important;
        }

        .prgx-edit-page .prgx-edit-lookup > .k-button {
            flex: 0 0 auto;
        }

    /* =========================
   PHOTO AND ATTACHMENTS
   ========================= */

    .prgx-edit-page .prgx-edit-photo-content {
        padding: 15px;
        text-align: center;
    }

        .prgx-edit-page .prgx-edit-photo-content > * {
            max-width: 100%;
        }

    .prgx-edit-page .prgx-edit-import-content {
        padding: 17px;
    }

        .prgx-edit-page .prgx-edit-import-content p {
            font-size: 13px;
            color: #708198;
        }

    .prgx-edit-page .prgx-edit-upload {
        margin-top: 17px;
    }

    /* =========================
   COMBOBOX TEMPLATES
   ========================= */

    .prgx-edit-page .prgx-edit-combo-header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 5px 10px;
        font-weight: 600;
    }

    .prgx-edit-page .prgx-edit-combo-column {
        display: inline-block;
        vertical-align: middle;
        width: 45%;
        padding: 2px 5px;
    }

    /* =========================
   TRANSACTION TOTALS
   ========================= */

    .prgx-edit-page .prgx-edit-totals {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        padding: 15px 18px;
        border-top: 1px solid #edf1f6;
        background: #fbfdff;
    }

    .prgx-edit-page .prgx-edit-total-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 22px;
        width: min(100%, 350px);
    }

        .prgx-edit-page .prgx-edit-total-row label {
            margin: 0;
            color: #39526e;
            font-size: 12px;
            font-weight: 600;
        }

        .prgx-edit-page .prgx-edit-total-row .k-numerictextbox,
        .prgx-edit-page .prgx-edit-total-row .k-input {
            width: 160px;
        }

    /* =========================
   NOTIFICATIONS
   ========================= */

    .prgx-edit-page .demo-notification {
        position: relative;
        z-index: 100;
    }

    .prgx-edit-page .notif {
        margin-left: 0;
    }

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1050px) {

    .prgx-edit-page .prgx-edit-general-layout {
        grid-template-columns: 1fr;
    }

    .prgx-edit-page .prgx-edit-fields-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {

    .prgx-edit-page .prgx-edit-fields,
    .prgx-edit-page .prgx-edit-fields-two,
    .prgx-edit-page .prgx-edit-fields-three {
        grid-template-columns: 1fr;
    }

    .prgx-edit-page .k-tabstrip-content {
        padding: 9px !important;
    }

    .prgx-edit-page .prgx-edit-fields {
        padding: 12px;
    }

    .prgx-edit-page .prgx-edit-toolbar {
        align-items: stretch;
    }

    .prgx-edit-page .prgx-edit-total-row {
        width: 100%;
    }
}
.prgx-edit-page .prgx-edit-toolbar .k-toolbar .k-button:first-child {
    background: #1274ac;
    border-color: #1274ac;
    color: #fff;
    font-weight: 600;
}

    .prgx-edit-page .prgx-edit-toolbar .k-toolbar .k-button:first-child:hover {
        background: #0e6091;
        border-color: #0e6091;
        color: #fff;
    }
.prgx-edit-page .prgx-edit-overview-layout {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(290px,1fr);
    gap: 14px;
    align-items: start;
}

.prgx-edit-page .prgx-edit-overview-main, .prgx-edit-page .prgx-edit-overview-side {
    display: grid;
    gap: 14px;
    min-width: 0;
    align-content: start;
}

.prgx-edit-page .prgx-edit-tabs-card > .k-tabstrip {
    margin: 0;
}

.prgx-edit-page .prgx-edit-overview-side .prgx-edit-photo-content, .prgx-edit-page .prgx-item-photo {
    max-width: 100%;
    overflow: hidden;
}

.prgx-edit-page .prgx-edit-availability {
    gap: 10px 12px;
}

    .prgx-edit-page .prgx-edit-availability > .prgx-edit-field {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 9px 11px;
        border: 1px solid #e5edf5;
        border-radius: 8px;
        background: #fbfdff;
    }

        .prgx-edit-page .prgx-edit-availability > .prgx-edit-field > label {
            margin: 0;
            flex: 1;
            line-height: 1.35;
        }

        .prgx-edit-page .prgx-edit-availability > .prgx-edit-field > .k-checkbox {
            flex-shrink: 0;
        }

.prgx-edit-page .prgx-edit-gallery-intro {
    padding: 13px 16px 0;
    font-size: 12px;
    color: #708198;
}

.prgx-edit-page .prgx-edit-image-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
    padding: 16px;
}

.prgx-edit-page .prgx-edit-image-card {
    border: 1px solid #e3ebf4;
    border-radius: 10px;
    background: #fff;
    min-width: 0;
    overflow: hidden;
}

.prgx-edit-page .prgx-edit-image-card-header {
    background: #f4f9ff;
    border-bottom: 1px solid #e3ebf4;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #172b4d;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .prgx-edit-page .prgx-edit-image-card-header i {
        color: #1274ac;
    }

.prgx-edit-page .prgx-edit-image-card-body {
    padding: 12px;
    min-width: 0;
}

.prgx-edit-page .prgx-edit-image-preview {
    height: 155px;
    border: 1px dashed #cbdced;
    border-radius: 9px;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.prgx-edit-page .prgx-edit-preview-img {
    display: block;
    max-height: 100%;
    width: 100%;
    object-fit: contain;
}

.prgx-edit-page .prgx-edit-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #9ab0c6;
    font-size: 12px;
}

    .prgx-edit-page .prgx-edit-image-placeholder i {
        font-size: 30px;
    }

.prgx-edit-page .prgx-edit-image-filename {
    font-size: 11px;
    font-weight: 600;
    color: #39526e;
    margin: 9px 0 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.prgx-edit-page .prgx-edit-image-empty {
    font-weight: 400;
    color: #91a2b4;
}

.prgx-edit-page .prgx-edit-image-upload .k-upload {
    border-color: #e3ebf4;
    max-width: 100%;
}

.prgx-edit-page .prgx-edit-image-upload .k-dropzone {
    padding: 8px;
}

@media(max-width:1150px) {
    .prgx-edit-page .prgx-edit-overview-layout {
        grid-template-columns: 1fr;
    }

    .prgx-edit-page .prgx-edit-image-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:650px) {
    .prgx-edit-page .prgx-edit-image-grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .prgx-edit-page .prgx-edit-overview-layout {
        gap: 12px;
    }
}

/* Global lookup: input + search button on same row */
.prgx-edit-page .prgx-edit-lookup {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-width: 0;
}

.prgx-edit-page .prgx-edit-field .prgx-edit-lookup > .k-input,
.prgx-edit-page .prgx-edit-field .prgx-edit-lookup > .k-picker,
.prgx-edit-page .prgx-edit-field .prgx-edit-lookup > .k-multicolumncombobox,
.prgx-edit-page .prgx-edit-field .prgx-edit-lookup > .k-combobox {
    flex: 1 1 0;
    min-width: 0;
    width: 0 !important;
    max-width: none;
}

.prgx-edit-page .prgx-edit-lookup > .k-button {
    flex: 0 0 34px;
    width: 34px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.prgx-edit-page .prgx-item-create-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 16px;
    align-items: start;
}

.prgx-edit-page .prgx-item-create-layout--new {
    grid-template-columns: minmax(260px,300px) minmax(0,1fr);
}

.prgx-edit-page .prgx-item-create-form {
    min-width: 0;
}

.prgx-edit-page .prgx-item-hierarchy-panel {
    min-width: 0;
    position: sticky;
    top: 16px;
}

.prgx-edit-page .prgx-item-hierarchy-help {
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.55;
    color: #526982;
    background: #fbfdff;
    border-bottom: 1px solid #e3ebf4;
}

.prgx-edit-page .prgx-item-hierarchy-tree {
    padding: 10px 8px;
    max-height: calc(100vh - 305px);
    min-height: 320px;
    overflow: auto;
}

    .prgx-edit-page .prgx-item-hierarchy-tree .k-treeview {
        width: 100%;
    }

.prgx-edit-page .prgx-item-hierarchy-footnote {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    padding: 12px 14px;
    font-size: 11px;
    line-height: 1.5;
    color: #60758c;
    border-top: 1px solid #e3ebf4;
}

    .prgx-edit-page .prgx-item-hierarchy-footnote i {
        color: #1274ac;
        margin-top: 2px;
    }

@media(max-width:1050px) {
    .prgx-edit-page .prgx-item-create-layout--new {
        grid-template-columns: 1fr;
    }

    .prgx-edit-page .prgx-item-hierarchy-panel {
        position: static;
    }

    .prgx-edit-page .prgx-item-hierarchy-tree {
        min-height: 140px;
        max-height: 260px;
    }
}


/* ==========================================
   PROGROX - GLOBAL PHOTO / PROFILE PANELS
   Reusable across all edit pages
   ========================================== */

.prgx-edit-page .prgx-edit-media-panel {
    height: auto;
    min-height: 0;
    overflow: visible;
    align-self: start;
}

.prgx-edit-page .prgx-edit-media-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
    height: auto;
    min-height: 0;
}

    .prgx-edit-page .prgx-edit-media-body
    .prgx-edit-photo-content {
        padding: 0;
        margin: 0;
        height: auto;
        min-height: 0;
        text-align: left;
        overflow: visible;
    }

/* Let Telerik Upload expand when a file
   appears in its list or shows an error. */

.prgx-edit-page .prgx-edit-media-panel .k-upload {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
    border-radius: 8px;
}

.prgx-edit-page .prgx-edit-media-panel
.k-dropzone {
    padding: 10px;
    min-height: 0;
}

.prgx-edit-page .prgx-edit-media-panel
.k-upload-files {
    height: auto;
    max-height: none;
    overflow: visible;
}

/* A reusable notification below the upload */

.prgx-edit-page .prgx-upload-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1.5;
}

.prgx-edit-page .prgx-upload-status--success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.prgx-edit-page .prgx-upload-status--error {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.prgx-edit-page .prgx-upload-status--progress {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

/* =========================================
   GLOBAL PHOTO UPLOAD PANEL FIX
   Item, Vendor, Employee and other forms
   ========================================= */

.prgx-edit-page .prgx-edit-media-panel {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    align-self: start;
}

.prgx-edit-page .prgx-edit-media-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    height: auto;
    min-height: 0;
}

.prgx-edit-page .prgx-edit-media-panel
.prgx-edit-photo-content {
    height: auto !important;
    min-height: 0 !important;
    padding: 0;
    text-align: left;
    overflow: visible !important;
}

/* Remove fixed height from upload wrappers */

.prgx-edit-page .prgx-edit-media-panel .k-upload {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    overflow: visible !important;
}

.prgx-edit-page .prgx-edit-media-panel .k-upload-files {
    position: static !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0;
}

/* Display upload progress and file status
   inside the panel instead of below it */

.prgx-edit-page .prgx-edit-media-panel .k-file {
    position: relative;
    max-width: 100%;
}

.prgx-edit-page .prgx-edit-media-panel .k-dropzone {
    padding: 8px 10px;
}

/* Photo preview */

.prgx-edit-page .prgx-edit-media-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    max-height: 190px;
    padding: 12px;
    background: #f8fbff;
    border: 1px dashed #dce7f2;
    border-radius: 8px;
}

    .prgx-edit-page .prgx-edit-media-preview img {
        max-width: 100%;
        max-height: 160px;
        width: auto;
        height: auto;
        object-fit: contain;
    }


/* Shared PhotoUC styles */

.prgx-photo-component {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: 0;
}

.prgx-photo-preview {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4px;
    width: 100%;
    height: auto;
    min-height: 0;
}

.prgx-photo-preview-img {
    display: block;
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.prgx-photo-empty {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
    background: #f8fbff;
    border: 1px dashed #dbe6f2;
    border-radius: 8px;
}

    .prgx-photo-empty i {
        font-size: 28px;
    }

.prgx-photo-upload {
    width: 100%;
    height: auto;
    min-height: 0;
}

    .prgx-photo-upload .k-upload,
    .prgx-photo-upload .k-upload-files {
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .prgx-photo-upload .k-dropzone {
        padding: 8px;
    }

.prgx-upload-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1.5;
}

.prgx-upload-status--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.prgx-upload-status--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.prgx-upload-status--progress {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}
