/* PDFlyHQ — tools/excel-to-pdf/processing.css
   Spinner, progress bar label. The bar itself lives in components/progress.css.
   Identical to Word to PDF's / Compress PDF's. */

.processing-wrap { text-align: center; padding: var(--space-10) 0; max-width: 380px; margin: 0 auto; }
.processing-wrap__icon { display: inline-flex; margin-bottom: var(--space-4); }
.processing-wrap__icon svg { width: 36px; height: 36px; }
.processing-spinner { transform-origin: 18px 18px; animation: processing-spin 900ms linear infinite; }
@keyframes processing-spin { to { transform: rotate(360deg); } }
.processing-wrap h3 { margin-bottom: var(--space-6); font-size: var(--text-md); }

.progress-bar { position: relative; }
.progress-bar__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, #fff 45%, transparent), transparent);
  transform: translateX(-100%);
  animation: progress-shimmer 1400ms var(--ease-default) infinite;
}
@keyframes progress-shimmer { 100% { transform: translateX(100%); } }

.processing-private {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .processing-spinner { animation: none; }
  .progress-bar__fill::after { animation: none; display: none; }
}
