/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.pnb-booking-important {
  background-color: #fee2e2;
  border: 1px solid #f87171;
  color: #b91c1c;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  position: relative;
}


.pnb-booking-important span {
  text-decoration: underline;
}

.pnb-booking-important:hover span {
  cursor: pointer;
}

.pn-error-container {
  background-color: #fee2e2;
  border: 1px solid #f87171;
  color: #b91c1c;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  position: relative;
}

.pn-font-bold {
  font-weight: bold;
}

.pn-block {
  display: block;
  @media (min-width: 768px) {
    display: inline-block;
  }
}

.pn-lg-only {
  @media (max-width: 768px) {
    display: none;
  }
}

.pn-only-admin {
  font-size: 14px;
  opacity: 0.5;
}

.pnb-booking-date,
.pnb-booking-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pnb-booking-date p {
  font-size: 16px;
  font-weight: 800;
}

.pnb-booking-location p {
  font-size: 20px;
  font-weight: 800;
}

.pnb-booking-form-container {
  background: #8a8992;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pnb-booking-form-container input,
select {
  min-height: 47px;
  border-radius: 0.25rem;
  padding: 6px 16px;
  font-size: 1rem;
}

.pnb-booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pnb-booking-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pnb-booking-form-container button {
  background: #be8c89;
  min-height: 47px;
  text-transform: uppercase;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.pnb-booking-error-container {
  background-color: #fee2e2;
  border: 1px solid #f87171;
  color: #b91c1c;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  position: relative;
  display: none;
}

.pnb-booking-success-container {
  background-color: #f3faf7;
  border: 1px solid #03543f;
  color: #03543f;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  position: relative;
  display: none;
}

.pnb-booking-loader {
  width: 25px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid;
  animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
  display: none;
}
@keyframes l20-1 {
  0% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
  }
  12.5% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      100% 0%,
      100% 0%
    );
  }
  25% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 100%,
      100% 100%,
      100% 100%
    );
  }
  50% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }
  62.5% {
    clip-path: polygon(
      50% 50%,
      100% 0,
      100% 0%,
      100% 0%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }
  75% {
    clip-path: polygon(
      50% 50%,
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }
  100% {
    clip-path: polygon(
      50% 50%,
      50% 100%,
      50% 100%,
      50% 100%,
      50% 100%,
      50% 100%,
      0% 100%
    );
  }
}
@keyframes l20-2 {
  0% {
    transform: scaleY(1) rotate(0deg);
  }
  49.99% {
    transform: scaleY(1) rotate(135deg);
  }
  50% {
    transform: scaleY(-1) rotate(0deg);
  }
  100% {
    transform: scaleY(-1) rotate(-135deg);
  }
}

.pnb-booking-container .step2 {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.flatpickr-months {
  margin-bottom: 1rem;
}

.flatpickr-monthDropdown-months {
  min-height: auto;
}

#pnb-booking-appointement-submit {
  display: none;
}

#pnb-booking-appointement-submit {
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
