:root {
  --booking-form-colour:#d31a2f;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: "Geist", sans-serif;
}

#loading-screen {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loading-screen .loader {
  width: 40px;
  height: 40px;
  border: 4px solid #f5f4f4;
  border-top-color: var(--booking-form-colour);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
body.loaded #loading-screen {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.booking-page {
  max-width: 967px;
  margin: 0 auto;
  padding: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .booking-page {
    padding: 50px 25px 0;
  }
}
.booking-page__left {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .booking-page__left {
    width: calc(100% - 296px - 30px);
  }
}
.booking-page__left img {
  margin-bottom: 15px;
}
.booking-page__left h1 {
  font-size: 30px;
  line-height: 36px;
}
.booking-page__left p {
  font-size: 16px;
  line-height: 24px;
}
.booking-page__left form section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
}
.booking-page__left form section:after {
  content: "";
  display: block;
  border-bottom: 2px solid #f5f4f4;
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 0;
}
.booking-page__left form section#step4:after {
  display: none;
}
.booking-page__left form section.active .options {
  max-height: 1000px;
  opacity: 1;
}
.booking-page__left form section.active .label .step {
  background: var(--booking-form-colour);
  color: white;
}
.booking-page__left form section .label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin: 0 0 30px 0;
  font-size: 16px;
}
.booking-page__left form section .label .step {
  display: block;
  background: #f5f4f4;
  height: 24px;
  font-size: 12px;
  width: 24px;
  color: black;
  border-radius: 5px;
  padding: 0px;
  text-align: center;
  margin-right: 10px;
}
.booking-page__left form section .options {
  margin-left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-in-out;
  opacity: 0;
}
@media screen and (min-width: 768px) {
  .booking-page__left form section .options {
    margin-left: 45px;
  }
}
.booking-page__left form section .options div {
  width: calc(50% - 10px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 15px;
}
.booking-page__left form section .options div label {
  width: 100%;
  margin-bottom: 5px;
}
.booking-page__left form section .options div input, .booking-page__left form section .options div select {
  widtH: 100%;
  margin: 0 1px;
  font-size: 16px;
}
.booking-page__left form section .options div .error-message {
  color: red;
  margin-top: 10px;
  font-size: 14px;
  display: none;
}
.booking-page__left form section .options div:has(input.error-shown) label, .booking-page__left form section .options div:has(select.error-shown) label {
  color: red;
}
.booking-page__left form section .options div:has(input.error-shown) input[type=text],
.booking-page__left form section .options div:has(input.error-shown) input[type=email],
.booking-page__left form section .options div:has(input.error-shown) select, .booking-page__left form section .options div:has(select.error-shown) input[type=text],
.booking-page__left form section .options div:has(select.error-shown) input[type=email],
.booking-page__left form section .options div:has(select.error-shown) select {
  box-shadow: 0 0 2px red;
}
.booking-page__left form section .options .full {
  width: 100%;
  margin-top: 15px;
}
.booking-page__left form section .options .full button {
  margin-bottom: 15px;
}
.booking-page__left form section .options .full--email {
  margin-bottom: 25px;
}
.booking-page__left form section .options .full--email span {
  widtH: 37px !important;
}
.booking-page__left form section .options input[type=checkbox] {
  display: none;
}
.booking-page__left form section .options input[type=checkbox]:checked + span.checkmark {
  background-color: var(--booking-form-colour);
  border-color: var(--booking-form-colour);
}
.booking-page__left form section .options input[type=checkbox]:checked + span.checkmark::after {
  display: block;
}
.booking-page__left form section .options .checkmark-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
}
.booking-page__left form section .options span.checkmark {
  height: 25px;
  width: 25px;
  background-color: transparent;
  margin: 1px 15px 0 1px;
  box-shadow: 0 0 2px 0 #000000;
  border-radius: 5px;
  transition: all 0.25s ease-in-out;
  position: relative;
}
.booking-page__left form section .options span.checkmark::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}
.booking-page__left form section .options input[type=text], .booking-page__left form section .options input[type=email], .booking-page__left form section .options select {
  border: none;
  box-shadow: 0 0 2px 0 #000000;
  padding: 6px;
  border-radius: 5px;
}
.booking-page__left form section .options input[type=text]:focus, .booking-page__left form section .options input[type=email]:focus, .booking-page__left form section .options select:focus {
  box-shadow: 0 0 2px 0 red !important;
  outline: none;
}
.booking-page__right {
  widtH: 100%;
}
@media screen and (min-width: 768px) {
  .booking-page__right {
    width: 296px;
  }
}
.booking-page__right div {
  margin-bottom: 24px;
}
.booking-page__right p.title {
  margin-bottom: 5px;
  font-weight: bold;
}
.booking-page__right p, .booking-page__right ul li {
  font-size: 16px;
  line-height: 1.5;
}
.booking-page__right ul {
  margin: 0;
  list-style: none;
  padding: 0;
}
.booking-page__right a#phone-number-link {
  padding: 12px 16px;
  background: #f5f4f4;
  border-radius: 5px;
  display: inline-block;
  margin-top: 0;
  display: inline-flex;
  flex-wrap: wrap;
  color: black;
  text-decoration: none;
  font-size: 16px;
  align-items: center;
}
.booking-page__right a#phone-number-link svg {
  margin-right: 8px;
  height: 16px;
  width: 16px;
}
.booking-page__right a#reviews {
  text-decoration: none;
  color: inherit;
}
.booking-page__right a#reviews img {
  max-widtH: 100%;
}
.booking-page__right a#reviews p {
  margin-top: 0;
}

.button--next, .button--submit {
  font-size: 16px;
  padding: 8px 12px;
  background-color: var(--booking-form-colour);
  color: white;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  border: none;
}
.button--next svg, .button--submit svg {
  margin-left: 8px;
}
.button--next:hover, .button--submit:hover {
  cursor: pointer;
}

.button--submit .dots {
  display: inline-block;
  margin-left: 4px;
  width: 1ch;
  text-align: left;
}

@keyframes blinkDots {
  0%, 20% {
    color: var(--booking-form-colour);
  }
  40%, 60% {
    color: white;
  }
  80%, 100% {
    color: var(--booking-form-colour);
  }
}
.button--submit:disabled {
  cursor: not-allowed;
}

.button--primary {
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  transition: all 0.25s ease-in-out;
  border: none;
  background: darkred;
  color: white;
  font-size: 18px;
  letter-spacing: 0.1rem;
  line-height: 1.1904761905;
  padding: 22px;
}
.button--primary:hover {
  cursor: pointer;
}

#popup {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
#popup div {
  background: white;
  padding: 20px;
  width: 300px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
