/* Webinar Video: Gravity Form Popup Block */

.webinarvideo-gf-popup-admin-note {
  font-family: sans-serif;
  font-size: 13px;
  line-height: 1.5;
  padding: 14px 16px;
  margin: 8px 0;
  background-color: #F0F6F6;
  border: 1px dashed #BFD0D1;
  border-radius: 8px;
  color: #033438;
}

/* ---- shared Gravity Forms popup (opened via dist/block.js on this block,
   webinarvideo-hero and webinarvideo-call-cta) ---- */
body.wv-gf-popup-open {
  overflow: hidden;
}

.wv-gf-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.wv-gf-popup--open {
  display: flex;
}

.wv-gf-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 45, 51, 0.72);
}

.wv-gf-popup__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background-color: #fff;
  border-radius: 16px;
  padding: 40px 32px 32px;
  box-sizing: border-box;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.wv-gf-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background-color: #F5F7F7;
  color: #033438;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.wv-gf-popup__close:hover {
  background-color: #DEE2E3;
}

.wv-gf-popup__heading {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #033438;
  margin: 0 0 10px;
}

.wv-gf-popup__intro {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #4C6769;
  margin: 0 0 20px;
}

.wv-gf-popup__intro p {
  margin: 0 0 1em;
}

.wv-gf-popup__intro p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .wv-gf-popup__dialog {
    padding: 44px 40px 36px;
  }
}
