html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: black !important;
   
}


/*
   ==== ToolBar
   
*/
.k-toolbar {
    border-color: rgba(0, 0, 0, 0.08);
    color: black !important;
    background-color: #fafafa !important;
}
    .k-toolbar.mytoolbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        background: #ffffff !important;
        border: 1px solid #e5eaf3 !important;
        border-radius: 16px !important;
        padding: 10px 12px !important;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        margin-bottom: 18px;
    }

    .mytoolbar .k-button {
        border-radius: 8px !important;
        min-height: 26px;
        padding: 7px 14px !important;
        font-weight: 600;
        border-color: #d7dfec !important;
    }

.MyToolBarButtonDefault {
    background-color: #1274AC !important;
    color: #fff !important;
    border: 1px solid #0f6697 !important;
    border-radius: 10px !important;
    font-weight: 600;
    padding: 7px 14px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

    .MyToolBarButtonDefault:hover {
        background-color: #0f6697 !important;
        border: 1px solid #0b5279 !important;
        box-shadow: 0 4px 10px rgba(18, 116, 172, 0.25);
        transform: translateY(-1px);
    }

    .MyToolBarButtonDefault:active {
        background-color: #0b5279 !important;
        border: 1px solid #094766 !important;
        box-shadow: 0 2px 5px rgba(18, 116, 172, 0.18);
        transform: translateY(0);
    }

    .MyToolBarButtonDefault:focus,
    .MyToolBarButtonDefault:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(18, 116, 172, 0.25);
    }

    .MyToolBarButtonDefault .k-icon {
        color: white !important;
    }

