/* Full logo with animated steps while a request or navigation is pending. */
.work-indicator[hidden] {
  display: none !important;
}

.work-indicator {
  position: fixed;
  top: 78px;
  left: 50%;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 9px 15px;
  border: 1px solid var(--success-border);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: 0 8px 30px var(--shadow);
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
  pointer-events: none;
  transform: translateX(-50%);
}

.work-indicator__steps {
  display: block;
  width: 42px;
  height: 51px;
  flex: 0 0 42px;
  overflow: visible;
}

.work-indicator__steps .step {
  fill: #5cff9a;
  stroke: #eafff2;
  stroke-width: 3;
  opacity: 0;
  filter: drop-shadow(0 0 2px #5cff9a);
}

.work-indicator__steps .s4 {
  animation: work-step-wave 2s linear infinite -.4s;
}

.work-indicator__steps .s3 {
  animation: work-step-wave 2s linear infinite -.15s;
}

.work-indicator__steps .s2 {
  animation: work-step-wave 2s linear infinite .1s;
}

.work-indicator__steps .s1 {
  animation: work-step-wave 2s linear infinite .35s;
}

@keyframes work-step-wave {
  0%, 12%, 58%, 100% { opacity: 0; }
  20%, 45% { opacity: 1; }
}

@media (max-width: 760px) {
  .work-indicator {
    top: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-indicator__steps .step {
    animation: none;
    opacity: 1;
  }
}
