:root {
  --color-light-bg: #f7f4fb;
}
.program-price {
  font-size: 1.5rem;
  color: var(--color-primary-coral);
  margin-top: 0;
  margin-bottom: 2rem !important;
}
.price-note {
  color: #777;
}
.page-title {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

/*[+] Programs Styling. */
.text-nowrap {
  white-space: nowrap;
}
.my-programs-page {
  background-color: var(--color-light-bg);
}
.my-programs {
  padding-bottom: 2rem;
  height: 100%;
}
.program-card {
  background: #fff;
  border: 1px solid rgba(51, 86, 140, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .0);
  margin: 1rem 0;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  transition: box-shadow .2s ease-in-out;
}
.program-card h3 {
  margin-top: 0;
}
.program-card h3,
.program-card p {
  margin-top: 0;
}
.program-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.program-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.program-card .card-body {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-flow: wrap;
  gap: 2rem;
}
.program-card .card-body.module {
  align-items: center;
}
.program-card .card-body.module h2 {
  margin-bottom: 0;
}
@media screen and (min-width: 767px) {
  .program-card .card-body {
    flex-flow: nowrap;
  }
}
.program-card .card-body > div {
  flex-grow: 1;
}
.program-card .card-body > div:last-child {
  flex-grow: 0;
}
.program-card-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}
.program-card .card-body.module .program-card-actions {
  margin-bottom: .5rem;
  align-self: end;
}
.progress-bar {
  background: #e1e1e1;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.progress-bar div {
  height: 100%;
  background: var(--color-primary-coral);
  width: 70%;
  transition: width 0.4s ease;
}
.video-layout {
  display: flex;
  aspect-ratio: 16 / 7;
  height: 100%;
  overflow: hidden;
  gap: .5rem;
}
.video-layout > div:last-child {
  width: 30%;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.video-layout .video-wrapper {
  width: 70%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.video-layout > div:last-child::-webkit-scrollbar {
  width: 8px;
}
.video-layout > div:last-child::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.playlist {
  list-style: none; 
  padding: 0;
}
.playlist li {
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}
.playlist li.active {font-weight: 600; color: var(--color-primary-blue); background: #f0e9f7;}
pre {
  background: #272822;
  color: #f8f8f2;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow: auto;
}
a {color: var(--color-primary-blue);} 
.icon {margin-right: 0.5rem;}
.main-description  { 
  background: #fff; 
  padding: 1rem; 
  border-top-left-radius: 1.25rem; 
  border-top-right-radius: 1.25rem; 
  border-bottom-right-radius: 1.25rem; 
  border-left: 4px solid var(--color-primary-blue); 
}
.module-image {
  width: 100px;
  height: 100px;
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
  border-bottom-left-radius: 1.25rem;
  overflow: hidden;
}
.program-card .card-body .module-image {
  flex-grow: 0;
}
.module-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}
@media screen and (min-width: 767px) {
  .module-image {
    margin: 0;
  }
}
/*[-] Programs Styling. */
