/* Admin pagination (same look as panchtatv admin): info on the left, page links on the right */
.pt-pager { display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:14px 6px 4px; }
.pt-pager-info { font-size:13px; color:#6c757d; white-space:nowrap; }
.pt-pager-info strong { color:#34395e; }
.pt-pager-nav { margin-left:auto; }
.pt-pages { display:flex !important; flex-direction:row; align-items:center; gap:4px; list-style:none; margin:0 !important; padding:0; }
.pt-pages .page-item { display:block; margin:0; }
.pt-pages .page-link { min-width:34px; height:34px; padding:0 8px; display:flex; align-items:center; justify-content:center;
    border:1px solid #dee2e6; border-radius:8px !important; background:#fff; color:#6777ef; font-weight:600; font-size:13px; line-height:1; text-decoration:none; transition:all .15s; }
.pt-pages .page-link:hover { background:#eef0fd; border-color:#c3c9f7; color:#6777ef; }
.pt-pages .page-item.active .page-link { background:#6777ef; border-color:#6777ef; color:#fff; box-shadow:0 6px 14px -6px rgba(103,119,239,.7); pointer-events:none; }
.pt-pages .page-item.disabled .page-link { opacity:.45; pointer-events:none; background:#fff; color:#6c757d; }
@media (max-width:576px){ .pt-pager { flex-direction:column; align-items:flex-start; gap:.5rem; } .pt-pager-info { white-space:normal; } .pt-pages { flex-wrap:wrap; } }

/* Toolbar above list tables: Export Excel (left) + live search (right) */
.list-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 14px; flex-wrap:wrap; }
.btn-export { display:inline-flex !important; align-items:center; gap:8px; height:38px; padding:0 16px !important; border-radius:8px;
    background:#1e7e45; color:#fff !important; font-size:13px !important; font-weight:600; line-height:1; text-decoration:none !important;
    box-shadow:0 4px 10px -4px rgba(30,126,69,.6); transition:background .15s; white-space:nowrap; }
.btn-export:hover { background:#17643a; }
.btn-export i { font-size:15px; }
.btn-export.is-loading { opacity:.7; pointer-events:none; }

/* Live search box */
.live-search { position:relative; width:100%; max-width:360px; margin:0 0 14px auto; }
.list-toolbar .live-search { margin:0 0 0 auto; }
.live-search > i.fa-search { position:absolute; left:14px; top:50%; transform:translateY(-50%); width:16px; text-align:center; color:#98a6ad; font-size:14px; line-height:1; pointer-events:none; z-index:3; }
/* theme rule ".form-control:not(.form-control-sm):not(.form-control-lg)" sets padding 15px - beat it */
/* icon sits in the first 40px; the text starts after it with a clear gap.
   Selector is stronger than the theme's ".form-control:not(.form-control-sm):not(.form-control-lg)". */
.live-search > input.form-control[data-live-search],
.live-search > input.form-control[data-live-search]:not(.form-control-sm):not(.form-control-lg) {
    padding:0 40px 0 14px !important; height:40px !important; border-radius:8px; font-size:14px !important; text-indent:0 !important; }
.live-search > input[data-live-search]::placeholder { color:#a3acb4; }
.live-search-spinner { position:absolute; right:12px; top:50%; width:16px; height:16px; margin-top:-8px; border:2px solid #c3c9f7; border-top-color:#6777ef; border-radius:50%; display:none; animation:ls-spin .7s linear infinite; }
.live-search.is-loading .live-search-spinner { display:block; }
#live-list { transition:opacity .15s; }
#live-list.is-loading { opacity:.5; pointer-events:none; }
@keyframes ls-spin { to { transform:rotate(360deg); } }
@media (max-width:576px){ .live-search { max-width:none; } .list-toolbar .live-search { margin:0; } }
