
/* Course Watch*/
.course-watch-section .progress-overview-section {
  padding: 20px;
}
@media (max-width: 991.98px) {
  .course-watch-section .progress-overview-section {
    padding: 20px 0 20px;
  }
}
.course-watch-section .progress-overview-section .progress {
  background-color: var(--light-900);
  height: 0.75rem;
  border-radius: 0.25rem;
}
.course-watch-section .progress-overview-section .progress.progress-xs, .course-watch-section .progress-overview-section .progress-stacked.progress-xs {
  height: 0.3125rem;
}
.course-watch-section .progress-overview-section .progress.progress-sm, .course-watch-section .progress-overview-section .progress-stacked.progress-sm {
  height: 0.5rem;
}
.course-watch-section .progress-overview-section .progress.progress-lg, .course-watch-section .progress-overview-section .progress-stacked.progress-lg {
  height: 1rem;
}
.course-watch-section .progress-overview-section .progress.progress-xl, .course-watch-section .progress-overview-section .progress-stacked.progress-xl {
  height: 1.25rem;
}
.course-watch-section h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}
.course-watch-section .accordion-button {
  background-color: var(--light);
  color: var(--gray-500);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.course-watch-section .accordion-button:not(.collapsed) {
  color: var(--gray-500);
  background-color: var(--light);
  box-shadow: none;
}
.course-watch-section .accordion-button:focus {
  border-color: rgba(57, 44, 125, 0.3);
  box-shadow: none;
}
.course-watch-section .accordion-button:after, .course-watch-section .accordion-button:not(.collapsed)::after {
  background-image: none;
}
.course-watch-section .accordion-button:after {
  content: "\f078"; /* fa-arrow-down */
  font-family: "Font Awesome 5 Free"; /* ✅ correct font family */
  font-weight: 900; /* ✅ required for solid icons */
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3.125rem;
  color: var(--gray-500);
}

.course-watch-section .accordion-body {
  padding: 1rem;
  font-size: 0.8125rem;
  color: #677788;
  border-top: 1px solid var(--gray-100);
}
.course-watch-section .accordion-item {
  color: var(--gray-500);
  background-color: var(--white);
  border: 1px solid var(--gray-100);
}
.course-watch-section .accordions-items-seperate .accordion-item:not(:first-of-type) {
  margin-block-start: 1rem;
}
.course-watch-section .accordions-items-seperate .accordion-item {
  border-radius: 10px;
  overflow: hidden;
}
.course-watch-section .accordian-content {
  font-weight: 500 !important;
  font-size: 14px !important;
  color: var(--gray-900) !important;
}
.course-watch-section .course-watch-content {
  padding: 20px 0 0 20px;
}
@media (max-width: 991.98px) {
  .course-watch-section .course-watch-content {
    padding: 0;
  }
}
.course-watch-section .course-watch-content .nav-style-1 .nav-item {
  margin-inline-end: 0.5rem;
  flex-grow: inherit;
}
.course-watch-section .course-watch-content .nav-style-1 .nav-item:last-child {
  margin-inline-end: 0;
}
@media (max-width: 575.98px) {
  .course-watch-section .course-watch-content .nav-style-1 .nav-item {
    margin-right: 0;
  }
}
.course-watch-section .course-watch-content .nav-style-1 .nav-item .nav-link {
  background: var(--light);
  color: var(--gray-900);
  border-radius: 10px;
  font-size: 16px;
}
@media (max-width: 767.98px) {
  .course-watch-section .course-watch-content .nav-style-1 .nav-item .nav-link {
    margin-bottom: 16px;
  }
}
.course-watch-section .course-watch-content .nav-style-1 .nav-item .nav-link.active, .course-watch-section .course-watch-content .nav-style-1 .nav-item .nav-link:hover {
  background: #FF4667;
  border-color: #FF4667;
  color: var(--white);
}
.course-watch-section .course-watch-content .video-btn {
  margin-bottom: 30px;
}
.course-watch-section .course-watch-content .video-btn img {
  border-radius: 10px;
}
.course-watch-section .course-watch-content .course-video {
  position: relative;
  margin-bottom: 47px;
  width: fit-content;
}
.course-watch-section .course-watch-content .course-video .icon-play {
  position: absolute;
  top: 230px;
  left: 50%;
}
.course-watch-section .course-watch-content .tab-pane p {
  line-height: 1.6;
}
.course-watch-section .course-watch-content .readmore-btn {
  color: #FF4667;
  text-decoration: underline;
  font-size: 16px;
}
.course-watch-section .course-watch-content .readmore-btn:hover {
  color: #392C7D;
}
.course-watch-section .course-watch-content .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}
.course-watch-section .course-watch-content iframe {
  width: 100%;
  height: 400px;
  border: none;
}
.course-watch-section .course-watch-content .faq-accordion .accordion-button {
  background-color: var(--white);
  color: var(--gray-900);
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
}
.course-watch-section .course-watch-content .faq-accordion .accordion-button:not(.collapsed) {
  color: var(--gray-900);
  background-color: var(--white);
  box-shadow: none;
}
.course-watch-section .course-watch-content .faq-accordion .accordion-button:focus {
  border-color: rgba(57, 44, 125, 0.3);
  box-shadow: none;
}
.course-watch-section .course-watch-content .faq-accordion .accordion-button:after, .course-watch-section .course-watch-content .faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: none;
}
.course-watch-section .course-watch-content .faq-accordion .accordion-button:after {
  content: "+";
  font-family: "Fontawesome";
  font-size: 12px;
  line-height: 1;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--gray-900);
}
.course-watch-section .course-watch-content .faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
}
.course-watch-section .course-watch-content .faq-accordion .accordion-body {
  font-size: 15px;
}
.course-watch-section .course-watch-content .faq-accordion .accordion-item {
  color: var(--gray-900);
  background-color: var(--white);
  border: 1px solid var(--gray-100);
}
.course-watch-section .course-watch-content .faq-accordion .accordions-items-seperate .accordion-item:not(:first-of-type) {
  margin-block-start: 1rem;
}
.course-watch-section .course-watch-content .faq-accordion .accordions-items-seperate .accordion-item {
  border-block-start: 1px solid var(--gray-100);
  border-radius: 10px;
  overflow: hidden;
}
.course-watch-section .back-to-course {
  color: #FF4667;
  font-weight: 500;
}
.course-watch-section .back-to-course:hover {
  color: #392C7D;
}
.course-watch-section .back-to-course {
  color: #FF4667;
  font-weight: 500;
  font-size: 14px;
}
.course-watch-section .back-to-course:hover {
  color: #392C7D;
}
.course-watch-section .course-accordion-head-1 {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-900);
}
.course-watch-section .play-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(1, 1, 1, 0.4);
  border-radius: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
}
.course-watch-section .play-icon i {
  font-size: 16px;
}
@media (max-width: 575.98px) {
  .course-watch-section .play-icon {
    width: 40px;
    height: 40px;
  }
  .course-watch-section .play-icon i {
    font-size: 14px;
  }
}


