/* Results pager — a small framed header for walking through a batch's analyzed
   transcripts on the Post-Call Analysis screen. Sits between the flow stepper
   and Quick Coach, and matches the .quick-coach-card aesthetic (surface, hair-
   line border, soft shadow). Token-driven, so it tracks the light/dark toggle. */

.results-pager {
  width: 100%;                 /* match the analysis content width below */
  margin: 0 0 1rem;
  padding: 1.1rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.results-pager-eyebrow {
  font: 700 0.6rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.results-pager-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.results-pager-title {
  font: 700 1rem/1.35 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Use-case pill — teal-soft fill echoing the post-call accent, readable in
   both themes (unlike a pale gold-on-gold). */
.results-pager-tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font: 600 11.5px/1 var(--font-body);
  letter-spacing: 0.01em;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border: 1px solid var(--teal-border);
  white-space: nowrap;
}

/* Pager row — arrows pinned to the far left/right, dots dead-center. Divided
   from the header by a hairline. */
.results-pager-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.results-pager-dots {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

/* Dots reuse the flow-dot visual language, but smaller and interactive. */
.results-pager-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--text-faint);
  background: transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.results-pager-dot:hover { border-color: var(--teal); transform: scale(1.2); }
.results-pager-dot.active {
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.15);
}
.results-pager-dot:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

.results-pager-arrow {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-emph);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.results-pager-arrow:hover:not(:disabled) {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: var(--teal-soft);
}
.results-pager-arrow:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.results-pager-arrow:disabled { opacity: .3; cursor: default; }
