/*
 * 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.
 */

@import "kaminari";

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.pagination .page {
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination .page:hover {
  background-color: #f3f4f6;
}

.pagination .current {
  background-color: #2563eb;
  color: white;
  border-color: #2563eb;
}

.pagination .disabled {
  color: #9ca3af;
  pointer-events: none;
}

.pagination .prev,
.pagination .next {
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination .prev:hover,
.pagination .next:hover {
  background-color: #f3f4f6;
}
