.elementor-361 .elementor-element.elementor-element-3ed7f1e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-361 .elementor-element.elementor-element-9dfa6b2{width:100%;max-width:100%;z-index:0;}.elementor-361 .elementor-element.elementor-element-9dfa6b2.elementor-element{--align-self:center;}#elementor-popup-modal-361 .dialog-widget-content{animation-duration:0.4s;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}#elementor-popup-modal-361{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-361 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-361 .dialog-close-button{display:flex;}/* Start custom CSS for html, class: .elementor-element-9dfa6b2 */.elementor-popup-modal .dialog-widget-content {
  width: 100% !important;
  max-width: 720px !important;
  max-height: 980px !important;
  margin: auto !important;
  padding: 20px 36px !important;
  box-sizing: border-box;
  border-radius: 12px;
  overflow: hidden !important;
}

/* ---------- Make popup inner area a centered column ---------- */
.elementor-popup-modal .elementor-widget-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important; /* change to center if you prefer vertical centering */
  align-items: center !important;          /* horizontally center children */
  gap: 0 !important;
  overflow: visible !important;
}

/* ---------- Force each widget block to center its content ---------- */
.elementor-popup-modal .elementor-widget,
.elementor-popup-modal .elementor-widget-wrap > * {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* ---------- Target Calendly wrappers & iframe and FORCE CENTER ---------- */
/* These rules cover common Calendly wrapper structures and the iframe itself */
.elementor-popup-modal .calendly-inline-widget,
.elementor-popup-modal .calendly-inline-widget > div,
.elementor-popup-modal .calendly-inline-widget > div > div,
.elementor-popup-modal .calendly-inline-widget * {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

/* iframe specifically */
.elementor-popup-modal .calendly-inline-widget iframe,
.elementor-popup-modal iframe {
  display: block !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 980px !important;                  /* control visual width of calendar */
  height: calc(95vh - 180px) !important;        /* visible calendar area; adjust 180px for header size */
  max-height: calc(95vh - 180px) !important;
  min-height: 560px !important;
  overflow: auto !important;
  box-sizing: border-box !important;
  border-radius: 6px !important;
}

/* Ensure outer wrappers do not scroll (avoid double scrollbar) */
.elementor-popup-modal .dialog-message,
.elementor-popup-modal .dialog-widget-content,
.elementor-popup-modal .elementor-widget-wrap {
  overflow: hidden !important;
}

/* Mobile adjustments */
@media (max-width:720px) {
  .elementor-popup-modal .dialog-widget-content { max-width:96% !important; max-height:96vh !important; padding:14px !important; }
  .elementor-popup-modal .calendly-inline-widget iframe { height: calc(96vh - 140px) !important; min-height:520px !important; }
}/* End custom CSS */