body.cloud-vgp-calendly-open {
  overflow: hidden;
}

.cloud-vgp-calendly-modal[hidden] {
  display: none;
}

.cloud-vgp-calendly-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgb(15 23 42 / 72%);
  opacity: 0;
  backdrop-filter: blur(7px);
  transition: opacity 180ms ease;
}

.cloud-vgp-calendly-modal.is-open {
  opacity: 1;
}

.cloud-vgp-calendly-dialog {
  display: flex;
  width: min(1080px, 100%);
  height: min(880px, calc(100vh - 2.5rem));
  max-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 1.25rem;
  background: white;
  box-shadow:
    0 30px 80px rgb(15 23 42 / 35%);
  transform: translateY(12px) scale(0.985);
  transition: transform 180ms ease;
}

.cloud-vgp-calendly-modal.is-open
.cloud-vgp-calendly-dialog {
  transform: translateY(0) scale(1);
}

.cloud-vgp-calendly-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  background:
    linear-gradient(
      135deg,
      #f8fafc,
      #eff6ff
    );
}

.cloud-vgp-calendly-header h2 {
  margin: 0.18rem 0 0;
  color: #0f172a;
  font-size: clamp(
    1.1rem,
    2vw,
    1.45rem
  );
  line-height: 1.2;
}

.cloud-vgp-calendly-eyebrow {
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cloud-vgp-calendly-close {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: white;
  color: #334155;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.cloud-vgp-calendly-close:hover {
  background: #0f172a;
  color: white;
  transform: rotate(4deg);
}

.cloud-vgp-calendly-close svg {
  width: 20px;
  height: 20px;
}

.cloud-vgp-calendly-frame {
  min-height: 0;
  flex: 1;
  background: #f8fafc;
}

.cloud-vgp-calendly-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: white;
}

.cloud-vgp-calendly-footer {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-top: 1px solid #e2e8f0;
  background: white;
  color: #64748b;
  font-size: 0.78rem;
  text-align: center;
}

.cloud-vgp-calendly-footer a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.cloud-vgp-mobile-actions {
  display: grid;
  gap: 0.7rem;
  margin: 1.15rem 0 0.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e2e8f0;
}

.cloud-vgp-mobile-action-demo,
.cloud-vgp-mobile-action-trial {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.cloud-vgp-mobile-action-demo {
  border: 2px solid #2563eb;
  background: white;
  color: #2563eb;
}

.cloud-vgp-mobile-action-trial {
  border: 2px solid #2563eb;
  background: #2563eb;
  color: white;
  box-shadow:
    0 8px 20px rgb(37 99 235 / 22%);
}

@media (max-width: 640px) {
  .cloud-vgp-calendly-modal {
    padding: 0;
  }

  .cloud-vgp-calendly-dialog {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .cloud-vgp-calendly-header {
    min-height: 68px;
    padding: 0.8rem 1rem;
  }

  .cloud-vgp-calendly-footer {
    flex-direction: column;
    gap: 0.1rem;
  }
}

@media (min-width: 1024px) {
  .cloud-vgp-mobile-actions {
    display: none;
  }
}
