/* Стили для кастомного скроллбара в списке глав */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #18181b;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #3f3f46;
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #52525b;
}

/* Анимация появления контроллеров */
.video-container:hover .controls-overlay {
  opacity: 1;
}

/* Стилизация ползунка прогресса */
input[type="range"] {
  -webkit-appearance: none;
  background: transparent;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}
input[type="range"]::-webkit-slider-thumb {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #3b82f6; /* blue-500 */
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
input[type="range"]:focus::-webkit-slider-runnable-track {
  background: rgba(255, 255, 255, 0.3);
}

.min-h-screen {
  min-height: 50vh !important;
  height: 490px !important;
}

.max-h-\[500px\] {
    max-height: 368px !important;
}
