/* Bill Supply R3.14 · Transacciones · diseño responsive y accesible */
.bt-tx-module{min-width:0;max-width:1500px;margin-inline:auto;color:#0f172a}
.bt-tx-module *{box-sizing:border-box}
.bt-tx-hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border:1px solid #d9e4fa;border-radius:22px;background:linear-gradient(125deg,#f7faff 0%,#fff 63%,#fff8f8 100%);box-shadow:0 6px 20px rgba(6,40,137,.035)}
.bt-tx-eyebrow{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#062889;margin:0 0 6px}
.bt-tx-hero h1{margin:0;font-weight:800;font-size:clamp(22px,3vw,29px);line-height:1.25;color:#071b4a}
.bt-tx-hero p:not(.bt-tx-eyebrow){margin:8px 0 0;font-size:12px;line-height:1.65;color:#53637d;max-width:720px}
.bt-tx-hero-actions{display:flex;flex-wrap:wrap;gap:9px}
.bt-tx-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:11px;padding:11px 15px;font-size:12px;font-weight:800;min-height:43px;border:1px solid transparent;transition:background-color .15s,opacity .15s;text-decoration:none;cursor:pointer}
.bt-tx-btn-primary{color:#fff!important;background:#062889;border-color:#062889}
.bt-tx-btn-primary:hover{background:#133dab}
.bt-tx-btn-secondary{background:#fff;color:#062889;border-color:#cbd7ed}
.bt-tx-btn-secondary:hover{background:#f1f5ff}
.bt-tx-btn:disabled{opacity:.55;cursor:not-allowed}
.bt-tx-filters,.bt-tx-list,.bt-tx-totals{padding:22px;border-radius:20px;background:#fff;border:1px solid #e1e7ef;box-shadow:0 4px 20px rgba(15,23,42,.035);min-width:0}
.bt-tx-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.bt-tx-filter{min-width:0;display:flex;flex-direction:column;gap:7px}
.bt-tx-filter>span{font-size:11px;font-weight:750;color:#475569}
.bt-tx-filter input,.bt-tx-filter select{width:100%;max-width:100%;min-width:0;font-size:12px;min-height:44px;color:#0f172a!important;background-color:#fff!important;border:1px solid #d5deed;border-radius:10px}
.bt-tx-filter input:focus,.bt-tx-filter select:focus{outline:2px solid #acbcf3;outline-offset:1px}
.bt-tx-filter-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.bt-tx-error{padding:14px 16px;border-radius:12px;color:#b42318;background:#fff1f2;border:1px solid #fecdd3;font-size:12px;font-weight:650}
.bt-tx-help{font-size:11px;color:#68758a;line-height:1.7;padding:0 3px}
.bt-tx-list-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.bt-tx-list-head h2,.bt-tx-totals-title h2{color:#102856;font-weight:800;font-size:16px;margin:0}
.bt-tx-list-head p,.bt-tx-totals-title p{font-size:11px;color:#6e7c90;margin:5px 0 0}
.bt-tx-loading{font-size:11px;font-weight:700;color:#062889}
.bt-tx-table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.bt-tx-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1020px;color:#25354a;font-size:11px}
.bt-tx-table th{padding:12px 10px;color:#64748b;background:#f6f8fc;text-transform:uppercase;letter-spacing:.055em;font-size:10px;font-weight:800;text-align:left;white-space:nowrap}
.bt-tx-table th:first-child{border-radius:9px 0 0 9px}.bt-tx-table th:last-child{border-radius:0 9px 9px 0}
.bt-tx-table td{padding:15px 10px;border-bottom:1px solid #edf0f5;vertical-align:middle;font-weight:500}
.bt-tx-table tbody tr.bt-tx-row:hover{background:#f7faff}
.bt-tx-table td.bt-tx-id{max-width:145px;overflow-wrap:anywhere;color:#64748b;font-size:10px}
.bt-tx-kind{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#f0f4fc;color:#244b8d;font-size:10px;font-weight:800}
.bt-tx-amount-credit{color:#067647!important;font-weight:800!important;white-space:nowrap}
.bt-tx-amount-debit{color:#c21e37!important;font-weight:800!important;white-space:nowrap}
.bt-tx-status{border-radius:8px;padding:5px 8px;background:#f4f6f9;color:#475569;font-weight:700;white-space:nowrap}
.bt-tx-more{border:1px solid #d7e3fa;border-radius:9px;padding:7px 10px;background:#f5f8ff;color:#062889;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer;min-height:35px}
.bt-tx-more:hover{background:#e7efff}
.bt-tx-detail-row td{background:#f8fbff;padding:15px!important}
.bt-tx-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;font-size:11px;color:#53657d;min-width:0;overflow-wrap:anywhere}
.bt-tx-detail b{color:#102856}
.bt-tx-mobile-rows{display:none}
.bt-tx-empty,.bt-tx-empty-small{padding:42px 15px;text-align:center;font-size:12px;color:#64748b}
.bt-tx-pager{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px;color:#64748b;font-size:11px}
.bt-tx-pager>div{display:flex;gap:8px;flex-wrap:wrap}
.bt-tx-pager button{border:1px solid #d6e0ef;border-radius:9px;padding:9px 14px;background:#fff;color:#062889;font-size:11px;font-weight:800;min-height:39px}
.bt-tx-pager button:disabled{color:#aeb7c4;cursor:not-allowed;background:#f7f8fa}
.bt-tx-totals-title{margin-bottom:16px}
.bt-tx-totals-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.bt-tx-currency{background:#f8faff;border:1px solid #dae5f4;border-radius:15px;padding:15px 17px;min-width:0}
.bt-tx-currency>b{color:#062889;font-size:13px;font-weight:850}
.bt-tx-totals-stat,.bt-tx-totals-net{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;margin-top:11px}
.bt-tx-totals-stat>span,.bt-tx-totals-net>span{color:#5c6c84}.bt-tx-totals-stat strong,.bt-tx-totals-net strong{font-size:13px;font-weight:850;text-align:right;overflow-wrap:anywhere}
.bt-tx-totals-net{padding-top:12px;border-top:1px solid #dce5f1}.bt-tx-totals-net strong{color:#062889}
@media(max-width:1024px){.bt-tx-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bt-tx-totals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
 .bt-tx-hero{padding:20px}.bt-tx-hero-actions{width:100%}.bt-tx-hero-actions .bt-tx-btn{flex:1}
 .bt-tx-filters,.bt-tx-list,.bt-tx-totals{padding:17px 14px;border-radius:17px}
 .bt-tx-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .bt-tx-filter:first-child{grid-column:1/-1}
 .bt-tx-table-wrap{display:none}
 .bt-tx-mobile-rows{display:grid;gap:11px}
 .bt-tx-mobile-row{padding:16px;border:1px solid #e0e7f1;border-radius:14px;background:#fbfcfe;overflow-wrap:anywhere}
 .bt-tx-mobile-top{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#718096;font-size:10px}
 .bt-tx-mobile-concept{display:block;color:#132a56;font-size:13px;margin-top:10px}
 .bt-tx-meta{font-size:11px;color:#66758a;margin-top:5px}
 .bt-tx-mobile-row>.bt-tx-amount-credit,.bt-tx-mobile-row>.bt-tx-amount-debit{font-size:18px;margin:13px 0 8px}
 .bt-tx-detail{grid-template-columns:1fr;margin-top:10px;border-top:1px solid #e1e7ef;padding-top:10px}
}
@media(max-width:430px){.bt-tx-filter-grid{grid-template-columns:1fr}.bt-tx-filter:first-child{grid-column:auto}.bt-tx-totals-grid{grid-template-columns:1fr}.bt-tx-hero-actions{flex-direction:column}.bt-tx-filter-actions .bt-tx-btn{flex:1}.bt-tx-pager{align-items:stretch}.bt-tx-pager>div{width:100%}.bt-tx-pager button{flex:1}}

.bt-tx-debts{border:1px solid #dbe4f2;background:#fff;border-radius:20px;padding:20px;box-shadow:0 8px 30px rgba(15,23,42,.04)}
.bt-tx-debts-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.bt-tx-debts-head h2{font-size:20px;font-weight:900;color:#0f172a}.bt-tx-debts-head p:not(.bt-tx-eyebrow){font-size:12px;color:#64748b;margin-top:4px;max-width:760px}.bt-tx-debt-summary{min-width:180px;border:1px solid #dbe4f2;border-radius:14px;padding:12px 14px;background:#f8fbff}.bt-tx-debt-summary span,.bt-tx-debt-summary small{display:block;font-size:10px;color:#64748b}.bt-tx-debt-summary strong{display:block;font-size:20px;color:#D80000;margin:3px 0}.bt-tx-debt-list{display:grid;gap:9px}.bt-tx-debt-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;border:1px solid #e5eaf2;border-radius:14px;padding:13px 14px;background:#fcfdff}.bt-tx-debt-main b{display:block;font-size:12px;color:#172554}.bt-tx-debt-main span{display:block;font-size:10px;color:#64748b;margin-top:3px}.bt-tx-debt-money{text-align:right}.bt-tx-debt-money span{display:block;font-size:9px;text-transform:uppercase;color:#94a3b8;font-weight:800}.bt-tx-debt-money strong{font-size:14px;color:#D80000}.bt-tx-debt-row .bt-tx-btn{white-space:nowrap}
@media(max-width:760px){.bt-tx-debts-head{display:grid}.bt-tx-debt-summary{min-width:0}.bt-tx-debt-row{grid-template-columns:1fr auto}.bt-tx-debt-row .bt-tx-btn{grid-column:1/-1;width:100%}}
