/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f0f2f5;
    height: 100vh;
    overflow: hidden;
}

/* ========== 左右布局 ========== */
.pc-layout {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* 侧边栏 */
.sidebar {
    width: 180px;
    background-color: #1e2a3a;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 12px rgba(0,0,0,0.05);
    z-index: 10;
    overflow-y: auto;
}
.sidebar-logo {
    padding: 24px 20px;
    border-bottom: 1px solid #2d3e4f;
}
.sidebar-logo h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
}
.sidebar-nav {
    padding: 20px 0 10px;
}
.nav-item {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    color: #cbd5e0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-item:hover {
    background-color: #2d3e4f;
    color: #fff;
    border-left-color: #EA0000;
}
.nav-item.active {
    background-color: #2d3e4f;
    color: #fff;
    border-left-color: #EA0000;
}
.nav-item.active::after {
    content: '✓';
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-left: auto;
}
/* 子菜单区域（原 .submenu-wrapper 样式重写） */
.submenu-wrapper {
    margin-top: 20px;
    padding: 0 12px;
}
.submenu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.submenu span {
    display: block;
    padding: 8px 16px;
    background-color: #2d3e4f;
    border-radius: 8px;
    font-size: 14px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.submenu span:hover {
    background-color: #3a556a;
}
.submenu span.active {
    background-color: #EA0000;
    color: #fff;
    font-weight: 600;
}

/* ========== 右侧主内容区 ========== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #f0f2f5;
}
.app-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
}

/* 顶部栏 */
.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 24px;
    background-color: #fff;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.search-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}
.login-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 8px;
    white-space: nowrap;
}
.login-user {
    font-size: 13px;
    color: #475569;
}
.login-guest {
    color: #94a3b8;
}
.login-link {
    font-size: 14px;
    color: #EA0000;
    text-decoration: none;
    padding: 4px 20px;
    border: 1px solid #EA0000;
    border-radius: 20px;
    transition: 0.2s;
}
.login-link:hover {
    background: #EA0000;
    color: #fff;
}
.login-btn {
    background: #EA0000;
    color: #fff;
}
.login-btn:hover {
    background: #c20000;
}
.search-input {
    flex: 1;
    padding: 8px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
}
.search-input:focus {
    border-color: #EA0000;
}
.search-btn {
    background-color: #EA0000;
    border: none;
    padding: 4px 20px;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.search-btn:hover {
    background-color: #c20000;
}

/* 偏好提示条 */
.preference-tip {
    font-size: 13px;
    color: #64748b;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 内容区域 */
.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

/* 产品网格布局 */
.products-grid {
    display: flex;
    flex-direction: column; 
    gap: 20px;
}
.product-card {
    display: flex;
    flex-direction: row;      /* 水平排列 */
    gap: 20px;                /* 图片与内容间距 */
    align-items: stretch;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}
.product-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.product-card-img {
    display: flex;
    align-items: center;      /* 垂直居中 */
    justify-content: center;
    flex-shrink: 0;           /* 防止被压缩 */
    width: 200px;             /* 根据实际 logo 尺寸调整 */
    text-align: center;
}
.product-card-img img {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;      /* 保持比例，完整显示图片 */
}
.product-card-content {
    flex: 1;                  /* 自动撑满剩余空间 */
}
.product-header {
    margin-bottom: 12px;
    border-bottom: 1px dashed #e9ecef;
    padding-bottom: 8px;
}
.product-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}
.product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.info-row {
    font-size: 14px;
    background: #f8fafc;
    border-radius: 14px;
    padding: 6px 12px;
    display: flex;
    flex-wrap: wrap;
}
.info-row .label {
    font-weight: 600;
    margin-right: 8px;
}
.liability-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px 12px; 
    align-items: center; 
    margin-bottom: 12px; 
}
.liability-list > * {
    /* 无需额外设置，默认每个子项占用一个单元格 */
    min-width: 0;           /* 防止内容溢出 */
    word-break: break-word;
}
.red-point {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}
.red-point .red {
    color: #EA0000;
}
.product-actions {
     display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px 12px; 
    border-top: 1px solid #eef2f6;
}
.action-link {
    font-size: 13px;
    color: #2c6e9e;
    text-decoration: none;
}
.buy-btn {
    width: 110px;
    border: none;
    background: #EA0000;
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 0;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
    margin-left: auto;
    margin-right: 20px;
    display: block;
}
.buy-btn:hover {
    background: #c20000;
}
.buy-btn-disabled {
    background: #bbb !important;
    cursor: not-allowed;
    opacity: 0.8;
}
.buy-btn-disabled:hover {
    background: #bbb !important;
}

