.iubenda-video-popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999999;
  padding: 16px;
}

.iubenda-video-popup-overlay.is-visible {
  display: flex;
}

.iubenda-video-popup-modal {
  position: relative;
  width: min(920px, 100%);
  background: #000;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.iubenda-video-popup-content {
  padding: 20px 24px 8px;
  color: #fff;
}

.iubenda-video-popup-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

.iubenda-video-popup-description {
  font-size: 15px;
  line-height: 1.5;
}

.iubenda-video-popup-description p {
  margin: 0 0 8px;
}

.iubenda-video-popup-modal .iubenda-video-popup-close {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
  text-align: center;
  text-indent: 0;
  letter-spacing: 0;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
  z-index: 2;
}

.iubenda-video-popup-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.iubenda-video-popup-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .iubenda-video-popup-overlay {
    padding: 12px;
  }

  .iubenda-video-popup-content {
    padding: 16px 16px 6px;
  }

  .iubenda-video-popup-title {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .iubenda-video-popup-description {
    font-size: 14px;
    line-height: 1.45;
  }

  .iubenda-video-popup-modal .iubenda-video-popup-close {
    top: 6px;
    right: 6px;
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 22px;
  }
}
