/* Gurbani Kirtan — Custom Styles */

/* Progress bar styling */
.progress-bar-track {
  position: relative;
}

.progress-bar-track:hover .progress-bar-fill {
  height: 0.375rem;
}

.progress-bar-track:hover {
  height: 0.375rem;
}

.progress-bar-fill {
  transition: width 0.1s linear;
}

/* Playlist slide-up animation */
.playlist-panel {
  animation: slideUp 0.2s ease-out;
  background: #fafafa;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bottom padding for sticky player */
body:has(.player-bar) main {
  padding-bottom: 6rem;
}

/* Line clamp fallback */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
