/* 在线充值页 - 浅色卡片风格 */
.recharge-page {
  min-height: calc(100vh - 60px);
  background: #f5f6f8;
  padding: 24px 16px 60px;
}
.recharge-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.recharge-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  padding: 24px 28px 32px;
}
.recharge-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.recharge-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.recharge-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #409eff;
}
.recharge-notice svg { flex-shrink: 0; }

/* 支付方式卡片 */
.pay-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.pay-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
  background: #fff;
}
.pay-type:hover { border-color: #b3d8ff; }
.pay-type.is-active {
  border-color: #409eff;
  background: #f0f7ff;
}
.pay-type-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.pay-type-icon.alipay { background: #1677ff; color: #fff; }
.pay-type-icon.wechat { background: #07c160; color: #fff; }
.pay-type-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* 区块标题 */
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.section-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 16px;
  background: #409eff;
  border-radius: 2px;
}

/* 存款方式 */
.deposit-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.deposit-method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
  background: #fafafa;
}
.deposit-method:hover { border-color: #b3d8ff; }
.deposit-method.is-active {
  border-color: #409eff;
  background: #f0f7ff;
}
.deposit-method-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.deposit-method-icon.alipay { background: #1677ff; color: #fff; }
.deposit-method-icon.wechat { background: #07c160; color: #fff; }
.deposit-method-info { min-width: 0; }
.deposit-method-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.deposit-method-sub {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}
.hot-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: #ff4d4f;
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 0 10px 0 8px;
  font-weight: 600;
}

/* 金额输入 */
.amount-input-wrap { margin-bottom: 20px; }
.amount-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.amount-input:focus { border-color: #409eff; }
.amount-input::placeholder { color: #bbb; }
.amount-hint {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}

.recharge-tip {
  text-align: center;
  font-size: 13px;
  color: #ff4d4f;
  margin-bottom: 20px;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: #409eff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.submit-btn:hover { background: #337ecc; }
.submit-btn:disabled { opacity: .6; cursor: default; }

/* 收款码弹层 */
.qr-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.qr-overlay.is-open { display: flex; }
.qr-modal {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}
.qr-modal h2 {
  font-size: 18px;
  color: #1a1a1a;
  margin: 0 0 6px;
}
.qr-order-info {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.8;
}
.qr-amount {
  font-size: 28px;
  font-weight: 700;
  color: #ff4d4f;
  margin-bottom: 16px;
}
.qr-image {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  object-fit: contain;
  background: #fafafa;
}
.qr-tip {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}
.confirm-btn {
  display: block;
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 999px;
  background: #07c160;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.confirm-btn:hover { background: #06ad56; }
.confirm-btn:disabled { opacity: .6; cursor: default; }
.qr-close {
  margin-top: 12px;
  background: none;
  border: none;
  color: #999;
  font-size: 13px;
  cursor: pointer;
}
.qr-success {
  display: none;
  padding: 20px 0;
}
.qr-success.is-show { display: block; }
.qr-success-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.qr-success p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 520px) {
  .deposit-methods { grid-template-columns: 1fr; }
  .recharge-card { padding: 20px 16px 28px; }
}

.site-nav .site-nav-inner a.is-active {
  color: #c9a227;
  font-weight: 700;
}
