/* 派单SaaS V7 后台主题 */
.paidan-v7.layui-layout-admin > .layui-body {
    left: 220px !important;
    background: #f4f4f4 !important;
    overflow-x: hidden;
}

.paidan-v7 .layui-card > .layui-card-body {
    overflow-x: hidden;
}

.paidan-v7 .layui-card > .layui-card-body:has(.paidan-user-page) {
    padding: 10px;
}

.paidan-v7 .layui-card:has(.paidan-user-page) {
    width: 100%;
    box-sizing: border-box;
}

.paidan-v7.layui-layout-admin > .layui-side {
    display: block !important;
    width: 220px !important;
    top: 50px;
    background: #222d32 !important;
}

.paidan-v7 .paidan-sidebar .layui-side-scroll,
.paidan-v7 .paidan-sidebar .layui-nav-tree {
    width: 220px !important;
}

.paidan-v7 .layui-header.paidan-header {
    background: #222d32 !important;
    border-bottom: none;
    box-shadow: none;
}

.paidan-v7 .paidan-header .layui-logo {
    color: #fff !important;
    background: #222d32 !important;
    border-right: 1px solid rgba(255, 255, 255, .08);
    width: 220px !important;
    font-size: 15px;
    font-weight: 600;
}

.paidan-v7 .paidan-header .paidan-ver {
    color: #1ab394;
    font-size: 11px;
    margin-left: 4px;
}

.paidan-v7 .paidan-header .layui-nav-item > a {
    color: #b8c7ce !important;
}

.paidan-v7 .paidan-header .layui-layout-left {
    left: 220px;
}

.paidan-v7 .paidan-menu-toggle {
    display: inline-block;
    width: 42px;
    height: 50px;
    line-height: 50px;
    margin: 0;
    text-align: center;
    color: #b8c7ce !important;
    font-size: 18px;
    vertical-align: top;
    cursor: pointer;
}

.paidan-v7 .paidan-menu-toggle:hover {
    color: #fff !important;
}

.paidan-v7 .paidan-console-btn {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    margin: 10px 0 0 4px;
    padding: 0 12px;
    border-radius: 3px;
    background: #1ab394;
    color: #fff !important;
    font-size: 12px;
    vertical-align: top;
}

.paidan-v7 .paidan-cs-btn {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    margin: 10px 0 0 8px;
    padding: 0 12px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #b8c7ce !important;
    font-size: 12px;
    vertical-align: top;
}

.paidan-v7 .paidan-cs-btn:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .22);
}

.paidan-v7 .paidan-cs-btn .layui-icon,
.paidan-v7 .paidan-console-btn .layui-icon {
    font-size: 14px;
    margin-right: 2px;
}

/* 侧栏折叠（图标模式） */
.paidan-v7.layui-layout-left-mini > .layui-body {
    left: 50px !important;
}

.paidan-v7.layui-layout-left-mini > .layui-side,
.paidan-v7.layui-layout-left-mini .paidan-sidebar .layui-side-scroll,
.paidan-v7.layui-layout-left-mini .paidan-sidebar .layui-nav-tree {
    width: 50px !important;
}

.paidan-v7.layui-layout-left-mini .paidan-header .layui-logo {
    width: 50px !important;
    padding: 0 4px;
    text-align: center;
}

.paidan-v7.layui-layout-left-mini .paidan-logo-text {
    display: none;
}

.paidan-v7.layui-layout-left-mini .paidan-header .paidan-ver {
    display: inline-block;
    margin: 0;
    line-height: 50px;
    font-size: 12px;
}

.paidan-v7.layui-layout-left-mini .paidan-header .layui-layout-left {
    left: 50px;
}

.paidan-v7.layui-layout-left-mini .paidan-sidebar .layui-nav-item > a {
    padding: 0;
    text-align: center;
    height: 44px;
    line-height: 44px;
    background: transparent !important;
}

.paidan-v7.layui-layout-left-mini .paidan-sidebar .layui-nav-itemed > a {
    background: transparent !important;
}

.paidan-v7.layui-layout-left-mini .paidan-sidebar .layui-nav-item > a:hover,
.paidan-v7.layui-layout-left-mini .paidan-sidebar .layui-this > a {
    background: #1ab394 !important;
}

.paidan-v7.layui-layout-left-mini .paidan-sidebar .layui-nav-child {
    display: none !important;
}

.paidan-v7.layui-layout-left-mini .paidan-sidebar .layui-nav-more {
    display: none !important;
}

.paidan-v7.layui-layout-left-mini .paidan-sidebar .layui-nav-item .nav-text {
    display: none !important;
}

.paidan-v7.layui-layout-left-mini .paidan-sidebar .layui-nav-item > a .nav-icon {
    display: inline-block !important;
    margin: 0;
    width: 100%;
    font-size: 18px;
    line-height: 44px;
}

.paidan-v7.layui-layout-left-mini .paidan-sidebar .layui-nav-child dd a {
    padding: 0;
    text-align: center;
}

.paidan-v7.layui-layout-left-mini .paidan-sidebar .nav-icon {
    display: inline-block !important;
    padding: 0 !important;
    font-size: 18px;
    line-height: 44px;
}

