.pa-book {
  --pa-primary: #17b3e4;
  --pa-text: #2d2a31;
  --pa-muted: #767481;
  --pa-title: #9a9aa3;
  --pa-border: #d5d4d6;
  --pa-disabled: #d5d4d6;
  --pa-white: #fff;
  --pa-font: "Lato", sans-serif;
  box-sizing: border-box;
  max-width: 628px;
  margin: 0 auto;
  width: 95%;
  padding: 0 0 40px;
  font-family: var(--pa-font);
  color: var(--pa-text);
}

.pa-book[data-pa-book-call] {
  background: var(--pa-white);
  border: 1px solid #dce6ec;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 32px 20px 40px;
}

.pa-book *,
.pa-book *::before,
.pa-book *::after {
  box-sizing: border-box;
}

.pa-book__title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  color: var(--pa-title);
  text-align: center;
}

.pa-book__lede {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--pa-text);
  text-align: center;
}

.pa-book__confirmed {
  padding: 8px 0 24px;
}

.pa-book__confirmed-card {
  background: var(--pa-white);
  border-radius: 8px;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #dce6ec;
}

.pa-book__check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e3f6e8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.pa-book__check span {
  color: #2e9e4c;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.pa-book__confirmed-title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
  color: #1c2b3a;
  line-height: 1.25;
}

.pa-book__confirmed-lede {
  color: #667;
/*   max-width: 420px; */
  margin: 0 auto 28px;
  font-size: 15px;
  line-height: 1.7;
}
button.pa-dates__arrow:not(:disabled):hover {
    color: #17b3e4;
}

.pa-book__details {
  border: 1px solid #dce6ec;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: left;
}

.pa-book__details-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.pa-book__details-row:last-child {
  margin-bottom: 0;
}

.pa-book__details-icon {
  font-size: 18px;
  color: var(--pa-primary);
  line-height: 1.2;
  flex-shrink: 0;
}

.pa-book__details-label {
  font-size: 12px;
  color: #99a;
  margin-bottom: 2px;
}

.pa-book__details-value {
  font-size: 15px;
  font-weight: 700;
  color: #1c2b3a;
}

.pa-book__actions {
/*   display: flex; */
  display: none;
  gap: 12px;
  margin-bottom: 28px;
}

.pa-book__action-btn {
  flex: 1;
  border: 1px solid #dce6ec;
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #1c2b3a;
  background: var(--pa-white);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: block;
}

.pa-book__action-btn:hover {
  border-color: var(--pa-primary);
  color: var(--pa-primary);
}

.pa-book__action-btn.is-disabled {
  pointer-events: none;
  opacity: 0.45;
  cursor: default;
}

.pa-book__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f9fc;
  border: 1px solid #dce6ec;
  border-radius: 6px;
  padding: 16px 8px;
}

.pa-book__trust-item {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}

.pa-book__trust-divider {
  width: 1px;
  align-self: stretch;
  background: #dce6ec;
  flex-shrink: 0;
}

.pa-book__trust-label {
  font-size: 13px;
  font-weight: 600;
  color: #1c2b3a;
  margin-bottom: 6px;
}

.pa-book__trust-stars {
  font-size: 14px;
  font-weight: 700;
  color: #f4b400;
}

.pa-book__trust-stat {
  font-size: 19px;
  font-weight: 700;
  color: #1c2b3a;
}

.pa-book__trust-stat-label {
  font-size: 12px;
  color: #667;
}

@media (max-width: 640px) {
  .pa-book__confirmed-card {
    padding: 28px 18px 22px;
  }

  .pa-book__confirmed-title {
    font-size: 22px;
  }

  .pa-book__actions {
    flex-direction: column;
  }
}

.pa-book__confirmed-empty {
  text-align: center;
  padding: 32px 16px;
}

.pa-book__confirmed-empty-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pa-muted);
}

.pa-dates {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.pa-dates__arrow {
  border: 0;
  background: transparent;
  color: #c5c5c8;
  font-size: 100px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  flex: 0 0 56px;
  width: 56px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
/*   margin-top: 10px; */
}

.pa-dates__arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.pa-dates__track {
  display: flex;
  overflow: hidden;
  width: 455px;
  flex: 0 0 455px;
}

@media (max-width: 640px) {
  .pa-dates__arrow {
    font-size: 72px;
    flex-basis: 40px;
    width: 40px;
    height: 72px;
  }

  .pa-dates__track {
    width: 270px;
    flex-basis: 270px;
  }
}

.pa-dates__inner {
  display: flex;
  transition: transform 0.25s ease;
}

.pa-date {
  position: relative;
  margin: 10px;
  width: 72px;
  flex: 0 0 72px;
}

.pa-date input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 1;
}

