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

.pagy nav.pagy a,
.pagy nav.pagy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-decoration: none;
  color: #374151;
  border: 1px solid #d1d5db;
  background: white;
}

.pagy nav.pagy a:hover {
  background: #f3f4f6;
}

.pagy nav.pagy a.current,
.pagy nav.pagy span.current {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.pagy nav.pagy span:not(.current) {
  color: #9ca3af;
  border-color: #e5e7eb;
}
