/* unionkit tutorial video overlay, shared by the launchpad and dashboard. */

.tutorial-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.tutorial-video-modal[hidden] {
  display: none;
}

.tutorial-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 18, 0.72);
}

.tutorial-video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 20, 18, 0.28);
}

.tutorial-video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: none !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #1b221e;
  box-shadow: none !important;
  cursor: pointer;
}

.tutorial-video-modal-player {
  background: #000;
}

.tutorial-video-modal-player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  border: 0;
  background: #000;
}

.tutorial-video-modal-copy {
  padding: 20px 24px 24px;
}

.tutorial-video-modal-copy h3 {
  margin: 0 0 8px;
  color: #1b221e;
  font-size: 1.25rem;
}

.tutorial-video-modal-copy p {
  margin: 0;
  color: #5f6b64;
  line-height: 1.55;
}

.draft-learning-cardlet[data-video-id] {
  cursor: pointer;
}

.draft-learning-cardlet[data-video-id]:hover .draft-learning-play,
.draft-learning-cardlet[data-video-id]:focus-visible .draft-learning-play {
  background: #fff;
}
