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

.pagy-nav .page a,
.pagy-nav .page.active,
.pagy-nav .page.disabled {
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s;
  display: inline-block;
}

.pagy-nav .page a {
  background-color: white;
  color: rgb(55 65 81);
  border: 1px solid rgb(209 213 219);
  text-decoration: none;
}

.pagy-nav .page a:hover {
  background-color: rgb(254 249 195);
  border-color: rgb(253 224 71);
  color: rgb(161 98 7);
}

.pagy-nav .page.active {
  background-color: rgb(234 179 8);
  color: white;
  border: 1px solid rgb(234 179 8);
  cursor: default;
}

.pagy-nav .page.disabled {
  background-color: rgb(243 244 246);
  color: rgb(156 163 175);
  border: 1px solid rgb(229 231 235);
  cursor: not-allowed;
}

.pagy-nav .page.prev.disabled,
.pagy-nav .page.next.disabled {
  background-color: rgb(243 244 246);
  color: rgb(156 163 175);
  border: 1px solid rgb(229 231 235);
}

.pagy-nav .page.gap {
  background-color: transparent;
  border: 0;
  color: rgb(107 114 128);
  cursor: default;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