/* 模态框电脑端居中显示 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}
.modal-overlay.show {
    visibility: visible;
    opacity: 1;
}
.modal-container {
    background: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.modal-body.split-layout {
    display: flex;
    height: 60vh;
}
.filter-titles {
    width: 140px;
    background: #fafafa;
    border-right: 1px solid #eee;
    overflow-y: auto;
}
.filter-options-panel {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
.filter-chip, .filter-chip-multiple {
    padding: 6px 18px;
    background: #f1f5f9;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
}
.filter-chip.active, .filter-chip-multiple.active {
    background: #EA0000;
    color: #fff;
}
.modal-footer {
    padding: 16px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #eee;
}
.btn-confirm {
    background: #EA0000;
    color: #fff;
    padding: 10px 24px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
}
.btn-reset {
    background: #e2e8f0;
    padding: 10px 24px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
}

/* 投保模态框电脑端适配 */
.insure-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.insure-modal-overlay.show {
    display: flex;
}
.insure-modal-container {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.insure-modal-body {
    overflow-y: auto;
    padding: 20px;
}
.insure-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.insure-form-group {
    margin-bottom: 20px;
}
.insure-form-label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}
.insure-form-input, .insure-form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 14px;
}
.insure-btn-primary {
    background: #EA0000;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}
/* 车辆卡片样式 */
.vehicle-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    background: #fafcff;
}
.insurance-list {
    list-style: none;
    margin: 12px 0;
}
.insurance-item {
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}
.remove-ins-btn {
    background: none;
    border: none;
    color: #e00;
    cursor: pointer;
}

