#pd-sticky-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #3b82f6, #2563eb 58%, #f97316);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
  cursor: pointer;
  letter-spacing: 0.01em;
}

#pd-form-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(5px);
  z-index: 10000;
}

#pd-form-modal.is-open {
  display: flex;
}

#pd-form-modal-card {
  position: relative;
  width: min(100%, 920px);
  height: min(90vh, 980px);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(226, 232, 240, 0.9)),
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.16), transparent 28%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 34px 70px rgba(15, 23, 42, 0.24);
}

#pd-form-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.88);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

#pd-form-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  #pd-sticky-button {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 16px;
    padding: 13px 18px;
    font-size: 14px;
  }

  #pd-form-modal {
    padding: 12px;
  }

  #pd-form-modal-card {
    width: 100%;
    height: min(92vh, 860px);
    border-radius: 22px;
  }
}
