.video-checklist {
  position: fixed;
  z-index: 1020;
  right: 24px;
  bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 314px;
  padding: 16px;
  border: 1px solid var(--color_border_cards_active);
  border-radius: 10px;
  background: var(--neutral-white);
  box-shadow: 0 -2px 12.5px rgba(37, 35, 69, 0.18);
}

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

.video-checklist__dismiss {
  position: absolute;
  top: -11px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--color_border_cards_active);
  border-radius: 50%;
  background: var(--neutral-white);
  box-shadow: 0 -2px 12.5px rgba(37, 35, 69, 0.18);
  cursor: pointer;
}

.video-checklist__dismiss img {
  width: 14px;
  height: 14px;
}

.video-checklist__preview,
.video-checklist__copy {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.video-checklist__preview {
  position: relative;
  height: 146px;
  overflow: hidden;
  border-radius: 10px;
  background: #0d1220;
}

.video-checklist__preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.video-checklist-popup__media #video-checklist-embed > img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  opacity: 0.9;
  aspect-ratio: 16 / 9;
}

.video-checklist__preview::after,
.video-checklist-popup__media #video-checklist-embed:not(:has(lite-youtube))::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 18, 32, 0.7), rgba(13, 18, 32, 0.2));
  pointer-events: none;
}

.video-checklist__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--neutral-white);
  transform: translate(-50%, -50%);
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.1), 0 8px 6px rgba(0, 0, 0, 0.1);
}

.video-checklist__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-checklist__eyebrow,
.video-checklist-popup__eyebrow {
  margin: 0;
  color: var(--primary-color-02);
  font-family: var(--font-family-figtree);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.video-checklist__title {
  color: var(--neutral-color-02);
  font-family: var(--font-family-figtree);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.video-checklist-popup {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-checklist-popup[hidden] {
  display: none;
}

.video-checklist-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 34, 34, 0.45);
  backdrop-filter: blur(6px);
}

.video-checklist-popup__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(922px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--color_border_cards_active);
  border-radius: 10px;
  background: var(--background-primary-faint);
}

.video-checklist-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.video-checklist-popup__media {
  display: flex;
  flex: 1 1 528px;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  max-width: 528px;
  padding: 32px;
  border-radius: 10px 0 0 10px;
  background: var(--neutral-white);
}

.video-checklist-popup__media #video-checklist-embed {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  background: #0d1220;
}

.video-checklist-popup__media #video-checklist-embed > img {
  display: block;
}

.video-checklist-popup__media lite-youtube {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  padding-bottom: 0;
}

.video-checklist-popup__promo {
  display: flex;
  flex: 1 1 383px;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-width: 300px;
  padding: 24px 32px;
  border-left: 1px solid var(--color_border_cards_active);
}

.video-checklist-popup__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-checklist-popup__heading {
  margin: 0;
  color: var(--neutral-color-02);
  font-family: var(--font-family-figtree);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.video-checklist-popup__text {
  margin: 0;
  color: var(--neutral-color-05);
  font-family: var(--font-family-figtree);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.video-checklist__form.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.video-checklist__form.form > *:not(:last-child):not(.field) {
  margin-bottom: 0;
}

.video-checklist__form .field {
  height: auto;
  margin: 0;
}

.video-checklist__form .field:not(.hidden) {
  margin-bottom: 0;
}

.video-checklist__form.form input:not([type="checkbox"]):not([type="hidden"]) {
  height: 50px;
  padding: 14px 14px 14px 24px;
  border: 1px solid #e3e3e3;
  border-radius: 100px;
  background: var(--neutral-white);
  color: var(--neutral-color-02);
  font-family: var(--font-family-figtree);
  font-size: 16px;
  font-weight: 500;
  outline: none;
}

.video-checklist__form.form input:not([type="checkbox"]):not([type="hidden"]):hover,
.video-checklist__form.form input:not([type="checkbox"]):not([type="hidden"]):focus {
  border-color: var(--primary-color-02);
}

.video-checklist__form.form input::placeholder {
  color: #8e8e8e;
  font-weight: 500;
}

.video-checklist__form .iti {
  width: 100%;
}

.video-checklist__form .error.error-show {
  position: absolute;
  top: -12px;
  right: 16px;
  line-height: 1.2;
  background: var(--background-primary-faint);
}

.video-checklist__submit {
  width: 100%;
  height: 50px;
  margin: 0;
  border: 0;
  border-radius: 100px;
  background: var(--primary-color-04);
  color: var(--text-white);
  font-family: var(--font-family-figtree);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.video-checklist__submit:hover {
  background: var(--primary-color-02);
  color: var(--text-white);
}

.video-checklist-popup__success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  height: 100%;
}

.video-checklist-popup__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d8ffd0;
}

.video-checklist-popup__success-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-checklist-popup__success h2 {
  margin: 0;
  color: var(--neutral-color-02);
  font-family: var(--font-family-figtree);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.video-checklist-popup__success p {
  margin: 0;
  color: var(--neutral-color-05);
  font-family: var(--font-family-figtree);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .video-checklist {
    right: 12px;
    bottom: 88px;
    gap: 12px;
    width: 230px;
    padding: 12px;
  }

  .video-checklist__dismiss {
    top: -8px;
    right: -4px;
  }

  .video-checklist__preview {
    height: 107px;
  }

  .video-checklist__play {
    width: 38px;
    height: 38px;
  }

  .video-checklist__title {
    font-size: 16px;
  }

  .video-checklist-popup {
    align-items: flex-start;
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .video-checklist-popup__dialog {
    flex-direction: column;
    width: min(343px, 100%);
    max-height: none;
    margin-top: 12px;
    overflow: visible;
  }

  .video-checklist-popup__close {
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    border: 1px solid var(--color_border_cards_active);
    border-radius: 50%;
    background: var(--neutral-white);
  }

  .video-checklist-popup__close img {
    width: 14px;
    height: 14px;
  }

  .video-checklist-popup__media {
    flex: none;
    width: 100%;
    max-width: none;
    padding: 15px;
    border-radius: 10px 10px 0 0;
  }

  .video-checklist-popup__media #video-checklist-embed,
  .video-checklist-popup__media lite-youtube {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .video-checklist-popup__promo {
    flex: none;
    gap: 16px;
    min-width: 0;
    padding: 15px;
    border-top: 0;
    border-left: 0;
  }

  .video-checklist-popup__heading,
  .video-checklist-popup__success h2 {
    font-size: 18px;
  }

  .video-checklist__form.form {
    gap: 12px;
  }

  .video-checklist__form.form input:not([type="checkbox"]):not([type="hidden"]),
  .video-checklist__submit {
    height: 46px;
  }
}
