/* Frame the official Calendly widget; leave its booking UI intact. */
.calendly-overlay {
  inset: 0 !important;
  width: 100% !important;
  height: 100dvh !important;
  z-index: 2147483646 !important;
}
.calendly-overlay .calendly-popup {
  position: absolute !important;
  inset: 52px 16px 16px !important;
  transform: none !important;
  width: calc(100% - 32px) !important;
  max-width: 1100px !important;
  min-width: 0 !important;
  height: calc(100dvh - 68px) !important;
  max-height: 900px !important;
  margin: auto !important;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.calendly-overlay .calendly-popup-content,
.calendly-overlay .calendly-popup-content iframe {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
}
.calendly-overlay .calendly-popup-close {
  position: fixed !important;
  top: 10px !important;
  right: 16px !important;
  width: 30px !important;
  height: 30px !important;
  background-color: #241c35;
  border: 4px solid #241c35;
  border-radius: 50%;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .calendly-overlay .calendly-popup {
    inset: 48px 4px 4px !important;
    width: calc(100% - 8px) !important;
    height: calc(100dvh - 52px) !important;
    border-radius: 8px;
    max-width: 90% !important;
  }
  .calendly-overlay .calendly-popup-close {
    top: 33px !important;
    right: 3px !important;
  }
}
