.m-brand {
    height: 50px;
    border-radius: 0 0 10px;
}

.m-brand img {
    height: 40px;
    vertical-align: middle;
    margin-top: 6px;
}

.cchecbmf label {
    margin: 0 0 0 5px;
}

.m-stack.m-stack--general.m-stack--ver > .m-stack__item {
    width: auto;
}

#m_aside_header_topbar_mobile_toggle_cc {
    display: none;
}

.table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.cusdropbody .m-nav .m-nav__item > .m-nav__link {
    display: block !important;
    font-weight: 400;
    font-size: 13px;
    color: #000;
}

.cusdropbody .m-nav .m-nav__item:hover a, .cusdropbody .m-nav .m-nav__item:hover i {
    color: #fff;
}

.cusdropbody a i {
    width: 35px;
    text-align: center;
    color: #005394;
}

.btn-cusdrop {
    background: #0053940f;
    padding: 8px 10px;
}

.btn-cusdrop:hover {
    background: #005394;
    color: #fff;
}

.attachlinkb {
    border: 0;
    background: transparent;
    color: #23a128;
    padding: 0;
    line-height: 0;
    margin-top: 4px;
    cursor: pointer;
}

.attachlinkb i {
    font-size: 17px;
}

.infolinkb{
    border: 0;
    padding: 0;
    color: #0082c8;
    line-height: 0;
    cursor: pointer;
    background: #0082c847;
    width: 20px;
    height: 20px;
    border-radius: 23px;
}
.infolinkb i {
    font-size: 12px;
}
.infolinkb:hover{background: #0082c8;color: #fff}

.badge {
    padding: 5px 5px;
    font-size: 90%;
    line-height: 90%;
}

.select2-selection__choice__remove {
    border: none !important;
}

.m-content.m-content_fixedh .m-portlet__body {
    height: 87vh;
    overflow-y: auto;
    overflow-x: auto;
}

.m-content.m-content_fixedfoot .m-portlet__body {
    height: 80vh;
    overflow-y: auto;
    overflow-x: auto;
}

.m-content_fixedfoot .m-portlet__foot {
    position: fixed;
    bottom: 0;
    width: 99%;
    z-index: 99;
    left: 10px;
    right: 10px;
}

.bootstrap-select .dropdown-menu .inner.show {
    max-height: 350px !important;
}

.searchgpanel {
    background: #ecf5fd;
    padding: 10px;
    border: 1px solid #d1dde7;
    border-radius: 5px;
}

.searchgpanel .form-control {
    background-color: #fff;
}

.table-fhead thead th {
    position: sticky;
    top: 0;
    background: #fff;
   /* or #343a40 if using .thead-dark */
    z-index: 10;
}

.purintable table td input{width: auto;max-width: 120px}
.purintable table td input.smwfield {width: 60px;}


.impodutytable table td input[type="text"]{width: 100%;}
.impodutytable table td input.smwfield {width: 60px;}

.vendord button {width: 300px!important;}


/* new 15/06/2026**/
.m-body .m-content.m-content-fixed .m-portlet__body{ height: 86vh;overflow-x: auto;  }
.m-header--fixed .m-body .m-body {padding-top: 20px !important;}
.m-content-leftpanel .m-portlet__foot-fixed {position: fixed;bottom: 5px;width: 85%;}
.m-content.m-content-fixfooter {margin-bottom: 90px;}

.m_datatable_popup {

    display: flex;
    flex-direction: column;
}

.m_datatable_popup > div {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
}

/* Header fixed */
.m_datatable_popup thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
}

/* Grand Total row */
.m_datatable_popup tbody tr.grand-total-row {
    background: #f8f9fa !important;
    font-weight: 600;
}

.m_datatable_popup tbody tr.grand-total-row th,
.m_datatable_popup tbody tr.grand-total-row td {
    position: sticky;
    bottom: 0;
    background: #f8f9fa !important;
    z-index: 999;
    font-weight: bold;
}


.footpagination{display: flex;justify-content: center;gap:20px;}
.cfromtodate {display: flex;flex-grow: 1 1 0;align-items: center;gap: 5px;margin-right: 10px;}
.cfromtodate input {width: 115px;}


/** reportscheduler **/

.sed-panel {background: #f5f5f9;border: 1px solid #e5e5eb;padding: 10px;border-radius: 5px;margin-bottom: 5px}
.sed-panel .form-control {background: #fff;}
.sed-panel .sed-divider {border-right: 2px solid #d5d5d5;border-radius: 7px;}
.statrdiolist input[type=radio] {appearance: none;-webkit-appearance: none;width: 16px;height: 16px;border: 2px solid #6c757d;border-radius: 50%;position: relative;vertical-align: middle;cursor: pointer;outline: none;}
.statrdiolist input[type=radio]:checked {border-color: #007bff;}
.statrdiolist input[type=radio]:checked::before {content: "";position: absolute;width: 8px;height: 8px;background: #007bff;border-radius: 50%;top: 2px;left:2px;}
.statrdiolist label {display: inline-flex;align-items: center;cursor: pointer;margin-left: 5px;}


.statchkbox input[type="checkbox"] {width: 14px; height: 14px;margin-right: 5px;vertical-align: text-top; accent-color: #007bff;}
.statchkbox label {font-weight: 500;color: #444;margin-bottom: 0;cursor: pointer;}

.sed-panel .btndd {  display: flex;align-items: center;gap: 5px;margin: 5px 0}