/* 充值弹框样式 */
.recharge-dlg .modal-dialog {
  max-width: 1000px;
}

.recharge-dlg .modal-content {
  background-color: #2a2a2a;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border: none;
}

.recharge-dlg .modal-header {
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
  padding: 1rem 1.5rem;
}

.recharge-dlg .modal-title {
  font-size: 1.5rem;
  font-weight: 500;
}

.recharge-dlg .modal-body {
  padding: 2rem;
}
.recharge-confirm-btn{
  background-color: #e53256;
  border: none;
  color: #f8f8f8;
  padding: 0.4rem;
  border-radius: 15px; /* 增大圆角 */
  width: 100%;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.recharge-confirm-btn:hover {
  background-color: #d42a4a;
}
/* 充值卡号显示 */
.recharge-card-number {
  margin-bottom: 2rem;
}

.recharge-card-number label {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.recharge-card-number .card-number-input {
  width: 100%;
  background-color: #1a1a1a;
  border: 1px solid #444;
  border-radius: 4px;
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: monospace;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.recharge-card-number .card-number-input:focus {
  outline: none;
  border-color: #00a6ff;
}

.recharge-card-number .card-number-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 卡号验证提示 */
.card-number-validate-tip {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  min-height: 1.2rem;
  transition: all 0.3s ease;
}

.card-number-validate-tip.validating {
  color: #00a6ff;
}

.card-number-validate-tip.valid {
  color: #00ff88;
}

.card-number-validate-tip.invalid {
  color: #f56c6c;
}

/* 兼容旧的显示方式（已废弃） */
.recharge-card-number .card-number-value {
  background-color: #1a1a1a;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  color: #ccc;
  font-family: monospace;
  font-size: 1rem;
  flex: 1;
}

/* 支付方式选择 */
.recharge-payment-method {
  margin-bottom: 2rem;
}

.recharge-payment-method label {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: block;
}

.payment-options {
  display: flex;
  gap: 2rem;
}

.payment-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-radio-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #666;
  margin-right: 10px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.payment-option input:checked + .payment-radio-circle {
  border-color: #00a6ff;
  background-color: #00a6ff;
}

.payment-option input:checked + .payment-radio-circle::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.payment-option span {
  font-size: 1.1rem;
}

/* 内容区域分栏 */
.recharge-content {
  display: flex;
  gap: 2rem;
}

.recharge-left {
  flex: 1;
}

.recharge-right {
  width: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 1px solid #444;
  padding-left: 2rem;
}

/* 金额选择 */
.recharge-amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.amount-option {
  background-color: #3a3a3a;
  border: 2px solid #3a3a3a;
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.3rem;
}

.amount-option:hover {
  background-color: #4a4a4a;
  border-color: #4a4a4a;
}

.amount-option.active {
  background-color: #1a1a1a;
  border-color: #00ff88;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* 二维码区域 */
.qrcode-container {
  margin-bottom: 1.5rem;
}

.qrcode-box {
  width: 280px;
  height: 280px;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
}

.qrcode-box img {
  width: 260px;
  height: 260px;
}

/* Loading 状态 */
.qrcode-box.loading {
  background-color: #2a2a2a;
}

.qrcode-box .loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #00a6ff;
  text-align: center;
}

.qrcode-box .loading-spinner .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3rem;
}

.qrcode-tip {
  text-align: center;
  color: #888;
  font-size: 0.95rem;
}

/* 实付金额 */
.recharge-total {
  background-color: #3a3a3a;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.recharge-total-label {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.recharge-total-amount {
  font-size: 2rem;
  color: #ff4d6a;
  font-weight: bold;
}

/* 提示信息 */
.recharge-notice {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

/* 自定义金额输入 */
.custom-amount-input {
  display: none;
  margin-top: 1rem;
}

.custom-amount-input.show {
  display: block;
}

.custom-amount-input input {
  width: 100%;
  background-color: #1a1a1a;
  border: 1px solid #444;
  border-radius: 4px;
  color: #fff;
  padding: 0.75rem;
  font-size: 1rem;
}

.custom-amount-input input:focus {
  outline: none;
  border-color: #00ff88;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .recharge-content {
    flex-direction: column;
  }
  
  .recharge-right {
    width: 100%;
    border-left: none;
    border-top: 1px solid #444;
    padding-left: 0;
    padding-top: 2rem;
  }
  
  .recharge-amounts {
    grid-template-columns: repeat(4, 1fr);
  }
}