.paidan-v7.layui-layout-left-mini [data-target-menu-type] .layui-icon {
    display: inline-block;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.paidan-v7 .paidan-sys-time {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 13px;
    color: #e74c3c;
    white-space: nowrap;
}

.paidan-v7 .paidan-time-red {
    color: #e74c3c;
    font-weight: 600;
}

.paidan-v7 .paidan-sidebar .layui-nav-item > a {
    height: 42px;
    line-height: 42px;
    font-size: 13px;
}

.paidan-v7 .paidan-sidebar .nav-icon {
    display: inline-block;
    width: 18px;
    text-align: center;
    margin-right: 6px;
    vertical-align: middle;
}

.paidan-v7 .paidan-sidebar .layui-nav-child dd a {
    padding-left: 28px !important;
    font-size: 13px;
}

.paidan-v7 .paidan-sidebar .layui-this > a {
    background: #1ab394 !important;
    color: #fff !important;
}

.paidan-v7 .paidan-sidebar .layui-nav-itemed > a {
    background: transparent !important;
    color: #c2c7d0 !important;
}

.paidan-v7 .layui-card > .layui-card-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.paidan-user-tips {
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 12px;
}

.paidan-user-page.think-box-shadow {
    padding: 12px 10px !important;
}

.paidan-user-page {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    max-width: 100%;
}

.paidan-user-page .paidan-table-layout {
    display: flex !important;
    flex-wrap: nowrap;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid #e6e6e6;
}

.paidan-user-page .paidan-table-scroll {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.paidan-user-page .paidan-table-scroll .layui-table,
.paidan-user-page .paidan-op-rail .layui-table {
    margin-top: 0 !important;
}

.paidan-user-page .paidan-users-table {
    width: max-content;
    min-width: 2800px;
}

.paidan-user-page .paidan-op-rail {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    position: relative;
    margin-left: 0;
    z-index: 2;
    border-left: 1px solid #e6e6e6;
    background: #fff;
    box-shadow: -4px 0 8px -4px rgba(0, 0, 0, 0.08);
}

.paidan-user-page .paidan-users-table,
.paidan-user-page .paidan-op-table {
    border-collapse: collapse !important;
}

.paidan-user-page .paidan-users-table tbody td,
.paidan-user-page .paidan-op-table tbody td {
    vertical-align: middle !important;
    box-sizing: border-box;
}

.paidan-user-page .paidan-op-table td.paidan-op-panel {
    padding: 6px 4px !important;
    background: #fff;
    white-space: nowrap;
    vertical-align: middle !important;
    line-height: 24px;
}

.paidan-user-page .paidan-op-table td.paidan-op-panel .layui-btn {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    margin: 0 2px 0 0;
    padding: 0 6px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    border-radius: 2px;
    white-space: nowrap;
}

.paidan-btn-outline {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
}

.paidan-search-wrap {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 10px 10px 2px;
    margin-bottom: 10px;
}

.paidan-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 8px;
}

.paidan-field {
    display: flex;
    flex-direction: column;
}

.paidan-field label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1;
}

.paidan-field .layui-input,
.paidan-field select {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}

.paidan-w-xs { width: 90px; }
.paidan-w-sm { width: 130px; }
.paidan-w-md { width: 220px; }
.paidan-w-lg { width: 210px; }
.paidan-w-btn { width: 90px; }
.paidan-w-user { width: 130px; flex: 0 0 130px; }
.paidan-w-area { width: 100px; flex: 0 0 100px; }
.paidan-w-id { width: 90px; flex: 0 0 90px; }
.paidan-w-ip { width: 130px; flex: 0 0 130px; }
.paidan-w-addr-lg { width: 260px; flex: 0 0 260px; }
.paidan-w-agent { width: 130px; flex: 0 0 130px; }
.paidan-w-date { width: 240px; flex: 0 0 240px; }

.paidan-search-wrap .paidan-native-select {
    width: 100%;
    height: 30px;
    line-height: 30px;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    padding: 0 8px;
    font-size: 12px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
    cursor: pointer;
}

.paidan-search-btn {
    background: #fff !important;
    color: #1ab394 !important;
    border: 1px solid #1ab394 !important;
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    font-size: 12px;
}

.paidan-batch-del {
    height: 30px;
    line-height: 30px;
    padding: 0 12px !important;
    font-size: 12px;
}

.paidan-table-layout {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e6e6e6;
}

.paidan-table-layout .layui-table {
    margin-top: 0 !important;
}

.paidan-table-scroll {
    flex: 1 1 auto;
    overflow-x: auto;
    min-width: 0;
    background: #fff;
    border: none;
    position: relative;
}

.paidan-op-rail {
    flex: 0 0 auto;
    width: max-content;
    border-left: 1px solid #e6e6e6;
    background: #fff;
    overflow: hidden;
}

