﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Cambria','Helvetica Neue', Helvetica, Arial, sans-serif;
    /*    font-size:smaller;*/
    /*    font-family: 'SF Pro Text';*/
    font-size: 0.9rem;
    background-color: #F2F4F5;
}
/*.layout-navbar-fixed.layout-fixed .wrapper .sidebar {
    margin-top: calc(12rem + 1px);
}
.layout-fixed .wrapper .sidebar {
    height: calc(100vh - (12rem + 1px));
}*/
.layout-navbar-fixed.layout-fixed .wrapper .sidebar {
    margin-top: calc(7.3rem + 1px);
}

.layout-fixed .wrapper .sidebar {
    height: calc(100vh - (9.5rem + 1px));
}

a, .btn-link {
    color: #0366d6;
}

.brand-text img {
    padding: 10px 40px 10px 40px;
}

.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;
}

.page-header {
    font-size: 1.5rem;
}

#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;
    }

.e-dialog .e-dlg-header-content + .e-dlg-content {
    padding: 0px;
}

.e-edit-dialog .e-gridform .e-table {
    border-spacing: 0px;
}

.e-dlg-content .e-editedrow {
    margin: 10px;
}

.e-dlg-content .e-insertedrow {
    margin: 10px;
}

.e-control, .e-css {
    font-family: Cambria;
}

.e-btn {
    background-color: #F2F4F8;
    color: #2D3748;
}

.e-float-input, .e-float-input.e-control-wrapper, .e-float-input.e-disabled, .e-float-input.e-control-wrapper.e-disabled,
.e-float-input.e-input-group.e-disabled, .e-float-input.e-input-group.e-control-wrapper.e-disabled {
    font-family: Cambria,'Helvetica Neue', Helvetica, Arial, sans-serif;
}
/*.e-toolbar.e-control[class*=e-toolbar]{
    font-size:0.8rem;
}
.e-control, .e-control [class^='e-'], .e-control [class*=' e-'] {
    font-size: 0.8rem;
}
input.e-control{
    height:25px;
}
.e-float-input:not(.e-input-group) input, .e-float-input.e-control-wrapper:not(.e-input-group) input {
    height: 25px;
}*/
.e-grid {
    border: none;
}

.e-grid * {
    /*    font-size: 10px !important;*/
    /*    font-family: Cambria,'Helvetica Neue', Helvetica, Arial, sans-serif;*/
}

.e-grid .e-headercell {
    /*    background-color: #398640;*/
    background-color: #F2F4F8;
}

.e-headercell {
    color: #718096;
    font-size: 1.5rem;
    font-weight: bold;
}
html body.layout-navbar-fixed.sidebar-mini.sidebar-collapse .wrapper .brand-link {
    height: auto !important;
}

.e-grid .e-gridheader .e-icons:not(.e-icon-hide):not(.e-check):not(.e-stop):not(.e-icon-reorderuparrow):not(.e-icon-reorderdownarrow) {
    color: white;
}

.e-grid .e-gridheader tr th:first-child {
    border-radius: 5px 0px 0px 5px;
}

.e-grid .e-gridheader {
    border-radius: 10px;
    border: none;
}

    .e-grid .e-gridheader tr:first-child th {
    }

.e-grid .e-altrow {
    /*    background-color: #f2f2f2;*/
}

.e-btn, .e-css.e-btn {
    font-family: Cambria;
}

.main-header .navbar-nav .nav-item {
    background-color: #FFFFFF;
}

.wrapper {
    z-index: 900;
}

.content-wrapper > .content {
    padding: 0.5rem;
    padding-left: 0px;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 0px;
    background: #FFFFFF;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.02);
    border-radius: 6px;
}

.card-header {
    flex-direction: row;
    justify-content: space-between;
    padding: 0px;
    padding-bottom: 10px;
    gap: 5px;
    background: #FFFFFF;
    border-radius: 0px;
}

.main-sidebar {
    background: #F2F4F5;
    box-shadow: none;
}

.content-wrapper {
    padding-left: 0px;
    background: #F2F4F5;
}

aside {
    box-shadow: none;
}

.nav-item {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    /* identical to box height */
    white-space: normal;
    align-items: center;
    color: #FFFFFF;
}
.nav-sidebar .nav-item > .nav-link {
    position: relative;
   
}

