/* Unified record surfaces; native DataTables search, ordering and paging. */
.zh-saas-theme .dataTables_wrapper {
    border: 1px solid #e0e6f0; border-radius: 18px; padding: 0 18px;
    background: #fff; box-shadow: 0 8px 28px rgba(12,20,40,.045); margin-bottom: 24px;
}
.zh-saas-theme .dataTables_wrapper .zh-table-toolbar {
    padding: 20px 4px; margin: 0; border-bottom: 1px solid #edf0f6;
}
.zh-saas-theme .dataTables_wrapper .zh-table-toolbar input {
    width: 280px !important; background: #f5f7fb !important; border-color: #e2e7f0 !important;
    height: 44px !important; border-radius: 10px !important;
}
.zh-saas-theme .dataTables_wrapper .zh-table-toolbar select { height: 44px !important; border-radius: 10px !important; }
.zh-saas-theme .dataTables_wrapper .zh-table-scroll { border: 0; border-radius: 0; padding: 10px 0; background: #fff; }
.zh-saas-theme.zh-is-logged-in .dataTables_wrapper table.table-list {
    border-collapse: separate !important; border-spacing: 0 8px !important; background: #fff !important;
}
.zh-saas-theme.zh-is-logged-in .dataTables_wrapper table.table-list thead th {
    background: #fff !important; color: #778196 !important; padding: 10px 26px 10px 16px !important;
    border-bottom: 0 !important; font-size: 10px !important; letter-spacing: .065em; text-transform: uppercase;
}
.zh-saas-theme.zh-is-logged-in .dataTables_wrapper table.table-list tbody td {
    background: #f6f8fc !important; border: 0 !important; padding: 18px 16px !important; font-size: 13px;
    box-shadow: inset 0 1px #edf0f7, inset 0 -1px #edf0f7;
}
.zh-saas-theme.zh-is-logged-in .dataTables_wrapper table.table-list tbody td:first-child { border-radius: 12px 0 0 12px; }
.zh-saas-theme.zh-is-logged-in .dataTables_wrapper table.table-list tbody td:last-child { border-radius: 0 12px 12px 0; }
.zh-saas-theme.zh-is-logged-in .dataTables_wrapper table.table-list tbody tr:hover td { background: #eef3ff !important; }
.zh-saas-theme .dataTables_wrapper .zh-table-footer { padding: 18px 4px; border-top: 1px solid #edf0f6; }
.zh-saas-theme .dataTables_wrapper .pagination .page-link { min-width: 38px; min-height: 38px; display: grid; place-items: center; border-color: #e3e8f1; }
.zh-saas-theme #tableServicesList td:first-child img { width: 20px; height: auto; }
.zh-saas-theme #tableServicesList .zh-service-link { font-size: 14px; }
.zh-saas-theme .zh-content-surface .table:not(.table-list) { border-color: #e2e7f0; font-size: 13px; }
.zh-saas-theme .zh-content-surface .table:not(.table-list) th { background: #f5f7fb; padding: 14px; color: #5c687c; }
.zh-saas-theme .zh-content-surface .table:not(.table-list) td { padding: 14px; vertical-align: middle; border-color: #edf0f6; }
@media(max-width:700px) {
    .zh-saas-theme .dataTables_wrapper { padding: 0 12px; border-radius: 14px; }
    .zh-saas-theme .dataTables_wrapper .zh-table-toolbar { gap: 14px; padding: 16px 0; }
    .zh-saas-theme .dataTables_wrapper .zh-table-toolbar .dataTables_filter { width: 100% !important; }
    .zh-saas-theme .dataTables_wrapper .zh-table-toolbar label { font-size: 12px; }
    .zh-saas-theme .dataTables_wrapper .zh-table-toolbar .dataTables_filter label { display: flex; }
    .zh-saas-theme .dataTables_wrapper .zh-table-toolbar input { width: 100% !important; flex: 1; min-width: 0; }
    .zh-saas-theme.zh-is-logged-in .dataTables_wrapper table.zh-record-table { display: block; min-width: 0 !important; width: 100% !important; border-spacing: 0 !important; }
    /* Keep headings in the accessibility tree; repeat their labels per record. */
    .zh-saas-theme table.zh-record-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .zh-saas-theme table.zh-record-table tbody { display: grid; gap: 14px; width: 100%; }
    .zh-saas-theme table.zh-record-table tbody tr { display: block; padding: 8px 14px; border: 1px solid #e2e7f0; border-radius: 12px; background: #f8faff; }
    .zh-saas-theme.zh-is-logged-in .dataTables_wrapper table.zh-record-table tbody td {
        display: block; width: auto !important; min-width: 0 !important; max-width: 100%; padding: 10px 0 !important;
        border-radius: 0 !important; border-bottom: 1px solid #e8edf5 !important; background: transparent !important;
        text-align: left !important; box-shadow: none !important; white-space: normal !important; overflow-wrap: anywhere;
    }
    .zh-saas-theme.zh-is-logged-in .dataTables_wrapper table.zh-record-table tbody td:last-child { border-bottom: 0 !important; }
    .zh-saas-theme table.zh-record-table td[data-column-label]:not([data-column-label=""])::before {
        content: attr(data-column-label); display: block; margin-bottom: 5px; font-size: 10px; font-weight: 600; color: #758196; letter-spacing: .03em;
    }
    .zh-saas-theme.zh-is-logged-in .dataTables_wrapper table.zh-record-table tbody td:empty { display: none; }
    .zh-saas-theme #tableServicesList .zh-service-price small { display: inline; margin-left: 8px; }
    .zh-saas-theme .dataTables_wrapper .zh-table-footer { gap: 14px; justify-content: center; padding: 16px 0; }
}
.zh-saas-theme .zh-table-toolbar .zh-mobile-sort { display: none; }
@media(max-width:700px) {
 .zh-saas-theme .zh-table-toolbar .zh-mobile-sort { display: flex; width: 100%; gap: 10px; }
 .zh-saas-theme .zh-table-toolbar .zh-mobile-sort select { flex: 1; min-width: 0; max-width: 100%; }
}
@media(max-width:700px) {
 .zh-saas-theme.zh-is-logged-in .dataTables_wrapper table.zh-record-table tbody td.zh-empty-cell { display: none; }
 .zh-saas-theme.zh-is-logged-in .dataTables_wrapper #tableServicesList .zh-service-price { text-align: left !important; }
}
