/* 个人中心样式 */

/* 应用容器 */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* 针对平板和桌面设备设置最大宽度 */
@media (min-width: 768px) {
    .app-container {
        max-width: 500px;
    }
}

/* 主题过渡动画 */
.theme-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.theme-transition-active * {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* 按钮动画效果 */
.function-btn.animating {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* 字体大小调整 */
body[data-font-size="normal"] .user-name {
    font-size: 18px;
}

body[data-font-size="large"] .user-name {
    font-size: 19px;
}

body[data-font-size="larger"] .user-name {
    font-size: 20px;
}

body[data-font-size="normal"] .user-id {
    font-size: 13px;
}

body[data-font-size="large"] .user-id {
    font-size: 14px;
}

body[data-font-size="larger"] .user-id {
    font-size: 15px;
}

body[data-font-size="normal"] .account-value {
    font-size: 20px;
}

body[data-font-size="large"] .account-value {
    font-size: 22px;
}

body[data-font-size="larger"] .account-value {
    font-size: 24px;
}

body[data-font-size="normal"] .account-label {
    font-size: 13px;
}

body[data-font-size="large"] .account-label {
    font-size: 14px;
}

body[data-font-size="larger"] .account-label {
    font-size: 15px;
}

body[data-font-size="normal"] .tab-label {
    font-size: 14px;
}

body[data-font-size="large"] .tab-label {
    font-size: 15px;
}

body[data-font-size="larger"] .tab-label {
    font-size: 16px;
}

body[data-font-size="normal"] .content-header h3 {
    font-size: 16px;
}

body[data-font-size="large"] .content-header h3 {
    font-size: 17px;
}

body[data-font-size="larger"] .content-header h3 {
    font-size: 18px;
}

body[data-font-size="normal"] .empty-text {
    font-size: 14px;
}

body[data-font-size="large"] .empty-text {
    font-size: 15px;
}

body[data-font-size="larger"] .empty-text {
    font-size: 16px;
}

/* 用户信息卡片 */
.user-info-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 14px;
    margin: 12px 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: calc(100% - 24px);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .user-info-card {
        border-radius: 16px;
        padding: 16px;
        margin: 15px 0;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
}

.user-header-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.user-avatar i {
    font-size: 40px;
    color: #888;
    transition: color 0.3s ease;
}

.user-brief {
    flex: 1;
}

.user-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.user-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
}

.edit-profile-button {
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
}

.edit-profile-button:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.edit-profile-button i {
    margin-right: 4px;
    font-size: 12px;
}

.user-id {
    font-size: 13px;
    color: #999;
    transition: color 0.3s ease;
}

/* 用户账户信息 */
.user-account-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 12px 16px;
    transition: background-color 0.3s ease;
}

.account-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.account-value {
    font-size: 20px;
    font-weight: bold;
    color: #ff6b00;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.account-label {
    font-size: 13px;
    color: #888;
    transition: color 0.3s ease;
}

.account-divider {
    width: 1px;
    height: 24px;
    background-color: #ddd;
    margin: 0 16px;
    transition: background-color 0.3s ease;
}

