/* Iconic Grading Tracker — customer portal (status stepper). Uses theme
   tokens where present, with fallbacks so it works in any theme. */

.igt-list { display: grid; gap: 1.4rem; }
.igt-card { padding: clamp(1.3rem, 2.5vw, 1.8rem); }
.igt-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.igt-id { font-family: var(--font-display, inherit); text-transform: uppercase; font-size: 1.15rem; margin: 0; }
.igt-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--ic-muted, #5B6472); font-size: .9rem; margin: .6rem 0 0; }
.igt-meta b { color: var(--ic-ink, #06070A); }

.igt-badge {
  font-family: var(--font-display, inherit); text-transform: uppercase; letter-spacing: .05em;
  font-size: .75rem; color: #fff; padding: .35rem .8rem; border-radius: 999px; background: var(--ic-blue, #2F5EA9);
  white-space: nowrap;
}
.igt-badge--ready { background: #1a9c5b; }

.igt-stepper { display: flex; margin-top: 1.4rem; }
.igt-step { flex: 1; text-align: center; position: relative; }
.igt-step::before {
  content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: #DDE3EC; z-index: 0;
}
.igt-step:first-child::before { display: none; }
.igt-step.done::before, .igt-step.current::before { background: var(--ic-blue, #2F5EA9); }
.igt-dot {
  position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%;
  background: #DDE3EC; color: #fff; display: grid; place-items: center; margin: 0 auto 10px;
  font-weight: 700; font-size: .85rem;
}
.igt-dot svg { width: 16px; height: 16px; }
.igt-step.done .igt-dot { background: var(--ic-blue, #2F5EA9); }
.igt-step.current .igt-dot { background: var(--ic-blue, #2F5EA9); box-shadow: 0 0 0 5px rgba(47,94,169,.18); }
.igt-label { font-size: .76rem; color: var(--ic-muted, #5B6472); line-height: 1.2; display: block; }
.igt-step.current .igt-label, .igt-step.done .igt-label { color: var(--ic-ink, #06070A); }

.igt-note {
  margin: 1.2rem 0 0; padding: .8rem 1rem; border-radius: 10px;
  background: var(--ic-tint, #F1F5FB); color: var(--ic-navy, #1C2857); font-size: .92rem;
}
.igt-empty { color: var(--ic-muted, #5B6472); }
.igt-empty .btn { margin-top: .6rem; }

@media (max-width: 600px) {
  .igt-label { font-size: .6rem; }
  .igt-dot { width: 26px; height: 26px; }
  .igt-dot svg { width: 13px; height: 13px; }
}
