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

.pagy.series-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

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

/* Current page — primary button style (pill, black bg, white text) */
.pagy.series-nav a[aria-current="page"] {
  background: #000;
  color: #fff;
  border-color: #000;
  border-radius: 9999px;
  cursor: default;
}

/* Disabled prev/next */
.pagy.series-nav a[aria-disabled="true"]:not([aria-current="page"]):not([role="separator"]) {
  color: #d1d5db;
  border-color: #e5e7eb;
  cursor: default;
}

/* Gap/ellipsis */
.pagy.series-nav a[role="separator"] {
  border: none;
  color: #9ca3af;
  cursor: default;
  min-width: 1.5rem;
}