.paidan-op-table {
    width: max-content;
    min-width: 0;
    font-size: 12px;
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

.paidan-op-table th,
.paidan-op-table td {
    padding: 8px 6px !important;
    vertical-align: middle !important;
}

.paidan-users-table {
    min-width: 2800px;
    font-size: 12px;
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

.paidan-users-table th,
.paidan-users-table td {
    padding: 8px 6px !important;
    vertical-align: middle !important;
    white-space: nowrap;
}

.paidan-users-table .paidan-info-block {
    line-height: 1.6;
    font-size: 12px;
}

.paidan-users-table .paidan-ip-dup {
    color: #e74c3c !important;
}

.paidan-users-table .paidan-tel-real {
    color: #1ab394;
}

.paidan-users-table .paidan-tel-fake {
    color: #e74c3c;
}

.paidan-users-table .paidan-online-yes {
    color: #1ab394;
}

.paidan-users-table .paidan-online-no {
    color: #999;
}

.paidan-users-table .paidan-addr {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.paidan-switch {
    display: inline-block;
    min-width: 52px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.paidan-switch-on {
    background: #1ab394;
    color: #fff;
}

.paidan-switch-off {
    background: #d2d6de;
    color: #666;
}

.paidan-op-col {
    min-width: 0;
    width: auto;
    text-align: center;
    background: #f2f2f2;
    white-space: nowrap;
    padding: 8px 6px !important;
}

.paidan-op-table td.paidan-op-panel {
    padding: 6px 4px !important;
    background: #fff;
    white-space: nowrap;
    vertical-align: middle !important;
    line-height: 24px;
}

.paidan-op-table td.paidan-op-panel .layui-btn {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    margin: 0 2px 0 0;
    padding: 0 6px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    border-radius: 2px;
    white-space: nowrap;
}

.paidan-op-query {
    background: #ffb800 !important;
    color: #fff !important;
    border: none !important;
}

.paidan-op-account {
    background: #fff !important;
    color: #1ab394 !important;
    border: 1px solid #1ab394 !important;
}

.paidan-op-edit {
    background: #1ab394 !important;
}

.paidan-op-order {
    background: #1e9fff !important;
}

.paidan-op-log {
    background: #009688 !important;
}

.paidan-op-cs {
    background: #5fb878 !important;
}

.paidan-op-del {
    background: #ff5722 !important;
    color: #fff !important;
    border: none !important;
}

.paidan-op-real {
    background: #fff !important;
    color: #e74c3c !important;
    border: 1px solid #e74c3c !important;
}

.paidan-modal-box {
    padding: 15px 20px 0;
}

.paidan-modal-form .paidan-modal-footer {
    padding: 10px 20px 15px;
    text-align: center;
}

.paidan-modal-footer .layui-btn {
    min-width: 100px;
}

.paidan-balance-line {
    font-size: 14px;
    margin-bottom: 12px;
}

.paidan-paidan-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.paidan-inline-field {
    flex: 1;
    min-width: 140px;
}

.paidan-inline-field span {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.paidan-paidan-actions {
    margin: 12px 0;
    display: flex;
    justify-content: space-between;
}

.paidan-v7 .layui-header .layui-badge {
    top: 5px !important;
}

.paidan-v7 .layui-header .layui-nav-bar,
.paidan-v7 .layui-header .layui-nav-item:after {
    display: none !important;
}

.paidan-v7 .layui-header .layui-nav-item.layui-this > a {
    color: #1ab394 !important;
}

.paidan-w-xl { width: 280px; }

.paidan-real-user-page {
    padding: 0 !important;
    overflow-x: hidden;
    max-width: 100%;
}

.paidan-real-user-page .paidan-table-layout {
    display: flex !important;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    align-items: stretch;
    gap: 0;
}

.paidan-real-user-page .paidan-table-scroll {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    overflow: visible;
}

.paidan-real-user-page .paidan-table-scroll .layui-table,
.paidan-real-user-page .paidan-real-op-rail .layui-table {
    margin-top: 0 !important;
}

.paidan-real-search-block {
    background: #fff;
    border-bottom: 1px solid #eef2f1;
}

.paidan-real-user-tips {
    background: #fff;
    border-left: 3px solid #1ab394;
    padding: 10px 15px 8px;
    margin: 0;
}

.paidan-real-user-tips p {
    margin: 0;
    line-height: 1.6;
    font-size: 12px;
}

.paidan-real-search-form {
    background: #fff;
    padding: 0 15px 12px;
    margin: 0;
    border-bottom: none;
    overflow-x: auto;
}

.paidan-real-search-row {
    flex-wrap: nowrap;
    align-items: flex-end;
    margin-bottom: 0;
    min-width: 920px;
}

.paidan-real-w-user { width: 150px; flex: 0 0 150px; }
.paidan-real-w-id { width: 110px; flex: 0 0 110px; }
.paidan-real-w-addr { width: 320px; flex: 0 0 320px; }
.paidan-real-w-agent { width: 180px; flex: 0 0 180px; }
.paidan-real-w-btn { width: 82px; flex: 0 0 82px; }

.paidan-real-search-form .paidan-field .layui-input,
.paidan-native-select {
    width: 100%;
    height: 30px;
    line-height: 30px;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    padding: 0 8px;
    font-size: 12px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}

.paidan-native-select {
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
    cursor: pointer;
    padding-right: 20px;
}

.paidan-real-user-table {
    min-width: 1680px;
}

.paidan-real-user-table .paidan-col-click-time {
    min-width: 150px;
}

.paidan-real-user-table th:nth-child(2),
.paidan-real-user-table td:nth-child(2) {
    min-width: 56px;
}

.paidan-real-user-table th:nth-child(4),
.paidan-real-user-table td:nth-child(4) {
    min-width: 110px;
}

.paidan-real-user-layout {
    border: none;
    margin-top: 0;
}

.paidan-real-nodata,
.paidan-real-nodata-op {
    text-align: center;
    color: #999;
    font-size: 13px;
    padding: 40px 8px !important;
    background: #fff;
}

.paidan-real-user-table .paidan-addr-lg {
    max-width: 180px;
}

.paidan-real-user-page .paidan-real-op-rail,
.paidan-real-user-page .paidan-op-rail {
    flex: 0 0 auto;
    width: max-content;
    max-width: none;
    position: sticky;
    right: 0;
    margin-left: 0;
    z-index: 30;
    border-left: 1px solid #e6e6e6;
    background: #fff;
    box-shadow: -4px 0 8px -4px rgba(0, 0, 0, 0.08);
}

.paidan-real-op-table {
    min-width: 0;
    width: max-content;
}

.paidan-real-op-rail .paidan-op-col {
    min-width: 0;
    width: auto;
    white-space: nowrap;
}

.paidan-op-recharge {
    background: #1ab394 !important;
}

.paidan-log-table th,
.paidan-log-table td {
    font-size: 12px;
    padding: 10px 12px !important;
    line-height: 1.5;
}

.paidan-log-table thead th {
    background: #f2f2f2;
    font-weight: 600;
}

.paidan-real-op-table .paidan-op-panel {
    flex-wrap: nowrap;
    gap: 6px;
}

.paidan-real-op-table .paidan-op-panel .layui-btn {
    padding: 0 10px;
}

.paidan-batch-tip {
    margin: 0 0 12px;
    font-size: 12px;
}

.paidan-batch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.paidan-batch-add-wrap {
    margin-bottom: 10px;
}

.paidan-batch-footer {
    padding-top: 10px;
}

.paidan-search-ip-page {
    padding: 30px 20px 40px;
    background: #fff;
    min-height: 360px;
}

.paidan-search-ip-form {
    width: 420px;
    max-width: 100%;
    margin: 40px auto 0;
}

.paidan-search-ip-field {
    margin-bottom: 18px;
}

.paidan-search-ip-field label {
    display: block;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
}

.paidan-search-ip-select {
    width: 180px;
    height: 36px;
    line-height: 36px;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    padding: 0 10px;
    font-size: 13px;
    background: #fff;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
}

.paidan-search-ip-field-wide .layui-input {
    width: 100%;
    height: 36px;
    line-height: 36px;
    font-size: 13px;
}

.paidan-search-ip-btns {
    text-align: center;
    margin-top: 28px;
}

.paidan-search-ip-btns .layui-btn {
    min-width: 96px;
    height: 34px;
    line-height: 34px;
    padding: 0 18px;
    margin: 0 8px;
}

.paidan-search-ip-btns .layui-btn-normal {
    background: #1ab394 !important;
    border-color: #1ab394 !important;
}

.paidan-search-ip-btns .layui-btn-warm {
    background: #ffb800 !important;
    border-color: #ffb800 !important;
    color: #fff !important;
}

.paidan-ip-result-head {
    background: #1e9fff;
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
}

.paidan-ip-result-table thead th {
    background: #1e9fff !important;
    color: #fff !important;
}

.paidan-ip-cell {
    font-size: 12px;
    line-height: 1.6;
    max-width: 360px;
    white-space: normal;
}

.paidan-search-ip-back {
    padding: 15px;
    text-align: center;
}

.paidan-ip-result-scroll {
    overflow-x: auto;
}

.paidan-search-ip-result {
    overflow: hidden;
}

.paidan-query-tel .help-block {
    font-size: 12px;
    margin-top: 6px;
}

/* 当月用户数据 */
.paidan-dy-user-page {
    padding: 0 !important;
    overflow-x: hidden;
    max-width: 100%;
}

.paidan-dy-user-page .paidan-table-layout {
    display: flex !important;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    align-items: stretch;
    gap: 0;
}

.paidan-dy-user-page .paidan-table-scroll {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    overflow: visible;
}

.paidan-dy-user-page .paidan-dy-op-rail {
    flex: 0 0 auto;
    width: max-content;
    position: sticky;
    right: 0;
    z-index: 30;
    border-left: 1px solid #e6e6e6;
    background: #fff;
    box-shadow: -4px 0 8px -4px rgba(0, 0, 0, 0.08);
}

.paidan-dy-stats {
    background: #fff;
    padding: 10px 15px 6px;
    border-bottom: 1px solid #eef2f1;
}

.paidan-dy-stats p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
}

.paidan-dy-search-block {
    background: #fff;
    border-bottom: 1px solid #eef2f1;
}

.paidan-dy-search-form {
    padding: 0 10px 10px;
    margin: 0;
}

.paidan-dy-search-row {
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 8px;
    gap: 8px 10px;
}

.paidan-dy-search-row2 {
    margin-bottom: 0;
}

.paidan-dy-w-user { width: 120px; flex: 0 0 120px; }
.paidan-dy-w-tel { width: 120px; flex: 0 0 120px; }
.paidan-dy-w-id { width: 90px; flex: 0 0 90px; }
.paidan-dy-w-addr { width: 220px; flex: 0 0 220px; }
.paidan-dy-w-agent { width: 130px; flex: 0 0 130px; }
.paidan-dy-w-online { width: 100px; flex: 0 0 100px; }
.paidan-dy-w-month { width: 110px; flex: 0 0 110px; }
.paidan-dy-w-btn { width: 82px; flex: 0 0 82px; }

.paidan-dy-user-table {
    min-width: 2200px;
    font-size: 12px;
}

.paidan-dy-user-table th,
.paidan-dy-user-table td {
    padding: 8px 6px !important;
    vertical-align: middle !important;
    white-space: nowrap;
    font-size: 12px;
}

.paidan-dy-op-table {
    width: max-content;
    min-width: 0;
    font-size: 12px;
}

.paidan-dy-op-table .paidan-op-panel .layui-btn {
    padding: 0 8px;
}

.paidan-dy-nodata,
.paidan-dy-nodata-op {
    text-align: center;
    color: #999;
    font-size: 13px;
    padding: 40px 8px !important;
}

.paidan-sort-th {
    white-space: nowrap;
}

.paidan-sort-link {
    color: #333;
    text-decoration: none;
}

.paidan-sort-link:hover {
    color: #1ab394;
}

.paidan-sort-icon {
    font-size: 12px;
    color: #1ab394;
    vertical-align: middle;
}

.paidan-export-btn {
    height: 30px;
    line-height: 30px;
    padding: 0 10px !important;
    font-size: 12px;
}

.paidan-dy-user-layout {
    border: none;
    margin-top: 0;
}

/* 订单列表：横向滚动 + 操作列固定右侧 */
.paidan-order-page {
    overflow: visible;
    max-width: 100%;
}

.paidan-order-page .paidan-order-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin-top: 10px;
}

.paidan-order-page .paidan-order-table {
    width: max-content;
    min-width: 100%;
    font-size: 12px;
    margin-top: 0 !important;
}

.paidan-order-page .paidan-order-table th,
.paidan-order-page .paidan-order-table td {
    padding: 8px 10px !important;
    vertical-align: middle !important;
    font-size: 12px;
}

.paidan-order-page .paidan-goods-name {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.paidan-order-page .paidan-order-op-col,
.paidan-order-page .paidan-order-op {
    position: sticky;
    right: 0;
    z-index: 3;
    background: #fff;
    white-space: nowrap;
    min-width: 110px;
    box-shadow: -4px 0 8px -4px rgba(0, 0, 0, 0.08);
}

.paidan-order-page .paidan-order-table thead .paidan-order-op-col {
    background: #f2f2f2;
    z-index: 4;
}

.paidan-order-page .paidan-order-op .layui-btn {
    margin: 0 2px 0 0;
    padding: 0 8px;
    height: 24px;
    line-height: 24px;
}

.paidan-v7 .layui-card > .layui-card-body:has(.paidan-order-page) {
    overflow-x: visible;
}

/* 控制台数据中心 */
.paidan-v7 .layui-card:has(.paidan-portal-page) {
    box-shadow: none;
    background: transparent;
}

.paidan-v7 .layui-card > .layui-card-body:has(.paidan-portal-page) {
    padding: 12px 15px 15px;
    background: #f4f4f4;
}

.paidan-portal-page {
    font-size: 13px;
}

.paidan-portal-cards {
    margin-bottom: 12px;
}

.paidan-portal-row2 {
    margin-top: 0;
}

.paidan-portal-card {
    position: relative;
    color: #fff;
    border-radius: 4px;
    padding: 18px 20px 16px;
    min-height: 118px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.paidan-portal-card-title {
    font-size: 13px;
    line-height: 1.4;
    opacity: .95;
}

.paidan-portal-card-num {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    margin: 6px 0 4px;
    letter-spacing: 0;
}

.paidan-portal-card-sub {
    font-size: 12px;
    line-height: 1.5;
    opacity: .9;
}

.paidan-portal-card-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 56px;
    opacity: .35;
    line-height: 1;
}

.paidan-portal-card-blue {
    background: linear-gradient(-125deg, #57bdbf, #2f9de2);
}

.paidan-portal-card-pink {
    background: linear-gradient(-125deg, #ff7d7d, #fb2c95);
}

.paidan-portal-card-orange {
    background: linear-gradient(-141deg, #ecca1b, #f39526);
}

.paidan-portal-card-purple {
    background: linear-gradient(-113deg, #c543d8, #925cc3);
}

.paidan-portal-card-teal {
    background: linear-gradient(-125deg, #1ab394, #0e8f7a);
}

.paidan-portal-chart-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.paidan-portal-chart {
    width: 100%;
    height: 340px;
}

/* 域名分类 */
.paidan-domain-cate-page {
    padding: 0 !important;
}

.paidan-domain-cate-table {
    margin-top: 0 !important;
    font-size: 13px;
}

.paidan-domain-cate-table th,
.paidan-domain-cate-table td {
    padding: 10px 12px !important;
    vertical-align: middle !important;
}

.paidan-domain-view-btn {
    background: #1ab394 !important;
    border-color: #1ab394 !important;
}

.paidan-domain-cate-form .layui-card-body {
    padding: 18px 20px 24px !important;
}

.paidan-domain-field {
    margin-bottom: 16px;
}

.paidan-domain-label {
    display: block;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.paidan-domain-name-input {
    max-width: 520px;
    height: 34px;
    line-height: 34px;
    font-size: 13px;
}

.paidan-domain-editor-wrap .cke,
.paidan-domain-editor-wrap .cke_inner,
.paidan-domain-editor-wrap .cke_contents {
    max-width: 100%;
}

.paidan-domain-form-actions {
    margin-top: 24px;
    text-align: center;
}

.paidan-domain-submit-btn {
    min-width: 120px;
    height: 36px;
    line-height: 36px;
    background: #1ab394 !important;
    border-color: #1ab394 !important;
    font-size: 14px;
}

.paidan-domain-back-btn {
    min-width: 120px;
    height: 36px;
    line-height: 36px;
    margin-left: 12px;
    background: #ff5722 !important;
    border-color: #ff5722 !important;
    font-size: 14px;
}

/* 业务员管理 */
.paidan-staff-add-btn {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    height: 30px;
    line-height: 30px;
    padding: 0 12px !important;
    font-size: 12px;
}

.paidan-staff-page.think-box-shadow {
    padding: 0 !important;
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.paidan-staff-tab {
    display: inline-block;
    height: 42px;
    line-height: 42px;
    padding: 0 18px;
    border-right: 1px solid #e6e6e6;
    border-bottom: 1px solid #fff;
    background: #fff;
    font-size: 13px;
    color: #333;
}

.paidan-staff-domain {
    padding: 0 18px 14px;
    height: 34px;
    line-height: 34px;
    border-bottom: 1px solid #e6e6e6;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.paidan-staff-domain span {
    font-weight: 700;
}

.paidan-portal-urls {
    padding: 12px 18px;
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
    font-size: 13px;
    color: #333;
    line-height: 1.8;
}

.paidan-portal-url-item span {
    font-weight: 700;
    color: #666;
}

.paidan-portal-url-agent {
    color: #009688;
    font-weight: 600;
}

.paidan-agent-page {
    padding: 0 !important;
}

.paidan-staff-search {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 16px 18px 10px;
    background: #fff;
}

.paidan-staff-field {
    display: flex;
    flex-direction: column;
}

.paidan-staff-field label {
    height: 18px;
    line-height: 18px;
    font-size: 12px;
    color: #666;
}

.paidan-staff-field .layui-input {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}

.paidan-staff-w-name {
    width: 160px;
}

.paidan-staff-w-id {
    width: 140px;
}

.paidan-staff-w-date {
    width: 200px;
}

.paidan-staff-search-btn {
    height: 30px;
    line-height: 30px;
    padding: 0 14px !important;
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    font-size: 12px;
}

.paidan-staff-table {
    margin: 0 18px 14px !important;
    width: calc(100% - 36px) !important;
    font-size: 12px;
}

.paidan-staff-table th,
.paidan-staff-table td {
    height: 36px;
    line-height: 22px;
    padding: 7px 10px !important;
    vertical-align: middle !important;
}

.paidan-staff-table thead th {
    background: #f7f7f7;
    color: #333;
    font-weight: 500;
}

.paidan-staff-sort a {
    color: #333;
}

.paidan-staff-sort a:after {
    content: "↕";
    margin-left: 4px;
    color: #b2b2b2;
    font-size: 11px;
}

.paidan-staff-switch {
    display: inline-block;
    min-width: 66px;
    height: 24px;
    line-height: 24px;
    border-radius: 13px;
    cursor: pointer;
    user-select: none;
    font-size: 12px;
}

.paidan-staff-switch-on {
    background: #5fb878;
    color: #fff;
}

.paidan-staff-switch-off {
    background: #e6e6e6;
    color: #999;
}

.paidan-staff-op .layui-btn {
    height: 26px;
    line-height: 26px;
    padding: 0 12px;
    margin: 0 2px;
    border-radius: 2px;
    font-size: 12px;
}

.paidan-staff-edit {
    background: #009688 !important;
}

.paidan-staff-pass {
    background: #1e9fff !important;
}

.layui-layer:has(.paidan-staff-modal-form) {
    width: 660px !important;
}

.paidan-staff-modal-form {
    background: #fff;
}

.paidan-staff-modal-form .layui-card-body {
    padding: 16px 24px 4px !important;
}

.paidan-staff-modal-section {
    position: relative;
    margin-bottom: 14px;
    padding: 18px 18px 14px;
    border: 1px solid #f0f0f0;
    background: #fff;
}

.paidan-staff-section-badge {
    position: absolute;
    top: -10px;
    left: 18px;
    height: 20px;
    line-height: 20px;
    padding: 0 9px;
    border-radius: 2px;
    background: #9b59b6;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.paidan-staff-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.paidan-staff-account-grid {
    grid-template-columns: 78px 1fr 1fr;
}

.paidan-staff-avatar {
    width: 62px;
    height: 62px;
    margin-top: 4px;
    border: 1px solid #e5e5e5;
    background: #f7f7f7;
    text-align: center;
    line-height: 62px;
    color: #cfcfcf;
}

.paidan-staff-avatar .layui-icon {
    font-size: 42px;
}

.paidan-staff-modal-field {
    display: block;
}

.paidan-staff-modal-field-full {
    grid-column: span 2;
}

.paidan-staff-modal-field span,
.paidan-staff-pass-field label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-size: 12px;
    font-weight: 700;
}

.paidan-staff-modal-field b,
.paidan-staff-pass-field b {
    color: #e74c3c;
    margin-right: 2px;
}

.paidan-staff-modal-field em,
.paidan-staff-pass-field em {
    margin-left: 4px;
    color: #999;
    font-style: normal;
    font-weight: 400;
}

.paidan-staff-modal-field .layui-input,
.paidan-staff-pass-field .layui-input,
.paidan-staff-modal-field .layui-select {
    height: 32px;
    line-height: 32px;
    font-size: 12px;
}

.paidan-staff-modal-field small,
.paidan-staff-pass-field p {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

.paidan-staff-modal-contact {
    width: 205px;
}

.paidan-staff-modal-actions {
    padding: 10px 0 20px;
    text-align: center;
}

.paidan-staff-save-btn,
.paidan-staff-cancel-btn {
    min-width: 78px;
    height: 34px;
    line-height: 34px;
    padding: 0 14px !important;
    border-radius: 2px;
    font-size: 13px;
}

.paidan-staff-save-btn {
    background: #009688 !important;
}

.paidan-staff-cancel-btn {
    background: #ff5722 !important;
}

.paidan-staff-pass-form .layui-card-body {
    padding: 18px 32px 4px !important;
}

.paidan-staff-pass-field {
    margin-bottom: 18px;
}

.paidan-invite-modal {
    width: 560px;
    max-width: 100%;
    box-shadow: none;
}

.paidan-invite-title {
    margin-bottom: 16px;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

.paidan-invite-field {
    display: block;
    margin-bottom: 14px;
}

.paidan-invite-field span {
    display: block;
    margin-bottom: 6px;
    color: #4b5563;
    font-size: 13px;
}

.paidan-invite-copy-row {
    display: flex;
    gap: 8px;
}

.paidan-invite-copy-row .layui-input {
    flex: 1;
    height: 34px;
}

.paidan-invite-help {
    margin-top: 4px;
    color: #888;
    font-size: 12px;
}

/* 数据报表 */
.paidan-data-report-page {
    padding: 0 !important;
}

.paidan-data-report-tip {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #333;
    line-height: 1.5;
}

.paidan-data-report-search {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 8px 10px 2px;
    margin: 0 0 10px;
}

.paidan-data-report-search legend {
    font-size: 12px;
    color: #666;
    padding: 0 6px;
}

.paidan-data-report-search-row {
    margin-bottom: 6px;
}

.paidan-dr-w-month {
    width: 120px;
    flex: 0 0 120px;
}

.paidan-dr-w-btn {
    width: 90px;
    flex: 0 0 90px;
}

.paidan-data-report-table {
    margin-top: 0 !important;
    font-size: 12px;
}

.paidan-data-report-table thead th {
    font-weight: 600;
    color: #333;
    background: #fafafa;
    padding: 9px 8px;
    line-height: 1.4;
    white-space: nowrap;
}

.paidan-data-report-table tbody td {
    padding: 10px 8px;
    line-height: 1.5;
    color: #333;
    vertical-align: middle;
}

.paidan-dr-col-agent {
    min-width: 130px;
    width: 130px;
}

.paidan-dr-col-num {
    min-width: 72px;
    width: 72px;
    text-align: center;
}

.paidan-dr-col-money {
    min-width: 96px;
    width: 96px;
}

.paidan-dr-col-op {
    min-width: 96px;
    width: 96px;
    text-align: center;
}

.paidan-dr-staff-btn {
    background: #1ab394 !important;
    border-color: #1ab394 !important;
    color: #fff !important;
    height: 24px;
    line-height: 24px;
    padding: 0 10px !important;
    font-size: 12px;
}

.paidan-dr-nodata {
    text-align: center;
    color: #999;
    padding: 24px 8px !important;
}

.paidan-data-report-modal {
    padding: 10px 16px 6px;
}

.paidan-data-report-modal-table {
    margin-top: 0 !important;
    font-size: 12px;
}

.paidan-data-report-modal-table thead th {
    background: #fafafa;
    font-weight: 600;
    color: #333;
    padding: 9px 8px;
    line-height: 1.4;
    white-space: nowrap;
}

.paidan-data-report-modal-table tbody td {
    padding: 10px 8px;
    line-height: 1.5;
    color: #333;
    vertical-align: middle;
}

.paidan-dr-modal-col-staff {
    min-width: 120px;
    width: 120px;
}

.paidan-dr-modal-col-num {
    min-width: 70px;
    width: 70px;
    text-align: center;
}

.paidan-dr-modal-col-money {
    min-width: 92px;
    width: 92px;
}

/* 代理资金流水 */
.paidan-agent-flow-page,
.paidan-agent-withdraw-page {
    padding: 0 !important;
}

.paidan-agent-flow-tip {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #333;
}

.paidan-agent-flow-search,
.paidan-agent-withdraw-search {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 8px 10px 2px;
    margin-bottom: 10px;
}

.paidan-agent-flow-search legend,
.paidan-agent-withdraw-search legend {
    font-size: 12px;
    color: #666;
    padding: 0 6px;
}

.paidan-af-w-desc { width: 160px; flex: 0 0 160px; }
.paidan-af-w-date { width: 240px; flex: 0 0 240px; }
.paidan-af-w-type { width: 120px; flex: 0 0 120px; }
.paidan-af-w-btn { width: 90px; flex: 0 0 90px; }

.paidan-aw-w-agent { width: 120px; flex: 0 0 120px; }
.paidan-aw-w-remark { width: 160px; flex: 0 0 160px; }
.paidan-aw-w-date { width: 240px; flex: 0 0 240px; }
.paidan-aw-w-status { width: 120px; flex: 0 0 120px; }
.paidan-aw-w-btn { width: 90px; flex: 0 0 90px; }

.paidan-agent-flow-table,
.paidan-agent-withdraw-table {
    font-size: 12px;
    margin-top: 0 !important;
}

.paidan-agent-flow-table thead th,
.paidan-agent-withdraw-table thead th {
    background: #fafafa;
    font-weight: 600;
    padding: 9px 8px;
    line-height: 1.4;
    white-space: nowrap;
}

.paidan-agent-flow-table tbody td,
.paidan-agent-withdraw-table tbody td {
    padding: 10px 8px;
    line-height: 1.5;
    vertical-align: middle;
}

.paidan-af-col-agent { min-width: 110px; width: 110px; }
.paidan-af-col-uid { min-width: 88px; width: 88px; text-align: center; }
.paidan-af-col-type { min-width: 68px; width: 68px; text-align: center; }
.paidan-af-col-money { min-width: 86px; width: 86px; }
.paidan-af-col-reason { min-width: 280px; }
.paidan-af-col-time { min-width: 150px; width: 150px; white-space: nowrap; }
.paidan-af-col-op { min-width: 72px; width: 72px; text-align: center; }

.paidan-af-type-recharge {
    color: #009688;
    font-weight: 600;
}

.paidan-af-del-btn {
    background: #ff5722 !important;
    border-color: #ff5722 !important;
    color: #fff !important;
    height: 24px;
    line-height: 24px;
    padding: 0 10px !important;
    font-size: 12px;
}

.paidan-agent-flow-batch {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}

.paidan-af-nodata,
.paidan-aw-nodata {
    text-align: center;
    color: #999;
    padding: 24px 8px !important;
}

.paidan-aw-col-agent { min-width: 110px; width: 110px; }
.paidan-aw-col-addr { min-width: 180px; }
.paidan-aw-col-money { min-width: 86px; width: 86px; }
.paidan-aw-col-remark { min-width: 120px; }
.paidan-aw-col-status { min-width: 72px; width: 72px; text-align: center; }
.paidan-aw-col-time { min-width: 150px; width: 150px; white-space: nowrap; }
.paidan-aw-col-op { min-width: 120px; width: 120px; text-align: center; }

.paidan-agent-withdraw-apply-btn {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}

.paidan-agent-withdraw-balance {
    font-size: 13px;
    color: #333;
    margin-bottom: 12px;
    padding: 0 4px;
}

.paidan-agent-withdraw-form-wrap {
    padding: 12px 18px 0;
}

.paidan-agent-withdraw-form-wrap .layui-form-label {
    width: 120px;
    padding: 9px 10px 9px 0;
    font-size: 12px;
}

.paidan-agent-withdraw-form-wrap .layui-input-block {
    margin-left: 130px;
}

.paidan-agent-withdraw-form-wrap .help-block {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    margin-top: 4px;
}

.paidan-agent-withdraw-footer {
    padding: 10px 0 6px;
}

.paidan-agent-withdraw-save,
.paidan-agent-withdraw-cancel-btn {
    min-width: 78px;
    height: 34px;
    line-height: 34px;
    padding: 0 14px !important;
    border-radius: 2px;
    font-size: 13px;
}

.paidan-agent-withdraw-save {
    background: #1ab394 !important;
    border-color: #1ab394 !important;
}

.paidan-agent-withdraw-cancel-btn {
    background: #ff5722 !important;
    border-color: #ff5722 !important;
    color: #fff !important;
}

.paidan-aw-pass-btn {
    background: #1ab394 !important;
    border-color: #1ab394 !important;
    color: #fff !important;
}

.paidan-aw-reject-btn {
    background: #ff5722 !important;
    border-color: #ff5722 !important;
    color: #fff !important;
}

