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

/*

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

*/

/* @import "~tailwindcss/base"; */

/* text-white hover:bg-purple-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium */

.nav-current {
  text-decoration: underline;
  text-decoration-thickness: 0.2rem;
  text-underline-offset: 0.3rem;
}

.underline-links a {
  text-decoration: underline;
  color: #a855f7;
}

/* PAGY START */
/* 
   Add the following markup AFTER your import statements
   Notice: this style contains only the rules for pagy-nav
*/
.pagy {
  display: flex;
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 2rem;
  font-weight: 600;
  color: #6b7280;
}

.pagy> :not([hidden])~ :not([hidden]) {
  --space-reverse: 0;
  margin-right: calc(0.25rem * var(--space-reverse));
  margin-left: calc(0.25rem * calc(1 - var(--space-reverse)));
}

.pagy a:not(.gap) {
  display: block;
  text-decoration: none;
  border-radius: 0.25rem;
  background-color: #e5e7eb;
  padding: 0.25rem 0.75rem;
  color: inherit;
  padding-left: 1rem;
  padding-right: 1rem;
}

.pagy a:not(.gap):hover {
  background-color: #d1d5db;
}

.pagy a:not(.gap):not([href]) {
  /* disabled links */
  cursor: default;
  background-color: #f3f4f6;
  color: #d1d5db;
  padding-left: 1rem;
  padding-right: 1rem;
}

.pagy a:not(.gap).current {
  background-color: #a855f7;
  color: white;
}

.pagy label {
  white-space: nowrap;
  display: inline-block;
  border-radius: 0.25rem;
  background-color: #e5e7eb;
  padding: 0.25rem 0.75rem;

}

.pagy label input {
  line-height: 2rem;
  border-radius: 0.375rem;
  background-color: #f3f4f6;
}

/* PAGY END */

ul {
  list-style-type: disc;
}

ul a,
p a {
  color: #a855f7;
  text-decoration: underline;
}

details {
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
}

summary {
  list-style-type: '😺 ';
} 

details[open] > summary {
  list-style-type: '😸 ';
}
/*
 * 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.
 *


 */
