.custom-pay-page {
  padding-top: 28px;
  padding-bottom: 48px;
}

.custom-pay-wrap {
  max-width: 560px;
}

.custom-pay-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 16px;
}

.custom-pay-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.custom-pay-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.custom-pay-head h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  color: #0f172a;
  text-align: center;
}

.custom-pay-head p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.6;
  font-size: 0.92rem;
}

.custom-pay-payer {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #334155;
}

.custom-pay-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.custom-pay-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.custom-pay-req {
  color: #dc2626;
}

.custom-pay-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #64748b;
}

.custom-pay-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 0.95rem;
  color: #0f172a;
  box-sizing: border-box;
}

.custom-pay-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.custom-pay-amount-wrap {
  display: flex;
  align-items: stretch;
}

.custom-pay-currency {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-right: none;
  border-radius: 10px 0 0 10px;
  color: #475569;
  font-weight: 700;
}

.custom-pay-amount-wrap .custom-pay-input {
  border-radius: 0 10px 10px 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.custom-pay-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  color: #1e40af;
}

.custom-pay-summary strong {
  font-size: 1.25rem;
}

.custom-pay-btn {
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.custom-pay-btn:hover:not(:disabled) {
  background: #1d4ed8;
}

.custom-pay-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.custom-pay-footnote {
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

.custom-pay-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.custom-pay-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.custom-pay-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.custom-pay-alert--info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.custom-pay-alert--info a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .custom-pay-card {
    padding: 20px 16px;
  }
}
