/* Project-specific composition classes.
   Keep design tokens and primitives in design-system.css. */

/* Header row for a dashboard panel: title + meta on the left, one action
   on the right. Reused by every "surface" card that lists something. */
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-5) var(--space-2);
}
.panel-head h3 { margin-bottom: .25rem; }

.panel-pad { padding: var(--space-5); }

/* Tight heading under an eyebrow or above a one-line description —
   the default h3 top margin reads too loose in a dense card. */
.card-title-tight { margin: .45rem 0; }

/* Verified badge — a soft pill with a check icon, the universally-
   recognized "verified" pattern rather than an invented mark. */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem .35rem .55rem;
  border-radius: var(--radius-pill);
  background: var(--color-success-soft);
  color: var(--color-success);
  font-size: .82rem;
  font-weight: 700;
}
.verified-badge svg { width: 16px; height: 16px; }

/* Concrete proof numbers instead of prose — faster to trust than a
   paragraph, and cuts reading load on the homepage. */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.stat-strip__item { text-align: left; }
.stat-strip__value { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 600; color: var(--color-heading); font-variant-numeric: tabular-nums; }
.stat-strip__label { font-size: .82rem; color: var(--color-text-muted); margin-top: .2rem; }

.trust-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.trust-item { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-border); }

.service-card h3 { margin-bottom: .4rem; }

.country-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.country-chip { padding: .5rem .85rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); color: var(--color-text-muted); background: var(--color-surface); font-size: .84rem; font-weight: 600; }

.request-card { display: grid; gap: var(--space-4); }
.request-card__meta { display: flex; justify-content: space-between; gap: var(--space-4); }
.request-card__route { display: flex; align-items: center; gap: var(--space-3); font-weight: 700; color: var(--color-heading); }

.quote-summary { display: grid; grid-template-columns: 1fr auto; gap: var(--space-4); align-items: center; }
.quote-summary__amount { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 600; color: var(--color-heading); font-variant-numeric: tabular-nums; }

.moderation-card { border-left: 3px solid var(--color-warning); }

/* Free-text message bodies (moderation queue) — plain text/muted utilities
   don't preserve line breaks or stop long unbroken tokens (the exact
   emails/URLs the anti-circumvention scanner flags) from overflowing. */
.message-body { white-space: pre-wrap; word-break: break-word; }

/* ---- guided request stepper ---- */
.stepper-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.form-title { font-size: 1.35rem; margin: .4rem 0 0; }
.stepper-dots { display: flex; gap: .4rem; }
.stepper-dots span {
  width: 22px; height: 4px;
  border-radius: var(--radius-pill);
  background: var(--color-border-strong);
  transition: background-color .15s ease, width .15s ease;
}
.stepper-dots span[data-state="done"] { background: var(--color-success); }
.stepper-dots span[data-state="active"] { background: var(--color-primary); width: 32px; }

.step-pane { display: none; }
.step-pane[data-active="true"] { display: grid; gap: var(--space-4); animation: step-in .18s ease; }

@keyframes step-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.step-nav { display: flex; justify-content: space-between; gap: var(--space-3); align-items: center; }

@media (max-width: 760px) {
  .trust-strip { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-summary { grid-template-columns: 1fr; }
}
