.video__controllBtns {
  display: flex;
  gap: 8rem;
}

/* video player */

.container.fullscreen {
  width: 100%;
  max-width: 100%;
}

.video__box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  height: unset !important;
  margin: 0 auto;
  border-radius: 2rem;
  overflow: hidden;
}

.video__btn {
  background-color: var(--primery-color);
  border-radius: 100%;
  width: 4rem;
  height: 4rem;
}

.playPuaseBtn svg:first-child {
  display: none !important;
}

.puase svg:first-child {
  display: block !important;
}

.puase svg:last-child {
  display: none !important;
}

.video__controles-box {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-bottom: 5px !important;
}

.video__time-controles-box {
  width: 100%;
  padding: 0 7px;
  gap: 1rem;
}

.video__time {
  font-size: 1.2rem;
}

.video__time-line-box {
  background-color: #dddddd;
  width: 100%;
  height: 1rem;
  border-radius: 2rem;
}

.video__time-line {
  position: relative;
  width: 0%;
  height: 1rem;
  background-color: var(--primery-color);
  border-radius: 5rem;
}

.video__time-line::before {
  position: absolute;
  content: "";
  right: -2px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 2rem;
  height: 2rem;
  background-color: #fff;
  border-radius: 100%;
  opacity: 0;
  transition: opacity 250ms linear;
}

.video__time-line-box:hover .video__time-line::before {
  opacity: 1;
}

.video__sount-and-screen-controles {
  width: 100%;
  padding: 0 7px;
}

.video--unmute > svg:nth-child(2) {
  display: none;
}

.video--mute > svg:nth-child(1) {
  display: none;
}

.video__volume-box {
  gap: 1rem;
}

.video__volume-box svg,
.video__screen-control svg,
.video__screen-control img {
  width: 2.5rem;
  height: 2.5rem;
}

.volumeLevel {
  width: 8rem;
  background-color: var(--primery-color);
  border-radius: 2rem;
  accent-color: var(--primery-color);
}

.video__screen--normal img {
  display: none;
}

.video__screen--fullscreen svg {
  display: none;
}

/* video player */

/* course input and chapters */

.course_videoSearchInput_And_Chpaters {
  background-color: #262839;
  border-radius: 2rem;
  height: 50rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-content: space-around;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  grid-row: 2/3;
  grid-column: 1/2;
}

.course_Chpaters_Box {
  overflow-y: scroll;
  margin-right: 2rem;
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.course_Chpaters_Box::-webkit-scrollbar {
  width: 7px;
  background-color: transparent;
}

.course_Chpaters_Box::-webkit-scrollbar-thumb {
  background-color: var(--main-dark-color);
  border-radius: 2rem;
}

/* course input and chapters */

/* video search input */

.course__input {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 3rem;
  margin: 2rem 2rem 0 2rem;
}

.input__box {
  background-color: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(50px);
  padding: 1.5rem 2rem 1.5rem 1.5rem;
  height: 10rem !important;
  border-radius: 10rem;
  border: 3px solid var(--accent-color);
}

.videoSearchInput {
  width: 50%;
  height: 100%;
}

.searchBtn {
  background-color: var(--accent-color);
  border-radius: 5rem;
  width: 11rem;
  height: 100%;
}

/* video search input */
/* -------------------------------------------------------------------------- */

/* chpaters */
.chapters {
  display: grid;
  gap: 3rem;
}

.chapter__body {
  display: none;
}

.chapter__head {
  background-color: var(--main-dark-color);
  border-radius: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 50px);
  height: 10rem;
  padding: 1rem 2rem;
}

.chapter__mainInfo {
  grid-column: 1/3;
  gap: 5px;
}

.chapter__number {
  width: 3rem;
  height: 3rem;
  border: 3px solid white;
  border-radius: 1rem;
  padding-top: 5px;
  font-size: 1.8rem;
}

.chapter__title {
  font-size: 1.8rem;
  width: 100%;
}

.chapter__otherInfo {
  display: flex;
  align-items: start;
  grid-column: 1/4;
  grid-row: 2/3;
}

.chapter__lessonCount {
  padding-left: 2rem;
  margin-left: 2rem;
  position: relative;
}

.chapter__lessonCount::after {
  position: absolute;
  content: "";
  width: 1rem;
  height: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  left: -6rem;
  margin: auto;
}

.chapter__head svg {
  grid-column: 3/4;
  grid-row: 1/2;
  align-self: center;
  justify-self: end;
}

.chapter__otherInfoText {
  font-size: 1.4rem;
}

.chapter--active .chapter__head {
  border-radius: 2rem 2rem 0 0;
}

.chapter--active .chapter__body {
  display: block;
}

.chapter--active .chapter__head svg {
  rotate: 180deg;
}

/* chapter body  */
.chapter__body {
  background-color: #292d34;
  border-radius: 0 0 2rem 2rem;
}

