/* Search highlighting styles */

.search-highlight {
  background-color: rgba(99, 102, 241, 0.2);
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
  font-weight: bold;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.3);
  animation: highlight-pulse 2s infinite;
}

/* Light mode styles */
body.light-mode .search-highlight {
  background-color: rgba(79, 70, 229, 0.15);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.2);
}

/* Subtle pulsing animation for highlights */
@keyframes highlight-pulse {
  0% {
    background-color: rgba(99, 102, 241, 0.2);
  }
  50% {
    background-color: rgba(99, 102, 241, 0.3);
  }
  100% {
    background-color: rgba(99, 102, 241, 0.2);
  }
}

/* Light mode animation */
body.light-mode .search-highlight {
  animation: highlight-pulse-light 2s infinite;
}

@keyframes highlight-pulse-light {
  0% {
    background-color: rgba(79, 70, 229, 0.15);
  }
  50% {
    background-color: rgba(79, 70, 229, 0.25);
  }
  100% {
    background-color: rgba(79, 70, 229, 0.15);
  }
}