#courseVideo {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 10px;
}
.transcript-box {
  margin-top: 12px;
  padding: 14px 16px;
  border-left: 3px solid #17684a;
  background: #edf5f0;
  border-radius: 6px;
}
.transcript-box strong {
  font-size: 12px;
  color: #17684a;
}
.transcript-box p {
  margin: 7px 0 0;
  line-height: 1.7;
}
.lesson-list {
  background: #fff;
  border: 1px solid #e2e8e4;
  border-radius: 12px;
  margin-top: 14px;
  padding: 18px;
}
.lesson-list h3 {
  margin-top: 0;
}
.lesson-list > div {
  display: grid;
  gap: 7px;
}
.lesson-list button {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid #e2e8e4;
  background: #fff;
  border-radius: 9px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}
.lesson-list button > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf2ef;
}
.lesson-list button div {
  display: grid;
  gap: 3px;
}
.lesson-list button small {
  color: #748079;
}
.lesson-list button.active {
  border-color: #17684a;
  background: #eff7f2;
  color: #17684a;
}

/* Student course directory: one clear active lesson, calm inactive lessons. */
.lesson-list {
  padding: 20px;
  border-color: #dce6f3;
  border-radius: 16px;
}

.lesson-list h3 {
  margin-bottom: 16px;
  color: #173b75;
  font-size: 20px;
}

.lesson-list > div {
  gap: 9px;
}

.lesson-list button {
  min-height: 60px;
  padding: 11px 14px;
  color: #28466f !important;
  background: #f3f7fd !important;
  border: 1px solid #dce6f3 !important;
  box-shadow: none !important;
}

.lesson-list button:hover:not(.active) {
  background: #eaf1fc !important;
  border-color: #a9c2eb !important;
}

.lesson-list button > span {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: #315fd5;
  background: #fff;
  border: 1px solid #d3e0f2;
}

.lesson-list button strong {
  color: #183a70;
  font-size: 14px;
}

.lesson-list button small {
  color: #7a8ca7;
}

.lesson-list button.active {
  color: #fff !important;
  background: linear-gradient(105deg, #315fe8, #3478f6) !important;
  border-color: #315fe8 !important;
  box-shadow: 0 8px 18px rgba(49, 95, 232, 0.18) !important;
}

.lesson-list button.active > span {
  color: #315fe8;
  background: #fff;
  border-color: #fff;
}

.lesson-list button.active strong,
.lesson-list button.active small {
  color: #fff;
}
