/* Free Webinar exit-intent popup — shared styles for all variants.
   Merged from 6 standalone mockups; scoped under .free-webinar-exit-popup-modal
   so it can't leak into / collide with unrelated site styles. */
.free-webinar-exit-popup-modal{
  --fwep-brand-blue:#3A58EF;
  --fwep-brand-blue-hover:#314BD0;
  --fwep-brand-blue-tint:#EBEEFD;
  --fwep-navy-panel:#00103D;
  --fwep-navy-card:#0F2E6A;
  --fwep-purple-800:#26244A;
  --fwep-grey-300:#D0D5DD;
}
.free-webinar-exit-popup-modal .modal-dialog{
  max-width:818px;
}
.free-webinar-exit-popup-modal .modal-content{
  background:transparent;
  border:none;
  border-radius:14px;
  padding:0;
}
.free-webinar-exit-popup-modal .webinar-modal{
  position:relative;
  width:100%;
  height:478px;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  display:flex;
}
.free-webinar-exit-popup-modal .modal-close-btn{
  position:absolute;
  top:14px;
  right:16px;
  z-index:5;
  width:34px;
  height:34px;
  border:none;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#667085;
  padding:0;
  border-radius:50%;
  transition:background-color .15s ease, color .15s ease;
}
.free-webinar-exit-popup-modal .modal-close-btn:hover{ background:#F2F4F7; color:#344054; }
.free-webinar-exit-popup-modal .modal-close-btn svg{ width:19px; height:19px; }

/* ============ LEFT PHOTO PANEL ============ */
.free-webinar-exit-popup-modal .modal-photo-panel{
  position:relative;
  flex:0 0 256px;
  max-width:256px;
  height:100%;
  background-color:var(--fwep-navy-panel);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:22px 19px;
}
.free-webinar-exit-popup-modal .photo-frame{
  position:absolute;
  top:0; left:0; right:0;
  height:64%;
  background-size:cover;
  background-position:top center;
  background-repeat:no-repeat;
  z-index:0;
}
.free-webinar-exit-popup-modal .photo-frame::after{
  content:'';
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  background:linear-gradient(180deg, rgba(0,16,61,0) 42%, rgba(0,16,61,0.92) 80%, var(--fwep-navy-panel) 100%);
}
.free-webinar-exit-popup-modal .speaker-name-block{
  position:relative;
  z-index:1;
  color:#fff;
  text-align:center;
  margin-bottom:16px;
}
.free-webinar-exit-popup-modal .speaker-name-block h3{
  color:#fff;
  font-size:21px;
  font-weight:600;
  letter-spacing:-0.3px;
  margin:0 0 4px 0;
  line-height:1.2;
}
.free-webinar-exit-popup-modal .speaker-name-block p{
  color:#fff;
  font-size:14px;
  font-weight:500;
  margin:0;
  opacity:0.92;
  line-height:1.3;
}
.free-webinar-exit-popup-modal .event-details-card{
  position:relative;
  z-index:1;
  background:var(--fwep-navy-card);
  border-radius:8px;
  padding:12px 11px;
  display:flex;
  flex-direction:column;
  gap:9px;
}
.free-webinar-exit-popup-modal .event-detail-row{
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
}
.free-webinar-exit-popup-modal .event-detail-row .icon-wrap{
  flex:0 0 15px;
  width:15px;
  height:15px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.free-webinar-exit-popup-modal .event-detail-row .icon-wrap svg{ width:15px; height:15px; }
.free-webinar-exit-popup-modal .event-detail-row span{
  color:#fff;
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
}

/* ============ RIGHT CONTENT PANEL ============ */
.free-webinar-exit-popup-modal .modal-content-panel{
  flex:1 1 auto;
  padding:22px 30px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  overflow-y:auto;
}
.free-webinar-exit-popup-modal .content-top{ margin-bottom:34px; }
.free-webinar-exit-popup-modal .eyebrow-row{
  display:flex;
  align-items:center;
  gap:14px;
}
.free-webinar-exit-popup-modal .eyebrow-badge{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
.free-webinar-exit-popup-modal .eyebrow-badge .play-icon{
  flex:0 0 29px;
  width:29px;
  height:29px;
}
.free-webinar-exit-popup-modal .eyebrow-badge span{
  font-size:18px;
  font-weight:600;
  color:var(--fwep-brand-blue);
  letter-spacing:-0.3px;
  white-space:nowrap;
}
.free-webinar-exit-popup-modal .eyebrow-row .divider-line{
  flex:1 1 auto;
  height:1px;
  background:var(--fwep-grey-300);
}
.free-webinar-exit-popup-modal .headline{
  font-size:26px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:-0.4px;
  color:var(--fwep-purple-800);
  margin:14px 0 0 0;
}
.free-webinar-exit-popup-modal .benefits-row{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:34px;
}
.free-webinar-exit-popup-modal .benefit-item{
  display:flex;
  align-items:center;
  gap:10px;
}
.free-webinar-exit-popup-modal .benefit-item .benefit-icon{
  flex:0 0 40px;
  width:40px;
  height:40px;
}
.free-webinar-exit-popup-modal .benefit-item p{
  font-size:14px;
  font-weight:600;
  line-height:1.3;
  color:#2A3343;
  margin:0;
  max-width:150px;
}
.free-webinar-exit-popup-modal .benefit-divider{
  width:1px;
  height:32px;
  background:var(--fwep-grey-300);
  flex:0 0 1px;
}
.free-webinar-exit-popup-modal .register-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  height:58px;
  background:var(--fwep-brand-blue);
  color:#fff;
  border:none;
  border-radius:4px;
  font-size:21px;
  font-weight:600;
  letter-spacing:-0.3px;
  cursor:pointer;
  text-decoration:none;
  transition:background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.free-webinar-exit-popup-modal .register-btn:hover{ background:var(--fwep-brand-blue-hover); box-shadow:0 6px 16px rgba(58,88,239,0.35); transform:translateY(-1px); color:#fff; }
.free-webinar-exit-popup-modal .register-btn:active{ transform:translateY(0); }
.free-webinar-exit-popup-modal .register-btn svg{ width:22px; height:22px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 767px){
  .free-webinar-exit-popup-modal .modal-dialog{ max-width:92vw; margin:1.75rem auto; }
  .free-webinar-exit-popup-modal .webinar-modal{ flex-direction:column; height:auto; max-height:90vh; overflow-y:auto; }
  .free-webinar-exit-popup-modal .modal-photo-panel{ flex-basis:auto; max-width:100%; height:auto; min-height:220px; }
  .free-webinar-exit-popup-modal .modal-content-panel{ padding:20px; }
  .free-webinar-exit-popup-modal .headline{ font-size:20px; }
  .free-webinar-exit-popup-modal .benefits-row{ gap:12px; margin-bottom:22px; }
  .free-webinar-exit-popup-modal .benefit-divider{ display:none; }
  .free-webinar-exit-popup-modal .register-btn{ height:50px; font-size:17px; }
}
