@charset "utf-8";
/* ============================================================================
 * 演示站点页面样式（在真实站点 weui.css / weuix.css / style.css 之上叠加）
 * 主色调与真实系统一致：#10aeff（weui-btn_primary 强调色）
 * ========================================================================== */

/* 真实 style.css 将 body 设为 overflow:hidden，列表页需要恢复滚动 */
body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* ---------- 顶部标题栏 ---------- */
.page-header {
    position: relative;
    z-index: 10;
    background: #10aeff;
    color: #fff;
    padding: 12px 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.page-header .header-school {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.4;
}
.page-header .header-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 2px;
}
.page-header .header-tag {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.08);
}
.page-header .header-back {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    padding: 4px 8px;
}
.page-header.with-back {
    padding-left: 44px;
}

/* ---------- 用户信息卡片 ---------- */
.user-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 16px 15px;
    border-bottom: 1px solid #e5e5e5;
}
.user-card .uc-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e5e5e5 url(../images/container_bg.png);
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}
.user-card .uc-avatar img {
    width: 100%;
    height: 100%;
    display: block;
}
.user-card .uc-name {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}
.user-card .uc-desc {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

/* ---------- 功能菜单图标（彩色圆角方块 + 字符） ---------- */
.weui-grid {
    padding: 18px 0 14px;
}
.weui-grid__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}
.mi-pay   { background: #ff9d00; }  /* 在线缴费 */
.mi-rec   { background: #10aeff; }  /* 缴费记录 */
.mi-info  { background: #07c160; }  /* 我的信息 */
.mi-unb   { background: #576b95; }  /* 解绑账号 */
.weui-grid__label {
    font-size: 13px;
    color: #333;
}

/* ---------- 待缴合计条 ---------- */
.sum-bar {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}
.sum-bar .sum-amount {
    color: #e64340;
    font-size: 18px;
    font-weight: 600;
}

/* ---------- 缴费列表项 ---------- */
.fee-cell .weui-cell__bd {
    padding-right: 10px;
}
.fee-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}
.fee-status.unpaid {
    color: #ff9d00;
    background: #fff7e8;
    border: 1px solid #ffd591;
}
.fee-status.paid {
    color: #07c160;
    background: #e8f9f0;
    border: 1px solid #a9e8c5;
}
.fee-amount {
    font-size: 16px;
    font-weight: 600;
    color: #e64340;
}
.fee-amount.paid {
    color: #999;
}

/* ---------- 缴费详情 ---------- */
.detail-amount-wrap {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 30px 15px 24px;
    text-align: center;
}
.detail-amount-label {
    font-size: 13px;
    color: #999;
}
.detail-amount {
    font-size: 40px;
    font-weight: 700;
    color: #e64340;
    margin-top: 6px;
}
.detail-amount .cny {
    font-size: 20px;
    margin-right: 2px;
}

/* 演示模式提示条 */
.demo-tips {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    color: #ad6800;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    margin: 12px 15px 0;
    line-height: 1.6;
}

/* ---------- 登录/绑定页 ---------- */
.login-avatar {
    text-align: center;
    padding: 28px 15px 8px;
}
.login-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background: #e5e5e5;
}
.login-avatar .nick {
    margin-top: 10px;
    font-size: 15px;
    color: #333;
}

/* ---------- 演示首页 ---------- */
.demo-hero {
    background: linear-gradient(160deg, #10aeff, #0080e8);
    color: #fff;
    padding: 40px 24px 30px;
}
.demo-hero .hero-title {
    font-size: 22px;
    font-weight: 700;
}
.demo-hero .hero-sub {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 8px;
    line-height: 1.6;
}
.demo-badge {
    display: inline-block;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2px 10px;
    margin-top: 12px;
}
