/* Review and payment layout */
.review-card {
  padding: 26px;
  margin-bottom: 18px;
}
.review-card h2 {
  margin: 0 0 20px;
  font-size: clamp(22px, 3vw, 30px);
}
.review-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin: 0;
}
.review-card dl > div {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--b4e-border);
  border-radius: 10px;
  background: #f8fafc;
}
.review-card dt {
  margin: 0 0 5px;
  color: var(--b4e-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.review-card dd {
  margin: 0;
  color: var(--b4e-text);
  font-size: 16px;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.b2c-lifecycle-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--b4e-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--b4e-shadow);
}
.b2c-review-ready {
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
}
.b2c-review-ready.ready {
  border-color: #bbf7d0;
  background: #ecfdf5;
}
.b2c-review-ready strong { display: block; margin-bottom: 5px; font-size: 17px; }
.b2c-review-ready p { margin: 0; color: #475569; }
.b2c-review-section {
  padding: 18px;
  border: 1px solid var(--b4e-border);
  border-radius: 10px;
  background: #fff;
}
.b2c-review-section h3 { margin: 0 0 10px; }
.document-status-list { list-style: none; padding: 0; margin: 0; }
.document-status-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e8eef5;
}
.document-status-list li:last-child { border-bottom: 0; }
.document-status-list strong { color: var(--b4e-accent); }
.b2c-payment-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.b2c-payment-actions .button-primary,
.b2c-payment-actions .button-secondary { min-width: 180px; }

/* Policy issuance confirmation */
.loading-state .state-card,
.error-state .state-card {
  width: min(720px, 100%);
}
.state-card h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
}
.state-card > p {
  max-width: 600px;
  margin: 0 auto 20px;
  color: var(--b4e-muted);
  font-size: 16px;
}
.b2c-success-card,
.b2c-confirmation-card {
  width: min(760px, calc(100% - 32px));
  margin: 36px auto;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--b4e-border);
  box-shadow: var(--b4e-shadow);
}
.b2c-success-card h1,
.b2c-confirmation-card h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; }

@media (max-width: 760px) {
  .review-card dl { grid-template-columns: 1fr; }
  .b2c-payment-actions { flex-direction: column; }
  .b2c-payment-actions .button-primary,
  .b2c-payment-actions .button-secondary { width: 100%; }
  .document-status-list li { align-items: flex-start; }
}
