/* Scoped to Canoni e pagamenti; other modules keep their current rendering. */
.piro-bootstrap #content.billing-bootstrap .billing-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:1rem}
.piro-bootstrap #content.billing-bootstrap table.table{display:table;width:100%;table-layout:auto;--bs-table-color:#212529;--bs-table-bg:#fff;--bs-table-border-color:#dee2e6;--bs-table-striped-bg:rgba(0,0,0,.035);--bs-table-hover-bg:rgba(223,41,36,.055)}
.piro-bootstrap #content.billing-bootstrap thead{display:table-header-group}
.piro-bootstrap #content.billing-bootstrap tbody{display:table-row-group}
.piro-bootstrap #content.billing-bootstrap tr{display:table-row;width:auto;margin:0;padding:0;border-radius:0;box-sizing:border-box;background:transparent}
.piro-bootstrap #content.billing-bootstrap :is(td,th){display:table-cell;width:auto;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;padding:.6rem .7rem}
.piro-bootstrap #content.billing-bootstrap .table-sm :is(td,th){padding:.35rem .5rem}
.piro-bootstrap #content.billing-bootstrap .table-bordered>:not(caption)>*{border-width:1px 0;border-style:solid;border-color:var(--bs-table-border-color)}
.piro-bootstrap #content.billing-bootstrap .table-bordered>:not(caption)>*>*{border-width:0 1px;border-style:solid;border-color:var(--bs-table-border-color)}
.piro-bootstrap #content.billing-bootstrap td::before{display:none}
.piro-bootstrap #content.billing-bootstrap th{font-weight:600;background-color:#f3f4f6}
.piro-bootstrap #content.billing-bootstrap :is(.billing-amount,.billing-period,.billing-actions){white-space:nowrap;overflow-wrap:normal}
.piro-bootstrap #content.billing-bootstrap .billing-amount{font-variant-numeric:tabular-nums}
.piro-bootstrap #content.billing-bootstrap .billing-actions{width:5.5rem;text-align:right}
.piro-bootstrap #content.billing-bootstrap .icon-action{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;margin:.1rem;border:1px solid #b8b8b8;border-radius:.3rem;background:#fff}
.piro-bootstrap #content.billing-bootstrap .icon-action[data-action^=archive-]{color:#b42318;border-color:#d6a29c}
.piro-bootstrap #content.billing-bootstrap .badge{white-space:nowrap;font-weight:600;font-size:.8rem}
.piro-bootstrap #content.billing-bootstrap .create-action-plus{color:#198754;font-size:1.25em;line-height:1;margin-right:.4rem}
.piro-bootstrap #content.billing-bootstrap .tools button{min-height:2.4rem}
@media(max-width:650px){.piro-bootstrap #content.billing-bootstrap .icon-action{width:2.5rem;height:2.5rem}.piro-bootstrap #content.billing-bootstrap .billing-actions{min-width:6.5rem}}

/* Panoramica amministrativa: Canoni e importi. */
.piro-bootstrap #content .billing-dashboard{min-width:0;padding:12px}
.piro-bootstrap #content .billing-dashboard .billing-overview-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.piro-bootstrap #content .billing-dashboard table.table{display:table;width:100%;min-width:740px;table-layout:auto;border-collapse:collapse;--bs-table-color:#212529;--bs-table-bg:#fff;--bs-table-border-color:#dee2e6;--bs-table-hover-bg:rgba(223,41,36,.055)}
.piro-bootstrap #content .billing-dashboard table.table thead{display:table-header-group}
.piro-bootstrap #content .billing-dashboard table.table tbody{display:table-row-group}
.piro-bootstrap #content .billing-dashboard table.table tr{display:table-row;margin:0;padding:0;background:transparent}
.piro-bootstrap #content .billing-dashboard table.table :is(th,td){display:table-cell;width:auto;padding:.3rem .45rem;border:1px solid #dee2e6;vertical-align:middle;white-space:normal;overflow-wrap:break-word}
.piro-bootstrap #content .billing-dashboard table.table td:before{display:none}
.piro-bootstrap #content .billing-dashboard table.table .billing-client{width:32%;min-width:235px}
.piro-bootstrap #content .billing-dashboard table.table .billing-module{width:24%;min-width:165px}
.piro-bootstrap #content .billing-dashboard table.table .billing-amount{min-width:130px;text-align:right;font-variant-numeric:tabular-nums}
.piro-bootstrap #content .billing-dashboard table.table .billing-actions{width:55px;min-width:55px;white-space:nowrap;text-align:center}
.piro-bootstrap #content .billing-dashboard .billing-actions button{width:auto;margin:0;padding:.3rem .45rem;min-width:32px;min-height:32px}
.piro-bootstrap #content .billing-dashboard small{margin-top:2px}
@media(max-width:800px){.piro-bootstrap #content .billing-dashboard{padding:8px}.piro-bootstrap #content .billing-dashboard .billing-actions button{min-width:44px;min-height:44px}}
