.sandbox-payment-guidance {
  position: relative;
  overflow: hidden;
  margin: 18px 0;
  padding: 22px;
  border: 2px solid #f59e0b;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff7d6 0%, #fffdf5 100%);
  box-shadow: 0 14px 36px rgba(146, 64, 14, 0.14);
}

.sandbox-payment-guidance::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: #f59e0b;
}

.sandbox-payment-guidance__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sandbox-payment-guidance__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.sandbox-payment-guidance__eyebrow {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.10em;
}

.sandbox-payment-guidance h3 {
  margin: 0 0 6px;
  color: #7c2d12;
  font-size: 24px;
  line-height: 1.15;
}

.sandbox-payment-guidance p {
  margin: 0;
  line-height: 1.5;
}

.sandbox-payment-guidance__card-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  margin: 18px 0 12px;
}

.sandbox-payment-guidance__card-number {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(124, 45, 18, 0.18);
  border-radius: 14px;
  background: #ffffff;
}

.sandbox-payment-guidance__card-number span {
  display: block;
  margin-bottom: 6px;
  color: #7c2d12;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sandbox-payment-guidance__card-number strong {
  display: block;
  color: #111827;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: 0.035em;
  word-break: break-word;
}

.sandbox-payment-guidance__copy {
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: #111827;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease;
}

.sandbox-payment-guidance__copy:hover {
  transform: translateY(-1px);
}

.sandbox-payment-guidance__copy:focus-visible {
  outline: 3px solid rgba(17, 24, 39, 0.24);
  outline-offset: 2px;
}

.sandbox-payment-guidance__copy[data-copied="true"] {
  background: #166534;
}

.sandbox-payment-guidance__credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

.sandbox-payment-guidance__credentials div {
  padding: 12px 14px;
  border: 1px solid rgba(124, 45, 18, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.sandbox-payment-guidance__credentials dt {
  margin-bottom: 4px;
  color: #7c2d12;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sandbox-payment-guidance__credentials dd {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.sandbox-payment-guidance__note {
  padding-top: 12px;
  border-top: 1px solid rgba(124, 45, 18, 0.16);
  color: #7c2d12;
  font-weight: 700;
}

.post-payment-success .confirmation-card.policy-success-polished {
  text-align: left;
}

.policy-success-hero {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fffc 100%);
  border: 1px solid #a7f3d0;
  margin-bottom: 16px;
}

.policy-success-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.policy-success-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.05;
}

.policy-success-hero p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.policy-success-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.policy-success-tile {
  padding: 14px;
  border: 1px solid #dbe4ea;
  border-radius: 14px;
  background: #ffffff;
}

.policy-success-tile span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.policy-success-tile strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
  word-break: break-word;
}

.policy-success-note {
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  color: #475569;
  line-height: 1.5;
}

.policy-success-polished .certificate-actions,
.policy-success-polished .claims-next-steps {
  text-align: left;
}

@media (max-width: 760px) {
  .sandbox-payment-guidance {
    padding: 18px;
    border-radius: 16px;
  }

  .sandbox-payment-guidance__card-row {
    grid-template-columns: 1fr;
  }

  .sandbox-payment-guidance__copy {
    width: 100%;
    min-height: 52px;
  }
}

@media (max-width: 600px) {
  .sandbox-payment-guidance__header {
    gap: 10px;
  }

  .sandbox-payment-guidance__icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .sandbox-payment-guidance h3 {
    font-size: 21px;
  }

  .sandbox-payment-guidance__credentials,
  .policy-success-grid {
    grid-template-columns: 1fr;
  }

  .sandbox-payment-guidance__card-number strong {
    font-size: 18px;
    letter-spacing: 0.015em;
  }
}