.video-wrapper{
  max-width:100%;
  width:100%;
  aspect-ratio:16/9;
  border-radius:10px;
  background:#000;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}


.video-wrapper .video-js{
  position:absolute;
  inset:0;
  width:100% !important;
  height:100% !important;
}

.video-wrapper .video-js .vjs-tech{
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  background:#000;
  border-radius:10px;
}

.video-wrapper .video-js.is-vertical .vjs-tech{
  object-fit:contain !important;   /* vertical */
}


.fixed-size-video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.bg-success {
    background-color: #03C95A !important;
    border: 1px solid #03C95A !important;
    color: var(--white);
}
.custom-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0; /* light grey background */
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
}

.custom-progress-fill {
    height: 100%;
    background-color: #03C95A; /* vibrant green */
    border-radius: 4px 0 0 4px;
    transition: width 0.4s ease;
}

#toggle-play-btn {
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 50px;
  opacity: 0.9;
  z-index: 3;
  pointer-events: auto;
}


 .vjs-big-play-button {
  display: none !important;
}
.accordion-button.active-topic {
    background-color: #81ed9b!important;
    color: #155724 !important;
    font-weight: 600;
}

.session-item.active-session {
    background-color: #d4edda !important;
    border: 1px solid #03C95A !important;
    border-radius: 6px;
}
 .certificate-btn {
        background-color: #28a745;
        color: white;
        border-radius: 50px;
        padding: 10px 15px;
        text-align: center;
        display: inline-block;
        text-decoration: none;
        font-weight: bold;
    }
    .certificate-btn:hover {
        background-color: #218838;
        color: white;
    }
  #course-completed-message {
    display: none;              
    color: #0f5132;
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: 10px;
    padding: 1rem;
  }
  #course-completed-message.show {
    display: block !important;
  }

  #restart-course-container {
      display: none;             
      margin-top: 1rem;
      margin-bottom: 1rem;
  }
  #restart-course-container.show {
      display: block !important;
  }
