/* =========================================
   PAGINATION — PURPLE THEME (#7632aa)
   FORCE OVERRIDE (Asset Injector)
   ========================================= */

/* Wrapper spacing */
.pagination-wrapper {
  margin-top: 2rem !important;
}

/* Base page item */
.pagination-wrapper .page-item .page-link {
  color: #7632aa !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(118, 50, 170, 0.35) !important;
  margin: 0 4px !important;
  padding: 0.45rem 0.75rem !important;
  border-radius: 0.5rem !important;
  font-size: 0.9rem !important;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

/* Hover */
.pagination-wrapper .page-item .page-link:hover {
  background-color: rgba(118, 50, 170, 0.08) !important;
  color: #7632aa !important;
  border-color: #7632aa !important;
  text-decoration: none !important;
}

/* Active / current page */
.pagination-wrapper .pager__item.is-active .page-link,
.pagination-wrapper .pager__item.active .page-link {
  background-color: #7632aa !important;
  color: #ffffff !important;
  border-color: #7632aa !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 20px rgba(118, 50, 170, 0.28) !important;
}

/* Focus accessibility */
.pagination-wrapper .page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(118, 50, 170, 0.35) !important;
  outline: none !important;
}

/* Next / Last icon spacing */
.pagination-wrapper .pager__item--next .page-link,
.pagination-wrapper .pager__item--last .page-link {
  font-weight: 500 !important;
}

/* Disabled state (jika ada) */
.pagination-wrapper .page-item.disabled .page-link {
  color: #aaa !important;
  background-color: #f5f5f5 !important;
  border-color: #ddd !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