/* 订单页面表格风格（电脑端） */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.order-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;  /* 修改：增大内边距，更适合宽屏 */
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.order-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.order-pay-bar {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}
.order-empty {
    text-align: center;
    padding: 60px 20px;
    color: #bbb;
    font-size: 14px;
}
.order-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.order-select-all-bar {
    display: flex;
    align-items: center;
    padding: 12px 16px;  /* 修改：微调内边距 */
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.order-type-badge {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
}
.order-type-badge.vehicle { background: #1890ff; }
.order-type-badge.life { background: #52c41a; }
.order-status-badge {
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 500;
    white-space: nowrap;
}
.order-status-badge.s-insured { color: #389e0d; background: #f6ffed; border: 1px solid #b7eb8f; }
.order-status-badge.s-processing { color: #096dd9; background: #e6f7ff; border: 1px solid #91d5ff; }
.order-status-badge.s-cancelled { color: #8c8c8c; background: #fafafa; border: 1px solid #d9d9d9; }
.order-status-badge.s-surrendered { color: #8c8c8c; background: #fafafa; border: 1px solid #d9d9d9; }
.order-status-badge.s-pending-deal { color: #d46b08; background: #fff7e6; border: 1px solid #ffd591; }
.order-status-badge.s-paid { color: #08979c; background: #e6fffb; border: 1px solid #87e8de; }
/* 新增：卡片主体区域，产品名称独立一行 */
.order-card-body {
    display: block;
}
.order-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;  /* 新增：分割线，增强层次 */
}
/* 新增：双列布局容器 */
.order-info-grid {
    display: flex;
    gap: 32px;
    margin-bottom: 8px;
}
.order-info-left,
.order-info-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* 新增：每个信息行 */
.order-info-item {
    display: flex;
    align-items: baseline;
    font-size: 13px;
    line-height: 1.4;
}
.order-info-label {
    color: #999;
    min-width: 70px;
    flex-shrink: 0;
}
.order-info-value {
    color: #333;
    word-break: break-all;
    flex: 1;
}

/* 修改：底部区域间距调整 */
.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.order-amount {
    font-size: 18px;
    font-weight: 700;
    color: #e8590c;
}
.order-time {
    font-size: 12px;
    color: #bbb;
}
.order-card-check {
    display: flex;
    align-items: center;
}
.order-card-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1890ff;
}
.order-offline-tip {
    font-size: 12px;
    color: #fa8c16;
    line-height: 1.5;
    margin-top: 12px;
    padding: 8px 10px;
    background: #fffbe6;
    border-radius: 6px;
}
.order-pay-bar-info {
    font-size: 13px;
    color: #666;
}
.order-pay-bar-total {
    font-size: 18px;
    font-weight: 700;
    color: #e8590c;
}
.order-pay-bar-btn {
    background: #1890ff;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
}
.order-pay-bar-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
/* ========== 订单页面样式 ========== */
.order-search-bar {
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 560px;
    margin: 0 auto;
}
.order-search-input-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
    max-width: 360px;
}
.order-search-bar input {
    width: 100%;
    padding: 8px 30px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}
.order-search-bar input:focus {
    border-color: #1890ff;
}
.order-search-btn {
    flex-shrink: 0;
    background: #1890ff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}
.order-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
}

.order-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}
.order-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}
.order-tab.active {
    color: #1890ff;
    font-weight: 600;
}
.order-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #1890ff;
    border-radius: 2px;
}
/* 其他面板表单样式优化 */
.com-form-row, .member-form-row, .invite-form-row, .bal-form-row, .prf-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.com-form-row label, .member-form-row label, .invite-form-row label, .bal-form-row label, .prf-form-row label {
    width: 120px;
    flex-shrink: 0;
    text-align: right;
    margin-right: 16px;
}
.com-form-row input, .member-form-row input, .invite-form-row input, .bal-form-row input, .prf-form-row input,
.com-form-row select, .member-form-row select, .invite-form-row select, .bal-form-row select {
    flex: 1;
    max-width: 320px;
    padding: 8px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
}

/* 隐藏手机端特有的横向滚动条等 */
.submenu-scroll {
    overflow: visible;
}
.submenu {
    white-space: normal;
}

/* ========== 内联筛选区域样式 ========== */
.filter-area {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    flex-shrink: 0;
}
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 12px;
}
.filter-title-item {
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 10px 20px;
    font-size: 13px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.filter-title-item:hover {
    color: #334155;
    background: #f1f5f9;
}
.filter-title-item.active {
    color: #EA0000;
    border-bottom-color: #EA0000;
    background: #fff;
}
.filter-title-item .status-icon {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: #EA0000; 
    opacity: 0;
    transition: opacity 0.2s; 
}
.filter-title-item.has-selected .status-icon {
    opacity: 1;
}
.filter-options-panel {
    padding: 12px 16px;
}
.filter-options-group {
    display: none;
}
.filter-options-group.active-panel {
    display: block;
}
.filter-options, .filter-options-multiple {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.filter-row, .filter-row-values, .filter-row-values-plate, .filter-row-clear {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.filter-row-clear {
    justify-content: flex-start;
}
.filter-row-multiple {
    margin-bottom: 4px;
    padding-bottom: 8px;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
}
.filter-footer {
    padding: 8px 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.btn-reset {
    background: #f1f5f9;
    border: 1px solid #cbd5e0;
    padding: 5px 20px;
    border-radius: 4px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    transition: 0.2s;
}
.btn-reset:hover {
    background: #e2e8f0;
    color: #1e293b;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 18px;
}
.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
#instruction-modal-body {
    padding: 16px;
    margin-bottom: 20px;
}

/* ========== 投保模态框补充样式 ========== */
.insure-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    background: #fff;
}
.insure-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #eef2f6;
    display: flex;
    gap: 12px;
    align-items: center;
}
.insure-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #8c98a4;
    padding: 0;
    margin: 0;
    line-height: 1;
}
.insure-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 16px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #eef2f6;
}
.insure-form-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.insure-form-label.required::before {
    content: '*';
    color: #e74c3c;
    margin-right: 4px;
}
.insure-form-input:focus, .insure-form-select:focus {
    outline: none;
    border-color: #2c6e9e;
}
.notification {
    color: #FF6347;
}
.insure-btn-secondary {
    background: #f0f0f0;
    color: #2c3e50;
    border: none;
    padding: 8px 10px;
    border-radius: 40px;
    font-size: 14px;
    cursor: pointer;
}
.insure-btn-secondary.highlight {
    background: #e67e22;
    color: #fff;
    border: 1px solid #d35400;
}
.goods-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.date-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.date-input {
    flex: 2;
    min-width: 140px;
    width: auto;
}
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    font-size: 14px;
    cursor: pointer;
}
.radio-vertical-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}
.addInsForVehicleBtn {
    background: #1890ff;
    border: none;
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}
.removeVehicleBtn {
    background: none;
    border: none;
    color: #ff4d4f;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
}
.removeVehicleBtn:hover {
    background-color: #ffe7e7;
}
.insure-vehicle-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #edf2f7;
}
.insurance-name {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 6px;
    word-break: break-word;
}
.insurance-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

