.table-ledger tbody tr.ledger-row-paid { background: #f0fdf4; }
.table-ledger tbody tr.ledger-row-paid .ledger-badge
{
    border: 2px dashed var(--success);
    color: var(--success);
}
.table-ledger tbody tr.ledger-row-waiting { background: #fef9c3; }
.table-ledger tbody tr.ledger-row-waiting .ledger-badge
{
    border: 2px dashed var(--warning);
    color: var(--warning);
}
.table-ledger tbody tr.ledger-row-waiting .ledger-amount-text
{
    color: var(--warning) !important;
}
.table-ledger tbody tr.ledger-row-deleted { background: #fee2e2; }
.table-ledger tbody tr.ledger-row-deleted .ledger-badge
{
    border: 2px dashed var(--danger);
    color: var(--danger);
}
.payment-receipt {
    width: 450px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    font-family: 'Courier Prime', monospace;
    padding: 20px;
    border-radius: 12px;
    margin: 20px auto;
    color: #222;
    position: relative;
}
.payment-receipt::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('<?=PROJECT_LOGO?>') center/150px no-repeat;
    opacity: 0.05;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.receipt-header {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.receipt-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-right: 10px;
}
.receipt-utility {
    font-size: 14px;
    justify-content: space-between;
    display: flex;
}
.receipt-title h2 {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.receipt-title p {
    margin: 0;
    font-size: 13px;
    color: #666;
}
.receipt-section {
    margin-top: 10px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}
.receipt-section h4 {
    margin: 0 0 5px;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
}
.receipt-section div, .receipt-section li {
    font-size: 14px;
    line-height: 1.4;
}
.receipt-section table {
    font-size: 14px;
    line-height: 1.4;
}
.receipt-section ul {
    padding-left: 20px;
    margin: 0;
}
.receipt-section ul li:first-child {
    list-style: disc !important;
}
.receipt-section ul li table {
    margin-left: 10px;
    color: gray;
    font-size: 13px;
}
.receipt-summary {
    padding-top: 10px;
    font-weight: bold;
}
.receipt-footer {
    text-align: center;
    font-size: 12px;
    color: #777;
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 8px;
}