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

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

/***************************************
 * Button
 ***************************************/
#zusje-widget-btn {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 1079;
  background: var(--zw-light) !important;
  color: var(--zw-dark) !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;
  /* Below the cookie banner (otherwise guests can book without a consent choice), above the
     rest of the site (which stays below 1070). */
  z-index: 1080;
  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));
}
/* Attention pulse for when the widget is already open (see widget.js): draws the
   eye to the panel so clicking "Reserveren" never feels like a dead click. */
#zusje-widget.widget-attention {
  animation: zusje-widget-attention 0.45s ease-in-out;
}
@keyframes zusje-widget-attention {
  0%,
  100% {
    transform: none;
  }
  35% {
    transform: scale(1.04);
  }
  70% {
    transform: scale(0.99);
  }
}
@media (prefers-reduced-motion: reduce) {
  #zusje-widget.widget-attention {
    animation: none;
  }
}
@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
  ) {
  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: var(--zw-dark);
  color: var(--zw-light);
}
#zusje-widget #close-button:hover div svg {
  transform: scale(1.2);
}
#zusje-widget #close-button div {
  width: 1.75rem;
  background: var(--zw-light);
  border-radius: 50%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--zw-dark);
  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: var(--zw-dark);
  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;
}
/* Several messages read as separate lines, not one paragraph. */
.step .errors ul li + li {
  margin-top: 0.5rem;
}
.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, var(--zw-dark) 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: var(--zw-light);
  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: var(--zw-light);
  pointer-events: none;
}
.step .btn.btn-link {
  color: var(--zw-light);
  text-decoration: underline;
  font-size: 0.9rem;
}
.step .btn.btn-link:hover {
  text-decoration: none;
  color: var(--zw-accent);
}
/* Resend button during the wait: visibly inactive, digits that don't jump while counting. */
#widget-phone-validation-validate-form-resent-sms[disabled] {
  opacity: 0.5;
  text-decoration: none;
}
.widget-resend-countdown {
  font-variant-numeric: tabular-nums;
}
.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: var(--zw-font-heading);
  font-size: 21px;
  line-height: 1.3;
}
.step .step-label span {
  font-size: 14px;
  font-family: var(--zw-font-body);
  color: rgba(244, 241, 237, 0.5);
}
.step .form-group {
  margin-bottom: 1rem;
}
.step .step-sub-label {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.4 !important;
}
.step .form-group .step-label {
  margin-bottom: var(--zw-label-gap);
}
.step .form-group .phone-number {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.5rem;
}
.step .form-group #widget-reservation-zipcode {
  width: 100px;
}
.step .form-group-checkbox .step-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0;
  font-family: var(--zw-font-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--zw-light);
  cursor: pointer;
}
.step .form-group-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  background: transparent;
  border: 2px solid var(--zw-accent);
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.step .form-group-checkbox input[type="checkbox"]::after {
  content: "";
  display: block;
  width: 6px;
  height: 11px;
  margin: 3px auto 0;
  border: solid var(--zw-dark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}
.step .form-group-checkbox input[type="checkbox"]:checked {
  background: var(--zw-accent);
  border-color: var(--zw-accent);
}
.step .form-group-checkbox input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}
.step .form-group-checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--zw-accent);
  outline-offset: 2px;
}
.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: var(--zw-light);
  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: var(--zw-font-heading);
  font-size: 1.2em;
  color: var(--zw-accent);
  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: var(--zw-accent);
}
.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 .no-available-times .widget-choose-other-date {
  text-decoration: underline !important;
}
.step .no-available-times .widget-alternatives-list a {
  color: white;
}
.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: var(--zw-light);
}
.step #widget-availability-timeslots a.active {
  background: var(--zw-light);
  border-color: var(--zw-light);
  color: var(--zw-dark);
  cursor: default;
}
.step #widget-availability-timeslots a:hover {
  border-color: var(--zw-light);
}
.step #widget-availability-loader,
.step #widget-availability-slots-loader {
  position: absolute;
  background: var(--zw-dark);
  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: var(--zw-accent);
  border-color: var(--zw-accent);
}

.step #widget-reservation-submit:before {
  border: 2px solid var(--zw-dark);
}

.step #widget-reservation-submit:hover {
  border: 2px solid var(--zw-accent);
  background: var(--zw-dark) !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: var(--zw-light) !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;
}

/* Honeypot field. Moved off-screen rather than display:none: bots in a real browser often
   skip hidden fields. */
.widget-extra-field {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Turnstile container: empty until Cloudflare needs interaction (appearance: interaction-only). */
.widget-turnstile:not(:empty) {
  margin-bottom: 1rem;
}

/* Hint on the SMS step for guests who receive no code: explanation, not a warning. */
.widget-phone-validation-hint {
  margin: 0.5rem 0 0.75rem;
  color: rgba(244, 241, 237, 0.5);
  font-size: 0.85rem;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

/* Probably too short phone number: a hint in gold, not an error colour, as the guest can continue. */
.widget-phone-warning {
  margin: 0.35rem 0 0;
  color: var(--zw-accent);
  font-size: 0.85rem;
  line-height: 1.3;
  text-wrap: balance;
}
.widget-phone-warning strong {
  white-space: nowrap;
}

/* Notice under the date field (Christmas surcharge). Gold-tinted panel in the same
   border language as .step -- information the guest must see, not a rejection: booking
   still works. The sentence stays in body colour and only the link is gold, so the eye
   lands on the way out to the Christmas page. */
.widget-date-notice,
.widget-phone-call {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(203, 168, 89, 0.3);
  border-radius: 8px;
  background: rgba(203, 168, 89, 0.1);
  color: var(--zw-light);
  font-size: 0.9rem;
  line-height: 1.4;
  text-wrap: pretty;
}
.widget-date-notice p {
  margin: 0;
}

/* Same panel as the date notice, with the call button underneath. */
.widget-phone-call p {
  margin: 0 0 0.75rem;
}
.widget-phone-call p span {
  display: block;
  margin-top: 0.35rem;
}
.widget-phone-call .btn {
  width: 100%;
}
/* In the overview step the notice sits directly above the confirm button. */
.widget-date-notice:has(+ .btn) {
  margin-bottom: 1rem;
}
/* Underline sits on .label, not on the anchor: text-decoration propagates to children
   and cannot be cancelled there, which would drag the arrow under the same line. */
.widget-date-notice a {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--zw-accent);
  text-decoration: none !important;
}
.widget-date-notice a:hover {
  color: var(--zw-light);
}
.widget-date-notice a .label {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.widget-date-notice a:hover .label {
  text-decoration: none;
}
.widget-date-notice a .arrow {
  display: inline-block;
  margin-left: 0.35rem;
  transition: 0.1s linear;
}
.widget-date-notice a:hover .arrow {
  transform: translateX(0.2rem);
}
