/* ==========================================================================
   灰白云IDC · 会员中心细节优化（B3）
   服务列表 / 账单列表 / 服务详情 / 表格与操作按钮统一
   加载顺序：tx-client.css 之后
   ========================================================================== */

.tx-uc {
    --txd-primary: #006EFF;
    --txd-primary-2: #2F86FF;
    --txd-light: #EEF5FF;
    --txd-text: #1D2129;
    --txd-text-2: #4E5969;
    --txd-gray: #86909C;
    --txd-line: #EDF0F6;
    --txd-bg: #F5F7FB;
    --txd-red: #FF3B30;
}

/* ---------------- 页面标题 / 通用 ---------------- */
.tx-uc .sky-main-content {
    padding: 18px 24px 32px;
}

.tx-uc .sky-content {
    background: transparent;
}

.tx-uc .breadcrumbsTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px !important;
    padding: 0 !important;
}

.tx-uc .breadcrumbsTitle h4,
.tx-uc .sky-main-content > .sky-container-fluid > h4.font-size-18 {
    position: relative;
    padding-left: 12px;
    margin: 0;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: var(--txd-text) !important;
    line-height: 1.4;
}

.tx-uc .breadcrumbsTitle h4::before,
.tx-uc .sky-main-content > .sky-container-fluid > h4.font-size-18::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 17px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--txd-primary-2), #22D3EE);
}

.tx-uc .sky-card,
.tx-uc .bgw {
    border-color: var(--txd-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(16, 49, 102, .04) !important;
}

.tx-uc .sky-card {
    padding: 18px 20px !important;
    margin-bottom: 14px !important;
}

.tx-uc .sky-title,
.tx-uc .sky-card .sky-title {
    position: relative;
    padding-left: 11px;
    margin: 0 0 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--txd-text) !important;
    line-height: 1.5;
}

.tx-uc .sky-title::before {
    width: 3px !important;
    height: 15px !important;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--txd-primary-2), #22D3EE) !important;
}

/* ---------------- 按钮 / 表单 ---------------- */
.tx-uc .btn {
    border-radius: 8px;
    font-size: 12.5px;
    box-shadow: none !important;
    transition: all .16s ease;
}

.tx-uc .btn-primary {
    background: var(--txd-primary) !important;
    border-color: var(--txd-primary) !important;
    color: #fff !important;
}

.tx-uc .btn-primary:hover {
    background: #2F86FF !important;
    border-color: #2F86FF !important;
}

.tx-uc .btn-outline-primary {
    border-color: #D6E4FF !important;
    color: var(--txd-primary) !important;
    background: #fff !important;
}

.tx-uc .btn-outline-primary:hover {
    background: var(--txd-light) !important;
    border-color: #9FC5FF !important;
    color: var(--txd-primary) !important;
}

.tx-uc .btn-outline-default,
.tx-uc .btn-outline-light,
.tx-uc .btn-secondary,
.tx-uc .btn-light {
    border-color: #DDE3ED !important;
    color: var(--txd-text-2) !important;
    background: #fff !important;
}

.tx-uc .btn-outline-default:hover,
.tx-uc .btn-outline-light:hover,
.tx-uc .btn-secondary:hover,
.tx-uc .btn-light:hover {
    background: #F7FAFF !important;
    border-color: #B8D4FF !important;
    color: var(--txd-primary) !important;
}

.tx-uc .btn-sm {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 28px;
}

.tx-uc .form-control,
.tx-uc .custom-select {
    height: 38px;
    border: 1px solid #DDE3ED !important;
    border-radius: 8px !important;
    font-size: 12.5px;
    color: var(--txd-text);
    background: #fff;
    box-shadow: none !important;
}

.tx-uc .form-control:focus,
.tx-uc .custom-select:focus {
    border-color: var(--txd-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 110, 255, .08) !important;
}

/* ---------------- 提示条 ---------------- */
.tx-uc .layui-elem-quote,
.tx-uc .alert {
    border-radius: 10px !important;
    border: 1px solid #E7EFFB !important;
    background: #F7FAFF !important;
    padding: 13px 16px !important;
    font-size: 12.5px;
    line-height: 1.85;
    color: var(--txd-text-2) !important;
}