.MyToolBarButton,
.MyToolBarButtonAction {
    background-color: #fafafa !important;
    color: #1f3b64 !important;
    border: 1px solid #d7dfec !important;
    border-radius: 10px !important;
    font-weight: 600;
    padding: 7px 14px !important;
    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,
    .MyToolBarButtonAction .k-icon {
        color: #1274AC !important;
        transition: color 0.2s ease;
        font-size: 16px;
        vertical-align: middle;
    }

    .MyToolBarButton:hover,
    .MyToolBarButton:focus,
    .MyToolBarButton:active,
    .MyToolBarButtonAction:hover,
    .MyToolBarButtonAction:focus,
    .MyToolBarButtonAction:active {
        background-color: #1274AC !important;
        color: white !important;
        border: 1px solid #1274AC !important;
        transform: translateY(-1px);
        outline: none;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
    }

        .MyToolBarButton:hover .k-icon,
        .MyToolBarButton:focus .k-icon,
        .MyToolBarButton:active .k-icon,
        .MyToolBarButtonAction:hover .k-icon,
        .MyToolBarButtonAction:focus .k-icon,
        .MyToolBarButtonAction:active .k-icon {
            color: white !important;
        }

    .MyToolBarButton:focus-visible,
    .MyToolBarButtonAction:focus-visible {
        outline: 2px solid #1274AC;
        outline-offset: 2px;
    }



/* =========================
COMMON GRID
========================= */

/*.app-grid {
    border-radius: 16px !important;
    overflow: hidden;
    border: 1px solid #e5eaf3 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

    .app-grid .k-grid-header,
    .app-grid .k-grid-header-wrap,
    .app-grid .k-grid-header table,
    .app-grid .k-grid-header th {
        background: #f5f5f5 !important;*/
        /*background: #E5E5E5 !important;*/
    /*}

        .app-grid .k-grid-header th,
        .app-grid .k-grid-header th .k-link,
        .app-grid .k-grid-header th .k-column-title,
        .app-grid .k-grid-header th .k-cell-inner {*/
          /*  color: #555555 !important;*/
            /*font-size: 13px;
            font-family: "Segoe UI", Arial, sans-serif;
            font-weight: 600 !important;
            color: #333333 !important;
            letter-spacing: 0.2px;
        }

        .app-grid .k-grid-header th {
            border-color: #d7dfec !important;
            padding-top: 12px !important;
            padding-bottom: 12px !important;
        }

    .app-grid .k-grid-content td {
        border-color: #f2f2f2 !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        color: #26364d;
    }

    .app-grid .k-grid-content tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .app-grid .k-grid-content tr:hover {
        background-color: #e0e0e0 !important;
    }*/
.app-grid {
    border-radius: 16px !important;
    overflow: hidden;
    border: 1px solid #e5eaf3 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    background: #ffffff;
    font-size: 13px;
}

    .app-grid .k-grid-header,
    .app-grid .k-grid-header-wrap,
    .app-grid .k-grid-header table,
    .app-grid .k-grid-header th {
        background: #f5f5f5 !important;
    }

        .app-grid .k-grid-header th,
        .app-grid .k-grid-header th .k-link,
        .app-grid .k-grid-header th .k-column-title,
        .app-grid .k-grid-header th .k-cell-inner {
            font-size: 12.5px !important;
            font-weight: 700 !important;
            color: #374151 !important;
            letter-spacing: 0.1px;
        }

        .app-grid .k-grid-header th {
            border-color: #d7dfec !important;
            padding-top: 12px !important;
            padding-bottom: 12px !important;
        }

    .app-grid .k-grid-content td {
        font-size: 13px !important;
        font-weight: 400;
        color: #1f2937;
        border-color: #f2f2f2 !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .app-grid .k-grid-content tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .app-grid .k-grid-content tr:hover {
        background-color: #e0e0e0 !important;
    }

        .app-grid .k-grid-content tr:hover td {
            color: #111827;
        }

    .app-grid .k-grid-footer {
        background: #f8fafc !important;
        font-weight: 700;
        color: #0b3b82;
        min-height: 40px !important;
    }

    .app-grid .k-button {
        border-radius: 9px !important;
    }

    .app-grid .k-grid-toolbar {
        min-height: 58px !important;
        padding: 12px 14px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e5e5e5 !important;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .app-grid .k-grid-toolbar .k-button {
            min-height: 26px !important;
            padding: 7px 14px !important;
            border-radius: 8px !important;
            font-weight: 600;
        }
    

/* =========================
COMMON FORM
========================= */

.app-label {
    display: block;
    margin-bottom: 6px !important;
    font-size: 13px;
    font-weight: 600;
    color: #1f3b64;
}

.app-form-card {
    background: #fafafa;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5eaf3;
}

/*    .app-form-card .k-input,
    .app-form-card .k-picker,
    .app-form-card .k-textarea {
        border-radius: 10px !important;
        border-color: #d7dfec !important;
        min-height: 40px;
        box-shadow: none !important;
    }

        .app-form-card .k-input:focus-within,
        .app-form-card .k-picker:focus-within,
        .app-form-card .k-textarea:focus-within {
            border-color: #0d6efd !important;
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12) !important;
        }*/

        /*
            For CHeckBox
        */
    .app-form-card .k-checkbox {
        width: 25px !important;
        height: 25px !important;
        border-radius: 5px !important;
        border-color: #d7dfec !important;
        box-shadow: none !important;
    }

        .app-form-card .k-checkbox:checked {
            background-color: #1274AC !important;
            border-color: #1274AC !important;
        }

        .app-form-card .k-checkbox:focus {
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12) !important;
        }
/* =========================
COMMON AMOUNT BOX
========================= */

.app-amount-box {
    background-color: #e0e0e0;
    border: 1px solid #bcd7ff;
    border-radius: 12px;
    padding: 12px 16px;
    display: inline-block;
    min-width: 180px;
    margin-top: 22px;
    width: 220px;
}

    .app-amount-box span {
        font-size: 13px;
        font-weight: 600;
        color: #1f3b64;
    }

    .app-amount-box h3 {
        margin: 4px 0 0;
        color: #0b3b82;
        font-weight: 800;
    }

/*
    Drop-Down On Each List Page On Top
*/


/*
    Search Box
*/
.app-grid .k-grid-search,
.app-grid .k-grid-search .k-input,
.app-grid .k-grid-search .k-input-inner,
.app-grid .k-grid-search .k-input-md {
    border-radius: 16px !important;
    width: 200px !important;
}
/*
    Help Button
*/
.help-btn {
    min-height: 38px;
    padding: 7px 14px !important;
    border-radius: 10px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.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;
    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 #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 {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;

    background-color: #1274AC !important;
    color: white !important;
    border: 1px solid #1274AC !important;
    border-radius: 10px !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

    .searchButton .k-icon {
        color: white !important;
        transition: color 0.2s ease;
        font-size: 16px;
        font-weight:bold;
        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;
    }*/
.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;
        }


/*

.MyToolBarButtonDefault {
    background-color: #1274AC !important;
    color: #fff !important;
    border: 1px solid #0f6697;
    border-radius: 6px;
    font-weight: 500;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

    .MyToolBarButtonDefault:hover {
        background-color: #0f6697 !important;
        border-color: #0b5279;
        box-shadow: 0 4px 10px rgba(18, 116, 172, 0.25);
        transform: translateY(-1px);
    }

    .MyToolBarButtonDefault:active {
        background-color: #0b5279 !important;
        border-color: #094766;
        box-shadow: 0 2px 5px rgba(18, 116, 172, 0.18);
        transform: translateY(0);
    }

    .MyToolBarButtonDefault:focus,
    .MyToolBarButtonDefault:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(18, 116, 172, 0.25);
    }


    .MyToolBarButtonDefault .k-icon {
        color: white !important;
    }*/




/*.MyToolBarButtonAction {
    background-color: #fafafa !important;
   
    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;
}
.MyToolBarButtonAction .k-icon {
    color: #1274AC;
    transition: color 0.2s ease;
    font-size: 16px;
    vertical-align: middle;
}*/
 /*Base button style*/ 
/*.MyToolBarButton {
    background-color: #fafafa !important;
    color: #1274AC;
    border: 1px solid #1274AC;
    border-radius: 6px !important;
    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: 10px !important;
    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;
   border-radius: 10px !important;
   font-weight: 600;
   padding: 7px 14px !important;
   display: inline-flex;
   align-items : center;
}
    .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-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));
}

.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;
    }

.Myk-popup {
    border-radius: 9999px;
}

#floating-action-button {
    z-index: 9999;
}

/* List Page style*/
.listpage-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.listpage-card {
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    padding: 22px 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 115px;
}

    .listpage-card:hover {
        box-shadow: 0 12px 30px rgba(15, 23, 42, .10);
        transform: translateY(-2px);
        transition: all .2s ease;
    }

.listpage-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .listpage-icon span,
    .listpage-icon .k-icon,
    .listpage-icon .k-font-icon {
        font-size: 32px !important;
        width: 32px;
        height: 32px;
        line-height: 32px;
    }

    .listpage-icon.blue {
        background: #eaf2ff;
        color: #0d6efd;
    }

    .listpage-icon.green {
        background: #eaf8e9;
        color: #159947;
    }

    .listpage-icon.purple-bg {
        background: #f0e8ff;
        color: #6d28d9;
    }

    .listpage-icon.orange-bg {
        background: #fff0e6;
        color: #f05a1a;
    }

    .listpage-icon.active-bg {
        background: #7bd88f;
        color: white !important;
    }

        .listpage-icon.active-bg .k-icon {
            color: white !important;
        }

    .listpage-icon.inactive-bg {
        background: #ffeaea;
        color: #dc3545;
    }

.listpage-card > div:last-child {
    flex: 1;
}

.listpage-card span {
    color: #64748b;
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 500;
}

.listpage-card strong {
    display: block;
    color: #0d6efd;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.listpage-card.success strong {
    color: #159947;
}

.listpage-card.purple strong {
    color: #06315a;
}

.listpage-card.orange strong {
    color: #f05a1a;
}


@media (max-width: 1200px) {
    .listpage-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .listpage-summary-grid {
        grid-template-columns: 1fr;
    }

    .listpage-card {
        padding: 18px;
    }

    .listpage-icon {
        width: 62px;
        height: 62px;
        min-width: 62px;
    }

        .listpage-icon span,
        .listpage-icon .k-icon,
        .listpage-icon .k-font-icon {
            font-size: 28px !important;
        }
}

/*form view Pages*/
.all-view {
    padding: 12px;
}

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

    .view-header h4 {
        margin: 0;
        font-weight: 700;
        color: #1274AC;
    }

.doc-no {
    color: #6b7280;
    font-size: 13px;
}

.view-card,
.payment-card,
.total-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.view-card {
    padding: 16px;
    margin-bottom: 14px;
}

.view-field label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 4px;
}

