/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Text highlighting styles for audio synchronization */
.highlight-word {
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 0 1px;
  border-radius: 2px;
}

.highlight-word.highlighted {
  background-color: #fef3c7;
  color: #92400e;
  animation: highlight-pulse 0.5s ease-in-out;
}

@keyframes highlight-pulse {
  0% { 
    background-color: #fbbf24; 
    transform: scale(1);
  }
  50% { 
    background-color: #f59e0b; 
    transform: scale(1.02);
  }
  100% { 
    background-color: #fef3c7; 
    transform: scale(1);
  }
}
