/* ================= شاشة مطابقة الموردين (SupplierRecon.aspx) ================= */
.rc-mt { margin-top: 12px; }
.rc-box input[type=text], .rc-box input[type=date] { height: 36px; border: 1px solid #cfd6e0; border-radius: 6px; padding: 0 10px; font: inherit; background: #fff; }
.rc-box .rc-small { min-width: 120px; width: 130px; }
.rc-box .rc-small input { width: 100%; text-align: center; }
.rc-check { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #374151; }

.rc-chip-diff { background: #fee2e2; }
.rc-chip-un { background: #fff2cc; }
.rc-chip-ok { background: #dcfce7; }
.rc-chip-light { background: #f8fafc; border: 1px solid #e2e8f0; font-size: 12px; }
.rc-types { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; }

.rc-tabs { display: flex; gap: 4px; border-bottom: 2px solid #c9daf0; margin: 6px 0 12px; flex-wrap: wrap; }
.rc-tab { height: 36px; padding: 0 16px; border: 1px solid #c9daf0; border-bottom: 0; border-radius: 6px 6px 0 0; background: #f1f5f9; cursor: pointer; font: inherit; color: #000; }
.rc-tab.on { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }

/* النموذج */
.rc-form-head { margin-bottom: 10px; }
.rc-title { font-size: 18px; font-weight: 700; text-align: center; margin-bottom: 8px; }
.rc-kv { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.rc-kv small { color: #555; }
.rc-sides { display: flex; gap: 14px; align-items: flex-start; }
.rc-side { flex: 1; min-width: 0; }
.rc-side h3 { font-size: 15px; margin: 6px 0 8px; }
@media (max-width: 1200px) { .rc-sides { flex-direction: column; } .rc-side { width: 100%; } }
.grid.rc-form-tbl td { height: auto; padding: 5px 6px; }
.grid.rc-form-tbl tr.rc-bal td { background: #e2e8f0 !important; font-weight: 700; }
.grid.rc-form-tbl tr.rc-round td { background: #f1f5f9 !important; font-style: italic; }
.grid.rc-form-tbl tr.rc-net td { background: #dcfce7 !important; font-weight: 700; }
.rc-result { margin-top: 12px; font-weight: 700; }
.rc-rowno { color: #64748b !important; font-size: 11px; white-space: nowrap; }
.rc-tag { background: #e0e7ff; border-radius: 10px; padding: 1px 8px; font-size: 11px; }

/* الحسابان */
.rc-filter { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.rc-filter select, .rc-filter input { height: 34px; border: 1px solid #cfd6e0; border-radius: 6px; padding: 0 10px; font: inherit; }
.rc-filter input { flex: 1 1 280px; max-width: 480px; }
.rc-count { color: #64748b; font-size: 12px; }
.grid.rc-acc td { height: auto; padding: 5px 6px; }
.grid.rc-acc tr.rc-m td { text-decoration: line-through; color: #8a8a8a !important; }
.grid.rc-acc tr.rc-m td a { color: #8a8a8a !important; }
.grid.rc-acc tr.rc-un td { background: #fff7d6 !important; }
.grid.rc-acc tr.rc-rv td { background: #ffe4c4 !important; }
.grid.rc-acc tr.rc-flash td { background: #fde68a !important; }
.rc-gl { padding: 2px 0; }
.grid.rc-form-tbl td:first-child, .grid.rc-acc td:nth-child(2) { white-space: nowrap; }
.grid.rc-form-tbl td.code { white-space: nowrap; font-size: 12px; }
