body {
  overflow-x: hidden;
  background-color: #EBE7E4;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 90px 1fr 90px;
  height: 100svh;
  margin: 0;

  &:not(:has(#main-header)) .main-container {
    grid-row: 2;
    align-self: center;
  }
}
.xsmall {
  font-size: 0.75rem !important;
}

#searchSection {
  position: sticky;
  inset: -84px 0 auto;
  container-type: scroll-state;
  z-index: 10;
  background-color: #EBE7E4;

  & > .container {
    transition: translate 500ms ease;

    @container scroll-state(stuck: top) {
      padding-top: 1rem;
      padding-bottom: 1rem;
      background-color: #EBE7E4;
      padding-top: 0.5rem;
      padding-bottom: 1rem;
      translate: 0 84px;
      box-shadow: 0px 12px 10px -12px rgb(0 0 0 / 47%);
    }
  }
}

.main-container {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  flex-grow: 1;
  overflow-x: hidden;
  overflow-y: auto;
}

.loader {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  position: relative;
  animation: rotate 1s linear infinite;
}

.loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 5px solid #FFF;
  animation: prixClipFix 2s linear infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg)
  }
}

@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)
  }

  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)
  }

  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)
  }

  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)
  }

  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)
  }
}

button > input[type="checkbox"] {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

button:has(input[type="checkbox"]:checked) {
  background-color: color-mix(in srgb, var(--bs-primary), white 80%) !important;
  border-color: var(--bs-primary) !important;
  color: #000000 !important;
  transition: var(--transition-fast);
}

/*.btn {
  background: linear-gradient(135deg, #f97316 0%, #ec4899 100%) !important;
  border: none !important;
}*/
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #dbeafe;
  color: #1e40af;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}

#bottom-nav {
  position: relative !important;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bs-light);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
}

#bottom-nav a {
  color: var(--bs-dark);
}

.active {
  color: var(--bs-primary) !important;
}