/* Version 2: Pseudo-element Sweep */
.ai-scribe-attention {
  position: relative;
  overflow: hidden;
}

.ai-scribe-attention::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.4) 50%, transparent 100%);
  animation: sweep 2s ease-in-out infinite;
  animation-delay: 1s;
  pointer-events: none;
}

@keyframes sweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.ai-scribe-attention:hover,
.ai-scribe-attention:focus {
  animation: none !important;
}

.ai-scribe-attention:hover::before,
.ai-scribe-attention:focus::before {
  animation: none !important;
}