.demo-booking {
  --booking-ink: #182a27;
  --booking-muted: #66736f;
  --booking-blue: #3266bd;
  --booking-blue-soft: #eaf0fa;
  --booking-border: #e3ece9;
  display: grid;
  grid-template-columns: 323px minmax(0, 1fr);
  width: min(100%, 1020px);
  min-height: 472px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--booking-border);
  border-radius: 12px;
  background: #fff;
  color: var(--booking-ink);
  font-family: inherit;
  text-align: left;
}

.fluent-booking-calendar-block {
  width: 100% !important;
}

.booking-profile {
  min-width: 0;
  padding: 45px 44px 35px;
  border-right: 1px solid var(--booking-border);
}

.demo-booking[data-stage="confirmation"] {
  grid-template-columns: minmax(0, 1fr);
  min-height: 640px;
}

.demo-booking[data-stage="confirmation"] .booking-profile {
  display: none;
}

.booking-profile > img {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 0 11px;
  border-radius: 50%;
  object-fit: cover;
}

.booking-profile__host {
  display: block;
  margin-bottom: 16px;
  color: var(--booking-ink);
  font-size: 13px;
}

.booking-profile h3 {
  margin: 0 0 17px;
  color: var(--booking-ink);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.3;
}

.booking-profile__meta,
.booking-profile__summary {
  display: grid;
  gap: 10px;
  margin-bottom: 19px;
  color: #263731;
  font-size: 13px;
  line-height: 1.5;
}

.booking-profile__meta > span,
.booking-profile__summary > span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.booking-profile__meta svg,
.booking-profile__summary svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 1px;
}

.booking-profile__summary {
  padding-top: 1px;
}

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

.booking-profile p {
  max-width: 245px;
  margin: 0;
  color: #34443e;
  font-size: 13px;
  line-height: 1.6;
}

.booking-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-width: 0;
  padding: 21px 25px 24px;
}

.booking-calendar {
  width: min(100%, 356px);
  min-width: 0;
  margin-inline: auto;
  padding: 5px 0 0;
}

.booking-calendar[hidden],
.booking-slots[hidden],
.booking-details[hidden],
.booking-confirmation[hidden] {
  display: none;
}

.booking-calendar__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 31px;
  margin-bottom: 5px;
}

.booking-calendar__header h3 {
  margin: 0;
  color: #263932;
  font-size: 15px;
  font-weight: 650;
  text-align: center;
}

.booking-calendar__navigation {
  display: flex;
  align-items: center;
  gap: 3px;
}

.booking-calendar__navigation button {
  display: grid;
  width: 26px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--booking-blue);
  cursor: pointer;
  font: inherit;
  font-size: 21px;
  line-height: 1;
}

.booking-calendar__navigation button:disabled {
  color: #9aa3a1;
  cursor: default;
}

.booking-calendar__weekdays,
.booking-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  text-align: center;
}

.booking-calendar__weekdays {
  margin-bottom: 13px;
  color: #17221f;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.booking-calendar__days {
  row-gap: 8px;
}

.booking-day {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #2a3633;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.booking-day[data-available="true"] {
  background: #e7e9ec;
}

.booking-day:hover:not(:disabled),
.booking-day[aria-pressed="true"] {
  background: var(--booking-blue);
  color: #fff;
}

.booking-day[data-today="true"] {
  color: var(--booking-blue);
}

.booking-day[data-today="true"]::after,
.booking-day[aria-pressed="true"]::after {
  position: absolute;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--booking-blue);
  content: "";
}

.booking-day[aria-pressed="true"]::after {
  background: #fff;
}

.booking-day:disabled {
  cursor: default;
}

.booking-day:not([data-available="true"]):not([data-today="true"]) {
  color: #61706b;
}

.booking-calendar__timezone {
  display: block;
  margin: 27px 0 6px;
  color: #17221f;
  font-size: 12px;
}

.booking-calendar__select-wrap {
  position: relative;
}

.booking-calendar__select-wrap::after {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 6px;
  height: 6px;
  border-right: 1px solid #aab8b3;
  border-bottom: 1px solid #aab8b3;
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.booking-calendar__select-wrap select {
  width: 100%;
  min-height: 39px;
  padding: 8px 32px 8px 13px;
  appearance: none;
  border: 1px solid var(--booking-border);
  border-radius: 7px;
  background: #fff;
  color: #394840;
  font: inherit;
  font-size: 12px;
}

.booking-main[data-stage="slots"],
.booking-main[data-stage="selected"] {
  grid-template-columns: minmax(0, 1fr) 228px;
}

.booking-main[data-stage="slots"] .booking-calendar,
.booking-main[data-stage="selected"] .booking-calendar {
  width: min(100%, 356px);
}

.booking-slots {
  min-width: 0;
  min-height: 0;
  padding: 3px 13px 0 18px;
  border-left: 1px solid var(--booking-border);
}

.booking-slots__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 17px;
}

