@tailwind base;
@tailwind components;
@tailwind utilities;

.pagy {
  @apply flex space-x-1 font-semibold text-xl text-gray-500;
  a:not(.gap) {
    @apply block rounded-lg px-3 py-1 bg-white;
    &:hover {
      @apply bg-gray-300;
    }
    &:not([href]) { /* disabled links */
      @apply text-gray-300 bg-gray-100 cursor-default;
    }
    &.current {
      @apply text-white bg-primary;
    }
  }
  label {
    @apply inline-block whitespace-nowrap bg-gray-200 rounded-lg px-3 py-0.5;
    input {
      @apply bg-gray-100 border-none rounded-md;
    }
  }
}

.chips {
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

.listings {
  opacity: 0;
  animation: fadeIn 0.75s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

dialog::backdrop {
  backdrop-filter: blur(10px);
}

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