.main-sidebar .phanhe-label, .main-sidebar .phanhe-label + .dropdown-divider {
    display: block;
    opacity: 1;
    transition: opacity .2s ease;
    color: #328640; /* tránh trùng màu nền */
    padding: 12px 16px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-mini.sidebar-collapse .main-sidebar .phanhe-label,
.sidebar-mini.sidebar-collapse .main-sidebar .phanhe-label + .dropdown-divider {
    opacity: 0;
    pointer-events: none;
}

.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .phanhe-label,
.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .phanhe-label + .dropdown-divider {
    opacity: 1 !important;
    pointer-events: auto;
    display: block !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover {
    width: 250px;
}

.sidebar-mini.sidebar-collapse .main-sidebar .sidebar {
    overflow: visible !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .nav-header {
    opacity: 1 !important;
    display: block !important;
}

/*    .nav-item p {
        text-wrap: wrap;
    }*/

.nav-link {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    gap: 16px;
    /*    font-family: 'SF Pro Text';*/
    background: #F2F4F5;
    border-radius: 6px;
    
}

    .nav-link.menu-active {
        color: #fff;
    }

    .nav-pills .nav-link.active, .nav-link.menu-active, .nav-pills .show > .nav-link {
        background-color: #60BA69;
    }

.navbar-light .navbar-nav .nav-link {
    padding: 12px;
    gap: 16px; 
    background: #FFFFFF;
    border-radius: 6px;
}

.layout-navbar-fixed .wrapper .main-header {
    background: #FFFFFF;
    border: 0.5px solid #E2E8F0;
    border-radius: 0px 0px 6px 6px;
}

.user-panel {
    box-sizing: border-box;
    /* Auto layout */
    overflow: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1px;
    /*    padding: 8px 16px 8px 8px;*/
    gap: 8px;
    background: #FFFFFF;
    border: 0.5px solid #E2E8F0;
    border-radius: 10px;
}

.user-panel {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    /* identical to box height */

    display: flex;
    align-items: center;
    /* Gray/Gray-700 */

    color: #2D3748;
}

.main-footer {
    background-color: #F2F4F5;
    border-top: none;
}

.e-control-wrapper {
    background: #F2F4F8;
}

.e-breadcrumb {
    background-color: transparent;
}

    .e-breadcrumb .e-breadcrumb-item .e-breadcrumb-text {
        color: #A0AEC0;
    }

.badge {
    font-size: 85%;
}

.e-toolbar .e-toolbar-items {
    background-color: #fff;
}

.e-dialog .e-footer-content {
    border-radius: 16px;
}

.e-dialog .e-dlg-header-content {
    border-radius: 16px;
}

.e-dialog .e-dlg-content {
    border-radius: 16px;
}

.e-popup.e-popup-open.e-dialog {
    border-radius: 16px;
}

.e-dialog .e-dlg-header-content {
    border: none;
}

.e-dialog .e-footer-content {
    border-top: none;
}

.e-dialog .e-dlg-header {
    font-weight: bolder;
}

.e-grid .e-gridheader .e-icons:not(.e-icon-hide):not(.e-check):not(.e-stop):not(.e-icon-reorderuparrow):not(.e-icon-reorderdownarrow) {
    color: #969696;
}

.e-grid .e-gridheader thead .e-icons:not(.e-check):not(.e-stop) {
    font-size: 16px;
}

.e-grid .e-gridheader .e-fltr-icon .e-sortfilterdiv {
    margin: -29px 29px -29px 0;
}

.nav-link .fa, .fas {
    font-size: 20px;
}

.container-hinhAnhBo {
    position: relative;
}



.buton-delete-hinhAnhBo {
    position: absolute;
    TOP: 15px;
    RIGHT: -8%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: #555;
    opacity: 0.7;
    color: white;
    font-size: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
}

    .buton-delete-hinhAnhBo :hover {
        opacity: 1;
        color: white;
    }

.tool-button {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

    .tool-button .custom-input-group {
        border: none;
        background-color: #F2F4F8;
    }

/*.badge {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: block;
    position: center;
    background: rgba(31,206,255,1);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -15px;
    right: -15px;
    transition: all .3s;
}*/

.badge-button {
    /*    background: linear-gradient(to bottom, rgba(37,130,188,1) 0%,rgba(41,137,216,1) 32%,rgba(41,137,216,1) 42%,rgba(175,224,234,1) 100%);
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: none;
    margin-top: 40px;
    margin-left: 40px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);*/
    position: relative;
}

    .badge-button:before {
        content: attr(data-count);
        width: 18px;
        height: 18px;
        line-height: 18px;
        text-align: center;
        display: block;
        border-radius: 40%;
        background: #F2994A;
        /*        border: 1px solid #FFF;
        box-shadow: 0 1px 3px rgba(0,0,0,0.4);*/
        color: #FFF;
        position: absolute;
        top: -7px;
        left: -7px;
    }

    .badge-button.badge-top-right:before {
        left: auto;
        right: -7px;
    }

    .badge-button.badge-bottom-right:before {
        left: auto;
        top: auto;
        right: -7px;
        bottom: -7px;
    }

badge-button.badge-bottom-left:before {
    top: auto;
    bottom: -7px;
}

.custom-button-group {
    border: none;
    width: 100%;
    text-align: left;
    background-color: #f8f9fa;
}


.e-checkbox-disabled {
    pointer-events: none;
}

    .e-checkbox-disabled .e-checkbox-wrapper {
        display: none;
    }

td .form-group {
    margin-bottom: 0px;
}

.e-spin-show {
    z-index: 999 !important;
    background-color: #f8f9fa5e;
}

div.e-spin-show > div:not(.e-spinner-inner) {
    opacity: 0.7;
}

.e-spinner-pane .e-spinner-inner .e-spin-bootstrap4 {
    display: none;
}

.chi-tiet-cong-viec > .nav-link .fa, .fas {
    font-size: 14px;
}

.collapse-chart {
    border-radius: 12px;
    background: #F2F4F8;
    font-weight: 800;
}

.w-10 {
    width: 10% !important;
}

.bg-quymodan {
    background: #F2F4F8;
    border-radius: 16px;
}

.bg-quymodan-2 {
    background: #F2F4F8;
    /* border-radius: 0 !important; */
    /* box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%); */
    /* border-radius: 0.25rem; */
    /* background: #fff; */
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 0.5rem;
    min-height: 54px;
    /* padding: 0.5rem; */
    /* position: relative; */
    width: 100%;
    border-radius: 0 !important;
}

.border-radius-16px {
    border-radius: 16px;
}

.border-top-bottom-left-radius-quymodan {
    border-top-left-radius: 16px !important;
    border-bottom-left-radius: 16px !important;
}

.border-top-bottom-right-radius-quymodan {
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}

.border-right-outset {
    border-right: 1px outset;
}

.flex-quymodan {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.font-size-20 {
    font-size: 16px;
}

.font-size-14 {
    font-size: 12px;
}

.font-size-24 {
    font-size: 20px;
}

.min-height-item {
    height: 0px;
    min-height: 60px;
}

.scrollbar {
    float: left;
    overflow-y: auto;
}

#style-4::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

#style-4::-webkit-scrollbar {
    width: 4px;
    background-color: #F5F5F5;
}

#style-4::-webkit-scrollbar-thumb {
    background-color: #60BA69;
    border: 2px solid #60BA69;
}

.scrollbar-style-4::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.scrollbar-style-4::-webkit-scrollbar {
    width: 4px;
    background-color: #F5F5F5;
}

.scrollbar-style-4::-webkit-scrollbar-thumb {
    background-color: #60BA69;
    border: 2px solid #60BA69;
}

.line-height-5 {
    line-height: 5px;
}

.card-dashborad {
    margin-top: -7.5px;
}

.card-dashborad-giaidoanbo {
    margin-right: -7.5px;
}

.card-dashborad-benhtheogiaidoanbo {
    /* margin-right: -7.5px; */
}

.card-header-title-chart {
    font-size: 18px;
    font-weight: 800;
}

.baocao-thongtindan {
    font-size: 14px;
}

.baocao-card-tool-title {
    font-size: 20px;
    background-color: white;
}

.baocao-card {
    background-color: #f2f4f8;
}

.menu-card:hover, .menu-card:hover div {
    background-color: #eff0f1;
}

.menu-card a:hover {
    text-decoration: underline;
    cursor: pointer;
}

#benhnoingoai-tab .nav-link,
#boSinhSan .nav-link {
    padding: 4px;
}

    #benhnoingoai-tab .nav-link:focus,
    #boSinhSan .nav-link:focus {
        outline: none;
    }

#benhnoingoai-tab.active,
#giaidoanbo-tab.active {
    border-top: 2px solid #60BA69;
}

