/* Le cadre plein écran du dossier de rendez-vous (voir embed.js). Pendant le
   chargement, les deux fonds du dossier sont déjà là : aucun écran blanc. */
html.vb-book-open { overflow: hidden; }
.vb-frame {
  position: fixed; inset: 0; z-index: 2147483000;
  display: grid; grid-template-rows: 7rem 1fr;
  opacity: 0; transition: opacity .2s ease;
}
.vb-frame::before { content: ""; background: #0D1B2A; }
.vb-frame::after { content: ""; background: #F8F5EF; }
.vb-frame.is-open { opacity: 1; }
.vb-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  opacity: 0; transition: opacity .2s ease;
}
.vb-frame.is-ready iframe { opacity: 1; }
.vb-frame-close {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: #F8F5EF; cursor: pointer;
}
.vb-frame-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.vb-frame.is-ready .vb-frame-close { display: none; }
@media (min-width: 1024px) {
  .vb-frame { grid-template-rows: 1fr; grid-template-columns: minmax(22rem, 30%) 1fr; }
  .vb-frame-close { color: #0D1B2A; }
}
@media (prefers-reduced-motion: reduce) {
  .vb-frame, .vb-frame iframe { transition: none; }
}
