/* 货币选择按钮样式 */
.currency-select {
  margin: 20px 0;
  padding: 0 15px;
}

.currency-select label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.32rem;
  color: #666;
}

#currency-conversion-tip {
  margin-bottom: 8px;
  font-size: 0.32rem;
  color: #dc1919;
}

.currency-radio-buttons {
  display: flex;
  gap: 10px;
}

.radio-button-label {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 0.8rem;
  font-size: 0.32rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}

/* 选中状态高亮样式 */
.radio-button-label input[type="radio"]:checked + .radio-button-text {
  color: #fff;
  position: relative;
}

/* 为选中的label直接设置背景色和边框颜色 */
.radio-button-label:has(input[type="radio"]:checked) {
  background-color: #1989fa;
  border-color: #0056b3;
}

.radio-bg {
  display: none;
}

/* 鼠标悬停效果 */
.radio-button-label:hover {
  border-color: #1989fa;
}

.radio-button-text {
  display: block;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
  line-height: 0.8rem;
  height: 100%;
  margin: 0;
  padding: 0;
}

.radio-button-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}




      .pay-select .pay-item[data-v-7116c5f1] {
        cursor: pointer;
        margin-top: 0;
        }
      .modern-pay-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
      }

      .modern-pay-card {
        background: #ffffff;
        border-radius: 12px;
        padding: 3px 3px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
        border: 2px solid transparent;
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }

      .modern-pay-card:hover {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        transform: translateY(-1px);
      }

      .modern-pay-card.active {
        border-color: #4CAF50;
        background: linear-gradient(135deg, #ffffff 0%, #f8fff8 100%);
      }

      .pay-card-content {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .pay-card-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
      }

      .pay-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 8px;
      }

      .pay-card-info {
        flex: 1;
      }

      .pay-card-title {
        font-size: 15px;
        font-weight: 600;
        color: #333;
        margin: 0 0 2px 0;
        line-height: 1.2;
      }

      .pay-card-desc {
        font-size: 12px;
        color: #666;
        margin: 0;
        line-height: 1.3;
      }

      .pay-card-selector {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 20px;
        height: 20px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 2;
      }

      .modern-pay-card.active .pay-card-selector {
        opacity: 1;
      }

      .pay-card-selector::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 20px;
        height: 20px;
        background-color: #4CAF50;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .pay-card-selector::after {
        content: "✓";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 12px;
        font-weight: bold;
      }

      /* 响应式设计 */
      @media (max-width: 480px) {
        .modern-pay-grid {
          grid-template-columns: 1fr 1fr; /* 移动端保持两列布局 */
          gap: 10px;
          padding: 0 10px; /* 添加内边距防止贴边 */
        }

        .pay-card-icon {
          width: 36px;
          height: 36px;
        }
        
        .pay-card-title {
          font-size: 12px; /* 稍微减小字体以适应两列 */
        }
        
        .pay-card-desc {
          font-size: 10px; /* 减小描述文字 */
        }
        
        .pay-card-selector {
          width: 18px;
          height: 18px;
          top: 8px;
          right: 8px;
        }
        
        /* 支付卡片内容区域适配 */
        .pay-card-content {
          padding: 3px 3px; /* 减小内边距 */
        }
        
        /* 移动端隐藏选中标识元素 */
        .pay-card-selector {
          display: none !important;
        }
      }

      @media (min-width: 768px) {
        .modern-pay-grid {
          gap: 18px;
        }
      }
      
      /* 货币下拉选择框样式 */
      .currency-dropdown {
        width: 100%;
        max-width: 300px;
        padding: 12px 16px;
        font-size: 14px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        background-color: #ffffff;
        color: #333333;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 8px;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
        box-sizing: border-box;
      }
      
      .currency-dropdown:hover {
        border-color: #4CAF50;
      }
      
      .currency-dropdown:focus {
        outline: none;
        border-color: #4CAF50;
        box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
      }
      
      .currency-dropdown option {
        padding: 8px 12px;
        font-size: 14px;
      }
      
      /* 货币选择容器移动端适配 */
      .currency-select {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
      }
      
      .currency-select label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #333;
      }


      /* 移动端适配 */
      @media (max-width: 480px) {
        .currency-select {
          padding: 0 10px;
        }
        
        .currency-dropdown {
          max-width: 100%;
          font-size: 16px; /* 防止iPhone自动缩放 */
          padding: 14px 16px;
          background-position: right 10px center;
          padding-right: 35px;
        }
        
      }
      
      @media (max-width: 320px) {
        .currency-dropdown {
          font-size: 14px;
          padding: 12px 14px;
        }
        
        /* 极小屏幕下的支付卡片适配 */
        .modern-pay-grid {
          gap: 8px; /* 更小的间距 */
          padding: 0 8px;
        }
        
        .pay-card-title {
          font-size: 11px; /* 更小的标题字体 */
        }
        
        .pay-card-desc {
          font-size: 9px; /* 更小的描述字体 */
        }
        
        .pay-card-icon {
          width: 32px; /* 更小的图标 */
          height: 32px;
        }
        
        .pay-card-content {
          padding: 3px 3px; /* 更紧凑的内边距 */
        }
      }
      
      /* 超小屏幕适配 (iPhone SE, 5s 等) */
      @media (max-width: 280px) {
        .modern-pay-grid {
          grid-template-columns: 1fr 1fr;
          gap: 6px;
          padding: 0 6px;
        }
        
        .pay-card-title {
          font-size: 10px;
        }
        
        .pay-card-desc {
          font-size: 8px;
        }
        
        .pay-card-icon {
          width: 28px;
          height: 28px;
          margin-bottom: 4px;
        }
        
        .pay-card-selector {
          width: 16px;
          height: 16px;
          top: 6px;
          right: 6px;
        }
        
        .pay-card-content {
          padding: 3px 3px;
        }
      }
        