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

/*

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

*/
/*
 * 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.
 *


 */

/* Hide the dropdown menu by default */
#options-menu-0-button + div {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity 75ms ease-in, transform 75ms ease-in;
}

/* Show the dropdown menu when the button is focused */
#options-menu-0-button:focus + div,
#options-menu-0-button + div:focus-within {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination em {
  display: block;
  padding: 0.5em 1em;
  margin: 0 0.25em;
  border-radius: 0.25em;
  background-color: #df1b21;
  color: white;
}

.pagination a {
  display: block;
  padding: 0.5em 1em;
  margin: 0 0.25em;
  border-radius: 0.25em;
  background-color: #eee;
  text-decoration: none;
}

.pagination a:hover {
  background-color: #ccc;
}

.pagination .next_page {
  content: "Next";
}

.pagination .previous_page {
  content: "Previous";
}

.pagination .disabled {
  pointer-events: none;
  opacity: 0.5;
  padding: 0.5em 1em;
  margin: 0 0.25em;
  border-radius: 0.25em;
  background-color: #eee;
}
