html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: black !important;
   
}

.tile-dashboard .k-tilelayout-item {
    margin: 0.5rem;
}

.tile-card {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

   .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: 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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ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EuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
  
}

.mytoolbar {
    position: fixed;
    z-index: 5000;
    background-color: #f6f6f6;
    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 {
    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: #f4f9fd !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: #f4f9fd !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: #e9f1f7 !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 */
    /*}*/

