/*
 * 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 styling — uses theme tokens for dark/light support */
nav.series-nav {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

nav.series-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
}

nav.series-nav a:hover:not([aria-disabled="true"]) {
  background-color: var(--color-surface-hover);
  color: var(--color-text);
  border-color: var(--color-text-tertiary);
}

nav.series-nav a[aria-current="page"] {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  cursor: default;
}

nav.series-nav a[aria-disabled="true"]:not([aria-current="page"]) {
  color: var(--color-text-tertiary);
  cursor: default;
}

nav.series-nav a[role="separator"] {
  border-color: transparent;
  background-color: transparent;
  cursor: default;
}
