.pay-checkout-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0f5ff 0%, #f6ffed 55%, #ffffff 100%);
  color: #1f2937;
  padding: 24px 16px 48px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.pay-checkout-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.pay-checkout-brand {
  text-align: center;
  margin-bottom: 20px;
}

.pay-checkout-brand h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f766e;
}

.pay-checkout-brand p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #64748b;
}

.pay-checkout-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.pay-checkout-section {
  padding: 18px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.pay-checkout-section:last-child {
  border-bottom: none;
}

.pay-checkout-section h2 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: #334155;
}

.pay-order-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pay-order-row + .pay-order-row {
  margin-top: 8px;
}

.pay-order-row .label {
  color: #64748b;
}

.pay-order-row .value {
  font-weight: 600;
  text-align: right;
}

.pay-order-total {
  font-size: 1.25rem;
  color: #1677ff;
}

.pay-plan-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-plan-tab {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 12px;
  background: #f8fafc;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.pay-plan-tab.active {
  border-color: #1677ff;
  background: #eff6ff;
}

.pay-plan-tab strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.pay-plan-tab span {
  font-size: 0.85rem;
  color: #64748b;
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f0f9ff;
}

.pay-method-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}

.pay-method-text strong {
  display: block;
  font-size: 0.95rem;
}

.pay-method-text span {
  font-size: 0.82rem;
  color: #64748b;
}

.pay-submit {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #1677ff, #0958d9);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(22, 119, 255, 0.28);
}

.pay-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pay-checkout-foot {
  margin-top: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.6;
}

.pay-checkout-back {
  display: inline-block;
  margin-top: 16px;
  color: #0f766e;
  text-decoration: none;
  font-size: 0.9rem;
}
