* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: #f5f5f7;
  padding: 15px;
}

.container {
  max-width: 500px;
  margin: 0 auto;
}

/* 订单信息卡片 */
.order-card {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.order-title {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}

.amount-container {
  text-align: center;
  padding: 10px 0;
}

.amount-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.amount {
  font-size: 32px;
  color: #e53e3e;
  font-weight: 600;
}

.order-info {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
  display: flex;
  justify-content: space-between;
}

/* 支付方式选择 */
.pay-method-title {
  font-size: 16px;
  color: #333;
  margin: 20px 0 10px;
  font-weight: 500;
}

.method-list {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.method-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.2s;
}

.method-item:last-child {
  border-bottom: none;
}

.method-item:hover {
  background-color: #fafafa;
}

.method-icon {
  width: 36px;
  height: 36px;
  margin-right: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-icon img {
  width: 24px;
  height: 24px;
}

.method-info {
  flex: 1;
}

.method-name {
  font-size: 16px;
  color: #333;
  margin-bottom: 2px;
}

.method-desc {
  font-size: 12px;
  color: #999;
}

.method-select {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ddd;
  position: relative;
}


.method-item.selected .wx {
  border-color: #28C445;
}
.method-item.selected .wx::after {
  background-color: #28C445;
}
.ali {
  border-color: #06B4FD !important;
}
.method-item.selected .ali::after {
  background-color: #06B4FD !important;
}
.method-item.selected .method-select {
  border-color: #28C445;
}
.method-item.selected .method-select::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #28C445;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 确认支付按钮 */
.confirm-btn {
  width: 100%;
  padding: 15px;
  background-color: #07c160;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  margin-top: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
  transition: background-color 0.2s;
}

.confirm-btn:hover {
  background-color: #06b356;
}

.confirm-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  box-shadow: none;
}

/* 提示信息 */
.tips {
  color: #e53e3e;
  text-align: center;
  padding: 15px;
  background-color: #fff5f5;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 14px;
  display: none;
}

/* 加载中提示 */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  display: none;
}

.loading-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #07c160;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 倒计时样式 */
.countdown {
  display: inline-block;
  background-color: #fff8e6;
  color: #fa8c16;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  margin-top: 10px;
}

.hidden {
  display: none;
}