.view-field span {
    display: block;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 6px;
    background: #f8fafc;
    color: #111827;
    font-weight: 500;
}

.summary-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-top: 14px;
}

.payment-card {
    width: 420px;
    padding: 12px;
}

.total-card {
    width: 320px;
    padding: 12px;
}

    .payment-card div,
    .total-card div {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        border-bottom: 1px solid #f1f5f9;
    }

        .payment-card div:last-child,
        .total-card div:last-child {
            border-bottom: none;
        }

    .payment-card label,
    .total-card label {
        color: #6b7280;
        font-weight: 600;
    }

    .payment-card span,
    .total-card span {
        font-weight: 700;
    }

.grand-total {
    font-size: 18px;
    color: #1274AC;
}

@media (max-width: 768px) {
    .summary-section {
        flex-direction: column;
    }

    .payment-card,
    .total-card {
        width: 100%;
    }
}

.summary-grid {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.summary-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.summary-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.summary-grid-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.summary-grid .listpage-card {
    min-width: 0;
    height: 112px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    border: 1px solid #e5edf7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(25, 42, 70, 0.04);
    transition: all 0.2s ease;
}

.summary-grid .card-clickable {
    cursor: pointer;
}

    .summary-grid .card-clickable:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(25, 42, 70, 0.10);
        border-color: #b9d6f2;
    }

.summary-grid .active-summary-card {
    border-color: #0d6efd;
    box-shadow: 0 8px 22px rgba(13, 110, 253, 0.15);
}

.summary-grid .listpage-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-grid .listpage-card > div:last-child {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.summary-grid .listpage-card span {
    display: block;
    font-size: 13px;
    color: #50627a;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-grid .listpage-card strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(18px, 1.25vw, 25px);
    line-height: 28px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tablet */
@media (max-width: 1200px) {
    .summary-grid-4,
    .summary-grid-5,
    .summary-grid-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .summary-grid-4,
    .summary-grid-5,
    .summary-grid-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .summary-grid .listpage-card {
        height: 96px;
        padding: 12px;
    }

    .summary-grid .listpage-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .summary-grid .listpage-card strong {
        font-size: 18px;
    }
}

/* Small Mobile */
@media (max-width: 420px) {
    .summary-grid-4,
    .summary-grid-5,
    .summary-grid-6 {
        grid-template-columns: 1fr !important;
    }
}