.booking-dialog {
  box-sizing: border-box;
  width: min(1100px, calc(100vw - 32px));
  height: min(850px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #13213c;
  overflow: hidden;
}
.booking-dialog::backdrop {
  background: rgb(19 33 60 / 65%);
}
.booking-dialog[open] {
  display: flex;
  flex-direction: column;
}
.booking-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-family: Inter, sans-serif;
}
.booking-dialog__header h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}
.booking-dialog__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid #d7dce5;
  border-radius: 6px;
  background: #fff;
  color: #13213c;
  font: 28px/1 sans-serif;
  cursor: pointer;
}
.booking-dialog__close:hover { background: #f0f3fa; }
.booking-dialog__close:focus-visible {
  outline: 3px solid #2347c5;
  outline-offset: 2px;
}
.booking-dialog__content {
  position: relative;
  flex: 1;
  min-height: 0;
}
.booking-dialog__status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  text-align: center;
  font-family: Inter, sans-serif;
}
.booking-dialog iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
html.booking-open { overflow: hidden; }
@media (max-width: 600px) {
  .booking-dialog {
    width: 100vw;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .booking-dialog__header { padding: 8px 12px; }
  .booking-dialog__header h2 { font-size: 16px; }
}

/* Mobile fullscreen dialog with safe areas */
@media (max-width: 600px) {
  .booking-dialog {
    inset: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
    margin: 0; border-radius: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
  .booking-dialog__header { min-height: 64px; padding: 8px 12px 8px 16px; }
  .booking-dialog__header h2 { font-size: 17px; overflow-wrap: anywhere; }
  .booking-dialog__close { width: 48px; height: 48px; }
  .booking-dialog__status { font-size: 16px; }
  .booking-dialog__content { overflow: auto; -webkit-overflow-scrolling: touch; }
  .booking-dialog iframe { height: 100%; min-height: 100%; }
}
