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

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

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

.pagy nav a[aria-current="page"],
.pagy nav span.current {
  background-color: #2563eb;
  color: white;
  border-color: #2563eb;
}

.pagy nav span.gap {
  border: none;
}

.pagy nav a[aria-disabled="true"],
.pagy nav span:not(.current):not(.gap) {
  color: #9ca3af;
  pointer-events: none;
}

body[data-privacy="on"] .redact {
  filter: blur(7px);
  transition: filter 180ms ease;
  user-select: none;
  pointer-events: none;
}
