.calendar-guide {
  margin: 20px 0 4px;
  padding: 16px 18px;
  border: 1px solid rgba(50, 65, 88, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}
.calendar-guide > p {
  margin: 0 0 13px;
  color: #324158;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}
.calendar-guide > p strong {
  color: #ed5353;
  font-weight: 700;
}
.calendar-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.calendar-legend span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #324158;
  font-size: 10px;
  line-height: 1.25;
  text-align: center;
}
.calendar-legend i {
  width: 26px;
  height: 12px;
  display: block;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.calendar-legend .free,
.day--free { background: #42a9df; }
.calendar-legend .pending,
.day--pending { background: #ffc94f; }
.calendar-legend .booked,
.day--booked { background: #ff5c61; }
.calendar-legend .partial,
.day--partial { background: #22cf39; }
.day--free,
.day--booked,
.day--partial {
  color: #fff;
}
.day--pending {
  color: #324158;
}
.day--pending:disabled,
.day--booked:disabled,
.day--partial:disabled {
  opacity: 1;
  text-decoration: none;
}
.day.day--selected,
.day.day--range {
  background: rgb(0, 97, 153);
  color: #fff;
}
.day.day--range {
  background: rgb(0, 97, 153);
}
.booking-dialog .booking-steps .active,
.booking-dialog .button--dark {
  border-color: rgb(35, 137, 201);
  background: rgb(35, 137, 201);
  color: #fff;
}
.booking-dialog .day:hover:not(:disabled) {
  box-shadow: 0 0 0 2px rgb(35, 137, 201) inset;
}
.booking-form-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: rgb(35, 137, 201);
}
.booking-mobile-video {
  display: none;
}
.booking-place-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgb(35, 137, 201);
}
.booking-dialog .booking-intro {
  overflow-y: auto;
}
.booking-spot-details {
  display: grid;
  gap: 14px;
  margin: 0 0 14px;
  color: rgb(23, 49, 72);
}
.booking-spot-details p {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
}
.booking-capacity-warning {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-left: 4px solid rgb(35, 137, 201);
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.48;
}
.booking-capacity-warning strong {
  color: #b53b32;
  letter-spacing: 0.08em;
}
#booking-spot-label {
  font-weight: 700;
  color: rgb(23, 49, 72);
}
#anglers-capacity-note {
  color: rgb(23, 49, 72);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.booking-form .form-row {
  align-items: start;
}
.booking-form .form-row > label {
  align-self: start;
  align-content: start;
  width: 100%;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.booking-form .form-row input {
  width: 100%;
  height: 44px;
}
.booking-form .form-row small {
  white-space: normal;
}
.booking-form > .form-message {
  min-height: 0;
  margin: -3px 0 0;
  font-size: 18px;
  text-align: center;
  line-height: 1.5;
}
.booking-form > .form-message:empty {
  display: none;
}
.booking-form > .form-message.success {
  padding: 13px 15px;
  border: 1px solid rgba(35, 137, 201, 0.3);
  border-radius: 12px;
  background: rgb(224, 239, 246);
  color: rgb(23, 49, 72);
  font-weight: 700;
}
@media (min-width: 801px) {
  .booking-dialog .booking-layout {
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  }
}
@media (max-width: 800px) {
  .booking-form-video {
    display: none;
  }
  .booking-mobile-video {
    width: calc(100% + 40px);
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
    margin: 4px -20px 20px;
    background: rgb(35, 137, 201);
  }
  .booking-mobile-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
@media (max-width: 520px) {
  .calendar-guide {
    margin-top: 16px;
    padding: 13px 10px;
  }
  .calendar-guide > p {
    font-size: 11px;
  }
  .calendar-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 6px;
  }
  .calendar-legend span {
    flex-direction: row;
    justify-content: center;
    font-size: 10px;
  }
  .calendar-legend i {
    width: 20px;
    flex: 0 0 20px;
  }
}
html.booking-dialog-page-locked {
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.booking-dialog-page-locked {
  position: fixed;
  inset: var(--booking-dialog-scroll-y, 0) 0 auto;
  width: 100%;
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}
