.payment-result-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-wrap {
  width: 100%;
  max-width: 460px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.result-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}
.result-logo .logo-mark { width: 30px; height: 30px; }
.result-logo em { color: var(--brand-dark); font-style: normal; }

.result-card {
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 26px;
  text-align: center;
}

.result-loading { color: var(--muted); padding: 20px 0; }

.result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.result-icon.is-success { background: var(--brand-light); color: var(--brand-dark); }
.result-icon.is-failed { background: var(--coral-light); color: var(--coral-dark); }

.result-title { font-size: 1.25rem; font-weight: 800; margin: 0 0 8px; }
.result-sub { color: var(--muted); font-size: 0.92rem; margin: 0 0 22px; line-height: 1.9; }

.tracking-box {
  background: var(--bg);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 22px;
}
.tracking-label { font-size: 0.78rem; color: var(--muted); margin-bottom: 8px; }
.tracking-code {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--brand-dark);
  direction: ltr;
  unicode-bidi: plaintext;
  word-break: break-all;
}
.tracking-copy {
  margin-top: 10px;
  border: none;
  background: none;
  color: var(--violet);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
}
.tracking-copy:hover { text-decoration: underline; }

.result-order-summary { text-align: start; margin-bottom: 20px; }
.result-order-summary h3 { font-size: 0.9rem; margin: 0 0 10px; color: var(--ink); }
.result-order-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.result-order-row:last-child { border-bottom: none; }
.result-order-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  color: var(--ink);
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1.5px solid var(--line);
}

.result-home-link { width: 100%; max-width: 260px; text-align: center; }

@media (max-width: 480px) {
  .result-card { padding: 26px 18px; }
}