/* ========== 加载提示模态框 ========== */
.loading-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}
.loading-modal-overlay.show {
    visibility: visible;
    opacity: 1;
}
.loading-modal-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 24px 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    min-width: 200px;
}
.loading-modal-container img {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
}
.loading-modal-container p {
    margin: 0;
    font-size: 16px;
    color: #333;
    white-space: nowrap;
}



/* ========== 会员购买面板 ========== */
.member-info-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}
.member-info-card p { margin: 6px 0; }
.member-buy-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.member-buy-title { text-align: center; font-size: 18px; font-weight: bold; margin: 0 0 6px; }
.member-buy-warn { text-align: center; color: #FF6347; font-size: 13px; margin: 0 0 16px; }
.member-form { padding: 0 8px; }
.member-form-btn-row { justify-content: center; margin-top: 20px; }
.member-buy-btn {
    background: #1890ff; color: #fff; border: none; padding: 10px 40px; border-radius: 8px; font-size: 15px; cursor: pointer;
}

/* ========== 推荐好友面板 ========== */
.invite-info-card {
    background: #fff; padding: 20px; margin-bottom: 16px; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); font-size: 14px; line-height: 1.8;
}
.invite-info-card p { margin: 4px 0; }
.invite-form-card {
    background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); max-width: 560px; margin-left: auto; margin-right: auto;
}
.invite-form-title { text-align: center; font-size: 18px; font-weight: bold; margin: 0 0 16px; }
.invite-form-btn-row { justify-content: center; margin-top: 20px; }
.invite-submit-btn {
    background: #1890ff; color: #fff; border: none; padding: 10px 40px; border-radius: 8px; font-size: 15px; cursor: pointer;
}

