/* Progress Indicator */
.progress-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 8px 16px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border-radius: 4px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-variant-numeric: tabular-nums; /* Prevent width jumping */
  z-index: 1000;
  pointer-events: none; /* Don't block clicks */

  /* Subtle shadow for visibility on any background */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.progress-current {
  font-weight: 600;
}

.progress-separator {
  margin: 0 4px;
  opacity: 0.7;
}

.progress-total {
  opacity: 0.7;
}

/* Visually Hidden - accessible to screen readers only */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .progress-indicator {
    bottom: 16px;
    right: 16px;
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .progress-indicator {
    transition: none;
  }
}
