/**
 * 支付信息弹窗样式（参照 WH5 PayInfoModal / confirm-modal）
 */
.pay-info-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.pay-info-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.pay-info-content {
  position: relative;
  width: 85%;
  max-width: 500px;
  background-color: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  box-sizing: border-box;
  z-index: 1;
  max-height: 80vh;
  overflow-y: auto;
}

.pay-info-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.pay-info-text {
  font-size: 14px;
  line-height: 2em;
  color: #666;
  margin-bottom: 20px;
  text-align: left;
  padding: 10px 0;
}

.pay-info-row {
  margin-bottom: 8px;
}

.pay-info-row .pay-info-bold {
  color: #009aff;
  font-weight: bold;
}

.pay-info-usage {
  margin-top: 10px;
}

.pay-info-danger {
  color: #ff341a;
  font-weight: bold;
}

.pay-info-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pay-info-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.pay-info-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pay-info-btn-primary {
  background-color: #0287fc;
  color: #fff;
}

.pay-info-btn-primary:active {
  background-color: #0270d9;
  opacity: 0.9;
}

.pay-info-btn-secondary {
  background-color: #eee;
  color: #666;
}

.pay-info-btn-secondary:active {
  background-color: #ddd;
}

.pay-info-subscribe-wrap {
  width: 100%;
  min-height: 48px;
  display: none;
  box-sizing: border-box;
}

.pay-info-subscribe-wrap wx-open-subscribe,
.pay-info-subscribe-wrap wx-open-launch-weapp {
  display: block;
  width: 100%;
}

.pay-info-launch-weapp-wrap {
  display: block;
  width: 100%;
}

/* 直接跳转时隐藏按钮区域，不展示给用户 */
.pay-info-launch-weapp-hidden {
  visibility: hidden;
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pay-info-subscribe-wrap .pay-info-subscribe-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  background-color: #0287fc;
  color: #fff;
  box-sizing: border-box;
}

.pay-info-subscribe-wrap .pay-info-subscribe-btn:active {
  background-color: #0270d9;
  opacity: 0.9;
}