/* PaymentOptionsModule 样式 */
.payment-options-module {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  --theme-color: #7f56da;
}

.payment-options-module-title {
  color: #101828;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-shrink: 0;
}


.payment-options-module-list-container {
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden; /* 确保不会溢出 */
  display: flex;
  flex-direction: column;
}


/* 支付方式项样式 */
.payment-options-module-payment-method-item {
  width: 100%;
  height: 72px;
  padding: 14px;
  background: white;
  border-radius: 16px;
  border: 1px var(--theme-color, #7f56da) solid;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  display: flex;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


.payment-options-module-payment-method-left {
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  display: flex;
}


.payment-options-module-payment-info {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  display: flex;
  height: 100%;
}


.payment-options-module-payment-info-inner {
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}


.payment-options-module-payment-name {
  color: #101828;
  font-size: 16px;
  font-weight: 600;
  line-height: 17.96px;
}


.payment-options-module-surcharge-text {
  color: #667085;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}


.payment-options-module-payment-method-right {
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}


.payment-options-module-amount {
  text-align: right;
  color: var(--theme-color, #7f56da);
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

/* 选择按钮样式 */
.payment-options-module-selection-button {
  width: 36px;
  height: 37px;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

/* 选择按钮禁用状态样式 */
.payment-options-module-selection-button-disabled {
  color: #D0D5DD;
  
  .iconfont {
    color: #D0D5DD !important;
  }
}

.payment-options-module-selection-circle {
  width: 36px;
  height: 36px;
  position: relative;
}

.payment-options-module-selection-circle::before {
  content: '';
  width: 30px;
  height: 30px;
  position: absolute;
  left: 3px;
  top: 3px;
  background: var(--theme-color, #7f56da);
  border: 1.72px white solid;
  border-radius: 50%;
}


.payment-options-module-credit-card-body {
  width: 20px;
  height: 16px;
  background: #2e90fa;
  border-radius: 2px;
  position: relative;
}


.payment-options-module-credit-card-stripe {
  width: 20px;
  height: 2px;
  background: black;
  position: absolute;
  top: 2px;
  left: 0;
}


.payment-options-module-credit-card-chip {
  width: 8px;
  height: 2px;
  background: white;
  border-radius: 2px;
  position: absolute;
  bottom: 2px;
  left: 1px;
}


.payment-options-module-credit-card-circle {
  width: 12px;
  height: 12px;
  background: #47cd89;
  border-radius: 50%;
  position: absolute;
  bottom: -6px;
  right: -6px;
}


.payment-options-module-credit-card-circle-inner {
  width: 6px;
  height: 6px;
  background: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* PaymentIcon 样式 */
.payment-options-module-icon-container {
  width: 40px;
  img {
    width: 100%;
  }
}


/* 通用样式类 */
.payment-options-module-theme-color {
  color: var(--theme-color, #7f56da);
}


.payment-options-module-error-color {
  color: var(--Error-500, #f04438);
}


.payment-options-module-pointer {
  cursor: pointer;
}

/* Disabled state styles */
.payment-options-module-disabled {
  cursor: unset !important;
  pointer-events: unset !important;

  .payment-options-module-payment-method-item {
    background: white;
    border: 1px #D0D5DD solid;
    cursor: unset !important;
    pointer-events: unset !important;

    .payment-options-module-payment-name {
      color: #D0D5DD;
    }

    .payment-options-module-surcharge-text {
      color: #D0D5DD;
    }

    .payment-options-module-amount {
      color: #D0D5DD;
    }

    .payment-options-module-selection-circle::before {
      background: #D0D5DD;
      border: 2px white solid;
    }
  }

  .payment-options-module-title {
    color: #101828;
    /* 标题保持正常颜色 */
  }
}