body {background-color: #f8f8f8;padding-bottom: 60px;}
/* 头部 */
.page-header {background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);padding: 8px;color: white;}
.header-bar {display: flex;align-items: center;justify-content: space-between;}
.user-info-box {display: flex;align-items: center;padding:5px 0 15px 0;}
.user-avatar {width: 55px;height: 55px;border-radius: 50%;border: 2px solid rgba(255,255,255,0.5);margin-right: 12px;}
.user-detail h2 {margin: 0 0 3px 0;font-size: 18px;}
.user-detail p {margin: 0;font-size: 13px;opacity: 0.85;}
.status-badge {display: inline-block;padding: 3px 10px;border-radius: 12px;font-size: 12px;background: rgba(255,255,255,0.2);margin-top: 3px;}
/* 统计卡片 */
.stats-row {display: flex;gap: 10px;padding:5px 10px;background: white;margin: -15px 15px 15px;border-radius: 12px;box-shadow: 0 2px 8px rgba(0,0,0,0.06);}
.stat-item {flex: 1;text-align: center;padding: 10px 0;}
.stat-item:not(:last-child) {border-right: 1px solid #eee;}
.stat-label {font-size: 12px;color: #999;margin-bottom: 5px;}
.stat-value {font-size: 18px;font-weight: bold;color: #19547b;}
/* 余额卡片 */
.balance-box {background: white;margin: 0 15px 15px;padding: 15px;border-radius: 8px;}
.balance-row {display: flex;justify-content: space-between;align-items: center;}
.balance-label {font-size: 14px;color: #666;}
.balance-amount {font-size: 22px;font-weight: bold;color: #19547b;margin: 5px 0;}
.balance-btn {background: #19547b;color: white;padding: 6px 12px;border-radius: 5px;text-decoration: none;font-size: 13px;}  .available-row {padding-top: 10px;border-top: 1px solid #f0f0f0;font-size: 14px;color: #333;}
/* 菜单列表 - 使用WeUI样式 */
.section-title {padding: 15px 15px 8px;font-size: 14px;color: #999;}
/* 底部导航 */
.bottom-nav {position: fixed;bottom: 0;left: 0;right: 0;background: white;border-top: 1px solid #e5e5e5;display: flex;padding: 8px 0;max-width: 650px;margin: 0 auto;}
.nav-item {flex: 1;text-align: center;color: #999;text-decoration: none;font-size: 12px;line-height: 1.2}
.nav-item.active {color: #19547b;}
.nav-icon {font-size: 22px;margin-bottom: 2px;}
/* 简化的悬停效果 */
.weui-cell:active {background: #f8f8f8;}
.weui-cell__hd{ margin-right:12px}

/* 自定义确认弹窗样式 */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.custom-modal-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

.custom-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 350px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    animation: slideUp 0.3s;
}

.custom-modal-header {
    padding: 20px 20px 10px;
    text-align: center;
}

.custom-modal-title {
    font-size: 17px;
    font-weight: bold;
    color: #333;
}

.custom-modal-body {
    padding: 10px 20px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.custom-modal-footer {
    display: flex;
    border-top: 1px solid #e5e5e5;
}

.custom-modal-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    background: white;
    border: none;
    transition: background 0.2s;
}

.custom-modal-btn:active {
    background: #f5f5f5;
}

.custom-modal-btn-cancel {
    color: #666;
}

.custom-modal-btn-confirm {
    color: #f44336;
    font-weight: bold;
    border-left: 1px solid #e5e5e5;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}