/* netplayer: Pagination styling applied across all screens (desktop/tablet/mobile)
   Placed inside plugin public assets per request. Reversible: delete this file and remove enqueue in class-ere-public.php to revert. */

.paging-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap; /* keep pagination on single line; allow overflow */
  gap: 8px;
  margin: 18px 0;
  overflow-x: auto; /* allow horizontal scroll instead of multiple lines on tiny viewports */
  -webkit-overflow-scrolling: touch;
}

.paging-navigation .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin: 0 6px;
  padding: 0 10px;
  border-radius: 50%;
  background: #f3f3f3;
  color: #222;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.paging-navigation .page-numbers.current,
.paging-navigation .page-numbers.current:hover {
  background: #0073aa;
  color: #fff;
  font-weight: 600;
}

.paging-navigation .page-numbers:hover {
  background: #006799;
  color: #fff;
}

/* Prev/Next as circular buttons with arrows (keep accessible text in markup) */
.paging-navigation .prev.page-numbers,
.paging-navigation .next.page-numbers {
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 0;
  position: relative;
  font-size: 0; /* hide textual label visually; arrows shown via pseudo */
}

.paging-navigation .prev.page-numbers::before,
.paging-navigation .next.page-numbers::after {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: #222;
}

.paging-navigation .prev.page-numbers::before { content: "\2190"; }
.paging-navigation .next.page-numbers::after  { content: "\2192"; }

.paging-navigation .prev.page-numbers:hover::before,
.paging-navigation .next.page-numbers:hover::after {
  color: #fff;
}

.paging-navigation .page-numbers:focus {
  outline: 2px solid #005177;
  outline-offset: 2px;
}

.paging-navigation .page-numbers.dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  height: 14px;
  margin: 0 6px;
  border-radius: 50%;
  background: transparent;
  color: #999;
  font-size: 10px;
}

/* Larger tappable targets on wide screens */
@media (min-width: 1200px) {
  .paging-navigation .page-numbers { min-width: 52px; height: 52px; font-size: 18px; }
  .paging-navigation .prev.page-numbers, .paging-navigation .next.page-numbers { min-width: 56px; height: 56px; }
}

