/* Desktop: the register modal grows out of the Book Today button
   (FLIP / scale + backdrop fade), and reverses on close. Phone morph
   rules in header-float-cta-mobile-v5.css are unchanged. */
@media (min-width: 800px) {
  html.reg-modal-morphing .reg-modal::backdrop{
    opacity: 0;
    animation: d-reg-bd-desk-in 320ms ease-out forwards;
  }
  html.reg-modal-morphing.is-morphing-out .reg-modal::backdrop{
    animation: d-reg-bd-desk-out 280ms ease-in forwards;
  }
  .reg-modal.is-morphing-in,
  .reg-modal.is-morphing-out{
    will-change: transform, border-radius;
  }
}
@keyframes d-reg-bd-desk-in{
  from{opacity:0}
  to{opacity:1}
}
@keyframes d-reg-bd-desk-out{
  from{opacity:1}
  to{opacity:0}
}
@media (min-width: 800px) and (prefers-reduced-motion: reduce){
  html.reg-modal-morphing .reg-modal::backdrop,
  html.reg-modal-morphing.is-morphing-out .reg-modal::backdrop{
    animation: none;
    opacity: 1;
  }
  html.reg-modal-morphing.is-morphing-out .reg-modal::backdrop{
    opacity: 0;
  }
}