.pa-date__box {
  position: relative;
  z-index: 2;
  display: grid;
  text-align: center;
  cursor: pointer;
  color: var(--pa-text);
  padding: 10px 8px;
  border-radius: 4px;
  border: 1px solid var(--pa-border);
  box-shadow: 0 0 0 1px var(--pa-border);
  background: var(--pa-white);
  line-height: 1.3;
  min-height: 72px;
  align-content: center;
}

.pa-date__num,
.pa-date__dow {
  display: block;
}

.pa-date input:checked + .pa-date__box {
  color: var(--pa-white);
  background: var(--pa-primary);
  border-color: var(--pa-primary);
  box-shadow: 0 0 0 1px var(--pa-primary);
}

.pa-date.is-hovered input:not(:checked) + .pa-date__box {
  border-color: var(--pa-primary);
  box-shadow: 0 0 0 1px var(--pa-primary);
  color: var(--pa-primary);
}

.pa-date.is-hovered input:checked + .pa-date__box {
  color: var(--pa-white);
  box-shadow: 0 0 0 1px var(--pa-primary), 4px 2px 20px 0 rgba(23, 179, 228, 0.35);
}

.pa-tz {
  padding: 8px;
  margin-top: 8px;
}

.pa-tz label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
}

.pa-tz select {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 12px;
  border: 1px solid var(--pa-border);
  border-radius: 4px;
  color: var(--pa-primary);
  background-color: var(--pa-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2317b3e4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.pa-slots {
  display: flex;
  flex-wrap: wrap;
  margin: 8px 0 0;
  padding: 0;
}

.pa-slot {
  position: relative;
  width: 25%;
  padding: 5px;
  text-align: center;
  margin: 0;
}

@media (max-width: 640px) {
  .pa-slot {
    width: 50%;
  }
}

.pa-slot input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 1;
}

.pa-slot__box {
  position: relative;
  z-index: 2;
  display: block;
  cursor: pointer;
  color: var(--pa-text);
  padding: 10px 8px;
  border-radius: 4px;
  border: 1px solid var(--pa-border);
  box-shadow: 0 0 0 1px var(--pa-border);
  background: var(--pa-white);
  line-height: 24px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 640px) {
  .pa-slot__box {
    width: 95%;
  }
}

.pa-slot input:checked + .pa-slot__box {
  color: var(--pa-white);
  background: var(--pa-primary);
  border-color: var(--pa-primary);
  box-shadow: 0 0 0 1px var(--pa-primary);
}

.pa-slot.is-hovered input:not(:checked) + .pa-slot__box {
  border-color: var(--pa-primary);
  box-shadow: 0 0 0 1px var(--pa-primary);
  color: var(--pa-primary);
}

.pa-slot.is-hovered input:checked + .pa-slot__box {
  color: var(--pa-white);
  box-shadow: 0 0 0 1px var(--pa-primary), 4px 2px 20px 0 rgba(23, 179, 228, 0.35);
}

.pa-error {
  display: none;
  color: #d81671;
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
}

.pa-error.is-on {
  display: block;
}

.pa-loader {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--pa-muted);
}

.pa-loader.is-on {
  display: block;
}

.pa-cta {
  text-align: center;
  margin-top: 24px;
}

.pa-book .loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #17b2e4;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: pa-book-spin 2s linear infinite;
  display: flex;
  margin: 5px auto;
}

@keyframes pa-book-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.pa-btn {
  font-size: 16px;
  font-weight: 700;
  padding: 14px 25px;
  border-radius: 3px;
  text-transform: uppercase;
  line-height: 16px;
  border: 0;
  cursor: pointer;
  background: var(--pa-primary);
  color: var(--pa-white);
  min-width: 220px;
}

.pa-btn:hover {
  box-shadow: 4px 2px 35px 0 #17b3e4;
}

.pa-btn:disabled {
  background: var(--pa-disabled);
  box-shadow: none;
  cursor: default;
}