.tx-uc .layui-elem-quote p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.85;
}

.tx-uc .layui-elem-quote.orange-theme,
.tx-uc .layui-elem-quote.yellow-theme {
    border-color: #FFE7C2 !important;
    background: #FFF9F1 !important;
}

/* ---------------- 顶部 tabs ---------------- */
.tx-uc .sky-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    margin: 0 0 14px;
    background: #fff;
    border: 1px solid var(--txd-line);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(16, 49, 102, .03);
    list-style: none;
}

.tx-uc .sky-tabs .sky-tabs-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    margin: 0;
    border: 0 !important;
    border-radius: 7px;
    background: transparent !important;
    color: var(--txd-text-2);
    font-size: 13px;
    cursor: pointer;
    transition: all .15s ease;
}

.tx-uc .sky-tabs .sky-tabs-item::before,
.tx-uc .sky-tabs .sky-tabs-item::after {
    display: none !important;
}

.tx-uc .sky-tabs .sky-tabs-item:hover {
    color: var(--txd-primary);
    background: #F7FAFF !important;
}

.tx-uc .sky-tabs .sky-tabs-item.active {
    color: var(--txd-primary) !important;
    background: var(--txd-light) !important;
    font-weight: 600;
}

.tx-uc .tabs_table .sky-tabs,
.tx-uc .sky-tabs-card .sky-tabs {
    margin: 0 !important;
    width: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* ---------------- 服务列表 ---------------- */
.tx-uc .Product-table > .sky-flex-100 > .bgw {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-bottom: 12px !important;
}

.tx-uc .table-header {
    background: #fff;
    border: 1px solid var(--txd-line);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(16, 49, 102, .03);
}

.tx-uc .table-filter,
.tx-uc .table-search {
    width: 100%;
}

.tx-uc .table-filter .row,
.tx-uc .table-search .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.tx-uc .table-filter .row > .col,
.tx-uc .table-filter .row > [class*="col-"] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    max-width: 100%;
}

.tx-uc .table-filter .btn,
.tx-uc .table-filter .bootstrap-select > .btn {
    height: 34px !important;
    line-height: 32px !important;
    padding: 0 13px !important;
    border-radius: 7px !important;
    font-size: 12.5px !important;
    margin: 0 !important;
}

.tx-uc .table-filter .bootstrap-select {
    width: auto !important;
    min-width: 150px;
}

.tx-uc .table-filter .bootstrap-select > .btn {
    background: #fff !important;
    border: 1px solid #DDE3ED !important;
    color: var(--txd-text-2) !important;
}

.tx-uc .table-search .search-box {
    width: 250px;
    max-width: 100%;
    margin-left: auto;
}

.tx-uc .table-search .search-box .position-relative {
    position: relative;
}

.tx-uc .table-search .form-control {
    height: 34px !important;
    padding-left: 34px !important;
    border-radius: 7px !important;
    font-size: 12.5px;
    background: #F7F9FC !important;
    border-color: #EDF0F6 !important;
}

.tx-uc .table-search .search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--txd-gray);
    font-size: 15px;
    pointer-events: none;
}

/* 服务分类 tabs */
.tx-uc .server-area {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 16px;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--txd-line);
    overflow-x: auto;
    white-space: nowrap;
}

.tx-uc .server-area-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 48px;
    padding: 0 16px;
    color: var(--txd-text-2);
    font-size: 13px;
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    white-space: nowrap;
}

.tx-uc .server-area-item:hover {
    color: var(--txd-primary);
}

.tx-uc .server-area-item.active {
    color: var(--txd-primary) !important;
    font-weight: 600;
    background: transparent !important;
}

.tx-uc .server-area-item.active::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--txd-primary);
}

.tx-uc .server-area-item .Uicon {
    font-size: 14px;
}

