/* Additions for the server-rendered admin modules (ledger.css is shared with the ledger page). */

.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 18px;border-top:1px solid var(--border);}
.pager-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.pager-gap{padding:0 4px;color:var(--muted, #7a8580);}
.btn.disabled{opacity:.45;pointer-events:none;}
a.chip{display:inline-flex;align-items:center;}
.chip-count{margin-left:6px;opacity:.7;font-size:11px;}
.inline-form{display:inline;}
.match-option{padding:9px 11px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);}
.match-option:last-child{border-bottom:none;}
.match-option.selected{background:var(--warning-bg);}
.match-option.selected .match-name{font-weight:600;}
.match-option svg{width:14px;height:14px;flex-shrink:0;}
.match-name{font-weight:500;font-size:13px;}
.match-list{max-height:260px;overflow-y:auto;border:1px solid var(--border);border-radius:8px;}
.match-empty{padding:14px;text-align:center;font-size:12.5px;}
.match-selected{display:flex;justify-content:space-between;align-items:center;padding:8px 11px;background:var(--success-bg);color:var(--success);border-radius:8px;font-size:12.5px;margin-bottom:8px;}
.match-selected button{background:none;border:none;cursor:pointer;color:inherit;display:flex;}
.match-selected svg{width:14px;height:14px;}
.drop-zone{border:1.5px dashed var(--border);border-radius:8px;padding:10px 14px;display:flex;align-items:center;gap:10px;transition:border-color .15s;}
.drop-zone.dragover{border-color:var(--gold);}
.drop-zone .drop-icon{width:20px;height:20px;flex-shrink:0;color:var(--forest);}
.drop-zone label{color:var(--forest);text-decoration:underline;cursor:pointer;font-weight:500;}
