/*
 * Shared table pagination
 * Matches the compact orchid pagination used by blocks.html.
 * Loaded after page-level CSS so every table page receives the same controls.
 */

body.site-shell .dataTables_wrapper .dataTables_paginate {
  padding-top: 9px;
}

body.site-shell .dataTables_wrapper .dataTables_paginate a.paginate_button,
body.site-shell .dataTables_wrapper .dataTables_paginate button.paginate_button {
  display: inline-block !important;
  min-width: 30px;
  height: auto !important;
  color: #8f2248 !important;
  background: #ffffff !important;
  border: 1px solid transparent !important;
  border-radius: 6px;
  box-shadow: none !important;
  padding: 4px 8px;
  margin-left: 2px;
  font-size: 0.72rem;
  line-height: 1.5;
  text-decoration: none !important;
}

body.site-shell .dataTables_wrapper .dataTables_paginate a.paginate_button:hover,
body.site-shell .dataTables_wrapper .dataTables_paginate button.paginate_button:hover {
  color: #8f2248 !important;
  background: #fff0f5 !important;
  border-color: #e8b4c8 !important;
  box-shadow: none !important;
}

body.site-shell .dataTables_wrapper .dataTables_paginate a.paginate_button.current,
body.site-shell .dataTables_wrapper .dataTables_paginate a.paginate_button.current:hover,
body.site-shell .dataTables_wrapper .dataTables_paginate button.paginate_button.current,
body.site-shell .dataTables_wrapper .dataTables_paginate button.paginate_button.current:hover {
  color: #ffffff !important;
  background: #8f2248 !important;
  border-color: #8f2248 !important;
  box-shadow: none !important;
}

body.site-shell .dataTables_wrapper .dataTables_paginate a.paginate_button.disabled,
body.site-shell .dataTables_wrapper .dataTables_paginate a.paginate_button.disabled:hover,
body.site-shell .dataTables_wrapper .dataTables_paginate button.paginate_button.disabled,
body.site-shell .dataTables_wrapper .dataTables_paginate button.paginate_button.disabled:hover {
  color: #c8b8bf !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* DataTables Bootstrap renderer and server-rendered Bootstrap pagination. */
body.site-shell .dataTables_wrapper .pagination,
body.site-shell table + .pagination,
body.site-shell .table-responsive + .pagination {
  gap: 0;
}

body.site-shell .dataTables_wrapper .pagination .page-item,
body.site-shell table + .pagination .page-item,
body.site-shell .table-responsive + .pagination .page-item {
  min-width: 0 !important;
  height: auto !important;
  margin: 0 0 0 2px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.site-shell .dataTables_wrapper .pagination .page-link,
body.site-shell table + .pagination .page-link,
body.site-shell .table-responsive + .pagination .page-link {
  display: inline-block !important;
  min-width: 30px !important;
  height: auto !important;
  color: #8f2248 !important;
  background: #ffffff !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  padding: 4px 8px !important;
  font-size: 0.72rem !important;
  line-height: 1.5 !important;
  text-align: center;
  text-decoration: none !important;
}

body.site-shell .dataTables_wrapper .pagination .page-item:not(.active):not(.disabled) .page-link:hover,
body.site-shell table + .pagination .page-item:not(.active):not(.disabled) .page-link:hover,
body.site-shell .table-responsive + .pagination .page-item:not(.active):not(.disabled) .page-link:hover {
  color: #8f2248 !important;
  background: #fff0f5 !important;
  border-color: #e8b4c8 !important;
  box-shadow: none !important;
}

body.site-shell .dataTables_wrapper .pagination .page-item.active .page-link,
body.site-shell table + .pagination .page-item.active .page-link,
body.site-shell .table-responsive + .pagination .page-item.active .page-link {
  color: #ffffff !important;
  background: #8f2248 !important;
  border-color: #8f2248 !important;
  box-shadow: none !important;
}

body.site-shell .dataTables_wrapper .pagination .page-item.disabled .page-link,
body.site-shell table + .pagination .page-item.disabled .page-link,
body.site-shell .table-responsive + .pagination .page-item.disabled .page-link {
  color: #c8b8bf !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