/* 表格卡片 */
.tx-uc .table-container.tabs_table,
.tx-uc .table-container {
    background: #fff;
    border: 1px solid var(--txd-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(16, 49, 102, .04);
}

.tx-uc .card-body.padding0 {
    padding: 0 !important;
}

.tx-uc .table-container .server-area + .card-body {
    padding-top: 0;
}

.tx-uc table.tablelist,
.tx-uc .table {
    margin: 0 !important;
    width: 100%;
    border-collapse: collapse;
}

.tx-uc .table thead th,
.tx-uc .tablelist thead th {
    height: 44px;
    padding: 10px 12px !important;
    background: #F7F9FC !important;
    border-top: 0 !important;
    border-bottom: 1px solid var(--txd-line) !important;
    color: var(--txd-gray) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.5;
    white-space: nowrap;
    vertical-align: middle;
}

.tx-uc .table tbody td,
.tx-uc .tablelist tbody td {
    padding: 13px 12px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #F3F6FB !important;
    color: var(--txd-text-2) !important;
    font-size: 12.5px !important;
    line-height: 1.6;
    vertical-align: middle;
}

.tx-uc .table tbody tr:last-child td,
.tx-uc .tablelist tbody tr:last-child td {
    border-bottom: 0 !important;
}

.tx-uc .table tbody tr:hover,
.tx-uc .tablelist tbody tr:hover {
    background: #FAFCFF !important;
}

.tx-uc .tablelist td strong,
.tx-uc .tablelist td .text-dark strong {
    color: var(--txd-text) !important;
    font-size: 13px;
    font-weight: 600;
}

.tx-uc .tablelist td small,
.tx-uc .tablelist td .text-muted {
    color: var(--txd-gray) !important;
    font-size: 11.5px;
}

.tx-uc .table .btn,
.tx-uc .tablelist .btn {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 28px;
}

.tx-uc .operation .btn {
    background: var(--txd-light) !important;
    border: 0 !important;
    color: var(--txd-primary) !important;
    font-weight: 500;
}

.tx-uc .operation .btn:hover {
    background: #E0EEFF !important;
}

.tx-uc .remarks .bx-edit-alt,
.tx-uc .btnCopy,
.tx-uc .refreshStatus {
    color: #8FB8FF !important;
    cursor: pointer;
    transition: color .15s ease;
}

.tx-uc .remarks .bx-edit-alt:hover,
.tx-uc .btnCopy:hover,
.tx-uc .refreshStatus:hover {
    color: var(--txd-primary) !important;
}

/* 状态徽标 */
.tx-uc .productIstatus,
.tx-uc .badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 22px;
    background: #F2F4F8;
    color: var(--txd-text-2);
}

.tx-uc .productIstatus[class*="status-active"],
.tx-uc .productIstatus[class*="status-verifiy_active"],
.tx-uc .productIstatus[class*="status-overdue_active"] {
    background: #EAFBF3 !important;
    color: #00A870 !important;
}

.tx-uc .productIstatus[class*="status-pending"],
.tx-uc .productIstatus[class*="status-issue_active"] {
    background: #FFF6E8 !important;
    color: #FF8F1F !important;
}

.tx-uc .productIstatus[class*="status-suspended"],
.tx-uc .productIstatus[class*="status-cancelled"],
.tx-uc .productIstatus[class*="status-fraud"],
.tx-uc .productIstatus[class*="status-deleted"] {
    background: #F4F5F7 !important;
    color: #86909C !important;
}

/* 表格底部 / 分页 */
.tx-uc .sky-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border-top: 1px solid var(--txd-line);
    font-size: 12px;
    color: var(--txd-gray);
}

.tx-uc .sky-table-quantity span {
    color: var(--txd-gray);
}

