/* Sales Receipt proportions taken from the supplied populated Accurate form. */
.sales-receipt-page .receipt-header { padding: 3px 0 8px 5.3% !important; gap: 5.4%; }
.sales-receipt-page .receipt-header > div:first-child { width: 64%; }
.sales-receipt-page .receipt-header > div:last-child { width: 31%; }
.sales-receipt-page .receipt-header .field { grid-template-columns: 26.8% minmax(0,1fr); gap: 0; margin-bottom: 9px; }
.sales-receipt-page .receipt-header label { font-size: 15px; color: #000; }
.sales-receipt-page .receipt-header .field:first-child:has(.receipt-currency) { grid-template-columns: 26.8% minmax(0,1fr) 20%; column-gap: 0; }
.sales-receipt-page .receipt-header .receipt-currency { margin-left: 24px; width: calc(100% - 24px); background: #f5f7fb; color: #62666d; }
.sales-receipt-page .receipt-header .field:has(input[name='bank']) { max-width: none; padding-right: 32%; }
.sales-receipt-page .receipt-header .field:has(input[name='bank']) { grid-template-columns: 39.4% minmax(0,1fr); }
.sales-receipt-page .receipt-header > div:last-child .field { grid-template-columns: 125px minmax(0,1fr); gap: 0; }
.sales-receipt-page .receipt-header > div:last-child label { text-align: right; padding-right: 12px; }
.sales-receipt-page .receipt-header .field:has(input[name='transDate']) > div { max-width: 218px; }
.sales-receipt-page .receipt-amount-tools { gap: 23px; }
.sales-receipt-page .receipt-money-input { display: flex; width: 262px; height: 34px; border: 1px solid #b7bbc3; border-radius: 8px; background: #fff; overflow: hidden; }
.sales-receipt-page .receipt-money-input span { padding: 7px 8px; border-right: 1px solid #eaeef7; color: #8e9299; font-size: 12px; }
.sales-receipt-page .receipt-money-input input { min-width: 0; width: 100%; border: 0; min-height: 0; height: 32px; border-radius: 0; text-align: right; font-size: 16px; }
.sales-receipt-page .receipt-amount-tools button { width: 40px; height: 34px; }
.sales-receipt-page .receipt-card { padding: 10px; background: #f8fafe; }
.sales-receipt-page .receipt-card .grid-controls { height: 34px; margin-bottom: 14px; gap: 14px; }
.sales-receipt-page .receipt-find { width: 32%; height: 34px; min-height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 5px 7px; font-size: 16px; }
.sales-receipt-page .receipt-find i { color: #122952; }
.sales-receipt-page .receipt-get-from { margin-left: 20px; }
.sales-receipt-page .receipt-search { width: 34px; height: 34px; padding: 4px; border-color: #b7bbc3; }
.sales-receipt-page .receipt-card h2 { font-size: 23px; white-space: nowrap; color: #000; }
.sales-receipt-page .receipt-invoice-grid { flex: 1; background: #fff; }
.sales-receipt-page .data-grid { table-layout: fixed; font-size: 14px; }
.sales-receipt-page .data-grid th { height: 35px; text-align: center; background: #55637e; font-size: 14px; font-weight: 400; }
.sales-receipt-page .data-grid td { height: 41px; border-right: 1px dotted #eaeef7; border-bottom: 1px solid #eaeef7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #000; }
.sales-receipt-page .data-grid th:nth-child(1) { width: 40px; }
.sales-receipt-page .data-grid th:nth-child(2) { width: 16.2%; }
.sales-receipt-page .data-grid th:nth-child(3) { width: 15.1%; }
.sales-receipt-page .data-grid th:nth-child(4) { width: 28.1%; }
.sales-receipt-page .data-grid th:nth-child(5), .sales-receipt-page .data-grid th:nth-child(6), .sales-receipt-page .data-grid th:nth-child(7) { width: 4.6%; }
.sales-receipt-page .data-grid th:nth-child(8) { width: auto; }
.sales-receipt-page .data-grid .receipt-line-handle { text-align: center; color: #9599a1; }
.sales-receipt-page .data-grid .report-link { color: #000; font-size: 14px; }
.sales-receipt-page .data-grid input { padding: 0; height: 30px; border: 0; background: transparent; text-align: right; font-size: 14px; min-width: 0; }
.sales-receipt-page .receipt-line-pay { display: flex; align-items: center; gap: 3px; }
.sales-receipt-page .receipt-line-pay span { flex: none; }
.sales-receipt-page .receipt-line-pay input { min-width: 0; text-overflow: ellipsis; }
.sales-receipt-page .receipt-header .number-controls > input[name='number']:not([hidden]) { flex: 1; width: 100%; }
.sales-receipt-page .receipt-info-card input[readonly] { background: #f5f7fb; color: #62666d; }
.sales-receipt-page .receipt-info-card .field:has(textarea) { align-items: start; }
.sales-receipt-page .receipt-info-card .field:has(textarea) > label { padding-top: 8px; }
.sales-receipt-page .receipt-info-card { padding: 18px 10px; }
.sales-receipt-page .receipt-info-title { width: 49%; color: #316bfe; font-size: 22px; font-weight: 400; border-bottom: 1px solid #c9cdd5; padding-bottom: 6px; margin: 0 0 10px; }
.sales-receipt-page .receipt-info-card .form-grid { display: flex; flex-direction: column; gap: 8px; width: 49%; max-width: none; padding-left: 20px; }
.sales-receipt-page .receipt-info-card .field { display: grid; grid-template-columns: 32.4% minmax(0,1fr); gap: 0; min-height: 34px; margin: 0; font-size: 15px; }
.sales-receipt-page .receipt-info-card label { color: #000; }
.sales-receipt-page .receipt-info-card select { width: 255px; max-width: 100%; height: 34px; }
.sales-receipt-page .receipt-info-card .field:has(input[type='checkbox']) { grid-template-columns: 32.4% 24px 1fr; }
.sales-receipt-page .receipt-info-card input[type='checkbox'] { width: 20px; height: 20px; margin: 0; }
.sales-receipt-page .receipt-info-card textarea { height: 70px; min-height: 70px; }
.sales-receipt-page .receipt-info-card .lookup[data-lookup-field='branch'] { background: #f5f7fb; }
.sales-receipt-page .receipt-info-card .receipt-fact { color: #000; }
.sales-receipt-page .receipt-info-card .receipt-fact.boxed { border-color: #a6aab2; border-radius: 8px; background: #f5f7fb; color: #62666d; min-height: 34px; }
.sales-receipt-page .receipt-totals .total-box { width: 530px; min-width: 0; min-height: 80px; padding: 7px 0; }
.sales-receipt-page .receipt-totals .total-box > span { padding: 3px 15px 8px; font-size: 15px; color: #000; }
.sales-receipt-page .receipt-totals .total-box > strong { padding: 3px 15px; text-align: right; color: #000; }
.sales-receipt-page .receipt-totals .total-box > :nth-child(n+3) { border-left: 1px solid #d5d9e1; }
@media(max-width:999px) {
  .sales-receipt-page .receipt-header { flex-direction: column; padding-left: 20px !important; gap: 0; }
  .sales-receipt-page .receipt-header > div:first-child, .sales-receipt-page .receipt-header > div:last-child { width: 100%; }
  .sales-receipt-page .receipt-header > div:last-child .field { grid-template-columns: 26.8% minmax(0,1fr); }
  .sales-receipt-page .receipt-header > div:last-child label { text-align: left; }
  .sales-receipt-page .receipt-info-title, .sales-receipt-page .receipt-info-card .form-grid { width: 100%; }
  .sales-receipt-page .receipt-card .grid-controls { gap: 8px; }
  .sales-receipt-page .receipt-get-from { margin-left: 0; }
  .sales-receipt-page .receipt-find { flex: 1; }
  .sales-receipt-page .receipt-card h2 { font-size: 17px; }
  .sales-receipt-page .receipt-invoice-grid { min-height: 250px; }
  .sales-receipt-page .data-grid { min-width: 900px; }
  .sales-receipt-page .receipt-money-input { width: 180px; }
}
