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

/* Pagy Pagination */
.pagy.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pagy.nav a {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: white;
  color: #374151;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagy.nav a:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

.pagy.nav a.current,
.pagy.nav [role="link"][aria-current="page"] {
  background-color: #dc2626;
  color: white;
  border-color: #dc2626;
  font-weight: bold;
  cursor: default;
}

.pagy.nav a.current:hover,
.pagy.nav [role="link"][aria-current="page"]:hover {
  background-color: #b91c1c;
}
