/**
 * Base styles for lyric highlighting
 * Import this file along with your chosen theme
 */

/* Base container */
.kar-lyric-container {
  position: relative;
  overflow: hidden;
}

/* Base line styles */
.kar-lyric-line {
  position: relative;
}

.kar-lyric-line.kar-line-hidden {
  display: none;
}

/* Base word styles */
.kar-lyric-word {
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Import themes */
@import './themes/default.css';
@import './themes/karaoke.css';
@import './themes/minimal.css';
@import './themes/extreme-karaoke.css';
@import './themes/text-only.css';

/* Wipe effect styles */
.kar-lyric-word.kar-wipe {
  /* Gradient wipe effect is applied via inline styles */
  transition: none; /* Disable transitions for smooth gradient */
}

.kar-lyric-word.kar-complete {
  /* Fully highlighted word */
  color: var(--kar-active-color, #ffd700);
  font-weight: bold;
}

/* Utility classes */
.kar-no-scroll {
  overflow: hidden;
}

.kar-smooth-scroll {
  scroll-behavior: smooth;
}

/* Accessibility */
.kar-lyric-word:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Print styles */
@media print {
  .kar-lyric-container {
    background: none !important;
    color: #000 !important;
  }
  
  .kar-lyric-line {
    page-break-inside: avoid;
  }
  
  .kar-lyric-word.kar-active {
    font-weight: bold;
    text-decoration: underline;
  }
}
