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

.pagy a, .pagy 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 oklch(var(--bc) / 0.2);
  background-color: oklch(var(--b1));
  color: oklch(var(--bc));
  transition: all 0.15s;
}

.pagy a:hover {
  background-color: oklch(var(--b2));
}

.pagy a.current, .pagy span.current {
  background-color: oklch(var(--p));
  color: oklch(var(--pc));
  border-color: oklch(var(--p));
}

.pagy span.gap {
  border: none;
  background: transparent;
}

.pagy a[aria-disabled="true"], .pagy span[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
