#lecture-page .selected-course-show .progress-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(#00abc9 var(--percent, 0%), #eee 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 10px;
  right: 10px;
}

#lecture-page .selected-course-show .course-carda {
  border: 3px solid #00a9c7;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

#lecture-page .selected-course-show h4 {
  margin-left: 30px;
}

.selected-course-show {
  margin-bottom: 25px;
}


/* ============== video lecture page styles ============== */


/* Video Responsive */
.video-wrapper {
  position: relative;
  width: 85%;
  margin: auto;
  padding-bottom: 44.99%;
  /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.vd {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding:20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom:50px;
}

.channel-name {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 28px;  /* badi si */
  font-family: "Bungee Shade", cursive;
  color: #898989;
  animation: blink 2.5s infinite ease-in-out;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.9;
}

.channel-name.right {
  right: -110px;
  transform: translateY(-50%) rotate(90deg);
}

.channel-name.left {
  left: -110px;
}

@keyframes blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}



@media (max-width: 768px) {
  .video-wrapper {
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 ratio for smaller screens */
  }
}

/* Notes Section */
.lecture-notes {
  margin-top: 20px;
  /* background: #f9f9f9; */
  padding: 20px;
  border-radius: 5px;
  /* border-left: 4px solid #00abc9; */
  line-height: 1.6;
}

.lecture-notes h2,
.lecture-notes h3 {
  margin-bottom: 15px !important;
  color: #00343b !important;
  font-size: 1.4rem !important;
  padding-top: 10px !important;
}

.lecture-notes h3::after {
  content: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.lecture-notes h4,
.lecture-notes h5,
.lecture-notes h6 {
  margin-bottom: 15px;
  margin-top: 15px;
  color: #005463;
  font-size: 1.2rem;
}

.lecture-notes p {
  margin-bottom: 12px;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  word-spacing: 1.2px;
}

.lecture-notes a {
  color: #00abc9;
  font-weight: bold;
  text-decoration: none;
}

.lecture-notes a:hover {
  text-decoration: underline;
}

.lecture-notes b {
  color: #222;
}

.lecture-notes i {
  color: #555;
}

/* ========== UL Styling ========== */
.lecture-notes ul {
  margin: 12px 0 12px 10px;
  padding-left: 0;
  list-style: none;
}

.lecture-notes ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Level 1 checkmark */
.lecture-notes ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  color: #00abc9;
  font-weight: bold;
  font-size: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lecture-notes ul li:hover::before {
  /* background-color: #00343b; */
  color: rgb(95, 0, 0);
  transition: all 0.3s ease;
}

/* Level 2 (circle dot) */
.lecture-notes ul ul li::before {
  content: "•";
  color: #ff9800;
  font-size: 1.2rem;
}

/* Level 3 (dash) */
.lecture-notes ul ul ul li::before {
  content: "•" "•";
  color: #ffd900;
  font-size: 1rem;
}

/* ========== OL Styling ========== */
.lecture-notes ol {
  margin: 12px 0 12px 10px;
  padding-left: 0;
  counter-reset: lecture-counter;
  list-style: none;
}

.lecture-notes ol li {
  counter-increment: lecture-counter;
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #444;
  font-size: 0.95rem;
}



/* Level 1 = circle badge */
.lecture-notes ol li::before {
  content: counter(lecture-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  /* background: #00abc9; */
  color: #005463;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); */
}

/* Level 2 = square badge */
.lecture-notes ol ol {
  counter-reset: sub-counter;
  margin: 5px 0 5px 2px;
}

.lecture-notes ol ol li {
  counter-increment: sub-counter;
  padding-left: 26px;
}

.lecture-notes ol ol li::before {
  content: counter(lecture-counter) "." counter(sub-counter) "-";
  /* background: #ff9800; */
  border-radius: 4px;
  color: #005463;
}

/* Level 3 = simple number */
.lecture-notes ol ol ol {
  counter-reset: sub-sub-counter;
  margin: 5px 0 5px 10px;
}

.lecture-notes ol ol ol li {
  counter-increment: sub-sub-counter;
  padding-left: 35px;
}

.lecture-notes ol ol ol li::before {
  content: counter(lecture-counter) "." counter(sub-counter) "." counter(sub-sub-counter) "-";
  background: none;
  color: #005463;
  font-weight:600;
  box-shadow: none;
}







/* Images inside notes */
.lecture-notes img {
  width: 100%;
  margin: 12px 0;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

#notesTabs .nav-link {
  font-weight: 600;
  color: #005463;
  border: none;
  border-bottom: 3px solid transparent;
  transition: 0.3s;
}

#notesTabs .nav-link.active {
  border-bottom: 3px solid #00abc9;
  background: #000000;
  color: #fff;
}

#notesTabs .nav-link:hover {
  color: #00abc9;
}

@media (max-width: 1050px) {
  .channel-name{
    font-size: 23px;
  }
}
@media (max-width: 900px) {
  .channel-name{
    font-size: 13px;
  }

  .channel-name.right{
    right: -80px;
  }
  .channel-name.left{
    left: -80px;
  }
  .vd{
    padding: 0px;
    box-shadow: none;
  }
}

/* mobile behavior of lecture sidebar */

@media (max-width: 768px) {
  .lecture-notes {
    font-size: 0.9rem;
  }
  .lecture-notes h2,
  .lecture-notes h3 {
    font-size: 1.2rem !important;
  }
  .lecture-notes h4,
  .lecture-notes h5,
  .lecture-notes h6 {
    font-size: 1rem;
  }
  .channel-name{
    display: none;
  }
  .lecture-notes{
    padding: 0px;
  }

  /* .lecture-sidebar{
    transform: translateX(-100%);
  }
  .lecture-sidebar.active{
    transform: translateX(0%);
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  } */
}
@media (max-width: 480px) {
  .lecture-notes {
    font-size: 0.85rem;
    padding: 8px;
  }
  .lecture-notes h2,
  .lecture-notes h3 {
    font-size: 1.1rem !important;
  }
  .lecture-notes h4,
  .lecture-notes h5,
  .lecture-notes h6 {
    font-size: 0.95rem;
  }
}
.lecture-notes ol li:hover::before {
  color: #740000;
  /* font-weight: 600; */
}


/* Last lecture = Completed */
.lecture-sidebar li:last-child a {
    background: #27ae60;     /* Green success background */
    color: #fff;
    font-weight: bold;
    position: relative;
    text-align: center;
}

/* Add a checkmark icon on right side */
.lecture-sidebar li:last-child a::after {
    content: "✔ Completed";
    font-size: 11px;
    color: #fff;
    background: #2ecc71;
    padding: 5px 30px;
    border-radius: 3px;
}