.chapter__itemLink {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: 1.5rem;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.chapter__itemLinkBox {
  gap: 1rem;
}

.chapter__itemNumber {
  width: 2rem;
  height: 2rem;
  background-color: #4b93ff;
  padding-top: 5px;
  border-radius: 0.5rem;
}

.chapter__itemLinkTitle {
  font-size: 1.6rem;
  font-family: dana-light;
  width: 15rem !important;
}

.chpater__itemLinkStatus {
  gap: 1rem;
  justify-content: space-between;
  width: 100%;
}

.chapter__itemTime {
  border: 2px solid #4b93ff;
  padding: 2px 1.5rem;
  color: #4b93ff;
  border-radius: 3rem;
  font-size: 1.4rem;
}

.chapter__itemCheckbox {
  width: 3rem;
  height: 3rem;
  border: 2px solid #4b93ff;
  border-radius: 2rem;
}

.chapter__itemCompleted {
  display: none;
  width: 3rem;
  height: 3rem;
}

.chpter__otherInfoAndIcon {
  gap: 1rem;
}

.chapter--active .chapter__itemLink:last-child {
  border: none;
}

/* chapter body */
/* -------------------------------------------------------------------------- */

/* chpaters */
/* -------------------------------------------------------------------------- */

.course_bottom {
  gap: unset !important;
}

/* video info */
.video__info {
  background-color: #262839;
  border-radius: 2rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 3rem;
  grid-row: 1/2;
  grid-column: 1/2;
}

.video__chapter {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.video__nameBox {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 0.5rem;
}

.video__info .btn {
  width: 100%;
  justify-content: start;
  gap: 1rem;
}

main section {
  margin-bottom: 2rem !important;
}

/* user question */

.user__question {
  background-color: #262839;
  border-radius: 2rem;
  padding: 2rem;
  gap: 2rem;
  display: flex;
  flex-direction: column;
  grid-row: 3/4;
  grid-column: 1/3;
}

.user__info {
  gap: 2rem;
}

.user__profile {
  padding: 1rem;
  border: 3px solid #2e3239;
  border-radius: 100%;
  height: 10rem;
  width: 10rem;
}

.user__profile_img {
  width: 100%;
}

.course_userName {
  font-size: 2rem;
}

.course_userRole {
  color: #7a7a7a;
  font-size: 1.4rem;
}

.user__progressbox {
  background-color: var(--main-dark-color);
  border-radius: 2rem;
  width: 100%;
  padding: 2rem;
  height: 100%;
  display: grid;
  align-content: center;
}

.user__progressbox_text {
  margin-bottom: 2rem;
}

progress {
  width: 100%;
  height: 1rem;
  accent-color: var(--primery-color);
  border-radius: 5rem;
  direction: ltr !important;
  overflow: hidden;
}

progress::-webkit-progress-bar {
  background-color: var(--dark-color);
  /* Track color */
  border-radius: 10px;
}

progress::-webkit-progress-value {
  background-color: var(--primery-color);
  /* Filled portion color */
  border-radius: 10px;
}

.editr {
  background-color: var(--main-dark-color);
  height: 30rem;
  border-radius: 2rem;
}

.user__file_text {
  margin-bottom: 1rem;
}

.user__file {
  display: none;
}

.user__file_box .btn {
  border: 2px solid var(--primery-color);
  background: none !important;
  width: 100%;
  color: var(--primery-color);
  font-size: 1.8rem;
}

.chat {
  background-color: #262839;
  border-radius: 2rem;
  padding: 2rem;
  grid-row: 4/5;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  grid-column: 1/3;
}

.user__mainMessage {
  background-color: var(--dark-color);
  border-radius: 2rem 0rem 2rem 2rem;
  padding: 2rem;
  position: relative;
}

.user__message .user__info {
  margin-bottom: 1rem;
}

.user__mainMessage_time {
  position: absolute;
  font-size: 1.4rem;
  bottom: -7px;
  color: #7a7a7a;
}

.teacher__message .user__info {
  margin-bottom: 1rem;
}

.teacher__message .user__mainMessage {
  border-radius: 0rem 2rem 2rem 2rem;
  background-color: var(--main-dark-color);
}

.teacher__message .user__mainMessage_text {
  direction: rtl !important;
}

.chat__box {
  display: flex;
  justify-content: space-between;
}

.chat__box svg {
  rotate: 180deg;
  align-self: flex-end;
}

.chat__box textarea {
  width: 100%;
  background-color: var(--dark-color);
  padding: 2rem;
  border-radius: 2rem;
  resize: none;
  overflow-y: visible;
}

.user__message .btn {
  border: 2px solid var(--primery-color);
  width: 100%;
  background: none !important;
  margin-top: 1rem;
  color: var(--primery-color);
  margin-bottom: 1rem;
}
