/***************************************
 * General
 ***************************************/
.btn {
  margin-right: 0 !important;
}

/***************************************
 * Temp
 ***************************************/
.preloader {
  display: none !important;
}

/***************************************
 * Button
 ***************************************/
#zusje-widget-btn {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 9998;
  background: #f4f1ed !important;
  color: #13110c !important;
}
@media only screen and (max-width: 600px) {
  #zusje-widget-btn {
    right: 1rem;
    bottom: 1rem;
  }
}

/***************************************
 * Widget
 ***************************************/
#zusje-widget {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 385px;
  z-index: 2147483647;
  max-height: calc(100% - 4rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10rem #000;
  font-weight: 400;
  transition: 0.2s ease-in-out;
}
#zusje-widget.d-none {
  display: block !important;
  transform: translatey(calc(100% + 4rem));
}
@media only screen and (max-width: 600px) {
  #zusje-widget {
    inset: 0;
    width: 100vw;
    max-height: 100%;
  }
  #zusje-widget #widget-container {
    min-height: 100%;
    border-radius: 0 !important;
  }
  #zusje-widget #widget-container > form {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
  }
  #zusje-widget .step {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none !important;
    border-radius: 0 !important;
  }
  #zusje-widget .step .step-img {
    flex: 1 1 auto;
  }
  #zusje-widget .step .step-img img {
    height: 100%;
    -o-object-position: 25%;
    object-position: 25%;
  }
}
#zusje-widget #widget-container {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
#zusje-widget #widget-container::-webkit-scrollbar {
  display: none;
  width: 0px;
}
#zusje-widget
  #widget-container
  #widget-availability-form:has(#reservation-details.d-none):has(
    #reservation-type.d-none
  ) {
  background: red;
  display: none;
}
#zusje-widget #close-button {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  padding: 0.5rem;
  z-index: 1;
}
#zusje-widget #close-button:hover div {
  background: #13110c;
  color: #f4f1ed;
}
#zusje-widget #close-button:hover div svg {
  transform: scale(1.2);
}
#zusje-widget #close-button div {
  width: 1.75rem;
  background: #f4f1ed;
  border-radius: 50%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #13110c;
  transition: 0.1s linear;
}
#zusje-widget #close-button div svg {
  width: 12px;
  fill: currentColor;
  transition: 0.1s ease-in-out;
}

/***************************************
 * Step
 ***************************************/
