/* ============================================================
   Path: src/RichRich.Web/wwwroot/css/receipt-allocation.css
   Session: J-RCPT-ALLOC-3a
   LastModified: 2026-07-13
   Module: M06 Accounting - receipt allocation table (global css)
   ============================================================
   جدول تخصيص القبض متعدّد الفواتير (سند + شيك). لوحة الألوان تتبع
   aging-report.css: كحلي #002855 + ذهبي #96793a + حدود #e4e0d4.
   المشروع لا يستخدم scoped css — مربوط في App.razor. */

.rr-alloc {
    border: 1px solid #e4e0d4;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    background: #fcfbf7;
}

.rr-alloc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.rr-alloc-title {
    font-weight: 700;
    color: #002855;
    font-size: 14px;
}

.rr-alloc-empty {
    color: #64748b;
    font-size: 13px;
    padding: 10px 4px;
    text-align: center;
}

.rr-alloc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rr-alloc-table thead th {
    text-align: start;
    color: #64748b;
    font-weight: 600;
    border-bottom: 2px solid #e4e0d4;
    padding: 6px 8px;
}

.rr-alloc-table tbody td {
    padding: 6px 8px;
    border-bottom: 1px solid #efece2;
    vertical-align: middle;
}

.rr-alloc-table .rr-num {
    text-align: end;
    font-variant-numeric: tabular-nums;
}

.rr-alloc-active {
    background: rgba(0, 40, 85, 0.04);
}

.rr-alloc-input {
    width: 120px;
    display: inline-block;
    text-align: end;
}

.rr-alloc-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 2px solid #e4e0d4;
    font-size: 13px;
    color: #002855;
}

.rr-alloc-foot.rr-alloc-error {
    color: #c62828;
}

.rr-alloc-remaining {
    color: #96793a;
}

.rr-alloc-warn {
    margin-top: 8px;
    color: #c62828;
    font-size: 12px;
    font-weight: 600;
}
