/* ========== 全局字体设置 ========== */
.home-main,
.home-main * {
    font-family: "微软雅黑", "宋体", Arial, Helvetica, sans-serif;
}

.el-main {
    padding: 0 !important;
}
.main-content {
    display: flex;
    column-gap: 16px;
    background: #f6f6fa;
}
.left-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    /*row-gap: 0.24rem;*/
} 
/* ========== 用户信息区域 - 横向布局 ========== */
.base-user-info{
    background-color: #FFF;
    box-shadow: 0 2px 4px 0 rgba(94, 109, 129, 0.2);
    margin-bottom: 16px;
}

.user-info-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #fff;
    border-radius: 0.04rem;
    gap: 0.16rem;
    border-bottom: 1px solid #E9EDEF;
}

/* 用户头像区域 */
.user-avatar-section {
    cursor: pointer;
}
.user-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.32rem;
    width: 0.49rem;
    height: 0.49rem;
    border-radius: 50%;
    color: #FFFFFF;
    font-weight: bold;
}

/* 用户文字信息区域 */
.user-text-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.04rem;
}

.user-name-row {
    display: flex;
    align-items: center;
    gap: 0.08rem;
}

.user-name-1 {
    font-weight: 700;
    font-size: 0.17rem;
    color: #293142;
}

.user-level {
    font-size: 0.16rem;
    font-weight: 600;
}

.cert-badge {
    display: inline-block;
    padding: 0.02rem 0.08rem;
    background: #67C23A;
    color: #fff;
    font-size: 0.12rem;
    border-radius: 0.02rem;
    text-decoration: none;
}
.cert-badge-un {
    display: inline-block;
    padding: 0.02rem 0.08rem;
    background: #BEC6D4;
    color: #fff;
    font-size: 0.12rem;
    border-radius: 0.02rem;
    text-decoration: none;
}

.user-id-row {
    display: flex;
    align-items: center;
    gap: 0.04rem;
}

.id-label {
    font-size: 0.14rem;
    color: #5E6D81;
}

.id-value {
    font-size: 0.14rem;
    color: #5E6D81;
    cursor: pointer;
}

.copy-icon {
    font-size: 0.18rem;
    color: #5E6D81;
    cursor: pointer;
    transition: color 0.3s;
}

.copy-icon:hover {
    color: #FF6666;
}

/* 绑定状态图标区域 */
.bind-status-section {
    /*display: flex;*/
    /*align-items: center;*/
    /*gap: 0.12rem;*/
    /*margin-left: auto;*/
    display: flex;
    align-items: center;
    gap: 0.13rem;
    margin-left: 10px;
    margin-top: 2px;
}

.bind-icon-item {
    position: relative;
    cursor: pointer;
}

.bind-icon {
    width: 0.24rem;
    height: 0.24rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.bind-icon:hover {
    transform: scale(1.1);
}

.bind-popover-content {
    padding: 0.08rem;
}

.bind-title {
    font-size: 0.14rem;
    color: #293142;
    font-weight: 500;
    margin-bottom: 0.04rem;
}

/* 绑定信息容器 - flex 布局 */
.bind-info-wrapper {
    display: flex;
    align-items: center;
    gap: 0.08rem;
}

.bind-info {
    font-size: 0.12rem;
    color: #5E6D81;
    margin: 0;
    flex: 1;
    word-break: break-all;
}

/* 复制图标样式 */
.copy-icon {
    font-size: 0.14rem;
    color: #8692B0;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0.04rem;
}

.copy-icon:hover {
    color: #ff6666;
    transform: scale(1.1);
}

.copy-icon:active {
    transform: scale(0.95);
}

/* ========== 统计数据区域 - 三列网格布局 ========== */
.statistics-grid-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /*gap: 0.24rem;*/
    /*padding: 0.24rem;*/
    background-color: #fff;
    border-radius: 0.04rem;
    margin-top: 0;
    height: 116px;
}

/* 统计列通用样式 */
.stats-column {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* padding: 0.20rem; */
    padding: 0 16px 0 16px;
    /*background: #F6F6FA;*/
    border-radius: 0.04rem;
    min-height: 1.2rem;
    /*gap: 0.16rem;*/
    /*width: 4.3rem;*/
    position: relative;  /* 为伪元素提供定位上下文 */
}

/* 竖线分隔符 - 在每列右侧添加（最后一列除外） */
.stats-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 56.05px;
    background: #E9EDEF;
}

/* 数值区域 - 横向布局 */
.stats-values {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /*gap: 5px;*/
}

.stats-value-item {
    flex: 1;
    min-width: 0;
}

.stats-value-item:last-child {
    margin-bottom: 0;
}

.value-number {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.08rem;
    flex-wrap: wrap;
}

.value-number .currency {
    font-size: 20px;
    color: #293142;
}

.value-number .amount {
    font-size: 20px;
    color: #293142;
    /*font-weight: 700;*/
    word-break: break-all;
}

.value-label {
    font-size: 12px;
    color: #5E6D81;
    display: flex;
    align-items: center;
    gap: 0.04rem;
    flex-wrap: wrap;
    line-height: 1.5;
}

