/*
 * 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.series-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagy.series-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
  color: #374151;
  text-decoration: none;
}

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

.pagy.series-nav a[aria-current="page"] {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #fff;
  font-weight: 500;
}

.pagy.series-nav a[aria-disabled="true"] {
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: default;
}

.pagy.series-nav a[role="separator"] {
  border: none;
  min-width: auto;
  padding: 0.25rem 0.25rem;
}
