/* Booking modal — token-based component styling. */
.mp-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(28, 28, 26, 0.62); /* contrast @ 62% */
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.mp-booking-modal.is-open { display: flex; }

.mp-booking-dialog {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 90vh;
  max-height: 920px;
  background: var(--wp--preset--color--base-4);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(28, 28, 26, 0.35);
}

.mp-booking-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.mp-booking-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base-4);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.mp-booking-close:hover,
.mp-booking-close:focus-visible {
  background: var(--wp--preset--color--accent-1);
  outline: 2px solid var(--wp--preset--color--base-4);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .mp-booking-modal { padding: 0.5rem; }
  .mp-booking-dialog { height: 95vh; max-width: none; border-radius: 10px; }
}
