/* ============================================================
   STATUS HERO — large state card for waiting/review screens
   Used in Phase 3 (Under Review). Could also be used for
   payout-pending, KYC-pending, etc.
   ============================================================ */

.status-hero {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

@media (max-width: 900px) {
  .status-hero {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    row-gap: var(--space-4);
  }
  .status-hero__signal {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

/* Pulsing dot — primary visual indicator.
   Structure:
   - .status-hero__pulse        → outer 56×56 subtle background ring
   - ::before                   → solid 40×40 visible dot in the middle
   - ::after                    → animated outer ring (full 56×56, scaling up)
*/
.status-hero__pulse {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-warning-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.status-hero__pulse::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-warning);
  z-index: 1;
  position: relative;
}

.status-hero__pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: var(--color-warning);
  opacity: 0.25;
  animation: status-pulse 2.4s ease-out infinite;
  z-index: 0;
}

@keyframes status-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  80%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-hero__pulse::after {
    animation: none;
  }
}

/* Body */
.status-hero__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.status-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-warning-text);
}

.status-hero__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.status-hero__subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-snug);
  max-width: 56ch;
}

.status-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  flex-wrap: wrap;
}

.status-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.status-hero__meta-item svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  color: var(--text-disabled);
}

.status-hero__meta-item .numeric {
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
}

/* Right-side preliminary signal — soft positive/neutral indicator
   without giving a hard score. Optional. */
.status-hero__signal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  min-width: 200px;
}

.status-hero__signal-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.status-hero__signal-value {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.status-hero__signal-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
}

.status-hero__signal--positive .status-hero__signal-dot {
  background: var(--color-success);
  box-shadow: 0 0 0 3px var(--color-success-subtle);
}
.status-hero__signal--positive .status-hero__signal-value {
  color: var(--color-success-text);
}

.status-hero__signal--neutral .status-hero__signal-dot {
  background: var(--text-tertiary);
  box-shadow: 0 0 0 3px var(--bg-subtle);
}

.status-hero__signal-help {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}
