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

/*= require replays */

/* Pagy pagination (bootstrap nav with Tailwind-like styles) */
.pagy-bootstrap.series-nav .pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 4px;
}

.pagy-bootstrap.series-nav .pagination .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: #fff;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.pagy-bootstrap.series-nav .pagination .page-item .page-link:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.pagy-bootstrap.series-nav .pagination .page-item.active .page-link {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.pagy-bootstrap.series-nav .pagination .page-item.disabled .page-link {
  color: #9ca3af;
  pointer-events: none;
  background-color: #f9fafb;
  border-color: #e5e7eb;
}

/* Ko-fi floating widget: force right side */
[class^="floatingchat-container"],
[class^="floating-chat-kofi-popup-iframe"] {
  left: auto !important;
  right: 16px !important;
}
