/* Scroll hints on class schedule booking widget section */

body.lmyc-booking-page {
  scroll-behavior: smooth;
}

#lmyc-weekly-timetable,
#lmyc-class-guidelines {
  scroll-margin-top: calc(var(--header-height, 9rem) + 1.25rem);
}

.lmyc-booking-scroll-hints {
  display: flex;
  justify-content: center;
  margin: 0 0 1.5rem;
}

.lmyc-booking-scroll-hints--bottom {
  margin: 2rem 0 0;
}

.lmyc-booking-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #425936;
  background: rgba(247, 226, 197, 0.55);
  border: 2px solid rgba(66, 89, 54, 0.18);
  box-shadow: 0 4px 18px rgba(66, 89, 54, 0.08);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
  white-space: nowrap;
  max-width: 100%;
}

.lmyc-booking-scroll-hint:hover,
.lmyc-booking-scroll-hint:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(66, 89, 54, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66, 89, 54, 0.12);
  outline: none;
}

.lmyc-booking-scroll-hint--down {
  color: #6b4048;
  background: rgba(209, 142, 149, 0.14);
  border-color: rgba(209, 142, 149, 0.28);
}

.lmyc-booking-scroll-hint--down:hover,
.lmyc-booking-scroll-hint--down:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(209, 142, 149, 0.42);
}

.lmyc-booking-scroll-hint__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
  background: #425936;
  color: #fff;
  flex-shrink: 0;
  margin-left: 0.35rem;
  vertical-align: middle;
  animation: lmyc-booking-hint-bounce 2.2s ease-in-out infinite;
}

.lmyc-booking-scroll-hint--down .lmyc-booking-scroll-hint__arrow {
  background: #d18e95;
  animation-name: lmyc-booking-hint-bounce-down;
}

.lmyc-booking-scroll-hint__text {
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

@keyframes lmyc-booking-hint-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes lmyc-booking-hint-bounce-down {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@media screen and (max-width: 767px) {
  .lmyc-booking-scroll-hint {
    font-size: 0.98rem;
    padding: 0.7rem 1rem;
    gap: 0.45rem;
    white-space: normal;
  }

  .lmyc-booking-scroll-hint__text {
    white-space: nowrap;
    font-size: 0.92rem;
  }
}
