.booking-widget {
  width: 100%;
  min-height: 700px;
  margin: 0 auto;
}

.booking-widget iframe {
  border: none;
  width: 100%;
  height: 100%;
}

.booking-widget__dialog {
  position: relative;
}

.booking-widget__loading[hidden] {
  display: none;
}

.booking-widget__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.booking-widget__spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 999px;
  animation: booking-widget-spin 0.8s linear infinite;
}

.booking-widget--popup {
  width: auto;
  min-height: auto;
  margin: 0;
}

.booking-widget__trigger,
.booking-popup {
  border: 0;
  border-radius: 10px;
  background: #ddd6fe;
  color: #5b21b6;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  padding: 12px 18px;
  text-decoration: none;
}

.booking-popup-link {
  background: none;
  border: 0;
  color: #5b21b6;
  cursor: pointer;
  display: inline;
  font: inherit;
  padding: 0;
  text-decoration: none;
  text-underline-offset: 2px;
}

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

.booking-popup--floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.booking-widget__overlay[hidden] {
  display: none;
}

.booking-widget__overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 5px 10px 5px;
}

.booking-widget__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.98);
  /* background: rgb(5,5,5, 0.8); */
}

.booking-widget__dialog {
  width: 100%;
  height: 100%;
  margin: 0;
  /* background: #fff; */
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25); */
}

.booking-widget__dialog--popup {
  width: auto;
  height: auto;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
}

.booking-widget__frame--popup {
  display: block;
  width: min(980px, calc(100vw - 24px));
  height: min(650px, calc(100vh - 24px));
}

.booking-widget__close {
  position: fixed;
  top: 8px;
  right: 20px;
  z-index: 10000;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  padding: 0;
  box-shadow: none;
  font-weight: 200;
}

@keyframes booking-widget-spin {
  to {
    transform: rotate(360deg);
  }
}
