/* css/barberpole.css — indeterminate "barber pole" progress fill.
   Semi-transparent so the Cancel button and the filename/status strip stay
   legible on top of the marching stripes. */
/* -45deg leans the stripes "/" (bottom-left to top-right), which is what we want:
   the gradient line points down-right, so the bands run perpendicular to it. */
.barberpole {
  background-image: linear-gradient(-45deg,
    var(--stripe) 25%, transparent 25%, transparent 50%,
    var(--stripe) 50%, var(--stripe) 75%,
    transparent 75%, transparent 100%);
  background-size: 26px 26px;
  animation: barberpole-march .6s linear infinite;
}

@keyframes barberpole-march {
  from { background-position: 0 0; }
  to   { background-position: 26px 0; }
}

/* Respect a reduced-motion preference: keep the fill, drop the march. */
@media (prefers-reduced-motion: reduce) {
  .barberpole { animation: none; }
}
