/* Associate List's original footer, shared by Customer List. */
.list-pagination {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 16px;border-top:1px solid #e2e8f0;color:#64748b;font-size:12px;background:#fff;}
.list-pagination nav {display:flex;align-items:center;flex-wrap:wrap;gap:5px;}
.list-pagination .btn {font-size:12px;min-width:32px;text-decoration:none;}
.customer-list-page .customer-list-count {display:inline-block;padding:4px 9px;margin-left:6px;border-radius:20px;background:#eaf1fc;color:#1d4e93;font-size:12px;vertical-align:middle;}
.customer-list-subtitle {color:#66788c;font-size:12px;margin:7px 0 0;}

.customer-list-filter label {display:block;color:#475569;font-size:12px;font-weight:600;margin-bottom:7px;}
.customer-list-filter .form-control,.customer-list-filter .form-select {min-height:40px;font-size:13px;}
.customer-list-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e2e8f0;}
.customer-list-toolbar strong {font-size:14px;}.customer-list-toolbar > span {color:#66788c;font-size:12px;}
.customer-list-page .customer-list-table-scroll {max-height:65vh;}
.customer-list-page .customer-table thead th {position:sticky;top:0;z-index:1;background:#eef3fa;color:#15365b;font-size:10px;text-transform:uppercase;font-weight:700;padding:12px;white-space:nowrap;}
.customer-list-page .customer-table td {padding:12px;font-size:12px;border-color:#edf1f6;}
.customer-list-page .customer-table tbody tr:nth-child(even) {background:#fafbfd;}
.customer-list-page .customer-table tbody tr:hover {background:#f2f6fc;}
@media(max-width:1100px) {.customer-list-toolbar {flex-wrap:wrap;}}
@media(max-width:700px) {.list-pagination nav {width:100%;}}

@media(max-width:700px) {
    .erp-main .customer-list-page .customer-actions {gap:6px;}
    .erp-main .customer-list-page .customer-actions > .btn {font-size:11px;padding:8px 7px;white-space:nowrap;}
}

.table-list-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:14px 16px; border-bottom:1px solid #e2e8f0; }
.table-list-toolbar > strong { font-size:14px; color:#15365b; }
.table-page-size { display:grid; gap:5px; flex:0 0 110px; min-width:100px; }
.table-page-size > label { margin:0; color:#64748b; font-size:12px; font-weight:600; white-space:nowrap; }
.table-page-size .form-select { min-height:38px; font-size:13px; }
.list-row-serial { white-space:nowrap; color:#15365b; font-variant-numeric:tabular-nums; }
@media(max-width:700px) {
 .closing-page .closing-panel-title:has(> .table-page-size) { flex-wrap:wrap; align-items:center; gap:12px; }
 .closing-page .closing-panel-title:has(> .table-page-size) > div:first-child { flex:1 1 160px; min-width:0; }
 .table-page-size { flex-basis:100px; }
}

/* Master-list page size sits immediately before First/Previous. */
.erp-table-pagination > .erp-pagination-actions { display:flex; align-items:center; justify-content:flex-end; gap:14px; flex-wrap:wrap; margin-left:auto; min-width:0; }
.erp-pagination-actions > label { flex:0 0 auto; white-space:nowrap; }
.erp-pagination-actions > label > .form-select { min-height:36px; border-radius:7px; }
.erp-pagination-actions > nav { align-items:center; }
@media(max-width:700px) {
 .erp-table-pagination > .erp-pagination-actions { margin-left:0; width:100%; justify-content:flex-start; gap:10px; }
 .erp-table-pagination > .erp-pagination-actions > nav { width:auto; }
 .erp-pagination-actions > label { font-size:11px; gap:6px; }
 .erp-pagination-actions .responsive-select { width:66px; }
 .erp-pagination-actions > nav { gap:4px; }
 .erp-pagination-actions > nav .btn { padding:6px; min-width:28px; font-size:11px; }
}

@media(max-width:700px) {
 .erp-table-pagination > .erp-pagination-actions { flex-wrap:nowrap; align-items:flex-start; gap:8px; }
 .erp-pagination-actions .pager-size-caption { display:none; }
 .erp-table-pagination > .erp-pagination-actions > nav { flex:1 1 0; min-width:0; }
 .erp-pagination-actions .responsive-select { width:60px; }
 .erp-pagination-actions > label > .form-select,
 .erp-pagination-actions .responsive-select-button { min-height:34px; height:34px; padding-top:5px; padding-bottom:5px; font-size:12px; }
 .erp-pagination-actions > nav .btn { min-height:34px; }
}

.erp-pagination-actions .responsive-select-button { min-height:36px; height:36px; font-size:12px; padding-top:5px; padding-bottom:5px; }
.erp-pagination-actions > nav .btn { min-height:36px; display:inline-flex; align-items:center; justify-content:center; }

.erp-pagination-actions .responsive-select-button { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding-left:7px; padding-right:20px; }

.erp-page-position { align-self:center; color:#64748b; font-size:12px; white-space:nowrap; padding:0 4px; }
.erp-table-pagination .erp-pagination-actions .responsive-select-button { white-space:nowrap; overflow:hidden; padding-left:7px; padding-right:20px; }
@media(max-width:700px) {
 .erp-page-position { font-size:11px; padding:0 2px; }
 .erp-table-pagination > .erp-pagination-actions > nav { flex:0 1 auto; width:auto; align-items:center; }
}
