/* ============================================================
   JTEL WEB SUITE - MODULE 050 : REPORT: CLIENT'S ACCOUNT LEDGER - STYLES
   ------------------------------------------------------------
   Folder : 050-report-client-ledger/050-report-client-ledger.css
   Loaded after 999-common.css, so rules here refine the common
   baseline for this module only. Section notes show the original
   styles.css block each rule came from.

   Build 015 - module-wise split (2026-09-30). No visual change.
   ============================================================ */

/* ---------- from [JTEL-REPORTS-REFINEMENT-002] ---------- */

.report-opening-strip {
  min-height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  color: #263b49;
  background: #eef1f3;
  border-bottom: 1px solid #c6d0d6;
  font-size: 12pt;
}

.report-opening-strip span {
  font-weight: 650;
}

.report-opening-strip strong {
  min-width: 130px;
  text-align: right;
}

.ledger-report-table {
  table-layout: fixed;
}

.ledger-report-table {
  min-width: 1320px;
}

.ledger-col-sn { width: 55px; }

.ledger-col-date { width: 105px; }

.ledger-col-voucher { width: 145px; }

.ledger-col-description { width: 280px; }

.ledger-col-remarks { width: 220px; }

.ledger-col-cheque { width: 125px; }

.ledger-col-money { width: 130px; }

/* [050] Client search dialog — isolated from invoice picker and shared styles. */
.ledger-client-control { min-width: 265px; display: flex; flex-direction: column; gap: 5px; }
.ledger-client-label { font-size: 12px; font-weight: 650; color: #344956; }
.ledger-client-hidden { display: none !important; }
.ledger-client-metallic { min-height: 37px; width: 100%; padding: 0 11px 0 14px; border: 1px solid #8199aa; border-radius: 7px; background: linear-gradient(180deg,#f5fafc 0%,#d8e5ee 45%,#b8cbd9 51%,#e7f0f5 100%); box-shadow: inset 0 1px 1px #fff,0 2px 5px #9eafba88; color:#385265; font: 600 13px 'Segoe UI',Arial,sans-serif; display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;text-align:left; }
.ledger-client-metallic.has-client { color:#17364b; }
.ledger-client-metallic:hover { filter: brightness(1.04); border-color:#597e9a; }
.ledger-client-picker-arrow { font-size:23px;line-height:1; }
.ledger-client-modal { position:fixed;inset:0;z-index:20000;background:rgba(20,35,49,.55);display:flex;align-items:center;justify-content:center;padding:20px; }
.ledger-client-modal.hidden { display:none !important; }
.ledger-client-dialog { width:min(1100px,96vw);max-height:min(760px,90vh);display:flex;flex-direction:column;background:#fff;border:1px solid #8ea7b9;border-radius:12px;box-shadow:0 18px 55px #0b243b66;overflow:hidden;font-family:'Segoe UI',Arial,sans-serif; }
.ledger-client-dialog-head { background:linear-gradient(180deg,#e9f1f6,#a9bfce);border-bottom:1px solid #8098a8;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;color:#233e52; }
.ledger-client-dialog-head strong { display:block;font-size:17px; }
.ledger-client-dialog-head small { display:block;margin-top:3px;font-size:11px; }
#client-ledger-picker-close { border:1px solid #9caebb;background:#edf3f7;border-radius:6px;font-size:24px;width:33px;height:32px;cursor:pointer; }
.ledger-client-search-wrap { display:flex;align-items:center;gap:10px;padding:12px 16px;background:#f4f8fa;border-bottom:1px solid #d0dce5; }
.ledger-client-search-wrap span { font-size:25px;color:#57788e; }
#client-ledger-picker-search { flex:1;min-width:0;padding:10px 12px;border:1px solid #9ab2c2;border-radius:6px;background:white;font:14px 'Segoe UI',Arial,sans-serif;outline-offset:2px; }
.ledger-client-table-scroll { overflow:auto;min-height:150px;flex:1; }
.ledger-client-search-table { width:100%;border-collapse:collapse;table-layout:fixed;font:12px 'Segoe UI',Arial,sans-serif; }
.ledger-client-search-table th { position:sticky;top:0;background:#657f91;color:white;padding:9px 8px;text-align:left;font-weight:600;z-index:1; }
.ledger-client-search-table th:nth-child(1){width:100px}.ledger-client-search-table th:nth-child(2){width:26%}.ledger-client-search-table th:nth-child(3){width:90px}.ledger-client-search-table th:nth-child(4){width:27%}.ledger-client-search-table th:nth-child(5){width:20%}.ledger-client-search-table th:nth-child(6){width:120px}
.ledger-client-search-table td { padding:8px;border-bottom:1px solid #dbe4ea;overflow-wrap:anywhere;vertical-align:top;color:#304453; }
.ledger-client-search-table tbody tr:nth-child(even) {background:#f2f6f9;}
.ledger-client-search-table tbody tr:hover {background:#dfeef7;cursor:pointer;}
.ledger-client-search-table tbody tr.selected {background:#c6dfef!important;outline:1px solid #739db7;}
.ledger-client-no-results {padding:28px;text-align:center;color:#667987;}
.ledger-client-dialog-foot { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:#e9f0f5;border-top:1px solid #c1d0da;font-size:11px;color:#40596a; }
#client-ledger-picker-select {background:linear-gradient(#517c9c,#315b7c);color:#fff;border:1px solid #284b66;border-radius:6px;padding:8px 16px;font-weight:650;cursor:pointer;}
#client-ledger-picker-select:disabled {opacity:.45;cursor:default;}
@media(max-width:760px){.ledger-client-dialog-foot span:nth-child(2){display:none}.ledger-client-dialog{width:100%;}.ledger-client-search-table{min-width:850px}}
