.pos-sale-cart-panel, .pos-products-list-panel, .pos-form-actions { border: 1px solid #e5eaf1; } body { --pos-bg: #f1f5f9; --pos-panel: #ffffff; --pos-panel-soft: #f8fafc; --pos-border: #e5eaf1; --pos-border-soft: #edf1f6; --pos-text: #0f172a; --pos-muted: #64748b; --pos-heading: #334155; --pos-input: #ffffff; --pos-input-border: #dbe5f0; --pos-hover: #f8fbff; --pos-shadow: rgba(15, 23, 42, 0.08); } body.pos-theme-dark { --pos-bg: #0f172a; --pos-panel: #182235; --pos-panel-soft: #111827; --pos-border: #2d3a4f; --pos-border-soft: #243247; --pos-text: #e5edf8; --pos-muted: #94a3b8; --pos-heading: #cbd5e1; --pos-input: #101827; --pos-input-border: #334155; --pos-hover: #1f2a3d; --pos-shadow: rgba(0, 0, 0, 0.28); } body.pos-theme-dark, body.pos-theme-dark main, body.pos-theme-dark #scrollable-container, body.pos-theme-dark .content { background: var(--pos-bg) !important; color: var(--pos-text) !important; } body.pos-theme-dark .pos-header > div, body.pos-theme-dark .pos-sale-cart-panel, body.pos-theme-dark .pos-products-list-panel, body.pos-theme-dark .pos-form-actions, body.pos-theme-dark .modal-content, body.pos-theme-dark .tw-bg-white { background: var(--pos-panel) !important; color: var(--pos-text) !important; border-color: var(--pos-border) !important; } body.pos-theme-dark .form-control, body.pos-theme-dark .select2-container--default .select2-selection--single, body.pos-theme-dark .input-group-addon, body.pos-theme-dark .input-group-btn .btn, body.pos-theme-dark .btn-default { background: var(--pos-input) !important; color: var(--pos-text) !important; border-color: var(--pos-input-border) !important; } body.pos-theme-dark .text-muted, body.pos-theme-dark .small, body.pos-theme-dark small, body.pos-theme-dark .pos-list-product-code, body.pos-theme-dark .pos-cart-chip { color: var(--pos-muted) !important; } body.pos-theme-dark .text-info, body.pos-theme-dark .pos-cart-product-title, body.pos-theme-dark .pos-list-product-name, body.pos-theme-dark #pos_table .display_currency, body.pos-theme-dark #pos_table .pos_line_total_text { color: var(--pos-text) !important; } .pos-top-controls { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-right: 0; margin-left: 0; } .pos-top-controls > [class*="col-"] { float: none; padding-right: 0; padding-left: 0; } .pos-top-controls > .col-md-12 { flex: 0 0 100%; width: 100%; } .pos-customer-control { flex: 1 1 clamp(255px, 31vw, 420px); max-width: 440px; min-width: 240px; } .pos-search-control { flex: 999 1 420px; min-width: 280px; } .pos-top-controls .form-group, .pos-top-controls .input-group, .pos-top-controls .select2-container { width: 100% !important; } .pos-sale-cart-panel { display: flex; flex-direction: column; height: calc(100vh - 230px) !important; min-height: 360px; } .pos-sale-cart-panel .box-body { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; padding-bottom: 0; } .pos_product_div { flex: 1 1 auto; height: auto !important; max-height: calc(100vh - 345px) !important; min-height: 0 !important; overflow-y: auto !important; overflow-x: hidden !important; border: 1px solid var(--pos-border); border-radius: 10px; background: var(--pos-panel); } #pos_table { table-layout: fixed; width: 100%; margin-bottom: 0; border: 0; } #pos_table .pos-empty-state { min-height: clamp(92px, 18vh, 170px); } #pos_table > thead > tr > th { position: sticky; top: 0; z-index: 3; padding: 6px 4px; border-color: var(--pos-border); background: var(--pos-panel-soft); color: var(--pos-heading); font-size: 11px !important; line-height: 1.2; white-space: nowrap; } #pos_table > tbody > tr.product_row > td { height: 58px; padding: 5px 4px; border-color: var(--pos-border-soft); vertical-align: middle; } #pos_table > tbody > tr.product_row { background: var(--pos-panel); } #pos_table > tbody > tr.product_row:nth-child(even) { background: var(--pos-panel-soft); } #pos_table .pos-cart-product-cell { width: 34%; min-width: 0; } #pos_table > thead > tr > th:nth-child(2), #pos_table > tbody > tr.product_row > td:nth-child(2) { width: 13%; } #pos_table > thead > tr > th:nth-child(3), #pos_table > tbody > tr.product_row > td:nth-child(3) { width: 11%; } #pos_table > thead > tr > th:nth-child(4), #pos_table > tbody > tr.product_row > td:nth-child(4), #pos_table > thead > tr > th:nth-child(5), #pos_table > tbody > tr.product_row > td:nth-child(5) { width: 13%; } #pos_table > thead > tr > th:nth-last-child(2), #pos_table > tbody > tr.product_row > td:nth-last-child(2) { width: 11%; } #pos_table > thead > tr > th:last-child, #pos_table > tbody > tr.product_row > td:last-child { width: 5%; min-width: 30px; } .pos-cart-product { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; align-items: start; } .pos-cart-thumb { width: 28px; height: 28px; border: 1px solid var(--pos-border); border-radius: 7px; background: var(--pos-panel-soft); object-fit: cover; } .pos-cart-product-main { min-width: 0; } .pos-cart-product-title { display: -webkit-box; overflow: hidden; color: var(--pos-text); font-size: 10px; font-weight: 700; line-height: 1.25; text-transform: uppercase; white-space: normal; word-break: break-word; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .pos-cart-product-meta { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 3px; } .pos-cart-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 1px 4px; border: 1px solid var(--pos-input-border); border-radius: 5px; background: var(--pos-panel-soft); color: var(--pos-muted); font-size: 9px; font-weight: 600; line-height: 1.2; } .pos-cart-serial-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 100%; min-width: 0; max-width: 100%; height: 28px; padding: 4px 5px; border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; font-size: 10px; font-weight: 700; } .pos-cart-serial-toggle .pos-serial-label { display: inline-block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pos-cart-serial-toggle:hover, .pos-cart-serial-toggle:focus { background: #dbeafe; color: #1e40af; text-decoration: none; } .pos-cart-serial-collapse { position: static; z-index: 20; width: min(320px, 100%); margin-top: 6px; margin-left: auto; margin-right: auto; padding: 8px; border: 1px solid var(--pos-input-border); border-radius: 8px; background: var(--pos-panel); box-shadow: 0 12px 26px var(--pos-shadow); } .pos-cart-serial-collapse textarea.serial_numbers { height: 32px; min-height: 32px; padding: 5px 7px; resize: vertical; font-size: 12px; } .pos-cart-serial-collapse .select2-container { width: 100% !important; min-width: 0; text-align: left; } .pos-cart-serial-collapse .select2-selection--multiple { min-height: 34px; border-color: var(--pos-input-border); font-size: 12px; } .pos-serial-select-option strong, .pos-serial-select-option small { display: block; overflow-wrap: anywhere; line-height: 1.25; } .pos-serial-select-option strong { color: #334155; font-size: 11px; font-weight: 700; } .pos-serial-select-option small { color: #0f172a; font-size: 12px; font-weight: 700; } .select2-results__option--highlighted .pos-serial-select-option strong, .select2-results__option--highlighted .pos-serial-select-option small { color: #ffffff; } #pos_table > tbody > tr.pos_exchange_return_row { background: #fff7f7; } #pos_table > tbody > tr.pos_exchange_return_row:nth-child(even) { background: #fff1f2; } .pos-exchange-return-thumb { display: inline-flex; align-items: center; justify-content: center; color: #ef4444; } .pos-exchange-serial-option small { display: block; line-height: 1.2; } #pos_table .input-number { display: flex; align-items: center; justify-content: center; max-width: 90px; margin: 0 auto; } #pos_table .input-number .input-group-btn { display: flex; width: 24px; flex: 0 0 24px; } #pos_table .input-number .btn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 26px; padding: 3px 4px; border-color: var(--pos-input-border); background: var(--pos-input); } #pos_table .input-number .pos_quantity { flex: 0 0 42px; width: 42px !important; height: 26px; padding: 3px 5px; text-align: center; font-size: 11px; } #pos_table select.sub_unit, #pos_table input.pos_unit_price_inc_tax, #pos_table input.pos_unit_price, #pos_table input.row_discount_amount, #pos_table select.row_discount_type, #pos_table select.tax_id, #pos_table input.pos_line_total { height: 26px; padding: 3px 4px; font-size: 11px; } .pos-cart-unit-wrap { margin-top: 3px; } #pos_table select.sub_unit { max-width: 84px; margin: 0 auto; } #pos_table .pos-input-as-label { border: 0; background: transparent; box-shadow: none; text-align: center; font-weight: 700; } #pos_table .pos_line_total_text, #pos_table .display_currency { font-size: 11px; font-weight: 700; } #pos_table .pos_remove_row { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 24px; border-radius: 6px; background: #fff1f2; color: #e11d48 !important; font-size: 13px; } #pos_table .pos_remove_row:hover { background: #ffe4e6; } #pos_table .pos-cart-serial-cell { position: relative; } .pos-form-actions button, .pos-form-actions a { min-height: 34px; border-radius: 7px !important; box-shadow: none; } .pos-form-actions .tw-rounded-full { border-radius: 7px !important; } .pos-form-actions { --pos-footer-gap: clamp(7px, 0.75vw, 14px); --pos-footer-icon-width: clamp(62px, 4.85vw, 76px); --pos-footer-wide-icon-width: clamp(78px, 6.1vw, 96px); --pos-footer-action-width: clamp(112px, 8.7vw, 136px); min-height: 64px !important; height: auto !important; padding: 7px clamp(10px, 0.9vw, 14px) !important; background: #ffffff !important; border-top: 1px solid #e2e8f0 !important; box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.06) !important; overflow: visible !important; } .pos-form-actions > div { min-height: 48px; background: #ffffff !important; } .pos-form-actions .pos-footer-action-row { align-items: center !important; flex-wrap: nowrap !important; min-height: 48px !important; height: auto !important; gap: var(--pos-footer-gap) !important; overflow: visible !important; } .pos-form-actions .pos-mobile-primary-actions { display: none !important; } .pos-form-actions .pos-footer-secondary { flex: 1 1 auto !important; min-width: 0 !important; justify-content: flex-start !important; align-items: center !important; min-height: 48px !important; height: auto !important; gap: var(--pos-footer-gap) !important; overflow-x: auto !important; overflow-y: hidden !important; } .pos-form-actions .pos-footer-secondary > *, .pos-form-actions .pos-footer-action-row > div { flex-shrink: 0 !important; } .pos-form-actions .pos-footer-secondary button, .pos-form-actions .pos-footer-secondary a, .pos-form-actions .pos-footer-action-row > div:last-child button { align-self: center !important; margin-top: 0 !important; margin-bottom: 0 !important; } .pos-form-actions .pos-footer-secondary > button, .pos-form-actions .pos-footer-secondary > a { height: 42px !important; min-height: 42px !important; padding-top: 0 !important; padding-bottom: 0 !important; } .pos-form-actions .pos-footer-secondary > button:not(.js-pos-cancel):not(.pos-finalize), .pos-form-actions .pos-footer-secondary > a { width: var(--pos-footer-icon-width) !important; line-height: 1.1 !important; background: transparent !important; border: 0 !important; color: #334155 !important; box-shadow: none !important; display: inline-flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 3px !important; font-size: 13px !important; font-weight: 700 !important; } .pos-form-actions .pos-footer-secondary > a[href*="downpayment"] { width: var(--pos-footer-wide-icon-width) !important; } .pos-form-actions .pos-footer-secondary > button:not(.js-pos-cancel):not(.pos-finalize) i, .pos-form-actions .pos-footer-secondary > a i { font-size: 14px !important; line-height: 14px !important; } .pos-form-actions .pos-footer-divider { align-self: center !important; height: 36px !important; margin-left: 0 !important; margin-right: 2px !important; } .pos-form-actions .pos-footer-action-row > div:last-child { margin-left: auto !important; } .pos-form-actions .pos-finalize { width: var(--pos-footer-action-width) !important; min-width: var(--pos-footer-action-width) !important; height: 36px !important; min-height: 36px !important; background: #06254a !important; font-size: 14px !important; } .pos-form-actions .pos-footer-secondary > div:first-child .js-pos-cancel { width: var(--pos-footer-action-width) !important; height: 40px !important; min-height: 40px !important; border: 2px solid #ff5b57 !important; color: #ef4444 !important; } .pos-form-actions .pos-footer-secondary > div:last-child { gap: var(--pos-footer-gap) !important; } .pos-form-actions .pos-footer-secondary > div:last-child .pos-express-finalize[data-pay_method="cash"] { width: var(--pos-footer-action-width) !important; height: 36px !important; min-height: 36px !important; background: #48bd8a !important; color: #ffffff !important; border: 0 !important; } @media (min-width: 768px) { .pos-form-actions.pos-form-actions-edit .pos-footer-secondary { display: flex !important; } .pos-form-actions .pos-footer-secondary > div { display: contents !important; } .pos-form-actions .pos-footer-secondary { flex-wrap: nowrap !important; } } @media (max-width: 1280px) { .pos-form-actions { --pos-footer-gap: 6px; --pos-footer-icon-width: 58px; --pos-footer-wide-icon-width: 82px; --pos-footer-action-width: 108px; } .pos-form-actions .pos-footer-secondary > button:not(.js-pos-cancel):not(.pos-finalize), .pos-form-actions .pos-footer-secondary > a { font-size: 12px !important; } .pos-form-actions .pos-finalize, .pos-form-actions .pos-footer-secondary > div:last-child .pos-express-finalize[data-pay_method="cash"] { font-size: 13px !important; } } .pos-form-actions a[href*="downpayment"] { text-decoration: none !important; } .pos-header > .tw-flex { width: 100% !important; gap: 8px !important; overflow: hidden !important; } .pos-header .pos-header-location { flex: 0 0 auto !important; width: clamp(350px, 29vw, 470px) !important; max-width: 470px !important; } .pos-header .pos-header-location > .tw-flex { min-width: 0 !important; width: 100% !important; flex-wrap: nowrap !important; overflow: hidden !important; } .pos-header .pos-header-location-label { flex: 0 0 auto !important; margin: 0 !important; white-space: nowrap !important; } .pos-header .pos-header-location-select { flex: 1 1 auto !important; min-width: 120px !important; max-width: 220px !important; } .pos-header .pos-header-location-select .form-control { width: 100% !important; min-width: 0 !important; } .pos-header .pos-header-location .form-control { min-width: 0 !important; } .pos-header .pos-header-date { flex: 0 0 auto !important; white-space: nowrap !important; } .pos-header #pos_header_more_options { margin-left: auto !important; flex: 1 1 auto !important; min-width: 0 !important; max-width: none !important; justify-content: flex-end !important; flex-wrap: wrap !important; row-gap: 4px !important; overflow: hidden !important; } .pos-header #pos_header_more_options > a, .pos-header #pos_header_more_options > button, .pos-header #pos_header_more_options > span { flex: 0 0 auto !important; } @media (max-width: 1680px) { .pos-header > .tw-flex { gap: 6px !important; padding-left: 8px !important; padding-right: 8px !important; } .pos-header .pos-header-location { width: clamp(320px, 30vw, 410px) !important; max-width: 410px !important; } .pos-header .pos-header-location-select { min-width: 110px !important; max-width: 190px !important; } .pos-header #pos_header_more_options { gap: 3px !important; } .pos-header #pos_header_more_options > a.tw-h-10, .pos-header #pos_header_more_options > button.tw-h-10, .pos-header #pos_header_more_options > a.md\:tw-w-10, .pos-header #pos_header_more_options > button.md\:tw-w-10 { width: 36px !important; min-width: 36px !important; height: 36px !important; } .pos-header #pos_header_more_options svg { width: 18px !important; height: 18px !important; } .pos-header #pos_header_more_options > a.tw-h-auto, .pos-header #pos_header_more_options > button.tw-h-auto { height: 36px !important; padding: 5px 10px !important; } } @media (max-width: 1366px) { .pos-header > .tw-flex { align-items: flex-start !important; } .pos-header .pos-header-location { width: clamp(300px, 33vw, 370px) !important; max-width: 370px !important; } .pos-header .pos-header-location-select { min-width: 95px !important; max-width: 160px !important; } .pos-header .pos-header-date { padding-left: 8px !important; padding-right: 8px !important; } .pos-header #pos_header_more_options { max-height: 78px !important; } } @media (max-width: 767px) { body { padding-bottom: 142px !important; } .pos-header > .tw-flex { position: relative !important; overflow: visible !important; padding: 8px 10px !important; } .pos-customer-control, .pos-search-control { flex: 1 1 100%; max-width: none; min-width: 0; } .pos-header .pos-header-location { max-width: none !important; width: 100% !important; } .pos-header .pos-header-location > .tw-flex { gap: 8px !important; } .pos-header .pos-header-location-label { font-size: 13px !important; } .pos-header .pos-header-location-select { flex: 1 1 auto !important; min-width: 0 !important; max-width: none !important; } .pos-header .pos-header-location-select .form-control { height: 38px !important; font-size: 13px !important; } .pos-header #pos_header_more_options { position: absolute !important; top: calc(100% + 8px) !important; left: 0 !important; right: 0 !important; z-index: 1030 !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; width: 100% !important; max-height: none !important; margin-left: 0 !important; padding: 10px !important; border: 1px solid var(--pos-border) !important; border-radius: 10px !important; background: var(--pos-panel) !important; box-shadow: 0 12px 26px var(--pos-shadow) !important; gap: 8px !important; overflow: visible !important; } .pos-header #pos_header_more_options.tw-hidden { display: none !important; } .pos-header #pos_header_more_options > a, .pos-header #pos_header_more_options > button { width: 100% !important; min-width: 0 !important; height: 52px !important; padding: 6px 5px !important; } .pos-header #pos_header_more_options > span { display: none !important; } .pos-header #pos_header_more_options strong { display: inline-flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 3px !important; width: 100% !important; min-width: 0 !important; margin: 0 !important; font-size: 11px !important; line-height: 1.1 !important; text-align: center !important; white-space: normal !important; } .pos-header #pos_header_more_options svg, .pos-header #pos_header_more_options i { flex: 0 0 auto !important; } .pos-form-actions .pos-footer-action-row { align-items: stretch !important; flex-wrap: wrap !important; gap: 8px !important; padding-left: 8px !important; padding-right: 8px !important; } .pos-form-actions .pos-footer-action-row > div:first-child { width: 100% !important; justify-content: center !important; gap: 10px !important; } .pos-form-actions .pos-mobile-primary-actions { display: flex !important; width: 100% !important; min-width: 0 !important; flex: 1 1 100% !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: stretch !important; justify-content: stretch !important; gap: 4px !important; overflow: visible !important; } .pos-form-actions .pos-mobile-primary-actions > button { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; height: 44px !important; padding: 4px 3px !important; flex-direction: column !important; gap: 2px !important; font-size: 10.5px !important; } .pos-form-actions.pos-form-actions-edit .pos-footer-secondary { display: flex !important; margin-left: 0 !important; } .pos-form-actions.pos-form-actions-edit .pos-mobile-primary-actions > button { flex: 1 1 0 !important; width: 0 !important; min-width: 0 !important; max-width: none !important; margin: 0 !important; } .pos-form-actions.pos-form-actions-edit .pos-footer-cancel-group { display: flex !important; flex: 0 0 auto !important; align-items: center !important; } .pos-form-actions .pos-mobile-primary-actions > button i { font-size: 12px !important; line-height: 12px !important; } .pos-form-actions .pos-footer-action-row > div:first-child .js-pos-cancel, .pos-form-actions .pos-footer-action-row > div:first-child .pos-finalize, .pos-form-actions .pos-footer-action-row > div:first-child .pos-express-finalize[data-pay_method="cash"] { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; max-width: 138px !important; height: 40px !important; } .pos-form-actions .pos-footer-action-row > .pos-mobile-primary-actions > button { max-width: none !important; height: 44px !important; } .pos-form-actions .pos-footer-secondary { width: 100% !important; min-height: 44px !important; gap: 8px !important; padding-bottom: 3px !important; } .pos-form-actions .pos-footer-secondary > button:not(.js-pos-cancel):not(.pos-finalize), .pos-form-actions .pos-footer-secondary > a { width: 68px !important; min-width: 68px !important; height: 42px !important; min-height: 42px !important; font-size: 11px !important; } .pos-form-actions .pos-footer-secondary > a[href*="downpayment"] { width: 88px !important; min-width: 88px !important; } } .pos-products-list-panel .pos-product-list-header { grid-template-columns: minmax(0, 1fr) 74px 112px 36px !important; } .pos-products-list-panel #product_list_body .product_box.pos-list-product-box { grid-template-columns: 56px minmax(0, 1fr) 74px 112px 36px !important; } .pos-list-add-btn { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 7px; background: #2563eb; box-shadow: 0 8px 16px rgba(37, 99, 235, 0.22); } .pos-list-add-btn:hover, .pos-list-add-btn:focus { background: #1d4ed8; } body.pos-theme-dark .pos-product-list-header { background: var(--pos-panel-soft) !important; color: var(--pos-heading) !important; border-color: var(--pos-border) !important; } body.pos-theme-dark .pos-products-list-panel #product_list_body { background: var(--pos-panel) !important; border-color: var(--pos-border) !important; box-shadow: 0 8px 22px var(--pos-shadow) !important; } body.pos-theme-dark .pos-products-list-panel #product_list_body .product_box.pos-list-product-box { background: var(--pos-panel) !important; border-color: var(--pos-border-soft) !important; } body.pos-theme-dark .pos-products-list-panel #product_list_body .product_box.pos-list-product-box:hover { background: var(--pos-hover) !important; } body.pos-theme-dark .pos-products-list-panel #product_list_body .product_box .image-container { background-color: var(--pos-panel-soft) !important; border-color: var(--pos-border) !important; } body.pos-theme-dark #pos_theme_toggle i { color: #fbbf24 !important; } @media (max-height: 700px) { #pos_table .pos-empty-state { min-height: 82px; padding-top: 18px !important; padding-bottom: 18px !important; } } @media (max-width: 1023px) { .pos_product_div { max-height: 55vh; } } body .pos-form-actions .pos-footer-secondary > button.pos-suspend-action, body .pos-form-actions .pos-mobile-primary-actions > button.pos-suspend-action { background: #EF4B51 !important; border-color: #EF4B51 !important; color: #ffffff !important; }