.recharge-page {
  padding: 40px 60px 80px;
  max-width: 1440px;
  margin: 0 auto;
  min-height: calc(100vh - 74px);
  color: #f5fbff;
  background: #0f0f12;
}

.recharge-header {
  text-align: center;
  margin-bottom: 24px;
}

.recharge-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 44px;
  margin: 0 0 8px;
  color: #f5fbff;
}

.recharge-sub-title {
  margin: 0;
  color: rgba(224, 245, 255, 0.48);
  font-size: 14px;
  line-height: 20px;
}

.recharge-loading-wrap {
  text-align: center;
  padding: 100px 0;
}

/* 只留转圈。遮罩伪元素收起时会从深色过渡成白底，整块闪一下。 */
.recharge-tier-spin.ant-spin-nested-loading > .ant-spin-container,
.recharge-tier-spin.ant-spin-nested-loading > .ant-spin-container.ant-spin-blur {
  opacity: 1;
  filter: none;
  transition: none;
}

.recharge-tier-spin.ant-spin-nested-loading > .ant-spin-container::after,
.recharge-tier-spin.ant-spin-nested-loading > .ant-spin-container.ant-spin-blur::after {
  background: transparent !important;
  opacity: 0 !important;
  transition: none !important;
  pointer-events: none;
}

.recharge-tier-spin.ant-spin-nested-loading > div > .ant-spin {
  z-index: 20;
}

.recharge-tier-spin .ant-spin-dot-item {
  background-color: #f5fbff !important;
}

.recharge-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 51px 0 36px;
}

.recharge-toggle {
  display: flex;
  width: 420px;
  height: 44px;
  padding: 4px;
  background: #2a2c31;
  border-radius: 22px;
}

.toggle-item {
  position: relative;
  flex: 1;
  display: flex;
}

.recharge-toggle-btn {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border: none;
  background: transparent;
  border-radius: 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 36px;
  color: rgba(245, 251, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.recharge-toggle-btn.is-active {
  background: #ff47ac;
  color: #fff;
}

.toggle-badge {
  position: absolute;
  top: -32px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: 59px;
  height: 21px;
  padding: 0;
  border-radius: 5px;
  background: #e54a94;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 21px;
  text-align: center;
  white-space: nowrap;
}

.toggle-badge::after {
  content: "";
  position: absolute;
  left: 39px;
  top: 19px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #e54a94;
}

.recharge-cards {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  justify-content: center;
  gap: 16px;
  margin-bottom: 80px;
  padding-top: 40px;
}

.recharge-page .recharge-card.ant-card {
  background: #303134;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: visible;
  transition: transform 0.25s ease;
}

.recharge-page .recharge-card.ant-card:hover {
  transform: translateY(-12px);
  z-index: 2;
}

.recharge-page .recharge-card .ant-card-body {
  padding: 24px 20px 20px;
}

.recharge-page .recharge-card.is-recommend.ant-card {
  background: #e54a94;
  border: none;
  padding: 35px 3px 3px;
  margin-top: -35px;
  overflow: hidden;
  position: relative;
}

.recharge-page .recharge-card.is-recommend .ant-card-body {
  background: #303134;
  border-radius: 15px;
}

.recharge-recommend-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 35px;
  white-space: nowrap;
  z-index: 2;
}

.recommend-star {
  display: block;
  width: 18px;
  height: 19px;
}

.tier-icon-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.tier-mark {
  display: block;
  flex-shrink: 0;
}

.recharge-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: #fff;
  margin: 0;
}

.promo-tag-inline {
  height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(245, 251, 255, 0.08);
  color: #ff47ac;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.tier-desc {
  color: #ffffff;
  font-size: 14px;
  line-height: 22px;
  margin: 4px 0 18px;
}

.recharge-card-price {
  display: flex;
  align-items: flex-end;
  color: #f5fbff;
  margin-bottom: 4px;
}

.price-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(245, 251, 255, 0.48);
  font-size: 12px;
  line-height: 20px;
}

.price-meta s {
  text-decoration: line-through;
}

.offer-tag {
  height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  background: #ff47ac;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
}