.value-label .link-text {
    color: #FF6666;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s;
}

.value-label .link-text:hover {
    color: #FF6666;
}

/* 按钮区域 */
.stats-action {
    flex-shrink: 0;
}

.stats-action button {
    width: 0.80rem;
    height: 0.32rem;
    font-size: 12px;
    border-radius: 0.04rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid;
    white-space: nowrap;
}

/* 主要按钮（充值） */
.btn-primary {
    color: #FF6666;
    background-color: #FFF;
    border-color: #FF6666;
}

.btn-primary:hover {
    background-color: #FF6666;
    color: #FFF;
}

/* 次要按钮（查看、开票） */
.btn-secondary {
    color: #757D8F;
    background-color: #FFF;
    border-color: #BEC6D4;
}

.btn-secondary:hover {
    color: #FF6666;
    border-color: #FF6666;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .statistics-grid-box {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-column {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* 隐藏竖线 */
    .stats-column::after {
        display: none;
    }
    
    .stats-values {
        width: 100%;
    }
    
    .stats-action {
        width: 100%;
        margin-top: 0.16rem;
    }
}

@media screen and (max-width: 768px) {
    .user-info-header {
        flex-wrap: wrap;
    }
    
    .bind-status-section {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
        margin-top: 0.12rem;
    }
    
    .statistics-grid-box {
        grid-template-columns: 1fr;
    }
    
    .stats-values {
        flex-direction: column;
        /*gap: 0.12rem;*/
    }
    
    .stats-value-item {
        width: 100%;
    }
}

