/* Decorative scan. Put an aria-hidden span next to the search status text:
   <span class="hq-loading-scan" aria-hidden="true"></span>
   Mount or show it only while the lookup is running. */
.hq-loading-scan {
  display: inline-block;
  position: relative;
  width: 160px;
  height: 4px;
  overflow: hidden;
  vertical-align: middle;
  background: transparent;
}

.hq-loading-scan::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 44%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, #42D9B8 44%, #91FFE7 82%, transparent 100%);
  animation: hq-loading-sweep 1.15s linear infinite;
}

@keyframes hq-loading-sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(228%); }
}

@media (max-width: 767px) {
  .hq-loading-scan { width: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  .hq-loading-scan::before { left: 28%; animation: none; }
}