.step {
  position: relative;
  background: #13110c;
  border: 1px solid rgba(203, 168, 89, 0.3);
  border-radius: 8px;
}
.step .errors ul {
  padding: 0;
  list-style: none;
  color: #e74c3c;
  text-align: center;
  line-height: 1.2;
  font-size: 0.9rem;
  text-wrap: balance;
}
.step .step-video,
.step .step-img {
  position: relative;
  margin-bottom: 0.25rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.step .step-video:after,
.step .step-img:after {
  position: absolute;
  inset: 33% 0 0;
  content: "";
  background: linear-gradient(0deg, #13110c 5%, rgba(19, 17, 12, 0) 100%);
}
.step .step-video video,
.step .step-video img,
.step .step-img video,
.step .step-img img {
  width: 100%;
  height: auto;
  border-radius: 7px 7px 0 0;
  -o-object-fit: cover;
  object-fit: cover;
}
.step .step-video img,
.step .step-img img {
  aspect-ratio: 16/9;
}
.step .step-video video,
.step .step-img video {
  aspect-ratio: 1;
  -o-object-position: 0 20%;
  object-position: 0 20%;
}
.step .step-body {
  padding: 0 2rem 2rem;
}
.step .step-body .step-indicator {
  --gap: 2rem;
  display: flex;
  gap: var(--gap);
  justify-content: center;
  margin-bottom: 1rem;
}
.step .step-body .step-indicator div {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 100%;
  background: #f4f1ed;
  align-self: center;
  position: relative;
}
.step .step-body .step-indicator div:not(:first-of-type):before {
  content: "";
  width: var(--gap);
  height: 1px;
  background: rgba(244, 241, 237, 0.5);
  position: absolute;
  right: 100%;
  top: 50%;
}
.step .step-body .step-indicator div:not(.active) {
  opacity: 0.25;
}
.step .btn {
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}
.step .btn[disabled] {
  background: transparent;
  color: #f4f1ed;
  pointer-events: none;
}
.step .btn.btn-link {
  color: #f4f1ed;
  text-decoration: underline;
  font-size: 0.9rem;
}
.step .btn.btn-link:hover {
  text-decoration: none;
  color: #cba859;
}
.step label.btn {
  margin: 0.5rem 0 0;
  position: relative;
}
.step label.btn input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 0px;
  height: 0px;
}
.step .form-control {
  border-radius: 5px !important;
}
.step .form-control#widget-phone-validation-code {
  width: 175px;
  text-align: center;
  letter-spacing: 0.5em;
  margin: 0 auto;
}
.step .step-label {
  font-family: "balkindbold";
  font-size: 21px;
  line-height: 1.3;
}
.step .step-label span {
  font-size: 14px;
  font-family: "Mukta";
  color: rgba(244, 241, 237, 0.5);
}
.step .form-group {
  margin-bottom: 1rem;
}
.step .form-group .step-label {
  margin-bottom: -0.2rem;
}
.step .form-group .phone-number {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.5rem;
}
.step .form-group #widget-reservation-zipcode {
  width: 100px;
}
.step .persons {
  display: grid;
  grid-template-columns: 1fr 55px 60px 55px;
}
.step .persons > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.3;
}
.step .persons > div span {
  font-size: 0.8rem;
}
.step .persons button {
  background: none;
  border: 0;
  color: #f4f1ed;
  outline: none;
}
.step .persons .form-control {
  text-align: center;
}
.step .persons .form-control::-webkit-inner-spin-button,
.step .persons .form-control::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
.step #persons-total {
  margin-top: 0.5rem;
}
.step #persons-total span {
  font-family: "balkindbold";
  font-size: 1.2em;
  color: #cba859;
  margin-left: 0.1em;
}
.step #widget-availability-response .success > div:first-of-type {
  min-height: 200px;
  position: relative;
  margin-bottom: 1rem;
}
.step #widget-availability-backend-validation .errors ul {
  color: unset;
  text-align: unset;
  line-height: unset;
  font-size: unset;
  text-wrap: unset;
}
.step #widget-availability-backend-validation .btn {
  margin-bottom: 1rem;
}
.step #widget-availability-backend-validation .errors ul,
.step .no-available-times,
.step #widget-availability-frontend-validation,
.step #widget-reservation-persons-validation {
  color: #cba859;
}
.step #widget-availability-backend-validation .errors ul .btn,
.step .no-available-times .btn,
.step #widget-availability-frontend-validation .btn,
.step #widget-reservation-persons-validation .btn {
  margin-top: 0.5rem;
  text-decoration: none !important;
}
.step #widget-availability-timeslots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin-top: -0.5rem;
}
.step #widget-availability-timeslots a {
  border-radius: 0.25rem;
  border: 1px solid rgba(203, 168, 89, 0.7);
  padding: 0.75rem 1rem;
  text-align: center;
  text-decoration: none !important;
  display: block;
  transition: 0.1s linear;
  color: #f4f1ed;
}
.step #widget-availability-timeslots a.active {
  background: #f4f1ed;
  border-color: #f4f1ed;
  color: #13110c;
  cursor: default;
}
.step #widget-availability-timeslots a:hover {
  border-color: #f4f1ed;
}
.step #widget-availability-loader,
.step #widget-availability-slots-loader {
  position: absolute;
  background: #13110c;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  flex-direction: column;
  gap: 1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: 0.2s linear;
}
.step #widget-availability-loader.d-none,
.step #widget-availability-slots-loader.d-none {
  display: flex !important;
  opacity: 0;
  pointer-events: none;
}
.step #widget-availability-loader img,
.step #widget-availability-slots-loader img {
  width: 2rem;
  aspect-ratio: 1;
  animation: widget-loader-animation 4s infinite linear;
}
@keyframes widget-loader-animation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(720deg);
  }
}
.step #widget-availability-loader div,
.step #widget-availability-slots-loader div {
  line-height: 1.3;
  text-align: center;
  font-size: 0.9rem;
}
.step #widget-availability-slots-loader {
  transition: none;
}
.step #widget-availability-countdown {
  font-size: 0.8rem;
  text-align: center;
  margin: 1rem 0 0;
}
.step #widget-reservation-response .step-body {
  position: relative;
  margin-top: -100px;
}
.step #overview-phone {
  text-wrap: nowrap;
}

.step #widget-reservation-submit {
  background: #cba859;
  border-color: #cba859;
}

.step #widget-reservation-submit:before {
  border: 2px solid #13110d;
}

.step #widget-reservation-submit:hover {
  border: 2px solid #cba859;
  background: #13110d !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

@supports not selector(::-webkit-calendar-picker-indicator) {
  input[type="date"] {
    color: #f4f1ed !important;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMjAgM2gtMVYxaC0ydjJIN1YxSDV2Mkg0Yy0xLjEgMC0yIC45LTIgMnYxNmMwIDEuMS45IDIgMiAyaDE2YzEuMSAwIDItLjkgMi0yVjVjMC0xLjEtLjktMi0yLTJ6bTAgMThINFY4aDE2djEzeiIvPjxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0wIDBoMjR2MjRIMHoiLz48L3N2Zz4=) !important;
    background-origin: content-box !important;
    background-repeat: no-repeat !important;
    background-size: 1rem !important;
    background-position: 97% 50% !important;
  }
}

#sms-message {
  padding: 0.75rem;
  border: 1px solid #ffffff10;
  line-height: 1.4;
  text-align: center;
  border-radius: 0.5rem;
}
