.booking-dialog {
  width: min(960px, calc(100vw - 40px));
  height: min(780px, calc(100dvh - 40px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #00f6ff;
  border-radius: 18px;
  color: #fff;
  background: #0a0f1e;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

body.booking-open {
  overflow: hidden;
}

.booking-dialog::backdrop {
  background: rgba(3, 7, 17, .88);
  backdrop-filter: blur(7px);
}

.booking-dialog-inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
}

.booking-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 18px 14px 22px;
  border-bottom: 1px solid rgba(0, 246, 255, .4);
}

.booking-dialog-head strong {
  color: #00f6ff;
  font-size: 1rem;
  letter-spacing: .01em;
}

.booking-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(0, 246, 255, .55);
  border-radius: 50%;
  color: #00f6ff;
  background: transparent;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.booking-close:hover,
.booking-close:focus-visible {
  color: #0a0f1e;
  background: #00f6ff;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.booking-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.booking-dialog-foot {
  margin: 0;
  padding: 10px 20px;
  color: #d8dce2;
  text-align: center;
  font-size: .8rem;
}

.booking-dialog-foot a {
  color: #00f6ff;
  text-underline-offset: 3px;
}

.contact-secondary {
  margin: 1.2rem 0 0 !important;
  font-size: .88rem !important;
}

.contact-secondary a {
  color: #0a0f1e;
  font-weight: 700;
  text-underline-offset: 3px;
}

.consent-panel {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  width: min(440px, calc(100vw - 40px));
  padding: 20px;
  border: 1px solid #00f6ff;
  border-radius: 14px;
  color: #fff;
  background: #0a0f1e;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .42);
}

.consent-panel p {
  margin: 0;
  color: #d8dce2;
  font-size: .92rem;
  line-height: 1.5;
}

.consent-panel a {
  color: #00f6ff;
}

.consent-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.consent-actions button {
  flex: 1;
  min-height: 44px;
  padding: .65rem 1rem;
  border: 1px solid #00f6ff;
  border-radius: 999px;
  color: #0a0f1e;
  background: #00f6ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.consent-actions .reject {
  color: #00f6ff;
  background: transparent;
}

@media (max-width: 640px) {
  .booking-dialog {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .booking-dialog-head {
    padding-inline: 16px;
  }

  .booking-dialog-head strong {
    max-width: calc(100vw - 76px);
    font-size: .9rem;
  }

  .booking-dialog-foot {
    padding-inline: 14px;
  }

  .consent-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}