.recharge-currency {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-right: 4px;
  margin-bottom: 3px;
  color: #fff;
}

.recharge-amount {
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.recharge-unit {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #fff;
  margin-left: 5px;
  margin-bottom: 3px;
}

.price-origin {
  margin-left: 8px;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 20px;
  color: rgba(245, 251, 255, 0.48);
}

.price-origin s {
  text-decoration: line-through;
}

.sub-account-section {
  margin: 8px 0 20px;
  padding: 0;
  border: none;
}

.sub-account-label {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 20px;
}

.sub-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sub-account-control {
  display: flex;
  align-items: center;
  width: 128px;
  height: 30px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.38);
  border: none;
  overflow: hidden;
  margin: 0;
}

.stepper-btn {
  width: 32px;
  height: 30px;
  border: none;
  background: transparent;
  color: #f5fbff;
  font-size: 16px;
  line-height: 30px;
  cursor: pointer;
  flex-shrink: 0;
}

.stepper-btn:disabled {
  color: rgba(245, 251, 255, 0.24);
  cursor: not-allowed;
}

.stepper-value {
  flex: 1;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
  color: #f5fbff;
  white-space: nowrap;
}

.sub-account-control:has(.stepper-btn:disabled) .stepper-value {
  color: rgba(245, 251, 255, 0.48);
}

.sub-account-total {
  display: flex;
  align-items: flex-end;
  color: #7f8081;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.sub-account-total .total-currency {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

/* 合计金额用 Light。数值字重 300 在苹方上会落到 Thin，所以直接指定 Light 字族。 */
.sub-account-total .total-amount {
  color: #fff;
  font-family: "Microsoft YaHei Light", "PingFangSC-Light", sans-serif;
  font-size: 24px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 28px;
}

.sub-account-tip {
  color: #ffffff;
  font-size: 12px;
  line-height: 20px;
  margin: 0;
}

.recharge-buy-btn {
  height: 44px !important;
  border: none !important;
  border-radius: 22px !important;
  background: #ff47ac !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.recharge-buy-btn:hover {
  background: #ff47ac !important;
  color: #fff !important;
  opacity: 0.92;
}

.recharge-buy-btn.is-free,
.recharge-buy-btn.is-free:disabled {
  background: #ff9ec8 !important;
  color: #fff !important;
}

.recharge-buy-btn.is-muted,
.recharge-buy-btn:disabled,
.recharge-buy-btn.ant-btn-disabled {
  background: rgba(245, 251, 255, 0.12) !important;
  color: rgba(245, 251, 255, 0.68) !important;
  cursor: not-allowed;
  opacity: 1;
}

.recharge-buy-btn + .recharge-card-body {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 251, 255, 0.08);
}

.recharge-card-body {
  padding-top: 0;
}

.advanced-benefits {
  border-top: none;
  margin-top: 16px;
}

.benefit-group-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(245, 251, 255, 0.68);
  margin-bottom: 16px;
}

.recharge-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recharge-benefit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: #f5fbff;
}

.benefit-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.recharge-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
}

.recharge-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 6px;
  height: 9px;
  border-right: 2px solid #ff47ac;
  border-bottom: 2px solid #ff47ac;
  transform: rotate(45deg);
}

.benefit-val {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

/* 数字加粗。旗舰版数字用设计稿粉色，单位保持白色常规字重。 */
.benefit-num {
  font-weight: 700;
}

.recharge-card.is-recommend .benefit-num {
  color: #e54a94;
}

.benefit-unavailable {
  color: #bab9b9;
  font-size: 14px;
}

/* 没有的权益整行用设计稿灰色，包含 1对1 顾问这类长文案。 */
.recharge-benefit-item.is-unavailable {
  color: #bab9b9;
}

.recharge-benefit-table-wrap {
  margin-top: 0;
}

.recharge-benefit-table {
  background: transparent;
  margin-bottom: 80px;
}

.recharge-benefit-table .ant-table {
  background: transparent;
  color: #f5fbff;
}

.recharge-benefit-table .ant-table-container,
.recharge-benefit-table .ant-table-content,
.recharge-benefit-table table {
  border: none !important;
}

.recharge-benefit-table table {
  min-width: 1180px;
}

.recharge-benefit-table .ant-table-placeholder,
.recharge-benefit-table .ant-table-placeholder > td,
.recharge-benefit-table .ant-table-placeholder:hover > td {
  background: transparent !important;
}

.recharge-benefit-table .ant-table-thead > tr > th {
  background: transparent !important;
  color: #f5fbff !important;
  font-weight: 400;
  border: none !important;
  padding: 0 8px 59px !important;
  vertical-align: middle;
  white-space: normal;
}

/* 表头列与列之间不要 Ant Design 默认的短竖线。 */
.recharge-benefit-table .ant-table-thead > tr > th::before {
  display: none !important;
}

.compare-head-title {
  display: block;
  text-align: left;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #fff;
}

.compare-tier-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}

