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

.r-btn-primary {
  @apply py-3 px-5 rounded-bl-3xl bg-primary-500 dark:bg-primary-800 dark:hover:bg-primary-900 text-white font-bold hover:bg-primary-400 cursor-pointer
}

.r-btn-red {
  @apply rounded-bl-3xl bg-red-500 text-white py-3 px-5 hover:bg-red-400 cursor-pointer
}

.r-btn-secondary {
  @apply py-3 px-5 rounded-bl-3xl bg-secondary-500 dark:bg-secondary-500 dark:hover:bg-secondary-700 text-primary-500 font-bold hover:bg-secondary-600 cursor-pointer
}

.r-card {
  @apply rounded-bl-3xl bg-white dark:bg-primary-700 dark:text-white relative after:border-secondary-500 dark:after:border-secondary-700 after:border-t-8 after:border-r-8 after:block after:absolute after:h-14 after:w-14 after:-top-2 after:-right-2 z-50 after:-z-10 mt-2 mr-2 shadow-lg
}

.r-form-field {
  @apply mt-1 block w-full px-3 py-2 bg-white border border-primary-300 rounded-md shadow-sm
  focus:outline-none focus:border-secondary-500 focus:ring-1 focus:ring-secondary-500
  disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none
  dark:bg-primary-800 dark:text-white;
}

.r-form-label {
  @apply block dark:text-white
}

.pagy {
  @apply flex space-x-1 font-semibold text-sm text-gray-500;
  a:not(.gap) {
    @apply block rounded-bl-3xl px-3 py-1 bg-secondary-500 dark:bg-secondary-500 text-primary-500 font-bold cursor-pointer;
    &:hover {
      @apply bg-secondary-600 dark:bg-secondary-700;
    }
    &:not([href]) { /* disabled links */
      @apply text-gray-300 bg-gray-100 cursor-default;
    }
    &.current {
      @apply text-white bg-gray-400;
    }
  }
  label {
    @apply inline-block whitespace-nowrap bg-gray-200 rounded-bl-3xl px-3 py-0.5;
    input {
      @apply bg-gray-100 border-none rounded-bl-3xl;
    }
  }
}
/*
 * 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.
 *


 */
