@import url("../vendor/video.js/dist/video-js.min-89e66550846ed45fd758da483c7f4864.css");
@import url("../vendor/videojs-contrib-quality-menu/dist/videojs-contrib-quality-menu.min-887868b265b1e67547c3602dbfb8efd4.css");
body {
}

/* Highlight active chapter title in red when playing */
.workshop .card-header.playing button.btn-link {
  color: #c56b66!important;
  font-weight: 700!important;
}

/* Video.js trailer end modal styles extracted from JS */
.vjs-trailer-modal {
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  max-height: 100%;
}

.vjs-trailer-modal__left,
.vjs-trailer-modal__right {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vjs-trailer-modal__right {
  flex-direction: column;
}

/* When no lecturer image is available, the right column takes full width */
.vjs-trailer-modal__right--full {
  flex: 1 1 100%;
}

/* Left image area */
.vjs-trailer-modal__img-wrapper {
  width: 100%;
  /* Height is set dynamically via JS to 85% of the current video stage height (fallback 340px). */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.vjs-trailer-modal__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* keep correct aspect ratio */
  display: block;
}

/* Right content area */
.vjs-trailer-modal__question {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.vjs-trailer-modal__buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
