/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Pagination (Pagy) — Tailwind-flavored */
.pagy.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.pagy.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.375rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #475569;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  text-decoration: none;
}

.pagy.nav a[aria-disabled="true"] {
  color: #94a3b8;
  border-color: #e2e8f0;
  pointer-events: none;
}

.pagy.nav a:hover:not([aria-disabled="true"]):not(.current) {
  background-color: #f8fafc;
}

.pagy.nav a.current {
  background-color: #059669;
  border-color: #059669;
  color: #ffffff;
}

.pagy.nav a.gap {
  min-width: auto;
  padding: 0.375rem 0.25rem;
  border: 0;
  background-color: transparent;
}