.booking-slots__day {
  color: #293631;
  font-size: 12px;
  white-space: nowrap;
}

.booking-slots__format {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--booking-border);
  border-radius: 7px;
}

.booking-slots__format button {
  min-width: 34px;
  min-height: 24px;
  padding: 2px 5px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #293631;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
}

.booking-slots__format button[aria-pressed="true"] {
  background: #e5e8ec;
  color: #1c2925;
}

.booking-slots__list {
  display: grid;
  gap: 11px;
  max-height: 393px;
  overflow-y: auto;
  padding: 0 3px 4px 0;
  scrollbar-color: #b8bfbd transparent;
  scrollbar-width: thin;
}

.booking-slot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
}

.booking-slot-row.is-selected {
  grid-template-columns: minmax(0, 1fr) 60px;
  gap: 0;
  border: 1px solid var(--booking-blue);
  border-radius: 4px;
  background: var(--booking-blue-soft);
}

.booking-slot {
  width: 100%;
  min-height: 46px;
  padding: 8px 13px;
  border: 1px solid var(--booking-border);
  border-radius: 4px;
  background: #fff;
  color: #1e2d28;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-align: left;
}

.booking-slot:hover {
  border-color: #8ca9d7;
  background: #f7f9fc;
}

.booking-slot-row.is-selected .booking-slot {
  min-width: 0;
  border: 0;
  border-radius: 3px 0 0 3px;
  background: transparent;
  color: var(--booking-blue);
}

.booking-next {
  min-height: 38px;
  align-self: center;
  margin-right: 3px;
  padding: 7px 9px;
  border: 0;
  border-radius: 4px;
  background: var(--booking-blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.booking-next:hover,
.booking-submit:hover:not(:disabled) {
  background: #2558aa;
}

.booking-details {
  width: min(100%, 572px);
  margin: 1px auto 0;
}

.booking-details__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 19px;
  padding: 0 0 19px;
  border-bottom: 1px solid var(--booking-border);
}

.booking-details__header h3 {
  margin: 0;
  color: #1b2c27;
  font-size: 17px;
  font-weight: 600;
}

.booking-back {
  display: grid;
  width: 37px;
  height: 37px;
  padding: 0;
  place-items: center;
  border: 1px solid #dbe4e1;
  border-radius: 50%;
  background: #fff;
  color: #1b2c27;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
}

.booking-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.booking-form label {
  margin-top: 1px;
  color: #1b2c27;
  font-size: 12px;
  font-weight: 600;
}

.booking-form label span {
  color: #17221f;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  min-height: 41px;
  padding: 9px 14px;
  border: 1px solid var(--booking-border);
  border-radius: 7px;
  background: #fff;
  color: #1b2c27;
  font: inherit;
  font-size: 13px;
}

.booking-form textarea {
  min-height: 56px;
  max-height: 160px;
  resize: vertical;
}

.booking-form__email-wrap {
  position: relative;
}

.booking-form__email-wrap input {
  display: block;
}

.booking-loader:not([hidden]) {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  pointer-events: none;
}

.booking-loader i {
  display: block;
  width: 10px;
  height: 23px;
  background: #3d73ca;
  animation: booking-loader-pulse 700ms ease-in-out infinite alternate;
}

.booking-loader i:nth-child(2) {
  animation-delay: 120ms;
}

.booking-loader i:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes booking-loader-pulse {
  from { opacity: 0.58; transform: scaleY(0.8); }
  to { opacity: 1; transform: scaleY(1); }
}

.booking-submit {
  min-width: 140px;
  min-height: 40px;
  justify-self: end;
  margin-top: 9px;
  padding: 8px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--booking-blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.booking-submit:disabled {
  background: #9bb6e1;
  cursor: wait;
}

.booking-confirmation {
  width: min(100%, 486px);
  margin: 0 auto;
  padding: 1px 0 9px;
  color: #1c2925;
  text-align: center;
}

.booking-confirmation__check {
  display: grid;
  width: 43px;
  height: 43px;
  margin: 0 auto 13px;
  place-items: center;
  border-radius: 50%;
  background: #dff8eb;
  color: #118954;
}

.booking-confirmation__check svg {
  width: 22px;
  height: 22px;
}

.booking-confirmation h3 {
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 500;
}

.booking-confirmation__intro {
  margin: 0 0 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--booking-border);
  font-size: 14px;
}

.booking-confirmation__content {
  display: grid;
  gap: 17px;
  padding: 12px 0 15px;
  text-align: left;
}

.booking-confirmation__content section h4 {
  margin: 0 0 13px;
  font-size: 13px;
  font-weight: 650;
}

.booking-confirmation__content section p {
  margin: 0;
  color: #56645f;
  font-size: 12px;
  line-height: 1.55;
}

.booking-confirmation__content section p strong {
  color: #293832;
  font-weight: 600;
}

.booking-confirmation__person,
.booking-confirmation__content section p > span:last-child {
  display: block;
}

.booking-confirmation__person {
  margin-bottom: 5px;
  color: #3b4a45;
}

.booking-confirmation__person small {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 7px;
  border-radius: 4px;
  background: #edf1f6;
  color: #5874a2;
  font-size: 9px;
}

.booking-inert {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--booking-blue);
  cursor: default;
  font: inherit;
  font-size: inherit;
}