.tx-uc .table-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tx-uc .paging {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tx-uc .paging .bootstrap-select {
    width: 64px !important;
}

.tx-uc .paging .bootstrap-select > .btn {
    height: 30px !important;
    line-height: 28px !important;
    padding: 0 8px !important;
    border-radius: 6px !important;
    border: 1px solid #DDE3ED !important;
    background: #fff !important;
    font-size: 12px !important;
    color: var(--txd-text-2) !important;
}

.tx-uc .pagination {
    margin: 0;
    gap: 4px;
}

.tx-uc .pagination .page-link {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E6E9F0;
    border-radius: 6px !important;
    color: var(--txd-text-2);
    font-size: 12px;
    background: #fff;
    margin: 0;
}

.tx-uc .pagination .page-item.active .page-link {
    background: var(--txd-primary) !important;
    border-color: var(--txd-primary) !important;
    color: #fff !important;
}

.tx-uc .pagination .page-link:hover {
    border-color: var(--txd-primary);
    color: var(--txd-primary);
}

/* 空状态 */
.tx-uc .no-data,
.tx-uc .sky-empty {
    padding: 56px 16px !important;
    text-align: center;
    color: #9AA3AE !important;
    font-size: 13px !important;
    background: #FCFDFF;
}

.tx-uc .no-data::before,
.tx-uc .sky-empty::before {
    content: "";
    display: block;
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, #F3F7FF, #FFFFFF) padding-box,
        linear-gradient(135deg, #DCE9FF, #EEF5FF) border-box;
    border: 1px solid transparent;
    box-shadow: 0 8px 20px rgba(16, 49, 102, .05);
}

/* ---------------- 服务详情 ---------------- */
.tx-uc .sky-servicedetail {
    padding-top: 4px;
}

.tx-uc .machineInformation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 20px;
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid var(--txd-line);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(16, 49, 102, .04);
    list-style: none;
}

.tx-uc .machineInformation .Information-content {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: wrap;
}

.tx-uc .machineInformation .return {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #F5F8FF;
    color: var(--txd-primary) !important;
    text-decoration: none;
}

.tx-uc .machineInformation .return i {
    font-size: 15px;
}

.tx-uc .machineInformation .name {
    font-size: 18px;
    font-weight: 600;
    color: var(--txd-text);
    line-height: 1.4;
    word-break: break-all;
}

.tx-uc .machineInformation .ip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--txd-gray);
    font-size: 12px;
}

.tx-uc .machineInformation .ip .btnCopy {
    color: #8FB8FF;
}

.tx-uc .machineInformation .instanceInformation-itme {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    margin: 0;
    list-style: none;
}

.tx-uc .machineInformation .itme_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    margin: 0 0 0 8px;
    padding: 0 13px;
    border: 1px solid #DDE3ED !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: var(--txd-text-2) !important;
    font-size: 12.5px;
    line-height: 30px;
    box-shadow: none !important;
}

.tx-uc .machineInformation .itme_button:hover {
    border-color: #B8D4FF !important;
    background: #F7FAFF !important;
    color: var(--txd-primary) !important;
}

.tx-uc .machineInformation .itme_button.btn-primary {
    border-color: var(--txd-primary) !important;
    background: var(--txd-primary) !important;
    color: #fff !important;
}

.tx-uc .machineInformation .itme_button.btn-primary:hover {
    background: #2F86FF !important;
    border-color: #2F86FF !important;
}

/* 详情 tabs */
.tx-uc .machineOptions {
    display: flex;
    align-items: center;
    padding: 0 6px;
    margin: 0 0 14px;
    background: #fff;
    border: 1px solid var(--txd-line);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(16, 49, 102, .03);
    overflow-x: auto;
}

.tx-uc .machineOptions .nav-tabs-custom {
    display: flex;
    align-items: center;
    gap: 22px;
    border: 0 !important;
    margin: 0;
    white-space: nowrap;
}

.tx-uc .machineOptions .nav-item {
    margin: 0;
}

.tx-uc .machineOptions .nav-link {
    position: relative;
    height: 48px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--txd-text-2) !important;
    font-size: 13.5px;
    line-height: 48px;
}

.tx-uc .machineOptions .nav-link:hover {
    color: var(--txd-primary) !important;
}

.tx-uc .machineOptions .nav-link.active {
    color: var(--txd-primary) !important;
    font-weight: 600;
    background: transparent !important;
}

.tx-uc .machineOptions .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--txd-primary);
}

