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

.pn-booking-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
}

.pn-booking-modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  animation: modalopen 0.4s;
}

.pn-booking-modal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.pn-booking-modal .close:hover,
.pn-booking-modal .close:focus {
  color: black;
  text-decoration: none;
  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;
}

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

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

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

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

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

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

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

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

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

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

.pn-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);
  }
}

.pn-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;
}

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

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