/* ODM Billing - lists, small forms and the bill view page */
.txn-bin { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.txn-bin .switch.on { background: #2B3142; }
.txn-hint { background: var(--amber-soft); color: #8A5300; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-bottom: 8px; }
.txn-note { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.txn-paybox { background: #fff; border-radius: 8px; padding: 10px 12px; display: grid; gap: 4px; }
.txn-paybox > div { display: flex; justify-content: space-between; gap: 10px; }
.txn-party { width: 100%; min-height: 48px; text-align: left; background: var(--field); border: 1px solid var(--line2); border-radius: 8px; padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.txn-clear { border: 0; background: none; color: var(--primary-dark); text-decoration: underline; font-size: 12.5px; text-align: left; padding: 2px 0; }
.txn-addcat { margin-top: 6px; }
.txn-amt { font-size: 18px; font-weight: 700; }
.txn-paid { width: 150px; }
.txn-gone { background: var(--danger-soft); color: #9F1D1D; border-radius: 8px; padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.txn-paper { display: flex; justify-content: center; padding: 6px 0 4px; overflow-x: auto; }
.txn-paper-a4 { justify-content: flex-start; }
.txn-meta { text-align: center; color: var(--muted); font-size: 12.5px; display: grid; gap: 4px; justify-items: center; margin: 10px 0 20px; }
.txn-meta-btns { justify-content: center; }
@media (min-width: 900px) { .txn-paper-a4 { justify-content: center; } }
@media (max-width: 640px) { .page-foot .btn { flex: 1 1 40%; padding: 0 8px; } }