.info-second {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.info-three {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 0.04rem;
}
.info-three .compny-box,
.info-three .person-box {
    display: flex;
    align-items: flex-start;
    column-gap: 0.32rem;
    font-size: 0.14rem;
}
.info-three .compny-box .left-icon,
.info-three .person-box .left-icon {
    display: flex;
    align-items: center;
    column-gap: 0.04rem;
    font-size: 0.14rem;
    color: #8692B0;
}
.info-three .compny-box .left-icon img,
.info-three .person-box .left-icon img {
    vertical-align: middle;
    width: 0.24rem;
    height: 0.24rem;
    flex-shrink: 0;
}
.info-three .compny-box .right-text .certify-id,
.info-three .person-box .right-text .certify-id {
    display: flex;
    align-items: center;
}
.info-three .compny-box .right-text .right-type,
.info-three .person-box .right-text .right-type {
    color: #949CB0;
}
.info-three .compny-box .right-text .company-name,
.info-three .person-box .right-text .company-name {
    color: #1E2736;
    display: inline-block;
    max-width: 2.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.info-three .compny-box .right-text .certify-bottom,
.info-three .person-box .right-text .certify-bottom {
    display: flex;
    align-items: center;
}
.info-three .compny-box .right-text .certify-bottom .cpoy-btn,
.info-three .person-box .right-text .certify-bottom .cpoy-btn {
    cursor: pointer;
    margin-left: 0.04rem;
    width: 0.14rem;
    height: 0.14rem;
}
.info-three .compny-box .right-text .bule-text,
.info-three .person-box .right-text .bule-text {
    cursor: pointer;
    color: var(--color-primary);
}
.info-three .compny-box .right-text .certify-text,
.info-three .person-box .right-text .certify-text {
    color: #292E36;
    display: inline-block;
    max-width: 1.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.email-box,
.phone-box {
    color: #5E6D81;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.14rem;
}
.email-box .phone-number,
.phone-box .phone-number {
    margin-left: 0.25rem;
    color: #5E6D81;
}
.info-second > div img {
    margin-right: 0.05rem;
    vertical-align: middle;
    width: 0.16rem;
}
.statistics-content {
    display: flex;
    flex-wrap: wrap;
    min-height: 2.4rem;
}
.money-box {
    box-sizing: border-box;
    flex: 1;
    padding: 0.24rem;
    border-radius: 0.04rem;
    background-color: #fff;
}
.money-top {
    display: flex;
    justify-content: space-between;
    column-gap: 0.26rem;
}
.money-top .money-credit {
    position: relative;
    flex: 1;
    flex-shrink: 0;
    border-radius: 0.04rem;
    background: #F6F6FA;
    padding: 0.16rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.money-top .money-credit .credit-btn {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    background-color: #FFF;
    font-size: 0.14rem;
    color: #FF6666;
    border: 1px solid #FF6666;
    padding: 0.05rem 0.23rem;
    border-radius: 0.04rem;
    transition: all 0.3s;
}
.money-top .money-credit .credit-btn:hover {
    background-color: #FF6666;
    color: #FFF;
}
.money-top .money-credit .credit-title {
    color: #5E6D81;
    font-size: 0.14rem;
    display: flex;
    align-items: center;
    column-gap: 0.08rem;
}
.money-top .money-credit .credit-title .credit-name {
    color: #5E6D81;
    font-size: 0.14rem;
}
.money-top .money-credit .credit-title.coin-title {
    justify-content: space-between;
}
.money-top .money-credit .credit-title .credit-detail {
    color: var(--color-primary);
    font-size: 0.14rem;
    cursor: pointer;
}
.money-top .money-credit .credit-title .create-notice {
    display: flex;
    align-items: center;
}
.money-top .money-credit .credit-title .create-notice .notice-status {
    width: 0.06rem;
    height: 0.06rem;
    border-radius: 50%;
    background-color: #A2A2A2;
}
.money-top .money-credit .credit-title .create-notice .notice-status.active {
    background-color: var(--color-success);
}
.money-top .money-credit .credit-title .create-notice .notice-btn {
    color: var(--color-primary);
    font-size: 0.12rem;
    cursor: pointer;
}
.money-top .money-credit .credit-money {
    margin-top: 0.16rem;
    display: flex;
    align-items: center;
    column-gap: 0.1rem;
}
.money-top .money-credit .credit-money .credit-num {
    color: #293142;
    font-size: 0.17rem;
    font-weight: 700;
    flex-shrink: 0;
}
.money-top .money-credit .credit-money .credit-num .s-24 {
    margin-right: 0.08rem;
    font-size: 0.17rem;
    font-weight: 700;
}
.money-top .money-credit .credit-money .recharge-btn {
    cursor: pointer;
    padding: 0 0.1rem;
    line-height: 0.24rem;
    color: #ffffff;
    font-size: 0.12rem;
    border-radius: 0.04rem;
    background: var(--color-primary);
}
.money-top .money-credit .credit-money .recharge-text {
    font-weight: 400;
    cursor: pointer;
    color: #FF6666;
    font-size: 0.14rem;
    margin-left: 0.16rem;
    border: 1px solid #FF6666;
    background: #FFF;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}
.money-top .money-credit .credit-money .recharge-text:hover {
    background-color: #FF6666;
    color: #FFF;
}
.money-order {
    margin-top: 0.32rem;
    border-top: 1px solid #EEEEEE;
    padding-top: 0.24rem;
    display: flex;
    align-items: center;
}
.money-order .money-order-divider {
    width: 1px;
    height: 0.2rem;
    border-radius: 1px;
    background: #EBEBF4;
    margin: 0 0.2rem;
}
.money-order .money-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    flex-shrink: 0;
}
.money-order .money-order-item .money-order-title {
    display: flex;
    align-items: center;
    font-size: 0.14rem;
    color: #333333;
}
.money-order .money-order-item .money-order-title .credit-tag {
    margin-left: 0.08rem;
    color: #333333;
    font-size: 0.12rem;
    box-sizing: border-box;
    padding: 0.02rem 0.04rem;
    border: 1px solid #E6E7EB;
    border-radius: 2px;
    background: #FFFFFF;
}
.money-order .money-order-item .money-order-value {
    font-size: 0.14rem;
    color: #2B2B2B;
    font-weight: bold;
}
.money-order .money-order-item .money-order-value .s-12 {
    margin-right: 0.06rem;
    font-size: 0.12rem;
}
.voucher-box {
    color: #5E6D81;
    font-size: 0.12rem;
    margin-top: 8px;
}
.voucher-box .voucher-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}
.voucher-box .voucher-label {
    color: #5E6D81;
    font-size: 0.12rem;
}
.voucher-box .voucher-value {
    color: #293142;
    font-size: 0.12rem;
    font-weight: 500;
    margin-left: 4px;
}
.voucher-box .bule-text {
    color: var(--color-primary);
    cursor: pointer;
    transition: color 0.3s;
}
.voucher-box .bule-text:hover {
    color: #FF6666;
}
.statistics-bottom {
    margin-top: -0.16rem;
    display: flex;
    padding: 0.26rem 5.32rem 0.26rem 0.24rem;
    border-radius: 0.04rem;
    background: url("../img/index_bg.png") no-repeat;
    background-size: auto 100%;
    background-position: right center;
    background-color: #fff;
}
.statistics-bottom .statistics-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 0.08rem;
}
.statistics-bottom .statistics-item .statistics-item-name {
    color: #A2A2A2;
    font-size: 0.14rem;
}
.statistics-bottom .statistics-item .statistics-item-name .green-text {
    color: var(--color-success);
}
.statistics-bottom .statistics-item .statistics-item-name .red-text {
    color: var(--color-danger);
}
.statistics-bottom .statistics-item .statistics-item-value {
    font-size: 0.17rem;
    color: #293142;
    font-weight: 700;
}
.statistics-bottom .statistics-item .statistics-item-value .s-12 {
    margin-right: 0.06rem;
    font-size: 0.14rem;
    font-weight: 700;
}
.statistics-bottom .statistics-item-divider {
    width: 1px;
    height: 0.2rem;
    border-radius: 1px;
    background: #EBEBF4;
    margin: 0 0.2rem;
}
.order-box {
    margin-left: 0.08rem;
    width: 5rem;
    display: flex;
    column-gap: 0.08rem;
}
.order-box .order-item {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 0.03rem;
    cursor: pointer;
}
.order-box .order-title {
    color: #FFFFFF;
    font-size: 0.13rem;
    font-weight: 500;
}
.order-box .order-nums {
    margin-bottom: 0.33rem;
    font-size: 0.17rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* 可开票金额样式 */
.order-box .order-box-4 {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
}
.order-box .invoice-amount-value {
    margin: 12px 0;
    font-size: 0.17rem;
    font-weight: 700;
    color: #FFFFFF;
}
.order-box .invoice-amount-value .currency {
    font-size: 0.14rem;
    margin-right: 4px;
}
.order-box .invoice-btn {
    width: 80px;
    height: 32px;
    font-size: 12px;
    color: #757D8F;
    background-color: #FFF;
    border: 1px solid #BEC6D4;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}
.order-box .invoice-btn:hover {
    color: #FF6666;
    border-color: #FF6666;
}
.order-box .order-type-img {
    margin-top: 0.36rem;
}
.order-box .order-type-img img {
    width: 0.68rem;
    height: 0.68rem;
}
.order-box .order-box-1 {
    background: #7239EA;
}
.order-box .order-box-2 {
    background: #3699FF;
}
.order-box .order-box-3 {
    background: #3DD598;
}
.product-list-box {
    flex: 1;
    background-color: #fff;
    border-radius: 0.04rem;
    padding: 0.24rem;
}
.product-list-box .title-text {
    font-size: 0.14rem;
    color: #2B2B2B;
    margin-bottom: 0.24rem;
}
.product-list-box .product-name {
    color: var(--color-primary);
    font-size: 0.14rem;
    cursor: pointer;
}
.product-list-box .red-time {
    color: var(--color-danger);
}
.right-box {
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0.24rem;
    width: 4.5rem;
    border-radius: 0.04rem;
    background-color: #fff;
}
.recommend-box {
    width: 3.65rem;
    text-align: center;
    margin: 0 auto;
    margin-top: 0.21rem;
}
.recommend-box h2 {
    text-align: center;
    color: #1E2736;
    font-size: 0.24rem;
}
.recommend-box p {
    margin-top: 0.26rem;
    text-align: center;
    color: #8692B0;
    font-size: 0.14rem;
}
.recommend-box img {
    width: 3.65rem;
    height: 2.56rem;
}
.recommend-people {
    margin-top: 0.3rem;
    border-top: 1px solid #E6E7EB;
    padding-top: 0.3rem;
    text-align: left;
}
.recommend-people-num {
    display: inline-block;
    width: 1rem;
    height: 0.08rem;
    background: var(--color-warning);
    border-radius: 0rem 0.2rem 0.2rem 0rem;
}
.recommend-money-num {
    display: inline-block;
    width: 1.2rem;
    height: 0.08rem;
    background: var(--color-success);
    border-radius: 0rem 0.2rem 0.2rem 0rem;
}
.recommend-number {
    margin-left: 0.16rem;
    font-weight: bold;
    font-size: 0.26rem;
    color: #040E34;
}
.recommend-people > div {
    display: flex;
    align-items: center;
}
.recommend-people > div:nth-of-type(2) {
    margin-top: 0.47rem;
}
.WorkOrder-box {
    margin-top: 0.24rem;
}
.WorkOrder-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.12rem;
    font-size: 14px;
    color: #2B2B2B;
    font-weight: bold;
}
.more {
    cursor: pointer;
    display: block;
    padding: 0 0.03rem;
    background: #EEF4FF;
    height: 0.24rem;
    line-height: 0.24rem;
    text-align: center;
    border-radius: 0.03rem;
    color: #8692B0;
}
.WorkOrder-content {
    padding: 0.3rem 0.3rem 0 0.3rem;
    border-radius: 0.03rem;
    border: 1px solid #E6E7EB;
}
.WorkOrder-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
}
.WorkOrder-item:hover {
    cursor: pointer;
    background-color: #f5f7fa;
    transition: background-color 0.25s ease;
}
.replay-div {
    flex-shrink: 0;
    margin-right: 0.1rem;
    font-weight: 500;
    font-size: 0.13rem;
    padding: 0 0.1rem;
    height: 0.26rem;
    line-height: 0.26rem;
    text-align: center;
    background: rgba(54, 155, 255, 0.205);
    color: #FFF;
    border-radius: 0.03rem;
}
.replay-red {
    color: var(--color-danger);
    background: rgba(240, 20, 46, 0.205);
}
.replay-green {
    background: rgba(61, 213, 152, 0.205);
    color: var(--color-success);
}
.replay-box {
    width: 80%;
}
.replay-title {
    font-size: 0.14rem;
    color: #1E2736;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.replay-name {
    font-size: 0.13rem;
    font-weight: 500;
    color: #8692B0;
}
.notice-box {
    margin-top: 0.24rem;
}
.notice-item {
    display: flex;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    padding-left: 0.16rem;
}
.notice-item:hover {
    background-color: #f5f7fa;
    transition: background-color 0.25s ease;
}
.notice-item:nth-of-type(1) {
    border-left: 0.02rem solid var(--color-success);
    margin-bottom: 0.4rem;
}
.notice-item:nth-of-type(2) {
    border-left: 0.02rem solid var(--color-primary);
    margin-bottom: 0.4rem;
}
.notice-item:nth-of-type(3) {
    border-left: 0.02rem solid var(--color-warning);
    margin-bottom: 0.3rem;
}
.notice-time {
    font-size: 0.2rem;
    color: #1E2736;
}
.notice-title {
    font-weight: 400;
    font-size: 0.14rem;
    color: #1E2736;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.notice-type {
    font-size: 0.13rem;
    font-weight: 500;
    color: #8692B0;
}
.notice-item-right {
    color: #8692B0;
    width: 0.24rem;
    height: 0.24rem;
    text-align: center;
    line-height: 0.24rem;
    background: #EEF4FF;
    border-radius: 0.03rem;
}
.no-product {
    text-align: center;
    margin-top: 1.06rem;
    padding-bottom: 1.72rem;
    background-color: #fff;
    border-radius: 0.04rem;
    padding: 0.24rem;
}
.no-product h2 {
    font-weight: 400;
    color: #171725;
    font-size: 0.28rem;
}
.no-product p {
    margin: 0.1rem 0 0.2rem 0;
    color: #8692B0;
    font-size: 0.14rem;
}
.no-recommend {
    margin: 0 auto;
    margin-top: 0.24rem;
    color: #FFF;
    font-size: 0.14rem;
    background: var(--color-primary);
    height: 0.32rem;
    line-height: 0.32rem;
    width: 1.52rem;
    border-radius: 0.03rem;
    cursor: pointer;
}
.recommend-text {
    margin: 0 auto;
    margin-top: 0.24rem;
    color: #8692B0;
    font-size: 0.14rem;
    background: #EEF4FF;
    height: 0.32rem;
    line-height: 0.32rem;
    border-radius: 0.03rem;
}
.info-box .divider-box {
    height: 100%;
    background-color: #E6E7EB !important;
}
.dialog-form {
    display: flex;
    flex-direction: column;
}
.cz-input {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.cz-input > .btn-ok {
    margin-left: 0.1rem;
    height: 0.46rem;
    background: var(--color-primary);
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pay-html {
    display: flex;
    justify-content: center;
}
.pay-html > img {
    width: 2.5rem;
    height: 2.5rem;
}
.ty-select {
    width: 100%;
}
.recommend-box-open .recommend-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.recommend-box-open .recommend-top .left {
    display: flex;
    flex-direction: column;
}
.recommend-box-open .recommend-top .left .row1 {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.recommend-box-open .recommend-top .left .row1 .title-text {
    font-size: 18px;
    font-weight: bold;
    color: #171725;
    margin-right: 0.2rem;
    margin-bottom: 0;
}
.recommend-box-open .recommend-top .left .row1 .reword {
    background: linear-gradient(180deg, #F74C4B 0%, #EF7575 100%);
    border-radius: 3px;
    color: #FFF;
    position: relative;
    padding: 1px 6px 1px 20px;
    font-size: 13px;
    cursor: pointer;
}
.recommend-box-open .recommend-top .left .row1 .reword img {
    width: 36px;
    height: 35px;
    position: absolute;
    left: -18px;
    top: -4px;
}
.recommend-box-open .recommend-top .left .row2 {
    font-size: 14px;
    font-weight: bold;
    color: #2B2B2B;
    margin-top: 0.3rem;
    margin-bottom: 0.13rem;
}
.recommend-box-open .recommend-top .left .row3,
.recommend-box-open .recommend-top .left .row4 {
    font-size: 14px;
    color: #8692B0;
}
.recommend-box-open .recommend-top .right {
    width: 1.5rem;
    height: 1.53rem;
}
.recommend-box-open .url {
    width: 100%;
    height: 0.46rem;
    border: 1px solid #E6E7EB;
    border-radius: 3px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.26rem;
}
.recommend-box-open .url .url-text {
    width: 100%;
    font-size: 15px;
    color: #8692B0;
    margin-left: 0.16rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.recommend-box-open .url .copy-btn {
    width: 112px;
    height: 100%;
    background: #E1F0FF;
    border-left: 1px solid #E6E7EB;
    border-radius: 0px 3px 3px 0px;
    font-size: 16px;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.recommend-box-open .top-statistic {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 0.08rem;
    flex-wrap: wrap;
    margin-top: 0.24rem;
}
.recommend-box-open .top-statistic .top-item {
    padding: 0.16rem;
    flex: 1;
    box-shadow: 0px 1px 4px rgba(21, 34, 50, 0.08);
    border-radius: 0.04rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 0.45rem;
}
.recommend-box-open .top-statistic .top-item:nth-of-type(1) {
    background: url("../img/referral/top1.png") no-repeat;
    background-size: 100% auto;
    background-position: bottom;
}
.recommend-box-open .top-statistic .top-item:nth-of-type(2) {
    background: url("../img/referral/top3.png") no-repeat;
    background-size: 100% auto;
    background-position: bottom;
}
.recommend-box-open .top-statistic .top-item .top-money {
    font-size: 0.24rem;
    font-weight: bold;
    color: #1E2736;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.recommend-box-open .top-statistic .top-item .top-text {
    font-size: 0.14rem;
    color: #8692B0;
}
.open-dialog {
    font-size: 16px;
}
.open-dialog .dialog-footer {
    font-size: 0.16rem;
}
.open-dialog .dialog-footer .btn-ok {
    width: 1.12rem;
    height: 0.46rem;
    background: var(--color-primary);
    border-radius: 3px;
    color: #FFF;
}
.open-dialog .dialog-footer .btn-no {
    width: 1.12rem;
    height: 0.46rem;
    background: #E7E7E7;
    border-radius: 3px;
    color: #1E2736;
}
.wx-code {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 100;
    position: fixed;
    top: 50%;
    right: 3px;
    transform: translateY(50%);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.wx-code .wx-img {
    width: 40px;
    height: 40px;
    background: url('../img/wx.svg') no-repeat;
    background-size: 100% 100%;
}
.wx-code:hover .wx-img {
    background: url('../img/wx_hover.svg') no-repeat;
    background-size: 100% 100%;
}
.wx-box {
    text-align: center;
}
.wx-box .img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}
.wx-box .img img {
    width: 100%;
}
/* ========== 样式优化覆盖 ========== */

/* 1. 隐藏不需要的模块 */
/*.info-second,*/
/*.info-three,*/
/*.info-box .divider-box,*/
/*.order-box,*/
/*.statistics-bottom,*/
/*.money-order,*/
/*.money-credit.coin-title,*/
/*.WorkOrder-box,*/
/*.notice-box,*/
/*.recommend-box-open,*/
/*.recommend-box {*/
/*    display: none !important;*/
/*}*/

/* 2. 顶部用户信息区 - 单行横向布局 */
.info-box {
    flex-wrap: nowrap;
    padding: 0.16rem 0.25rem;
    /*background-color: #fafafa;*/
    border-radius: 0.04rem;
    min-height: auto;
}

.info-first {
    height: auto;
    align-items: center;
    gap: 0.12rem;
}

.name-first {
    width: 0.4rem;
    height: 0.4rem;
    font-size: 0.2rem;
    border-radius: 50%;
}

.name-box {
    flex-direction: row;
    align-items: center;
    gap: 0.16rem;
    margin-left: 0;
}

.hello {
    font-size: 0.14rem;
    max-width: none;
    margin-bottom: 0;
}

.name {
    font-size: 0.13rem;
    margin-bottom: 0;
}

/* 功能图标行 */
.info-first::after {
    content: '';
    display: flex;
    gap: 0.12rem;
    margin-left: auto;
}

/* 3. 财务数据区 - 横向4卡片布局 */
.statistics-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    min-height: auto;
    gap: 0.16rem;
}

.money-box {
    flex: none;
    width: 100%;
    padding: 0;
    background: transparent;
    display: flex;
    gap: 0.16rem;
}

.el-container:nth-child(2) > .el-main{
    border-radius: 0 !important;
    margin: 16px;
}

.money-top {
flex: 1;
display: flex;
flex-direction: row;
gap: 0.16rem;
justify-content: space-between;
}

.money-top .money-credit {
flex: 1;
min-width: 0;
padding: 0.2rem 0.16rem;
background: #fff;
border: 1px solid #E6E7EB;
border-radius: 0.04rem;
position: relative;
}

.money-top .money-credit .credit-btn {
position: absolute;
right: 0.16rem;
top: 0.16rem;
padding: 0.04rem 0.16rem;
font-size: 0.12rem;
border-radius: 0.03rem;
background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
line-height: 1.4;
}

.money-top .money-credit .credit-title {
font-size: 0.13rem;
color: #8692B0;
margin-bottom: 0.08rem;
}

.money-top .money-credit .credit-money {
margin-top: 0.08rem;
}

.money-top .money-credit .credit-money .credit-num {
font-size: 0.24rem;
font-weight: 600;
color: #1E2736;
}

.money-top .money-credit .credit-money .credit-num .s-24 {
font-size: 0.18rem;
margin-right: 0.04rem;
}

/* 查看/开票按钮样式 */
.money-top .money-credit .credit-title .credit-detail {
    position: absolute;
    right: 0.16rem;
    top: 0.16rem;
    padding: 0.04rem 0.16rem;
    font-size: 0.12rem;
    border-radius: 0.03rem;
    background: #E1F0FF;
    border: 1px solid var(--color-primary);
    text-decoration: none;
}

/* 4. 右侧边栏 - 客服中心样式 */
.right-box {
    /*width: 5.32rem;*/
    padding: 0.2rem;
    background-color: #fff;
    border-radius: 0.04rem;
}

/* 客服中心标题 */
/*.right-box::before {*/
/*    content: '专属客服 + 7x24小时售后服务';*/
/*    display: block;*/
/*    font-size: 0.16rem;*/
/*    font-weight: 600;*/
/*    color: #1E2736;*/
/*    margin-bottom: 0.16rem;*/
/*    padding-bottom: 0.12rem;*/
/*    border-bottom: 1px solid #E6E7EB;*/
/*}*/

/* 5. 产品列表样式优化 */
.product-list-box {
    padding: 0.2rem;
}

.product-list-box .title-text {
    font-size: 0.16rem;
    font-weight: 600;
    margin-bottom: 0.16rem;
}

.product-list-box .el-table {
    font-size: 12px;
}

.product-list-box .el-table th {
    background-color: #fafafa;
    font-weight: 500;
    color: #606266;
}

.product-list-box .el-table td {
    padding: 0.1rem 0;
}

/* 6. 最近访问区域样式 */
.recent-visit-box {
    background-color: #fff;
    border-radius: 0.04rem;
    padding: 0.2rem 0.24rem;
    margin-bottom: 16px;
}

.recent-visit-box .title-text {
    font-size: 0.14rem;
    font-weight: 600;
    color: #2B2B2B;
    margin-bottom: 0.12rem;
}

.recent-visit-content {
    display: flex;
    gap: 0.12rem;
    flex-wrap: wrap;
}

.recent-visit-item {
    padding: 0.06rem 0.16rem;
    background: #F6F6FA;
    border: 1px solid #E6E7EB;
    border-radius: 0.03rem;
    font-size: 0.13rem;
    color: #606266;
    cursor: pointer;
    transition: all 0.3s;
}

.recent-visit-item:hover {
    background: #E1F0FF;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* 7. 待办事项/监控警报区域 */
.todo-alerts-box {
    background-color: #fff;
    border-radius: 0.04rem;
    padding: 0.2rem 0.24rem;
    margin-bottom: 16px;
    display: flex;
    gap: 0.24rem;
}

.todo-section,
.alert-section {
    flex: 1;
}

.todo-section .section-title,
.alert-section .section-title {
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
    margin-bottom: 0.16rem;
}

.alert-section .section-title {
    color: #2B2B2B;
}

.todo-items,
.alert-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.12rem;
}

.todo-item,
.alert-item {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 0.12rem;
    border: 1px solid #E6E7EB;
    border-radius: 0.03rem;
    cursor: pointer;
    transition: all 0.3s;
}

.todo-item:hover,
.alert-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.todo-item .count,
.alert-item .count {
    font-size: 0.24rem;
    font-weight: 600;
    color: #1E2736;
    display: block;
    margin-bottom: 0.04rem;
}

.alert-item .count {
    color: #1E2736;
}

.todo-item .label,
.alert-item .label {
    font-size: 12px;
    color: #8692B0;
    display: block;
}

/* 8. 为您推荐区域 - 网格布局 */
.recommend-products-box {
    background-color: #fff;
    border-radius: 0.04rem;
    padding: 0.2rem 0.24rem;
    margin-bottom: 16px;
}

.recommend-products-box .title-text {
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
    margin-bottom: 0.16rem;
}

.recommend-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.16rem;
}

.recommend-product-item {
    padding: 0.16rem;
    border: 1px solid #E6E7EB;
    border-radius: 0.04rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.recommend-product-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(54, 155, 255, 0.15);
    transform: translateY(-2px);
}

.recommend-product-item .product-icon {
    width: 0.48rem;
    height: 0.48rem;
    margin: 0 auto 0.12rem;
}

.recommend-product-item .product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.recommend-product-item .product-title {
    font-size: 14px;
    font-weight: 500;
    color: #1E2736;
    margin-bottom: 0.06rem;
}

.recommend-product-item .product-desc {
    font-size: 12px;
    color: #8692B0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media screen and (max-width: 750px) {
    .main-content {
        display: block;
        padding-bottom: 1.5rem;
    }
    .el-main {
        margin-top: 1rem;
    }
    .statistics-bottom {
        padding: 0.26rem 0.24rem;
        margin-top: 0.24rem;
    }
    .recharge-btn {
        height: 30px;
        line-height: 30px;
    }
    .progress-box .el-progress-circle {
        display: flex;
    }
    .order-box {
        width: 100%;
        margin-left: 0;
        margin-top: 0.2rem;
    }
    .order-box .order-item {
        flex: 1;
    }
    .info-box .divider-box {
        display: none;
    }
    .info-three {
        margin-top: 10px;
        width: 100%;
        align-items: flex-end;
    }
    .right-box {
        width: auto;
        margin-top: 0.2rem;
    }
    
    /* 移动端优化 */
    .money-top {
        flex-wrap: wrap;
    }
    
    .money-top .money-credit {
        flex: 1 1 48%;
    }
    
    .todo-alerts-box {
        flex-direction: column;
    }
    
    .recommend-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== 全局去除圆角样式 ========== */
/* 去除 .home-main 内所有元素的圆角 */
.home-main * {
  border-radius: 0 !important;
}

/* 按钮保留 4px 圆角 */
.home-main .el-button,
.home-main button,
.home-main .credit-btn,
.home-main .recharge-text,
.home-main .copy-btn,
.home-main .no-recommend,
.home-main .more,
.home-main .btn-ok,
.home-main .btn-no {
  border-radius: 0.04rem !important; /* 4px */
}

/* 如果需要保留其他圆形元素，在此添加 */
.home-main .order-type-img img,
.home-main .product-icon img {
    border-radius: 50% !important; /* 图片也去除圆角 */
    background: #d9d9d9;
}

/* 覆盖 Element UI 组件的圆角（除按钮外） */
.home-main .el-table,
.home-main .el-table th,
.home-main .el-table td,
.home-main .el-dialog,
.home-main .el-popover,
.home-main .el-input__inner,
.home-main .el-tag,
.home-main .el-card {
  border-radius: 0 !important;
}

/* 覆盖伪元素的圆角 */
.home-main *::before,
.home-main *::after {
  border-radius: 0 !important;
}

/* 保留特定元素的圆角 */
/* 用户头像保持圆形 */
.home-main .name-first {
    border-radius: 50% !important;
}

/* ========== 二维码刷新功能样式 ========== */
/* 二维码容器 */
.qr-code-wrapper {
  position: relative;
  transition: all 0.3s ease;
}

/* 二维码悬停效果 - 更新为 #FF6666 */
.qr-code-wrapper:hover .qr-code {
  border-color: #FF6666 !important;
  box-shadow: 0 2px 8px rgba(255, 102, 102, 0.2);
}

/* 加载状态时禁用指针事件 */
.qr-code-wrapper.qr-loading {
  pointer-events: none;
  cursor: not-allowed !important;
}

/* 加载中的边框动画 - 更新为 #FF6666 */
.qr-code-wrapper.qr-loading .qr-code {
  border-color: #FF6666 !important;
  animation: qr-pulse 1.5s ease-in-out infinite;
}

/* 脉冲动画 - 更新为 #FF6666 */
@keyframes qr-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 102, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 102, 102, 0);
  }
}

/* Loading 图标旋转动画 */
.el-icon-loading {
  animation: rotating 2s linear infinite;
}

@keyframes rotating {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 二维码图片淡入效果 */
.qr-code img {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
  .qr-code-wrapper {
    width: 2rem !important;
    height: 2rem !important;
  }
}

/* ========== 右侧边栏模块统一样式 ========== */
/* 模块间距和分割线 */
.right-box > div:not(:first-child) {
  margin-top: 0.24rem;
  padding-top: 0.24rem;
  border-top: 1px solid #E6E7EB;
}

/* 模块标题统一样式 */
.right-box h3 {
  font-size: 14px;
  font-weight: 600;
  color: #2B2B2B;
  /*margin-bottom: 0.16rem;*/
}

/* ========== 第2块：最新活动通知样式 ========== */
.activity-title {
  font-size: 0.14rem;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom: 0.16rem;
}

.activity-item {
  margin-bottom: 12px;
  font-size: 12px;
  color: #606266;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1.6;
}

/* 活动项悬停效果 - 使用 #FF6666 */
.activity-item:hover {
  color: #FF6666 !important;
}

/* "查看更多"链接 */
.view-more {
  display: block;
  margin-top: 0.16rem;
  text-align: center;
  color: #FF6666;
  font-size: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.view-more:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ========== 第3块：公众号二维码样式（横向布局） ========== */
.mobile-qr-box-base {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 90px;
    background-color: #F5F7FA;
}

/* 左侧：二维码区域 */
.qr-left {
  flex-shrink: 0;
  width: 100px;
}

.qr-code-wrapper {
    width: 80px;
    height: 80px;
    margin: 0;
    position: relative;
    cursor: pointer;
}

.qr-code {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding-left: 5px;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.qr-loading-content i {
  font-size: 32px;
  color: #FF6666;
}

.qr-loading-content p {
  font-size: 12px;
  color: #8692B0;
  margin-top: 8px;
}

/* 右侧：文字信息区域 */
.qr-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.qr-title {
  font-size: 14px;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom: 5px;
  line-height: 1.4;
}

.qr-desc {
  font-size: 12px;
  color: #606266;
  line-height: 1.6;
  margin-bottom: 5px;
  word-break: break-word;
}

.qr-keyword {
  color: #FF6666;
  font-weight: 500;
}

.qr-tip {
  font-size: 12px;
  color: #8692B0;
  margin: 0;
}

.refresh-tip {
  color: #FF6666;
  font-size: 12px;
}

/* ========== 响应式适配 - 右侧边栏 ========== */
@media screen and (max-width: 768px) {
  .right-box {
    margin-top: 24px;
  }
  
  .activity-item {
    font-size: 12px;
  }
  
  /* 移动端：二维码区域改为垂直布局 */
  .mobile-qr-box-base {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .qr-left {
    width: 180px;
  }
  
  .qr-code-wrapper {
    width: 180px;
    height: 180px;
  }
  
  .qr-right {
    text-align: center;
    width: 100%;
  }
  
  .qr-title {
    font-size: 14px;
  }
  
  .qr-desc {
    font-size: 12px;
  }
}

/* 平板端优化 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .mobile-qr-box-base {
    gap: 12px;
  }
  
  .qr-left {
    width: 120px;
  }
  
  .qr-code-wrapper {
    width: 120px;
    height: 120px;
  }
  
  .qr-title {
    font-size: 13px;
  }
  
  .qr-desc {
    font-size: 11px;
  }
}