html,
body {
  font-size: 18px;
  height: 100%;
  background-color: #ebf3ed;
  direction: rtl;
}



form {
  height: 100%;
}

:root {
  
  --theme-h-navigation: 4.5rem;
  --sidebar-panel-width: 20rem;
}

.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); /* آبی رسمی و نیمه‌شفاف */
}

.gradient_design {
  background: radial-gradient(circle at center, blue 0%, blue 0%, #050d1a 100%);
  
}

.overflow-auto,
.overflow-scroll,
.overflow-x-auto,
.overflow-x-scroll,
.overflow-y-auto,
.overflow-y-scroll {
  scrollbar-color: #0000001a transparent;
}
.overflow-auto > *,
.overflow-scroll > *,
.overflow-x-auto > *,
.overflow-y-auto > * {
  scrollbar-color: auto;
}

.scrollbar-hidden {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.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, 0.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;
}



@media (min-width: 64rem) {
  :root {
    --padding-x: 3rem;
  }

  .aparat-sidebar-panel {
    box-shadow: -3px 0 5px #302e380f;
  }

  .aparat-content {
    margin-inline-start: var(--sidebar-panel-width);
  }
  .aparat-content {
    margin-inline-start: var(--sidebar-panel-width);
    
  }
  .aparat-header {
    width: calc(100% - var(--sidebar-panel-width));
  }
  .aparat-navigation {
    display: none
  }
}





