/* ==========================================================================
   Booking Modal — TidyCal Popup
   Trigger: any element with data-booking-modal attribute (uses href as URL).
   Disable: remove <link>+<script> tags for this effect from HTML.
   ========================================================================== */

.fx-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fxBookingFadeIn 0.2s ease-out;
}

@keyframes fxBookingFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fx-booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.fx-booking-modal__dialog {
  position: relative;
  width: min(1100px, 94vw);
  height: min(960px, 92vh);
  min-width: 360px;
  min-height: 480px;
  max-width: 96vw;
  max-height: 96vh;
  background: #fff;
  border-radius: 12px;
  overflow: auto;
  resize: both;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.fx-booking-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #0f172a;
  box-shadow: none;
  transition: transform 0.15s ease-out, color 0.15s ease-out;
}

.fx-booking-modal__close:hover {
  color: #475569;
  transform: scale(1.1);
}

.fx-booking-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