/* ========== 公司管理面板 ========== */
.com-tabs { display: flex; background: #fff; border-bottom: 1px solid #e8e8e8; }
.com-tab {
    flex: 1; text-align: center; padding: 12px 0; font-size: 14px; color: #666; cursor: pointer; position: relative; transition: color 0.2s;
}
.com-tab.active { color: #1890ff; font-weight: 600; }
.com-tab.active::after {
    content: ''; position: absolute; bottom: 0; left: 30%; width: 40%; height: 2px; background: #1890ff; border-radius: 1px;
}
.com-form-panel { background: #fff; margin-top: 12px; padding: 20px; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); max-width: 560px; margin-left: auto; margin-right: auto; }
.com-tip-card { text-align: center; color: #999; font-size: 13px; margin-bottom: 16px; line-height: 1.8; }
.com-tip-card p { margin: 2px 0; }
.com-form-check-row { justify-content: center; }
.com-form-check-row label { width: auto; margin-right: 0; font-size: 14px; color: #333; }
.com-form-check-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: #1890ff; margin-right: 6px; }
.com-form-btn-row { justify-content: center; margin-top: 20px; }
.com-submit-btn { background: #1890ff; color: #fff; border: none; padding: 10px 40px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.com-submit-btn:disabled { background: #ccc; cursor: not-allowed; }

/* ========== 余额管理面板 ========== */
.bal-tabs { display: flex; background: #fff; border-bottom: 1px solid #e8e8e8; }
.bal-tab {
    flex: 1; text-align: center; padding: 10px 4px; font-size: 13px; color: #666; cursor: pointer; position: relative; white-space: nowrap; transition: color 0.2s;
}
.bal-tab.active { color: #1890ff; font-weight: 600; }
.bal-tab.active::after {
    content: ''; position: absolute; bottom: 0; left: 20%; width: 60%; height: 2px; background: #1890ff; border-radius: 1px;
}
.bal-form-panel { background: #fff; margin-top: 12px; padding: 20px; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); width: auto; min-width:80%; margin-left: auto; margin-right: auto; }
.bal-amount-card { text-align: center; padding: 16px 0; margin-bottom: 12px; border-bottom: 1px solid #f0f0f0; font-size: 16px; }
.bal-amount-label { color: #666; }
.bal-amount-value { color: #e00; font-size: 22px; font-weight: bold; }
.bal-tip-card { color: #666; font-size: 13px; line-height: 2; }
.bal-tip-card p { margin: 2px 0; }
.bal-tip-card .orange { color: #FF8800; }
.bal-form { display: flex; flex-direction: column; }
.bal-form-btn-row { justify-content: center; padding: 16px 0 4px 0; border-bottom: none; }
.bal-submit-btn { background: #1890ff; color: #fff; border: none; padding: 10px 40px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.bal-submit-btn:disabled { background: #ccc; cursor: not-allowed; }
.bal-date-input { flex: 1; border: 1px solid #ddd; border-radius: 6px; padding: 8px 10px; font-size: 14px; outline: none; }
.bal-trade-table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: center; }
.bal-trade-table th { background: #e8f4ff; padding: 8px 4px; font-weight: 600; color: #333; border: 1px solid #ddd; }
.bal-trade-table td { padding: 6px 4px; border: 1px solid #eee; color: #555; }
.bal-trade-table tr:nth-child(even) { background: #fafafa; }

/* ========== 账户管理面板 ========== */
.prf-tabs { display: flex; background: #fff; border-bottom: 1px solid #e8e8e8; }
.prf-tab {
    flex: 1; text-align: center; padding: 10px 4px; font-size: 13px; color: #666; cursor: pointer; position: relative; white-space: nowrap; transition: color 0.2s;
}
.prf-tab.active { color: #1890ff; font-weight: 600; }
.prf-tab.active::after {
    content: ''; position: absolute; bottom: 0; left: 20%; width: 60%; height: 2px; background: #1890ff; border-radius: 1px;
}
.prf-form-panel { background: #fff; margin-top: 12px; padding: 20px; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); max-width: 560px; margin-left: auto; margin-right: auto; }
.prf-info-list { display: flex; flex-direction: column; }
.prf-info-row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.prf-info-row:last-child { border-bottom: none; }
.prf-info-label { width: 100px; flex-shrink: 0; text-align: right; font-size: 14px; color: #666; margin-right: 12px; }
.prf-info-value { flex: 1; font-size: 14px; color: #333; }
.prf-form { display: flex; flex-direction: column; }
.prf-form-btn-row { justify-content: center; padding: 16px 0 4px 0; border-bottom: none; }
.prf-submit-btn { background: #1890ff; color: #fff; border: none; padding: 10px 40px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.prf-tip-card { text-align: center; color: #666; font-size: 13px; line-height: 2; margin-bottom: 16px; }
.prf-tip-card p { margin: 2px 0; }

/* ========== 发票管理面板 ========== */
.inv-tabs { display: flex; background: #fff; border-bottom: 1px solid #e8e8e8; }
.inv-tab {
    flex: 1; text-align: center; padding: 10px 4px; font-size: 13px; color: #666; cursor: pointer; position: relative; white-space: nowrap; transition: color 0.2s;
}
.inv-tab.active { color: #1890ff; font-weight: 600; }
.inv-tab.active::after {
    content: ''; position: absolute; bottom: 0; left: 20%; width: 60%; height: 2px; background: #1890ff; border-radius: 1px;
}
.inv-search-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border-bottom: 1px solid #f0f0f0; max-width: 560px; margin: 0 auto; }
.inv-search-bar input { flex: 1; border: 1px solid #ddd; border-radius: 6px; padding: 8px 10px; font-size: 14px; outline: none; }
.inv-action-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #fafafa; border-bottom: 1px solid #f0f0f0; }
.inv-check-label { font-size: 14px; color: #333; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.inv-sign-btn { background: #52c41a; color: #fff; border: none; padding: 6px 20px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.inv-sign-btn:disabled { background: #ccc; cursor: not-allowed; }
.inv-item { display: flex; align-items: center; padding: 12px; border-bottom: 1px solid #f0f0f0; gap: 10px; }
.inv-item-info {flex:1; display: grid; grid-template-columns: 45% 40% 15%; gap: 10px; align-items: center; font-size: 13px; color: #333; line-height: 1.8; }
.inv-item-info .inv-plate { font-weight: 600; color: #1890ff; }
.inv-item-info .inv-amount { color: #e00; font-weight: 600; }
.inv-item-info .inv-date { color: #999; font-size: 12px; }
.inv-item input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; }
.inv-pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; background: #fff; border-top: 1px solid #f0f0f0; }
.inv-page-btn { background: #f5f5f5; color: #333; border: 1px solid #ddd; padding: 6px 14px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.inv-page-btn:disabled { color: #ccc; cursor: not-allowed; }
.inv-page-info { font-size: 13px; color: #666; }
.inv-empty { text-align: center; padding: 40px 0; color: #999; font-size: 14px; }

/* ========== 通用辅助样式 ========== */
.hide { display: none; }
.orange { color: #FF8800; }
.placeholder-content { background-color: #fafafa; border-radius: 12px; padding: 60px 20px; text-align: center; color: #999; font-size: 14px; }