/* Demo booking embed — loader while HelloCRM meetings iframe warms up */
.crm-demo-booking {
  position: relative;
  width: 100%;
  min-height: min(78vh, 820px);
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin: 0 auto;
  max-width: 1100px;
}

.crm-demo-booking-frame {
  display: block;
  width: 100%;
  height: min(78vh, 820px);
  border: 0;
  background: #fff;
}

.crm-demo-booking-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 2rem 1.25rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(32, 70, 208, 0.12), transparent 65%),
    #f8fafc;
  font-family: Nunito, Inter, system-ui, sans-serif;
  transition: opacity 0.35s ease;
}

.crm-demo-booking.is-ready .crm-demo-booking-loader {
  opacity: 0;
  pointer-events: none;
}

.crm-demo-booking-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid #dbe4ff;
  border-top-color: #2046d0;
  animation: crm-demo-spin 0.8s linear infinite;
}

@keyframes crm-demo-spin {
  to {
    transform: rotate(360deg);
  }
}

.crm-demo-booking-title {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.crm-demo-booking-sub {
  margin: 0;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #64748b;
}

.crm-demo-booking-link {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2046d0;
  text-decoration: none;
}

.crm-demo-booking-link:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .crm-demo-booking,
  .crm-demo-booking-frame {
    min-height: 70vh;
    height: 70vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}
