/*
 * 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-nav {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.pagy-nav nav {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: white;
  border: 1px solid rgb(209 213 219);
  border-radius: 0.5rem;
  padding: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagy-nav a,
.pagy-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.pagy-nav a {
  color: rgb(55 65 81);
}

.pagy-nav a:hover {
  background: rgb(243 244 246);
  color: rgb(17 24 39);
}

.pagy-nav .active,
.pagy-nav [aria-current="page"] {
  background: rgb(37 99 235);
  color: white;
}

.pagy-nav .disabled,
.pagy-nav [aria-disabled="true"] {
  color: rgb(156 163 175);
  cursor: not-allowed;
}

.pagy-nav .gap {
  color: rgb(156 163 175);
  padding: 0 0.5rem;
}