#dieutrikhongkhoi-tab.active,
#bovobeo-tab.active {
    border-top: 2px solid #36A2EB;
}

.blazored-toast-success {
    z-index: 1000;
}

.blazored-toast-warning {
    z-index: 1000;
}

.blazored-toast-error {
    z-index: 1000;
}


.btn-load-more {
    background: linear-gradient(135deg, #60BA79, #60BA69);
    color: white;
    font-weight: 600;
    padding: 10px 28px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-load-more:hover {
        background: linear-gradient(135deg, #224abe, #60BA69);
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    }

    .btn-load-more:active {
        transform: scale(0.97);
    }
.btn-gray {
    background-color: #6c757d !important;
    color: white !important;
    border: none !important;
    margin-right: 4px;
}

    .btn-gray:hover {
        background-color: #5a6268 !important;
    }
.custom-table {
    border-radius: 10px;
/*    overflow: hidden;*/
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .custom-table thead th {
        background-color: #f8f9fa;
        font-weight: 600;
        padding: 12px;
        white-space: nowrap;
    }

    .custom-table tbody td {
        padding: 8px 10px;
        vertical-align: middle;
    }

    .custom-table .table-group {
        background-color: #e9ecef;
        font-weight: bold;
        text-transform: uppercase;
    }

    .custom-table .table-total {
        background-color: #fff3cd;
        font-weight: bold;
        font-size: 1.05em;
    }

    .custom-table .table-grand-total {
        background-color: #d4edda;
        font-weight: bold;
        font-size: 1.1em;
    }
 
.main-sidebar .nav-treeview .nav-link.active {
    background-color: #60BA69 !important;
    color: #fff !important;
    border-radius: 6px;
}

     
    .main-sidebar .nav-treeview .nav-link.active i {
        color: #fff !important;
    }

.main-sidebar .nav-sidebar > .nav-item > .nav-link.active {
    background: transparent !important;
    color: inherit !important;
}


.main-sidebar .nav-treeview .nav-link.active {
    background-color: #60BA69 !important;
    color: #fff !important;
    border-radius: 6px;
}

    .main-sidebar .nav-treeview .nav-link.active i {
        color: #fff !important;
    }


.main-sidebar .nav-link p {
/*    flex: 1 1 auto;
    overflow-wrap: break-word;
    */
}
.card-row {
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
    background-color: #fff;
    .tool-button
{
    display: flex;
    align-items: center;
    
     flex-wrap: nowrap;
    gap: 0.75rem;      
}

.pr-2 {
    margin-right: 0.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.e-radio-wrapper {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    input [type='radio']
    {
    accent-color: #60ba69;
    margin-right: 6px;
    cursor: pointer;
    }

.e-label {
    font-size: 14px;
    color: #212529;
    font-weight: 500;
}

}

.e-date-wrapper,
.e-ddl {
    width: 200px;
    min-width: 100px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 0 8px;
    text-align: center;
    input
    {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: 13px;
}

.e-input-group-icon {
    font-size: 14px;
    color: #666;
    margin-left: 6px;
}

&.e-hidden {
    display: none !important;
}

}

.col-2 {
    flex: 0 0 150px;
    button

{
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #60ba69;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    &:hover

{
    background-color: darken(#60ba69, 5%);
}

.fa-search {
    font-size: 14px;
}

}
}
}


.table-scroll-y {
    max-height: 90%; 
    overflow-x: auto;
    position: relative;
    max-width: 100%;
}

.table-head thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #F2F4F8;
    border: 1px solid #dee2e6;
}

.sticky-header tr:nth-child(1) th {
    top: 0px;
    z-index: 4;
}

.sticky-header tr:nth-child(2) th {
    top: 39.5px;
    z-index: 5;
}
.sticky-header tr:nth-child(3) th {
    top: 79px;
    z-index: 6;
}


.sticky-column {

    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
    background-clip: padding-box;
}

.sticky-column-1 {
    min-width: 150px;
    position: sticky;
    left: 60px; 
    background: #fff;
    z-index: 2;
    background-clip: padding-box;
}
.sticky-column-thuoc {
    min-width: 150px;
    position: sticky;
    left: 114.5px;
    background: #fff;
    z-index: 2;
    background-clip: padding-box;
}

.min-width-150 th  {
    min-width: 150px;
}

.table thead .sticky-column,
.table thead .sticky-column-1 {
    z-index: 4;
}

.table-hover tbody tr:hover .sticky-column,
.table-hover tbody tr:hover .sticky-column-1,
.table-hover tbody tr:hover .sticky-column-thuoc {
    background-color: #E8ECEF !important;
}
.sftab-freeze .e-tab .e-tab-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.dashboard-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tab-buttons-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.tab-buttons {
    display: inline-flex;
    gap: 10px;
}

    .tab-buttons button {
        width: 180px;
        min-width: 180px;
        height: 50px;
        background-color: #ffffff;
        color: #000000;
        border: none;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.25s ease;
        border-radius: 5px 5px 0 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-shrink: 0;
    }

        .tab-buttons button i {
            font-size: 16px;
        }

        .tab-buttons button.active {
            color: #60BA69;
        }

            .tab-buttons button.active::after {
                content: "";
                position: absolute;
                left: 0;
                right: 0;
                bottom: -10px;
                height: 20px;
                background-color: #ffffff;
                z-index: -1;
            }

        .tab-buttons button:hover:not(.active) {
            background-color: #f2f9f0;
        }

        .tab-buttons button:focus {
            outline: none !important;
            box-shadow: none !important;
        }

.content-box {
    background-color: #ffffff;
    padding: 15px 10px;
    border-radius: 0 0 5px 5px;
    font-size: 14px;
    margin-top: 0;
    position: relative;
    top: -5px;
    z-index: 0;
}

.header-title {
    color: #60BA69;
    font-weight: 600;
}

.content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.title-text {
    color: #333;
}