.compare-tier-plate {
  width: 45px;
  height: 43px;
  border-radius: 10px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
}

.compare-tier-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
}

.compare-tier-desc {
  margin-top: 17px;
  font-size: 16px;
  line-height: 17px;
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
}

.compare-tier-price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 12px;
  color: #fff;
}

.compare-tier-currency,
.compare-tier-unit {
  font-size: 14px;
  line-height: 14px;
}

.compare-tier-currency {
  margin-right: 4px;
}

.compare-tier-unit {
  margin-left: 5px;
}

.compare-tier-amount {
  font-size: 32px;
  font-weight: 700;
  line-height: 26px;
}

.compare-tier-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
}

.compare-tier-stars .anticon {
  font-size: 14px;
}

.compare-tier-stars .is-on {
  color: #e54a94;
}

.compare-tier-stars .is-off {
  color: #424245;
}

.compare-tier-stars span {
  margin-left: 4px;
}

.recharge-benefit-table .ant-table-tbody > tr > td {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  font-size: 16px;
}

.recharge-benefit-table .ant-table-tbody > tr.compare-group-row > td {
  padding: 53px 0 0 !important;
  height: auto !important;
  border-bottom: none !important;
}

.recharge-benefit-table .ant-table-tbody > tr.compare-group-row:first-child > td {
  padding-top: 0 !important;
}

/* 旗舰列单独一层半透明色，盖在分组条和数据行上面，不替换底下的 #2e3033。 */
.recharge-benefit-table .ant-table-tbody > tr > td.compare-flagship-cell {
  position: relative;
  z-index: 0;
  background: transparent !important;
}

.recharge-benefit-table .ant-table-tbody > tr > td.compare-flagship-cell::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(45, 34, 44, 0.8);
  pointer-events: none;
}

/* 分组条旗舰列是右侧圆角。半透明层只盖在这条上面的空隙，不盖住圆角条。 */
.recharge-benefit-table .ant-table-tbody > tr.compare-group-row > td.compare-flagship-cell,
.recharge-benefit-table .ant-table-tbody > tr.compare-group-row > td.compare-flagship-cell.ant-table-cell-row-hover {
  background: transparent !important;
}

.recharge-benefit-table .ant-table-tbody > tr.compare-group-row > td.compare-flagship-cell::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 47px;
  background: #2e3033;
  border-radius: 0 6px 6px 0;
  pointer-events: none;
}

.recharge-benefit-table .ant-table-tbody > tr.compare-group-row > td.compare-flagship-cell::before {
  bottom: 47px;
}

.compare-flagship-content {
  position: relative;
  z-index: 2;
}

.compare-group-bar {
  height: 47px;
  border-radius: 6px 0 0 6px;
  background: #2e3033;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 47px;
  padding-left: 22px;
  text-align: left;
}

.recharge-benefit-table .ant-table-tbody > tr.compare-data-row > td {
  height: 52px;
  padding: 0 12px !important;
  border-bottom: 1px solid #424245 !important;
}

.recharge-benefit-table .ant-table-tbody > tr.compare-data-row > td.compare-name-cell {
  padding-left: 28px !important;
  text-align: left;
}