.recharge-button {
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recharge-button:hover {
    background-color: #e86200;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(255, 107, 0, 0.3);
}

.recharge-button:active {
    transform: translateY(0);
    box-shadow: none;
}

.recharge-button i {
    margin-right: 4px;
}

/* 用户功能按钮区 */
.user-functions {
    margin: 12px 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    width: calc(100% - 24px);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .user-functions {
        border-radius: 16px;
        margin: 15px 0;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
}

.function-tabs {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.function-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.function-tab:active,
.function-tab.active {
    background-color: #f0f8ff;
}

.tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f0f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: background-color 0.3s ease;
}

.tab-icon i {
    font-size: 22px;
    color: #1e88e5;
    transition: color 0.3s ease;
}

.tab-label {
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

/* 功能内容区域 */
.function-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 14px;
    margin: 12px 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: calc(100% - 24px);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .function-content {
        border-radius: 16px;
        padding: 16px;
        margin: 15px 0;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
}

.function-content.hidden {
    display: none;
}

.content-header {
    padding: 16px;
    border-bottom: 1px solid #eee;
    transition: border-color 0.3s ease;
}

.content-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
}

.content-list {
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* 空内容提示 */
.empty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    text-align: center;
}

.empty-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background-color 0.3s ease;
}

.empty-icon i {
    font-size: 28px;
    color: #1e88e5;
    transition: color 0.3s ease;
}

.empty-text {
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.explore-button {
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-button:hover {
    background-color: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(30, 136, 229, 0.3);
}

.explore-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* 充值中心弹窗样式 */
.recharge-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.recharge-dialog.show {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.recharge-dialog-content {
    width: 90%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.recharge-dialog.show .recharge-dialog-content {
    transform: scale(1);
}

.recharge-dialog-header {
    padding: 15px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recharge-dialog-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.recharge-dialog-body {
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
}

.recharge-info {
    margin-bottom: 20px;
}

.recharge-account-row,
.recharge-balance-row,
.recharge-amount-row,
.payment-amount-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.recharge-label,
.payment-label {
    font-size: 15px;
    color: #333;
    width: 90px;
    flex-shrink: 0;
}

.recharge-value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.recharge-balance {
    display: flex;
    align-items: center;
}

#rechargeBalance {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b00;
    margin-right: 4px;
}

.coin-unit {
    font-size: 14px;
    color: #666;
}

.recharge-input-container {
    position: relative;
    flex: 1;
    margin-right: 10px;
}

.recharge-input {
    width: 100%;
    padding: 10px 70px 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.recharge-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.coin-unit-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #666;
}

.bonus-text {
    font-size: 12px;
    color: #ff6b00;
    white-space: nowrap;
    flex-shrink: 0;
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.amount-option {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-option:hover {
    background-color: #e6f0ff;
    border-color: #3b82f6;
}

.amount-option.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.payment-method-section {
    margin-bottom: 20px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #3b82f6;
    background-color: #f5f9ff;
}

.payment-method.active {
    border-color: #3b82f6;
    background-color: #f0f7ff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.payment-icon.wechat-pay {
    background-color: #09bb07;
    color: white;
}

.payment-icon.alipay {
    background-color: #00a0e9;
    color: white;
}

.payment-icon i {
    font-size: 24px;
}

.payment-name {
    font-size: 14px;
    color: #333;
}

.payment-amount {
    display: flex;
    align-items: center;
}

#paymentAmount {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b00;
    margin-right: 4px;
}

.payment-unit {
    font-size: 16px;
    color: #666;
}

.confirm-payment-button {
    width: 100%;
    padding: 12px;
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-payment-button:hover {
    background-color: #e86200;
    box-shadow: 0 4px 8px rgba(255, 107, 0, 0.3);
}

.confirm-payment-button:active {
    transform: translateY(1px);
    box-shadow: none;
}

.recharge-tips {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 13px;
    color: #666;
}

.recharge-tips p {
    margin: 0 0 8px 0;
    font-weight: 500;
    color: #333;
}

.recharge-tips ol {
    margin: 0;
    padding-left: 20px;
}

.recharge-tips li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.recharge-tips li:last-child {
    margin-bottom: 0;
}

.recharge-tips strong {
    color: #ff6b00;
}

/* 主内容区域调整 */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
    position: relative;
    background-color: var(--bg-color);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .main-content {
        max-width: 500px;
        padding: 16px;
    }
    
    /* 确保内容区域宽度一致 */
    .user-info-card,
    .user-functions,
    .function-content {
        max-width: 100%;
    }
}

/* 自适应调整 */
@media (max-width: 360px) {
    .user-info-card,
    .user-functions,
    .function-content,
    .records-filter-section {
        margin: 10px 0;
        padding: 10px;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
    }
    
    .user-name {
        font-size: 16px;
    }
    
    .tab-icon {
        width: 40px;
        height: 40px;
    }
    
    .tab-icon i {
        font-size: 18px;
    }
    
    .tab-label {
        font-size: 12px;
    }
    
    .amount-options {
        gap: 8px;
    }
    
    .amount-option {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .recharge-label,
    .payment-label {
        width: 80px;
        font-size: 14px;
    }
    
    .recharge-amount-row {
        flex-wrap: wrap;
    }
    
    .recharge-input-container {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .bonus-text {
        margin-left: 90px;
        margin-top: 5px;
    }
    
    .payment-methods {
        gap: 10px;
    }
    
    .payment-method {
        width: 80px;
        padding: 8px;
    }
}

/* 主题适配 - 暗色模式 */
body[data-theme="dark"] .user-info-card,
body[data-theme="dark"] .function-tabs,
body[data-theme="dark"] .function-content {
    background-color: #1e3799;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .user-name {
    color: #f8fafc;
}

body[data-theme="dark"] .user-id {
    color: #94a3b8;
}

body[data-theme="dark"] .user-avatar {
    background-color: #1a2733;
}

body[data-theme="dark"] .user-avatar i {
    color: #94a3b8;
}

body[data-theme="dark"] .edit-profile-button {
    border-color: rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
}

body[data-theme="dark"] .edit-profile-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

body[data-theme="dark"] .user-account-info {
    background-color: #0c2461;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .account-value {
    color: #f87171;
}

body[data-theme="dark"] .account-label {
    color: #94a3b8;
}

body[data-theme="dark"] .account-divider {
    background-color: rgba(255, 255, 255, 0.2);
}

body[data-theme="dark"] .function-tab {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .function-tab:last-child {
    border-right: none;
}

body[data-theme="dark"] .function-tab:active,
body[data-theme="dark"] .function-tab.active {
    background-color: #0c2461;
}

body[data-theme="dark"] .tab-icon {
    background-color: #0c2461;
}

body[data-theme="dark"] .tab-icon i {
    color: #60a5fa;
}

body[data-theme="dark"] .tab-label {
    color: #e2e8f0;
}

body[data-theme="dark"] .content-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .content-header h3 {
    color: #f8fafc;
}

body[data-theme="dark"] .empty-icon {
    background-color: #0c2461;
}

body[data-theme="dark"] .empty-icon i {
    color: #60a5fa;
}

body[data-theme="dark"] .empty-text {
    color: #94a3b8;
}

body[data-theme="dark"] .explore-button {
    background-color: #3b82f6;
}

body[data-theme="dark"] .explore-button:hover {
    background-color: #2563eb;
}

/* 暗色模式下的充值中心样式 */
body[data-theme="dark"] .recharge-dialog-content {
    background-color: #1e3799;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .recharge-dialog-header {
    background: linear-gradient(135deg, #0c2461, #1e3799);
}

body[data-theme="dark"] .recharge-label,
body[data-theme="dark"] .payment-label {
    color: #e2e8f0;
}

body[data-theme="dark"] .recharge-value {
    color: #f8fafc;
}

body[data-theme="dark"] #rechargeBalance {
    color: #f87171;
}

body[data-theme="dark"] .coin-unit,
body[data-theme="dark"] .coin-unit-input {
    color: #94a3b8;
}

body[data-theme="dark"] .recharge-input {
    background-color: #0c2461;
    border-color: rgba(255, 255, 255, 0.2);
    color: #f8fafc;
}

body[data-theme="dark"] .recharge-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3);
}

body[data-theme="dark"] .bonus-text {
    color: #f87171;
}

body[data-theme="dark"] .amount-option {
    background-color: #0c2461;
    border-color: rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
}

body[data-theme="dark"] .amount-option:hover {
    background-color: #1e40af;
    border-color: #60a5fa;
}

body[data-theme="dark"] .amount-option.active {
    background-color: #3b82f6;
    border-color: #60a5fa;
    color: white;
}

body[data-theme="dark"] .payment-method {
    background-color: #0c2461;
    border-color: rgba(255, 255, 255, 0.2);
}

body[data-theme="dark"] .payment-method:hover {
    border-color: #60a5fa;
    background-color: #1e40af;
}

body[data-theme="dark"] .payment-method.active {
    border-color: #60a5fa;
    background-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

body[data-theme="dark"] .payment-name {
    color: #e2e8f0;
}

body[data-theme="dark"] #paymentAmount {
    color: #f87171;
}

body[data-theme="dark"] .payment-unit {
    color: #94a3b8;
}

body[data-theme="dark"] .recharge-tips {
    background-color: #0c2461;
    color: #94a3b8;
}

body[data-theme="dark"] .recharge-tips p {
    color: #e2e8f0;
}

body[data-theme="dark"] .recharge-tips strong {
    color: #f87171;
}

/* 滚动条样式 - 暗色模式 */
body[data-theme="dark"] .main-content::-webkit-scrollbar {
    width: 6px;
}

body[data-theme="dark"] .main-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .main-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

body[data-theme="dark"] .main-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* 我的解锁方案列表样式 */
.plans-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc(100%);
    max-width: 100%;
    padding: 8px 0;
    
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .plans-list {
        width: 100%;
        margin: 0;
    }
}

.plan-item {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 14px 16px 0;
    transition: all 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    position: relative;
}

body[data-theme="light"] .plan-item {
    background-color: #fff;
    border-color: #eee;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.plan-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #3b82f6, #f87171);
    border-radius: 2px 0 0 2px;
}

.plan-item:active {
    transform: scale(0.98);
    background-color: rgba(0, 0, 0, 0.15);
}

body[data-theme="light"] .plan-item:active {
    background-color: #f9f9f9;
}

/* 方案标题样式 */
.plan-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    width: 100%;
}

.plan-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    height: 22px;
    min-width: 40px;
}

.plan-main-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* 方案信息行样式 */
.plan-match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0;
}

body[data-theme="light"] .plan-match-row {
    border-bottom-color: #f0f0f0;
}

/* 比赛信息区域布局 */
.plan-match-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
    position: relative;
    padding-right: 30px;
}

.league-tag {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    height: 20px;
    display: flex;
    align-items: center;
}

.match-time {
    color: var(--text-light);
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.plan-teams-compact {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 120px);
    flex: 1;
}

.plan-match-info .trend-item {
    position: absolute;
    right: 0;
    margin-right: 0;
    width: 22px;
    height: 22px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.trend-win {
    background-color: #ef4444;
}

.trend-loss {
    background-color: #22c55e;
}

.trend-draw {
    background-color: #f59e0b;
}

/* 方案底部行样式 */
.plan-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 0 0 12px 12px;
    padding: 12px 16px;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

body[data-theme="light"] .plan-footer-row {
    background-color: #f8f8f8;
    border-top-color: #f0f0f0;
}

.plan-publish {
    color: var(--text-light);
    font-size: 12px;
    white-space: nowrap;
    flex: 1;
    min-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-price {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #F59E0B;
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
    justify-content: flex-end;
    min-width: 60px;
}

.plan-price i {
    color: #F2B342;
    font-size: 14px;
}

/* 购买记录样式 */
.records-filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background-color: #fff;
    border-radius: 12px;
    margin: 12px 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: calc(100% - 24px);
    box-sizing: border-box;
}

.date-filter {
    display: flex;
    align-items: center;
}

.filter-label {
    font-size: 14px;
    color: #666;
    margin-right: 12px;
    white-space: nowrap;
    transition: color 0.3s ease;
    font-weight: 500;
}

.date-input-container {
    display: flex;
    align-items: center;
}

.date-input {
    width: 110px;
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
}

.date-input:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.date-separator {
    margin: 0 8px;
    color: #999;
    font-size: 13px;
}

.search-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    margin-left: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.search-button:hover {
    background-color: #3a7bc8;
    transform: translateY(-1px);
}

.search-button:active {
    transform: translateY(0);
}

.filter-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-trigger span {
    font-size: 14px;
    color: #333;
    margin-right: 10px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.dropdown-trigger i {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
}

.dropdown-trigger.active i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    width: 130px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    margin-top: 6px;
    display: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item {
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f5f9ff;
}

.dropdown-item.active {
    background-color: rgba(74, 144, 226, 0.1);
    color: #4a90e2;
    font-weight: 500;
}

/* 购买记录表格 */
.purchase-records-table {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 12px 16px;
    width: calc(100% - 24px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.records-table-header {
    display: flex;
    background-color: #f5f7fa;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #edf0f5;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.records-table-body {
    max-height: 600px;
    overflow-y: auto;
}

.record-row {
    display: flex;
    padding: 14px 16px;
    border-bottom: 1px solid #edf0f5;
    transition: background-color 0.2s ease, border-color 0.3s ease;
    align-items: center;
}

.record-row:last-child {
    border-bottom: none;
}

.record-row:hover {
    background-color: #f8fafd;
}

.record-column {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    overflow: hidden;
}

.record-rank {
    width: 30px;
    flex-shrink: 0;
    justify-content: center;
    margin-right: 12px;
    padding-right: 0;
}

.record-date {
    width: 125px;
    flex-shrink: 0;
    padding-left: 0;
    color: #666;
}

.record-purpose {
    flex: 1;
    min-width: 0;
    padding-right: 15px;
}

.record-amount {
    width: 80px;
    justify-content: flex-end;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}

.record-amount.negative {
    color: #e74c3c;
}

.record-balance {
    width: 100px;
    justify-content: flex-end;
    color: #ff6b00;
    font-weight: 600;
    flex-shrink: 0;
}

.rank-number {
    width: 26px;
    height: 26px;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: normal;
    line-height: 26px;
    transition: all 0.3s ease;
}

.rank-number.rank-1, 
.rank-number.rank-2, 
.rank-number.rank-3 {
    color: white;
    font-weight: bold;
}

.rank-number.rank-1 {
    background-color: #f1c40f;
}

.rank-number.rank-2 {
    background-color: #bdc3c7;
}

.rank-number.rank-3 {
    background-color: #d35400;
}

/* 普通排名的样式（4以及更后） */
.rank-number.rank-4,
.rank-number.rank-5,
.rank-number.rank-6,
.rank-number.rank-7,
.rank-number.rank-8,
.rank-number.rank-9,
.rank-number.rank-10,
.rank-number.rank-11,
.rank-number.rank-12 {
    background-color: #4a90e2;
    color: white;
}

.record-link {
    color: #4a90e2;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    transition: color 0.2s ease;
    font-weight: 500;
}

.record-link:hover {
    color: #ff6b00;
    text-decoration: none;
}

/* 加载更多按钮 */
.load-more-container {
    display: flex;
    justify-content: center;
    margin: 20px 0 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.load-more-button {
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-light);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.load-more-button:active {
    transform: scale(0.95);
}

.load-more-button i {
    font-size: 14px;
}

/* 专家排名列表相关样式 */
.expert-ranking-list {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    margin: 0 12px 16px;
    width: calc(100% - 24px);
    box-sizing: border-box;
}

.ranking-list-header {
    display: flex;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 10px 12px;
    font-weight: bold;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ranking-header-rank {
    width: 40px;
    flex-shrink: 0;
    text-align: center;
}

.ranking-header-expert {
    flex: 1;
    padding-left: 10px;
}

.ranking-header-hitrate {
    width: 70px;
    text-align: center;
    flex-shrink: 0;
}

.ranking-header-rec {
    width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.expert-ranking-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.2s ease;
}

.expert-ranking-item:last-child {
    border-bottom: none;
}

.expert-ranking-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.expert-info-compact {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding-left: 10px;
}

.expert-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.expert-avatar-small i {
    font-size: 24px;
    color: #bbb;
}

.expert-details {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 50px);
}

.expert-name-tag {
    display: flex;
    flex-direction: column;
}

.expert-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.expert-tags-wrapper {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: visible;
    width: auto;
}

.expert-tag {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.expert-tag-hit {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.expert-tag-streak {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.expert-hitrate, .expert-recnum {
    display: flex;
    justify-content: center;
    align-items: center;
}

.expert-hitrate {
    width: 70px;
    flex-shrink: 0;
}

.expert-recnum {
    width: 60px;
    flex-shrink: 0;
}

.hitrate-value, .recnum-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
}

.percent {
    font-size: 12px;
    font-weight: normal;
    margin-left: 1px;
}

/* 优化购买记录表格在各种屏幕尺寸下的响应式显示 */
@media (max-width: 480px) {
    .ranking-list-header, .expert-ranking-item {
        padding: 8px 6px;
    }
    
    .expert-avatar-small {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }
    
    .expert-avatar-small i {
        font-size: 20px;
    }
    
    .expert-name {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .expert-tags-wrapper {
        flex-wrap: nowrap;
        overflow-x: visible;
    }
    
    .expert-tag {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .hitrate-value, .recnum-value {
        font-size: 14px;
    }
    
    .record-rank {
        width: 30px;
    }
    
    .record-purpose {
        padding-right: 4px;
    }
    
    .expert-details {
        max-width: calc(100% - 40px);
    }
    
    .expert-name {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .expert-ranking-item {
        padding: 12px 16px;
    }
    
    .ranking-list-header {
        padding: 10px 16px;
    }
    
    .expert-avatar-small {
        width: 42px;
        height: 42px;
        margin-right: 12px;
    }
    
    .expert-avatar-small i {
        font-size: 26px;
    }
    
    .expert-name {
        font-size: 16px;
    }
    
    .hitrate-value, .recnum-value {
        font-size: 17px;
    }
    
    .record-purpose {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .record-link {
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
}

/* 暗色模式适配 */
body[data-theme="dark"] .expert-ranking-list {
    background-color: #1e3799;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .ranking-list-header {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .expert-ranking-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .expert-ranking-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .expert-avatar-small {
    background-color: rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .expert-avatar-small i {
    color: rgba(255, 255, 255, 0.5);
}

body[data-theme="dark"] .expert-name {
    color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .hitrate-value, 
body[data-theme="dark"] .recnum-value {
    color: #f87171;
}

/* 购买记录表格暗色模式 */
body[data-theme="dark"] .records-filter-section {
    background-color: #1e3799;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .filter-label {
    color: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .date-input {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .date-input:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
}

body[data-theme="dark"] .date-separator {
    color: rgba(255, 255, 255, 0.5);
}

body[data-theme="dark"] .dropdown-trigger {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

body[data-theme="dark"] .dropdown-trigger span {
    color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .dropdown-trigger i {
    color: rgba(255, 255, 255, 0.5);
}

body[data-theme="dark"] .dropdown-content {
    background-color: #1e3799;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .dropdown-item.active {
    background-color: rgba(255, 107, 0, 0.2);
}

body[data-theme="dark"] .purchase-records-table {
    background-color: #1e3799;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .records-table-header {
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .record-row {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .record-row:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .record-column {
    color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .record-amount {
    color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .record-amount.negative {
    color: #e74c3c;
}

body[data-theme="dark"] .rank-number {
    background-color: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .record-link {
    color: #64b5f6;
}

body[data-theme="dark"] .record-link:hover {
    color: #ff6b00;
}

/* 编辑资料弹窗 */
.edit-profile-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.edit-profile-dialog.show {
    opacity: 1;
}

.edit-profile-dialog-content {
    width: 90%;
    max-width: 420px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.edit-profile-dialog.show .edit-profile-dialog-content {
    transform: translateY(0);
}

.edit-profile-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #edf0f5;
}

.edit-profile-dialog-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.edit-profile-dialog-body {
    padding: 20px;
}

.edit-profile-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.current-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 2px solid #dbeafe;
}

.current-avatar i {
    font-size: 50px;
    color: #1e40af;
}

.change-avatar-btn {
    background-color: #f0f7ff;
    border: 1px solid #dbeafe;
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.change-avatar-btn:not(:disabled):hover {
    background-color: #dbeafe;
}

.change-avatar-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.avatar-hint {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

.edit-profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.form-input {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
    outline: none;
}

.form-static-text {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    background-color: #f5f5f5;
    color: #666;
}

.input-hint {
    font-size: 12px;
    color: #888;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 10px;
}

.cancel-button {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-button:hover {
    background-color: #f5f5f5;
}

.save-button {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    background-color: #1e40af;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.save-button:hover {
    background-color: #1e3a8a;
}

/* 暗色模式适配 */
body[data-theme="dark"] .edit-profile-dialog-content {
    background-color: #1e3799;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .edit-profile-dialog-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .edit-profile-dialog-header h3 {
    color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .current-avatar {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .current-avatar i {
    color: rgba(255, 255, 255, 0.8);
}

body[data-theme="dark"] .change-avatar-btn {
    background-color: rgba(30, 64, 175, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
    color: #60a5fa;
}

body[data-theme="dark"] .change-avatar-btn:not(:disabled):hover {
    background-color: rgba(30, 64, 175, 0.3);
}

body[data-theme="dark"] .avatar-hint,
body[data-theme="dark"] .input-hint {
    color: rgba(255, 255, 255, 0.5);
}

body[data-theme="dark"] .form-label {
    color: rgba(255, 255, 255, 0.8);
}

body[data-theme="dark"] .form-input {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .form-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

body[data-theme="dark"] .form-static-text {
    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .cancel-button {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

body[data-theme="dark"] .cancel-button:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .save-button {
    background-color: #3b82f6;
}

body[data-theme="dark"] .save-button:hover {
    background-color: #2563eb;
}

@media (min-width: 768px) {
    .user-info-card,
    .user-functions,
    .function-content,
    .records-filter-section,
    .expert-ranking-list,
    .purchase-records-table {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
} 


.aliapybox {
	width: 290px;
	position: fixed;
	z-index: 6000;
	left: 50%;
	margin-left: -175px;
	top: 225px;
	text-align: center;
	border-radius: 20px;
	background-color: #ffffff;
	display: none;
	padding-bottom: 30px;
	border: #000000 2px solid;
	padding: 30px;
}

.aliapybox .wechathead {
	font-size: 16px;
}
.aliapybox .wechatmain{
	font-size: 14px;
	line-height: 24px;
	margin-top: 10px;
}
.aliapybox .wechatmain button{
	width: 120px;
	    height: 40px;
	    background-color: crimson;
	    border: none;
	    border-radius: 10px;
	    color: #ffffff;
	    font-size: 14px;
		margin-top: 10px;
		cursor: pointer;
}