#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: 95%;
    margin: auto;
    padding-bottom: 50.3%;
  /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
}

.video-wrapper.expanded {
  width:80%;
  padding-bottom: 42.75%;
  margin: auto !important;
}

.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; */
  margin-bottom: 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 */
  }
  .video-wrapper.expanded {
    width: 100%;
    padding-bottom: 56.25%;
  }
}

/* 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 {
  margin-bottom: 12px !important;
    color: #00343b !important;
    font-size: 1.5rem !important;
    padding-top: 20px !important;
    padding-bottom: 0;
}

.lecture-notes h3::after {
  content: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.lecture-notes h3,
.lecture-notes h4,
.lecture-notes h5,
.lecture-notes h6 {
  margin-bottom: 10px;
  margin-top: 25px;
  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: #aa1111;
  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: 6px 0 13px 7px;
  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.2;
}

/* 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: #00abc9;
  font-size: 1.2rem;
}

/* Level 3 (dash) */
.lecture-notes ul ul ul li::before {
  content: "•" "•";
  color: #00343b;
  font-size: 1rem;
}
.reading-links li a {
  display: inline-block;
  max-width: 100%;
  word-wrap: break-word;        /* legacy */
  overflow-wrap: anywhere;      /* modern browsers */
  word-break: break-word;       /* for WebKit/Edge cases */
  white-space: normal;          /* prevent single-line only */
  line-height: 1.4;
}

/* ========== 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;
  line-height: 1.2;
}



/* Level 1 = circle badge */
.lecture-notes ol li::before {
  content: counter(lecture-counter) ".";
  position: absolute;
  left: 0;
  top: -3px;
  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 12px 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 12px 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;
  }
}
@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;
}

.user-experience {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e6e9ec;
  border-radius: 5px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  margin-top: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

/* Left side (Like, Dislike, Report) */
.like-dislike-report {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Common button style */
.user-experience .btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 14px;
  background: #f8f9fb;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Hover animations */
.user-experience .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Like button */
.btn.like {
  background: linear-gradient(135deg, #28a745, #4cd964);
  color: #fff;
}

.btn.like:hover {
  background: linear-gradient(135deg, #23913c, #3ccf5a);
}

/* Dislike button */
.btn.dislike {
  background: linear-gradient(135deg, #dc3545, #f16a78);
  color: #fff;
}

.btn.dislike:hover {
  background: linear-gradient(135deg, #c12f3e, #ea5969);
}

/* Report button */
.btn.report {
  background: linear-gradient(135deg, #ffc107, #ffda6b);
  color: #222;
}

.btn.report:hover {
  background: linear-gradient(135deg, #e6af07, #ffd44b);
}

/* Right side (Next Lecture) */
.go-to-next-lect {
  margin-left: auto;
}

.btn.next-lect {
  background: linear-gradient(135deg, #007bff, #3399ff);
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  justify-content: center;
}

.btn.next-lect:hover {
  background: linear-gradient(135deg, #0062cc, #1a85ff);
  transform: translateX(4px);
}

/* Icon styling */
.user-experience i {
  font-size: 15px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .user-experience {
    flex-direction: column;
    align-items: stretch;
  }
  .go-to-next-lect {
    margin-left: 0;
    text-align: center;
  }
  .btn.next-lect {
    width: 100%;
  }
}


/* Overlay (Full Page Cover) */
.report-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.6);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

/* Modal Box */
.report-model {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-family: "Poppins", sans-serif;
  animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.report-model h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Radio options */
.report-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.report-option {
  display: flex;
  align-items: center;
  background: #f8f9fb;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.report-option:hover {
  background: #eef5ff;
}

.report-option input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #007bff;
  border-radius: 50%;
  margin-right: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.report-option input[type="radio"]:checked {
  background: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.report-option span {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

/* Textarea */
textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d3d8e0;
  padding: 10px 12px;
  font-size: 14px;
  resize: none;
  outline: none;
  transition: border-color 0.2s ease;
}

textarea:focus {
  border-color: #007bff;
}

/* Buttons */
.report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 14px;
}

.submit-report {
  background: linear-gradient(135deg, #007bff, #3399ff);
  color: #fff;
}

.submit-report:hover {
  background: linear-gradient(135deg, #0062cc, #1a85ff);
  transform: translateY(-2px);
}

.cancel-report {
  background: #f5f6f8;
  color: #333;
}

.cancel-report:hover {
  background: #e3e6ea;
}
