@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Next:ital,wght@0,200..800;1,200..800&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --font-prompt: "Prompt", sans-serif;
}

.font-prompt {
  font-family: var(--font-prompt);
}

.custom-swiper .swiper-slide {
  transition: transform 0.3s ease, filter 0.3s ease !important;
  transform: scale(0.8) !important;
}

.custom-swiper .swiper-slide:not(.swiper-slide-active) {
  transform: scale(0.8) !important;
  z-index: 10;
  filter: grayscale(0) brightness(100%) !important;
  height: auto;
}

.custom-swiper .swiper-slide.swiper-slide-active {
  transform: scale(1) !important;
  z-index: 10;
  filter: grayscale(0) brightness(100%) !important;
  height: auto;
}

.swiper-pagination-bullet-active {
  --swiper-pagination-color: #0056a9 !important;
}

.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after {
  color: #0056a9;
  font-size: 150%;
  font-weight: bold;
}

@media (max-width: 639px) {

  .swiper .swiper-button-next,
  .swiper .swiper-button-prev {
    display: none;
  }
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.space-y-4> :last-child {
  margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
}

.custom-swiper {
  transition: opacity 1s ease-in-out;
}

/* For IE, Edge and Firefox */
.scrollbar-hide {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

[type="search"]::-webkit-search-decoration,
[type="search"]::-webkit-search-cancel-button {
  appearance: none;
}

.pika-button:hover,
.pika-row.pick-whole-week:hover .pika-button {
  color: #fff;
  background: #0056a9 !important;
  box-shadow: none;
  border-radius: 3px;
}

.autocomplete {
  width: 100%;
  position: relative;
}

ul.list-group {
  position: absolute;
  width: 40%;
  background-color: white;
  z-index: 100;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.rounded-underline::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background-color: #2C1AA1;
  border-radius: 9999px;
  margin-top: 4px;
}

.navbar-hidden {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.navbar-visible {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.menu {
  --menu-active-bg: none;
  --menu-active-fg: #2C1AA1;
}

.menu :where(li:not(.menu-title, .disabled) > :not(ul, details, .menu-title):not(.menu-active, :active, .btn):hover,
            li:not(.menu-title, .disabled) > details > summary:not(.menu-title):not(.menu-active, :active, .btn):hover) {
  background: none !important;
}
