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

@layer base {
  @font-face {
    font-family: "Inter";
    src: url(/fonts/Inter.ttf);
  }
  @font-face {
    font-family: "Poppins Medium";
    src: url(/fonts/Poppins-Medium.ttf);
  }
  @font-face {
    font-family: "Poppins Semibold";
    src: url(/fonts/Poppins-SemiBold.ttf);
  }
  @font-face {
    font-family: "Poppins Light";
    src: url(/fonts/Poppins-Light.ttf);
  }
}

.pagy {
  @apply flex space-x-1 font-semibold text-sm text-gray-500 my-4;
  a:not(.gap), .gap {
    @apply block rounded-lg px-3 py-1 bg-gray-200;
  }
  a:not(.gap) {
    &:hover {
      @apply bg-dark-grey;
    }
    &.current {
      @apply text-white bg-dark-grey;
    }
  }
  a:not([href]) { /* disabled links */
    @apply text-gray-300 bg-gray-100;
    &:hover {
      @apply bg-gray-100 cursor-default; /* Prevent hover effect on disabled links */
    }
  }
  .gap {
    @apply cursor-default;
  }
  label {
    @apply inline-block whitespace-nowrap bg-gray-200 rounded-lg px-3 py-0.5;
    input {
      @apply bg-gray-100 border border-gray-300 rounded-md px-2 py-1;
    }
  }
  a:not([href]) { /* disabled links */
    @apply text-dark-grey bg-light-grey;
    &:hover {
      @apply bg-light-grey; /* Prevent hover effect on disabled links */
    }
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
@import "font-awesome";