.booking-confirmation__change {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--booking-border);
  border-bottom: 1px solid var(--booking-border);
  color: #273631;
  font-size: 12px;
}

.booking-confirmation__calendar-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-top: 16px;
  color: #273631;
  font-size: 12px;
}

.booking-confirmation__calendar-links button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #dfe6e3;
  background: #fff;
  color: #192c27;
  font-size: 15px;
  font-weight: 650;
}

.booking-confirmation__calendar-links button:last-child {
  font-size: 9px;
}

.booking-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.demo-booking button:focus-visible,
.demo-booking select:focus-visible,
.demo-booking input:focus-visible,
.demo-booking textarea:focus-visible,
.booking-slots__list:focus-visible {
  outline: 2px solid var(--booking-blue);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .demo-booking {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 680px);
  }

  .booking-profile {
    padding: 25px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--booking-border);
  }

  .booking-profile p {
    max-width: 100%;
  }

  .booking-main,
  .booking-main[data-stage="slots"],
  .booking-main[data-stage="selected"] {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 26px;
  }

  .booking-calendar,
  .booking-main[data-stage="slots"] .booking-calendar,
  .booking-main[data-stage="selected"] .booking-calendar {
    width: min(100%, 420px);
    grid-column: 1;
    grid-row: 1;
  }

  .booking-slots {
    grid-column: 1;
    grid-row: 2;
    margin-top: 22px;
    padding: 18px 0 0;
    border-top: 1px solid var(--booking-border);
    border-left: 0;
  }

  .booking-slots__list {
    max-height: 260px;
  }

  .booking-details {
    width: min(100%, 572px);
  }
}

@media (max-width: 480px) {
  .gspb_container-gsbp-15afa80:has(.demo-booking) {
    padding-inline: 0 !important;
  }

  .demo-booking {
    width: 100%;
    border-radius: 10px;
  }

  .booking-profile {
    padding: 22px 20px;
  }

  .booking-profile h3 {
    font-size: 19px;
  }

  .booking-main,
  .booking-main[data-stage="slots"],
  .booking-main[data-stage="selected"] {
    min-height: 390px;
    padding: 18px 16px 22px;
  }

  .booking-calendar,
  .booking-main[data-stage="slots"] .booking-calendar,
  .booking-main[data-stage="selected"] .booking-calendar {
    width: 100%;
  }

  .booking-calendar__weekdays,
  .booking-calendar__days {
    gap: 5px;
  }

  .booking-day {
    height: 40px;
  }

  .booking-calendar__timezone {
    margin-top: 20px;
  }

  .booking-slots {
    margin-top: 18px;
    padding-top: 15px;
  }

  .booking-slots__list {
    max-height: 220px;
  }

  .booking-slot {
    min-height: 42px;
  }

  .booking-details {
    width: 100%;
  }

  .booking-form {
    gap: 8px;
  }

  .booking-form textarea {
    min-height: 84px;
  }

  .demo-booking[data-stage="confirmation"] {
    min-height: 650px;
  }

  .booking-main[data-stage="confirmation"] {
    padding: 24px 20px;
  }

  .booking-confirmation__calendar-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-booking *,
  .demo-booking *::before,
  .demo-booking *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
