:root{
  --theme-primary:#1f9489;
}


.progress-overlay {
  transition: width 0.2s linear;
  pointer-events: none;
}

.progress-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background-color: #fb2c36;
  width: 0%;
  z-index: 0;
  transition: width 0.2s linear;
}


.video-btn{
  direction: rtl;
}

.video-btn.active {
    background-color: rgba(0, 102, 204, 0.15); /* آبی رسمی و نیمه‌شفاف */

}

  
.scroll_design::-webkit-scrollbar {
  width: 0.5rem;  
  height: 0rem;    
}


.scroll_design::-webkit-scrollbar-thumb {
  background-color: #c0c2c5 !important;
  border-radius: 1rem;
  border: 2px solid transparent;
  background-clip: content-box;
}


.scroll_design::-webkit-scrollbar-track {
  background: transparent; 
}

.video_control{
  height: 60px;
    padding: 0 12px;
    z-index: 1;
    color: #e6e6e6;
    position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  opacity: 1;
  transition: opacity 0.3s;
}

.video_control.hover-mode {
  opacity: 0;
}

#videoPlayer:hover + .video_control.hover-mode,
.video_control.hover-mode:hover {
  opacity: 1;
}

.video_control::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  bottom: 0;
  height: 140px;
    bottom: 0;
    background: linear-gradient(180deg, rgba(32, 32, 32, 0) 0%, #000000d1 100%);
    z-index: -1;
}

.video_control_range{
  position: absolute;
    width: 95%;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    cursor: pointer;
    height: 4px;
    border-radius: 1px;
    background-color: rgba(155, 155, 155, .5);
    z-index: 2;
}


#seekTooltip {
  position: absolute;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  display: none;
  pointer-events: none;
  white-space: nowrap;
}