/* 实例信息列表 */
.tx-uc .sky-servicedetail .instanceInformation-row {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tx-uc .sky-servicedetail .instanceInformation-row > .instanceInformation-itme {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px dashed #F1F3F8;
    list-style: none;
}

.tx-uc .sky-servicedetail .instanceInformation-row > .instanceInformation-itme:last-child {
    border-bottom: 0;
}

.tx-uc .sky-servicedetail .instance-itme-name {
    flex: 0 0 86px;
    color: var(--txd-gray);
    font-size: 12.5px;
    line-height: 1.6;
}

.tx-uc .sky-servicedetail .instance-itme-desc {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
    color: var(--txd-text);
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
}

.tx-uc .sky-servicedetail .instance-itme-desc .text-primary {
    color: var(--txd-primary) !important;
}

.tx-uc .sky-servicedetail .productstate {
    display: inline-flex;
    align-items: center;
    height: 21px;
    margin-left: 6px;
    padding: 0 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 500;
    vertical-align: middle;
}

.tx-uc .sky-servicedetail .productstate.bg-active {
    background: #EAFBF3 !important;
    color: #00A870 !important;
}

.tx-uc .sky-servicedetail .productstate.bg-suspended,
.tx-uc .sky-servicedetail .productstate.bg-cancelled {
    background: #F4F5F7 !important;
    color: #86909C !important;
}

.tx-uc .sky-servicedetail .productstate.bg-pending {
    background: #FFF6E8 !important;
    color: #FF8F1F !important;
}

/* 监控空状态 */
.tx-uc .chartInformation:empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    margin-top: 12px;
    border: 1px dashed #E4EAF4;
    border-radius: 10px;
    background: #FAFCFF;
    color: #9AA3AE;
    font-size: 12.5px;
}

.tx-uc .chartInformation:empty::before {
    content: "暂无监控数据";
}

/* 详情卡片与布局 */
.tx-uc .sky-servicedetail .sky-flex-container {
    gap: 14px;
}

.tx-uc .sky-servicedetail .sky-flex-33 {
    flex: 0 0 360px;
}

.tx-uc .sky-servicedetail .sky-flex-66 {
    flex: 1;
    min-width: 0;
}

/* ---------------- 弹窗 ---------------- */
.tx-uc .modal-content {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(10, 30, 70, .18);
}

.tx-uc .modal-header {
    padding: 18px 22px 12px;
    border-bottom: 1px solid #F1F3F8;
}

.tx-uc .modal-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--txd-text);
}

.tx-uc .modal-body {
    padding: 18px 22px;
}

.tx-uc .modal-footer {
    padding: 12px 22px 18px;
    border-top: 1px solid #F1F3F8;
}

