.zu-table {
    background-color: var(--zu-color-background);
    border-radius: 10px;
    width: 100%;
    height: 200px;
    padding: 5px;
}

.zu-table.full{
    height: unset;
}

.zu-table .zt-body {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--bs-scrollbar-color) transparent;
}

.zu-table .zt-body:hover {
    scrollbar-color: var(--bs-scrollbar-hover-color) transparent;
}

.zu-table.simple {
    height: unset;
}

.zu-table.zu-mh-400 {
    max-height: 400px;
}

.zu-table.simple th {
    font-weight: 700;
}

.zu-table table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed
}

.zu-table tr:nth-child(2n) {
    background-color: var(--zu-color-gray-200)
}

.zu-table td,
.zu-table th {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 8px;
    font-size: 12px
}

.zu-table thead th .group-text {
    float: left;
    padding-right: 25px
}

.zu-table thead th .group-button {
    float: right;
    width: 20px;
    margin-left: -30px;
    padding: 3px !important;
    margin-top: 4px;
    margin-right: 2px;
    cursor: pointer
}

.zu-table thead th .group-button:hover {
    color: var(--zu-color-border-primary)
}

.zu-table thead th label {
    cursor: pointer
}

.zu-table thead th .sort {
    color: var(--zu-color-gray-400);
    padding-right: 8px;
    font-size: 12px
}

.zu-table thead th .sort.active {
    color: var(--zu-color-border-primary)
}

.zu-table td.hide,
.zu-table th.hide {
    display: none
}

.zu-table input,
.zu-table select {
    padding: 3px 8px;
    border-radius: 5px
}

.zu-table input:focus,
.zu-table select:focus {
    border-color: var(--zu-color-border-primary);
    box-shadow: var(--zu-shadow-primary)
}

.zu-table input.zac {
    font-size: 12px;
}

.zu-table thead tr {
    border-bottom: 1px solid var(--zu-color-gray-300)
}

.zu-table table tr.selected,
.zu-table table tr.selected a {
    background-color: var(--zu-color-select);
    color: var(--zu-color-primary-reverse);
}

.zu-table thead th,
.zu-table .toolbar,
.zu-table .zt-footer,
.zu-table .zt-foot {
    background-color: var(--zu-color-background);
    position: sticky;
    top: 0px
}

.zu-table .toolbar,
.zu-table .zt-footer,
.zu-table .zt-foot {
    position: sticky;
    top: 0;
    height: 40px;
    width: 100%;
    margin: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 0 !important;
    left: 0
}

.zu-table .toolbar .btn {
    padding: 5px !important
}

.zu-table .toolbar .btn i:hover {
    color: var(--zu-color-select) !important
}

.zu-table .btn-group {
    margin-left: 5px;
    margin-right: 5px
}

.zu-table th {
    font-weight: 500;
}

.zu-table .btn>i {
    padding: 3px;
    color: #333;
}

.zu-table .col-multi {
    text-align: center;
    width: 30px;
}

.zu-table .col-multi .check {
    width: 15px;
    height: 15px;
}

.zu-table .col-multi.hide {
    display: none;
}

.zu-table .zt-body {
    width: 100%;
    height: calc(100% - 80px);
}

.zu-table .zt-body.foot {
    height: calc(100% - 110px);
}

.zu-table .zt-foot {
    top: calc(100% - 170px);
    height: 30px;
    border-top: 1px solid var(--bs-gray-300);
    overflow: auto;
    overflow-y: hidden;
    overflow-x: hidden;
}

.zu-table .zt-foot td {
    padding-top: 1px !important;
}

.zu-table .zt-footer {
    top: calc(100% - 40px);
    height: 40px;
    border-top: 1px solid var(--bs-gray-300);
    padding-top: 2px !important;
}

.zu-table .zt-footer .count {
    float: right;
    padding: 5px;
    padding-top: 8px;
}

.zu-table .zt-footer .page {
    float: left;
    padding: 5px;
}

.zu-table .zt-footer .page-num,
.zu-table .zt-footer .page-rows {
    float: left;
}

.zu-table .zt-footer .page-num .input-group {
    width: 90px;
}

.zu-table .zt-footer .page-num .input-group .input-group-text {
    padding: 6px;
    cursor: pointer;
}

.zu-table .zt-footer .page-num .input-group .input-group-text .fa-solid {
    color: #000;
}

.zu-table .zt-footer .page-rows {
    border-left: 1px solid var(--bs-gray-300);
    margin-left: 10px;
    padding-left: 10px;
}

.zu-table .zt-footer input {
    width: 40px;
    float: left;
    text-align: center;
}

.zu-table .zt-footer select {
    width: 60px;
    float: left;
    text-align: center;
}

.zu-table .zt-footer .count-start,
.zu-table .zt-footer .count-end,
.zu-table .zt-footer .count-total {
    font-weight: 700;
}



@media (max-width: 768px) {

    .zu-table .toolbar {
        top: 0;
        height: 45px;
    }

    .zu-table .toolbar .btn i {
        font-size: 18px;
    }
}