.compare-feature-name {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.recharge-benefit-table .ant-table-tbody > tr.compare-data-row:hover > td,
.recharge-benefit-table .ant-table-tbody > tr.compare-data-row > td.ant-table-cell-row-hover {
  background: transparent !important;
}

.compare-text {
  color: #fff;
  font-size: 16px;
  line-height: 22px;
}

.compare-num {
  font-weight: 700;
  color: #fff;
}

.compare-accent {
  font-weight: 700;
  color: #e54a94;
}

.compare-empty {
  color: rgba(255, 255, 255, 0.35);
}

.compare-mark {
  width: 25px;
  height: 25px;
  display: inline-block;
  vertical-align: middle;
}

.compare-mark.is-no {
  width: 26px;
  height: 26px;
}

.compare-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.compare-stars .anticon {
  font-size: 14px;
}

.compare-stars .is-on {
  color: #e54a94;
}

.compare-stars .is-off {
  color: #424245;
}

.benefit-table-loading {
  padding: 100px 0;
  text-align: center;
}

/* 支付前确认弹窗。尺寸按设计稿 842 宽。 */
/* 关闭按钮高出弹窗，居中时给顶部留出位置，避免被视口裁掉。 */
.ant-modal-wrap:has(.pay-confirm-modal),
.ant-modal-wrap:has(.pay-cashier-modal) {
  align-items: flex-start;
  padding-top: 64px;
  overflow: auto;
}

.pay-confirm-modal.ant-modal,
.pay-confirm-modal .ant-modal-content,
.pay-cashier-modal.ant-modal,
.pay-cashier-modal .ant-modal-content {
  overflow: visible;
}

.pay-confirm-modal .ant-modal-content {
  background: #242426;
  color: #fff;
  border-radius: 16px;
  padding: 36px 44px 28px;
  box-shadow: none;
}

/* 设计稿关闭按钮在弹窗外：高出顶边 37px，右侧伸出 23px。 */
.pay-confirm-modal .ant-modal-close,
.pay-cashier-modal .ant-modal-close {
  top: -37px;
  inset-inline-end: -23px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #fff;
}

.pay-confirm-modal .ant-modal-close:hover,
.pay-cashier-modal .ant-modal-close:hover {
  background: transparent;
  color: #fff;
}

.pay-cashier-modal .ant-modal-content {
  background: #242426;
  color: #fff;
  border-radius: 16px;
  padding: 28px 27px 24px;
  box-shadow: none;
}

.pay-confirm-plan,
.pay-confirm-box {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
}

.pay-confirm-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  padding: 16px 22px;
}

.pay-confirm-plan-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pay-confirm-plan-main .tier-mark {
  width: 40px;
  height: 34px;
  object-fit: contain;
}