/* ---------------- 移动端 ---------------- */
@media (max-width: 992px) {
    .tx-uc .sky-main-content {
        padding: 12px 14px 24px;
    }

    .tx-uc .sky-servicedetail .sky-flex-33,
    .tx-uc .sky-servicedetail .sky-flex-66 {
        flex: 1 1 100%;
        width: 100%;
    }

    .tx-uc .machineInformation {
        padding: 14px;
        align-items: flex-start;
        flex-direction: column;
    }

    .tx-uc .machineInformation .instanceInformation-itme {
        flex-wrap: wrap;
        gap: 6px;
    }

    .tx-uc .machineInformation .itme_button {
        margin: 0 6px 0 0;
    }

    .tx-uc .table-header {
        padding: 10px 12px;
    }

    .tx-uc .table-filter .row,
    .tx-uc .table-search .row {
        justify-content: flex-start;
    }

    .tx-uc .table-search .search-box {
        width: 100%;
        margin-left: 0;
    }

    .tx-uc .table-search .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tx-uc .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tx-uc .table-container table {
        min-width: 820px;
    }

    .tx-uc .sky-table-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .tx-uc .sky-main-content {
        padding: 10px 12px 20px;
    }

    .tx-uc .breadcrumbsTitle h4,
    .tx-uc .sky-main-content > .sky-container-fluid > h4.font-size-18 {
        font-size: 16px !important;
    }

    .tx-uc .sky-card {
        padding: 14px !important;
        border-radius: 10px !important;
    }

    .tx-uc .sky-servicedetail .sky-servicedetail .sky-card,
    .tx-uc .sky-servicedetail .instanceInformation {
        padding: 14px !important;
    }

    .tx-uc .table-header {
        border-radius: 10px;
    }

    .tx-uc .table-filter .btn,
    .tx-uc .table-filter .bootstrap-select > .btn {
        height: 32px !important;
        line-height: 30px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    .tx-uc .table-filter .bootstrap-select {
        min-width: 130px;
    }

    .tx-uc .server-area {
        padding: 0 8px;
    }

    .tx-uc .server-area-item {
        height: 44px;
        padding: 0 12px;
        font-size: 12.5px;
    }

    .tx-uc .table-container table {
        min-width: 760px;
    }

    .tx-uc .machineInformation .name {
        font-size: 16px;
    }

    .tx-uc .machineInformation .Information-content {
        gap: 8px;
    }

    .tx-uc .machineInformation .itme_button {
        height: 30px;
        padding: 0 10px;
        font-size: 12px;
        line-height: 28px;
    }

    .tx-uc .machineOptions {
        border-radius: 10px;
        padding: 0 4px;
    }

    .tx-uc .machineOptions .nav-tabs-custom {
        gap: 18px;
    }

    .tx-uc .machineOptions .nav-link {
        height: 44px;
        line-height: 44px;
        font-size: 13px;
    }

    .tx-uc .sky-servicedetail .instance-itme-name {
        flex-basis: 76px;
        font-size: 12px;
    }

    .tx-uc .sky-servicedetail .instance-itme-desc {
        font-size: 12.5px;
    }

    .tx-uc .chartInformation:empty {
        min-height: 180px;
    }

    .tx-uc .sky-table-footer {
        padding: 12px;
    }

    .tx-uc .pagination .page-link {
        min-width: 28px;
        height: 28px;
        padding: 0 7px;
    }
}

/* === B3 修正：空状态 / 监控占位 / 移动端标题 === */
.tx-uc .table tbody td:has(.no-data) {
    padding: 0 !important;
    background: #fff !important;
}

.tx-uc .no-data,
.tx-uc .sky-empty {
    display: block;
    width: 100%;
    padding: 58px 16px !important;
    text-align: center !important;
    background: transparent !important;
    color: #9AA3AE !important;
}

.tx-uc .no-data::before,
.tx-uc .sky-empty::before {
    display: none !important;
    content: none !important;
}

.tx-uc .chartInformation:not(:has([_echarts_instance_])):not(:has(canvas)) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    margin-top: 12px;
    border: 1px dashed #E4EAF4;
    border-radius: 10px;
    background: #FAFCFF;
    color: #9AA3AE;
    font-size: 12.5px;
}

.tx-uc .chartInformation:not(:has([_echarts_instance_])):not(:has(canvas))::before {
    content: "暂无监控数据";
}

.txd-mobile-head {
    display: none;
}

@media (max-width: 768px) {
    .txd-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 10px;
        padding: 14px 16px;
        background: #fff;
        border: 1px solid #EDF0F6;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(16, 49, 102, .04);
    }

    .txd-mobile-head-main {
        min-width: 0;
    }

    .txd-mobile-head-name {
        font-size: 16px;
        font-weight: 600;
        color: #1D2129;
        line-height: 1.4;
        word-break: break-all;
    }

    .txd-mobile-head-ip {
        margin-top: 4px;
        font-size: 11.5px;
        color: #86909C;
    }

    .txd-mobile-head-status {
        flex: 0 0 auto;
        padding: 0 8px;
        height: 22px;
        border-radius: 5px;
        background: #F2F4F8;
        color: #4E5969;
        font-size: 11px;
        line-height: 22px;
        white-space: nowrap;
    }

    .txd-mobile-head-status.bg-active {
        background: #EAFBF3;
        color: #00A870;
    }

    .txd-mobile-head-status.bg-pending {
        background: #FFF6E8;
        color: #FF8F1F;
    }
}

/* 提示条图标不遮挡文字 */
.tx-uc .layui-elem-quote.alert-icon {
    padding-left: 52px !important;
}

.tx-uc .layui-elem-quote.alert-icon::before {
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* 移动端 tabs 横向滚动，避免被截断 */
@media (max-width: 768px) {
    .tx-uc .sky-tabs {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tx-uc .sky-tabs::-webkit-scrollbar {
        display: none;
    }

    .tx-uc .sky-tabs .sky-tabs-item {
        flex: 0 0 auto;
    }

    .tx-uc .table-container,
    .tx-uc .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}
