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

@layer components {
  .pagy {
    @apply flex space-x-1 font-semibold text-sm text-gray-500;
  }

  .pagy a {
    @apply block rounded-lg px-3 py-1 bg-gray-200;
  }

  .pagy a:hover {
    @apply bg-gray-300;
  }

  .pagy a:not([href]) {
    @apply text-gray-300 bg-gray-100 cursor-default;
  }

  .pagy a.current {
    @apply text-white bg-gray-400;
  }

  .pagy label {
    @apply inline-block whitespace-nowrap bg-gray-200 rounded-lg px-3 py-0.5;
  }

  .pagy label input {
    @apply bg-gray-100 border-none rounded-md;
  }
}


.table-default {
  @apply w-full whitespace-nowrap;
}

.table-default thead tr {
  @apply h-20 w-full text-sm leading-none text-gray-600;
}

.table-default thead tr th {
  @apply focus:outline-none font-normal text-left ;
}

.table-default tbody {
  @apply w-full;
}

.table-default tbody tr {
  @apply h-20 text-sm leading-none text-gray-700 border-b border-t border-gray-200 bg-white hover:bg-gray-100;
}

.table-default tbody td {
  @apply pl-10;
}

.table-default tbody td:first-child {
  @apply pl-4;
}

.table-default .btn {
  @apply focus:ring-2 focus:ring-offset-2 focus:ring-indigo-600 focus:outline-none bg-gray-100 mr-5 hover:bg-gray-200 py-2.5 px-5 rounded text-sm leading-3 text-gray-600;
}