.pay-confirm-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.pay-confirm-desc {
  margin-top: 4px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.pay-confirm-headline {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.pay-confirm-box {
  margin-top: 18px;
  padding: 22px 24px 26px;
}

.pay-confirm-field {
  display: flex;
  align-items: center;
  gap: 28px;
}

.pay-confirm-field + .pay-confirm-field {
  margin-top: 22px;
}

.pay-confirm-label {
  width: 72px;
  flex: none;
  font-size: 16px;
}

.pay-method-chip {
  width: 364px;
  max-width: 100%;
  height: 60px;
  padding: 0 16px 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #3a2433;
  border: 1px solid #e54a94;
  border-radius: 10px;
  font-size: 16px;
}

.pay-wallet {
  flex: none;
}

.pay-method-check {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e54a94;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.pay-code-input {
  width: 364px;
  max-width: 100%;
  height: 60px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background: #3a3a3c;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.pay-code-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.pay-confirm-rows {
  margin-top: 28px;
}

.pay-confirm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  font-size: 16px;
}

.pay-confirm-row s {
  color: #fff;
  text-decoration-thickness: 1px;
}

.pay-payable {
  color: #e54a94;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.pay-submit {
  display: block;
  width: 339px;
  max-width: 100%;
  height: 51px;
  margin: 18px auto 0;
  border: none;
  border-radius: 26px;
  background: #e54a94;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.pay-submit:disabled {
  cursor: default;
  opacity: 0.7;
}

.pay-confirm-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.cashier-title {
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.cashier-countdown {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  font-size: 16px;
}

.cashier-time {
  color: #e54a94;
  font-size: 22px;
  font-weight: 700;
}

.cashier-body {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 348px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.cashier-pay,
.cashier-note {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.cashier-pay {
  min-height: 420px;
  padding: 22px 20px 18px;
  text-align: center;
}

.cashier-amount-label {
  font-size: 16px;
}

.cashier-amount {
  margin-top: 8px;
  color: #e54a94;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.cashier-amount small {
  margin-right: 2px;
  font-size: 18px;
}

.cashier-qr {
  width: 207px;
  height: 207px;
  margin: 16px auto 0;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cashier-qr .ant-qrcode {
  width: 191px !important;
  height: 191px !important;
}

.cashier-wait {
  margin: 14px 0 0;
  color: #e54a94;
  font-size: 14px;
}

.cashier-tip {
  margin: 6px 0 0;
  color: #fff;
  font-size: 14px;
  line-height: 15px;
  white-space: nowrap;
}

.cashier-tip span {
  color: #e54a94;
  font-weight: 700;
}

.cashier-note {
  position: relative;
  width: 515px;
  height: 460px;
  margin-right: -88px;
  border: none;
  background: none;
  padding: 150px 114px 0 24px;
}

.cashier-note-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cashier-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  font-size: 16px;
}

.cashier-row span:last-child {
  text-align: right;
}

.cashier-cancel {
  display: block;
  margin: 22px auto 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.cashier-cancel:hover:not(:disabled) {
  color: #e54a94;
}

.cashier-cancel:disabled {
  cursor: default;
  opacity: 0.6;
}

/* Checkout Page Styles */
.checkout-page-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.checkout-card {
  background: #1f1f1f !important;
  border: 1px solid #333 !important;
  border-radius: 12px;
  padding: 32px;
}

.checkout-content-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 48px;
  align-items: start;
}

.checkout-left-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #333;
}

.checkout-content-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-header {
  margin-bottom: 32px;
}

.checkout-title {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 0;
  text-align: center;
}

.checkout-amount-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.amount-label {
  color: #a9a9a9;
  font-size: 14px;
}

.amount-value {
  color: #e54a94;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.amount-value .currency {
  font-size: 24px;
  font-weight: 600;
}

.amount-value .number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.order-details-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #333;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.detail-row .label {
  color: #666;
}

.detail-row .value {
  color: #fff;
  font-weight: 500;
}

.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.qr-wrapper {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.qr-status-info {
  min-height: 24px;
}

.status-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #e54a94;
  font-size: 14px;
}

.qr-tip {
  color: #999;
  font-size: 14px;
  text-align: center;
}

.qr-tip span {
  color: #e54a94;
  font-weight: 600;
}

.checkout-footer {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.countdown-label {
  color: #666;
  font-size: 14px;
}

.back-btn {
  color: #666 !important;
}

.back-btn:hover {
  color: #fff !important;
}

/* Alipay Redirect Styles */
.alipay-redirect-tip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 20px 0;
}

.alipay-icon-wrap {
  margin-bottom: 8px;
  background: #1677ff;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alipay-redirect-tip h3 {
  color: #fff;
  font-size: 18px;
  margin: 0;
}

.alipay-redirect-tip p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.alipay-status-check {
  text-align: center;
  width: 100%;
}

.alipay-status-check p {
  color: #a9a9a9;
  font-size: 14px;
  margin-bottom: 16px;
}

.status-check-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.status-check-buttons .ant-btn-primary {
  background: #e54a94;
  border-color: #e54a94;
}

.status-check-buttons .ant-btn-default {
  background: transparent;
  color: #a9a9a9;
  border-color: #333;
}

.status-check-buttons .ant-btn-default:hover {
  color: #fff;
  border-color: #666;
}

/* Override Result styles for dark mode */
.checkout-page-container .ant-result-title {
  color: #fff !important;
}

.checkout-page-container .ant-result-subtitle {
  color: #999 !important;
}
.common-page-content {
  padding: 0 16px 40px 0;
  box-sizing: border-box;
  flex: 1;
  width: 100%;
  min-width: 1100px;
  overflow: visible;
  height: auto;
}

.common-layout {
  background: transparent;
}
