.booking-shadowbox {
  width: min(1120px, calc(100vw - 40px));
  height: min(900px, calc(100vh - 40px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #102b42;
  box-shadow: 0 30px 90px rgba(2, 14, 28, .42);
}

.booking-shadowbox::backdrop {
  background: rgba(5, 17, 31, .78);
  backdrop-filter: blur(7px);
}

.booking-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.booking-head {
  min-height: 78px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #d7e1e9;
}

.booking-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.booking-brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.booking-brand strong,
.booking-brand small {
  display: block;
}

.booking-brand strong {
  font-size: 1rem;
  letter-spacing: .04em;
}

.booking-brand small {
  margin-top: 2px;
  color: #516477;
  font-size: .78rem;
}

.booking-close {
  padding: 10px 14px;
  border: 1px solid #9fb1c1;
  border-radius: 8px;
  background: #fff;
  color: #102b42;
  font-weight: 700;
  cursor: pointer;
}

.booking-help {
  margin: 0;
  padding: 10px 18px;
  background: #edf5fb;
  color: #405a6e;
  font-size: .84rem;
  line-height: 1.45;
}

.booking-help a {
  color: #145fcd;
  font-weight: 700;
}

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

.booking-controls {
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #d7e1e9;
  background: #fff;
}

.booking-return,
.booking-external {
  min-height: 44px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.booking-return {
  border: 0;
  background: #102b42;
  color: #fff;
}

.booking-external {
  border: 1px solid #145fcd;
  background: #fff;
  color: #145fcd;
}

.booking-close:focus-visible,
.booking-return:focus-visible,
.booking-external:focus-visible {
  outline: 3px solid #d4851d;
  outline-offset: 3px;
}

body.booking-open {
  overflow: hidden;
}

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

  .booking-head {
    min-height: 66px;
    padding: 9px 12px;
  }

  .booking-brand img {
    width: 44px;
    height: 44px;
  }

  .booking-brand small {
    display: none;
  }

  .booking-help {
    padding: 8px 12px;
    font-size: .75rem;
  }

  .booking-controls {
    padding: 10px 12px;
  }

  .booking-return,
  .booking-external {
    padding: 9px 12px;
    font-size: .83rem;
  }
}
