* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

.booking-page {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #edf1f5;
  color: #003053;
  font-family: Arial, sans-serif;
}

.booking-page-bar {
  flex: none;
  min-height: 56px;
  padding: max(6px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 6px max(20px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid #d8e0e8;
}

.booking-page-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.booking-page-back-label-mobile {
  display: none;
}

.booking-page-phone {
  flex-shrink: 0;
  white-space: nowrap;
}

.booking-page-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.booking-page-bar a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-page-bar a:focus-visible {
  outline: 2px solid #4a7c9d;
  outline-offset: 4px;
  border-radius: 2px;
}

.booking-page-main {
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

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

@media (max-width: 540px) {
  .booking-page-bar {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    gap: 12px;
  }

  .booking-page-bar a {
    font-size: 14px;
  }

  .booking-page-back {
    gap: 6px;
  }

  .booking-page-back-label {
    display: none;
  }

  .booking-page-back-label-mobile {
    display: inline;
  }
}