/* ============================================================
 * pay 模块 · 点数充值页样式（填单页 paypoint + 确认下单页 pay 共用）
 * 风格对齐项目主流业务页（getapi 市场 / 会员中心）：
 *   主色走 var(--brand)：tabler 主题取品牌蓝，default(layui) 主题无该变量，回落到 layui 蓝
 *   白底扁平卡片 + 1px 边框 + 6px 圆角
 * 与旧 pay_addmoney_common.css 的游戏充值风（橙粉渐变 Hero / 营销角标）完全区分
 * ============================================================ */

/* ===== 容器 ===== */
.rp-wrap{max-width:640px;margin:0 auto;padding:20px 16px 44px;color:#333;font-size:14px;line-height:1.5;}
.rp-wrap *{box-sizing:border-box;}

/* ===== 页面标题（蓝色左竖条，对齐 market-list-title）===== */
.rp-title{margin:2px 0 16px;}
.rp-title h1{display:inline-block;font-size:20px;font-weight:700;color:#333;margin:0;padding-left:12px;border-left:4px solid var(--brand, #1E9FFF);line-height:1.3;}
.rp-title p{margin:6px 0 0 16px;font-size:13px;color:#999;}

/* ===== 通用卡片 ===== */
.rp-card{background:#fff;border:1px solid #e6e6e6;border-radius:6px;padding:10px;margin-bottom:14px;box-shadow:0 1px 3px rgba(0,0,0,.04);}
.rp-card-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;}
.rp-card-hd .rp-card-title{font-size:15px;font-weight:600;color:#333;}
.rp-card-hd .rp-card-title i{margin-right:6px;color:var(--brand, #1E9FFF);font-size:16px;}
.rp-card-hd .rp-card-sub{font-size:12px;color:#999;}

/* ===== 表单字段 ===== */
.rp-field{margin-bottom:18px;}
.rp-field:last-child{margin-bottom:0;}
.rp-label{display:block;font-size:14px;font-weight:500;color:#333;margin-bottom:8px;}
.rp-label .rp-label-hint{font-weight:400;font-size:12px;color:#999;margin-left:6px;}
.rp-input{width:100%;height:44px;line-height:44px;padding:0 14px;border:1px solid #d9d9d9;border-radius:4px;font-size:15px;color:#333;background:#fff;outline:none;transition:border-color .2s,box-shadow .2s;}
.rp-input::placeholder{color:#bbb;}
.rp-input:focus{border-color:var(--brand, #1E9FFF);box-shadow:0 0 0 2px rgba(30,159,255,.12);}
.rp-input-locked,.rp-input-locked:focus{background:#f5f5f5;border-color:#e6e6e6;color:#666;box-shadow:none;cursor:not-allowed;}

/* ===== 金额输入（带 ¥ 前缀）===== */
.rp-amount-wrap{position:relative;}
.rp-amount-wrap .rp-amount-yuan{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:16px;color:#666;pointer-events:none;}
.rp-amount-input{padding-left:30px;font-size:20px;font-weight:600;}

/* ===== 快捷金额（chip 网格，对齐 market-card-btn）===== */
.rp-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px;}
.rp-chip{position:relative;display:flex;align-items:baseline;justify-content:center;gap:2px;padding:11px 0;border:1px solid #d9d9d9;border-radius:4px;background:#fff;color:#333;font-size:17px;font-weight:600;cursor:pointer;transition:all .2s;}
.rp-chip .rp-chip-unit{font-size:12px;font-weight:400;color:#999;}
.rp-chip:hover{border-color:var(--brand, #1E9FFF);color:var(--brand, #1E9FFF);}
.rp-chip:hover .rp-chip-unit{color:var(--brand, #1E9FFF);}
.rp-chip.is-active{border-color:var(--brand, #1E9FFF);background:var(--brand-soft, #e8f4ff);color:var(--brand, #1E9FFF);}
.rp-chip.is-active .rp-chip-unit{color:var(--brand, #1E9FFF);}
.rp-chip-tag{position:absolute;top:-1px;right:-1px;font-size:10px;line-height:1;padding:2px 5px;border-radius:0 4px 0 4px;background:var(--brand, #1E9FFF);color:#fff;}

/* ===== 主按钮（layui 蓝，扁平，对齐 market-search-btn）===== */
.rp-btn{display:block;width:100%;height:46px;line-height:46px;border:0;border-radius:4px;background:var(--brand, #1E9FFF);color:#fff;font-size:16px;font-weight:500;letter-spacing:1px;cursor:pointer;text-align:center;transition:background .2s;margin-top:6px;}
.rp-btn:hover{background:var(--brand-strong, #0d8de6);}
.rp-btn:active{background:var(--brand-deep, #0b7fd0);}

/* ===== 底部说明 ===== */
.rp-note{margin-top:14px;font-size:12px;color:#999;line-height:1.7;}
.rp-note a{color:var(--brand, #1E9FFF);text-decoration:none;}

/* ===== 信息行（只读核对）===== */
.rp-rows{margin:0;}
.rp-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #f0f0f0;font-size:14px;}
.rp-row:last-child{border-bottom:none;}
.rp-row .rp-k{color:#666;}
.rp-row .rp-v{color:#333;font-weight:500;}
.rp-row .rp-v.rp-money{color:#ff5722;font-weight:700;font-size:16px;}

/* ===== 付款方式（整行卡片，选中蓝框浅蓝底）===== */
.rp-pay-list{display:flex;flex-direction:column;gap:10px;}
.rp-pay{position:relative;display:flex;align-items:center;padding:14px 16px;border:1px solid #e6e6e6;border-radius:6px;background:#fff;cursor:pointer;transition:all .2s;}
.rp-pay:hover{border-color:var(--brand-line, #cfe4fb);}
.rp-pay.is-active{border-color:var(--brand, #1E9FFF);background:var(--brand-soft, #f0f8ff);box-shadow:0 0 0 1px rgba(30,159,255,.15);}
.rp-pay-icon{width:36px;height:36px;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:12px;}
.rp-pay-icon svg{width:22px;height:22px;}
.rp-pay-wx{background:#1aad19;}
.rp-pay-zfb{background:#1677FF;}
.rp-pay-info{flex:1;min-width:0;}
.rp-pay-name{font-size:15px;font-weight:500;color:#333;line-height:1.3;}
.rp-pay-desc{font-size:12px;color:#999;margin-top:2px;}
.rp-pay-check{width:18px;height:18px;border:2px solid #d9d9d9;border-radius:50%;flex-shrink:0;position:relative;transition:all .2s;}
.rp-pay.is-active .rp-pay-check{border-color:var(--brand, #1E9FFF);background:var(--brand, #1E9FFF);}
.rp-pay.is-active .rp-pay-check::after{content:"";position:absolute;left:4px;top:-1px;width:5px;height:9px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);}

/* ===== 防骗提醒（橙色警示框，克制版）===== */
.rp-alert{display:flex;align-items:flex-start;gap:8px;background:#fff7f5;border:1px solid #ffddcc;border-radius:6px;padding:12px 14px;font-size:12px;line-height:1.7;color:#d4380d;margin-bottom:14px;}
.rp-alert i{color:#ff5722;font-size:15px;flex-shrink:0;margin-top:1px;}
.rp-alert b{font-weight:700;}

/* ===== 空/校验占位 ===== */
.rp-checking{text-align:center;color:#999;padding:40px 0;}

/* ===== 移动端适配 ===== */
@media (max-width:576px){
	.rp-wrap{padding:12px 12px 28px;}
	.rp-card{padding:16px;}
	.rp-title h1{font-size:18px;}
	.rp-chips{gap:8px;}
	.rp-chip{font-size:16px;padding:10px 0;}
	.rp-btn{height:48px;line-height:48px;}
	.rp-pay-desc{display:none;}
}
