/* Settlement moment - "The Waiter's Docket" Chalk-white surfaces, hairline rules, ink text, Karibu blue as the one primary. Tokens come from selling.css (loaded first); every use carries a fallback. */ /* General utility classes */ .hidden { display: none !important; } @keyframes pos-spin { to { transform: rotate(360deg); } } /* Settlement Modal Styles */ .settlement-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(28, 36, 48, 0.55); z-index: 1000; overflow-y: auto; font-family: var(--pos-font, 'Roboto', system-ui, sans-serif); color: var(--pos-ink, #1c2430); } .settlement-modal.active { display: flex; align-items: center; justify-content: center; } .settlement-content { background: var(--pos-white, #ffffff); border-radius: var(--pos-radius, 6px); width: 90%; max-width: 600px; max-height: 90vh; overflow: hidden; box-shadow: 0 12px 32px rgba(28, 36, 48, 0.24); display: flex; flex-direction: column; } .settlement-header { background: var(--pos-blue, #1e6fb8); color: var(--pos-white, #ffffff); padding: 8px 8px 8px 20px; min-height: 56px; border-radius: var(--pos-radius, 6px) var(--pos-radius, 6px) 0 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0; } .settlement-header h2 { margin: 0; font-size: clamp(18px, 3vh, 22px); font-weight: 600; line-height: 1.2; } .settlement-header .btn-close-modal { appearance: none; -webkit-appearance: none; background: transparent; border: 1px solid transparent; color: var(--pos-white, #ffffff); font: inherit; font-size: 26px; line-height: 1; width: 44px; height: 44px; min-width: 44px; padding: 0; border-radius: var(--pos-radius, 6px); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } @media (hover: hover) { .settlement-header .btn-close-modal:hover { background: rgba(255, 255, 255, 0.14); } } .settlement-header .btn-close-modal:active { background: var(--pos-blue-deep, #175a96); } .settlement-header .btn-close-modal:focus-visible { outline: none; border-color: var(--pos-white, #ffffff); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45); } .settlement-body { padding: clamp(12px, 2.5vh, 24px); overflow-y: auto; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--pos-rule, #dfe4ea) transparent; } .settlement-summary { background: var(--pos-white, #ffffff); padding: 4px 0 0; border-radius: 0; margin-bottom: clamp(12px, 2vh, 20px); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; font-size: clamp(14px, 2vh, 16px); line-height: 1.4; color: var(--pos-ink-2, #4b5563); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .summary-row > span:last-child { color: var(--pos-ink, #1c2430); } .summary-row.total { border-top: 1px solid var(--pos-rule, #dfe4ea); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 28px; line-height: 1.2; color: var(--pos-ink, #1c2430); } .summary-row.total > span:first-child { font-size: 16px; font-weight: 600; color: var(--pos-ink-2, #4b5563); } .payment-methods { margin-bottom: clamp(12px, 2.5vh, 24px); } .payment-methods h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--pos-ink-2, #4b5563); } .payment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .payment-option { appearance: none; -webkit-appearance: none; width: 100%; min-height: 48px; margin: 0; padding: 8px 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); background: var(--pos-white, #ffffff); color: var(--pos-ink, #1c2430); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.25; text-align: center; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } @media (hover: hover) { .payment-option:hover { background: var(--pos-blue-tint, #e8f1fa); border-color: var(--pos-blue, #1e6fb8); } } .payment-option:active { background: var(--pos-blue-tint, #e8f1fa); border-color: var(--pos-blue-deep, #175a96); } .payment-option:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .payment-option.selected, .payment-option[aria-checked="true"] { background: var(--pos-blue, #1e6fb8); border-color: var(--pos-blue, #1e6fb8); color: var(--pos-white, #ffffff); } @media (hover: hover) { .payment-option.selected:hover, .payment-option[aria-checked="true"]:hover { background: var(--pos-blue-deep, #175a96); border-color: var(--pos-blue-deep, #175a96); } } .payment-option.selected:active, .payment-option[aria-checked="true"]:active { background: var(--pos-blue-deep, #175a96); border-color: var(--pos-blue-deep, #175a96); } .payment-details { margin-bottom: clamp(10px, 2vh, 20px); } .payment-details.hidden { display: none; } .form-group { margin-bottom: 12px; position: relative; } .form-group label { display: block; margin-bottom: 4px; font-weight: 500; color: var(--pos-ink-2, #4b5563); font-size: 14px; line-height: 1.3; } .form-group input, .form-group select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); background: var(--pos-white, #ffffff); color: var(--pos-ink, #1c2430); font-family: inherit; font-size: 16px; line-height: 1.3; box-sizing: border-box; caret-color: var(--pos-blue, #1e6fb8); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; transition: border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .form-group input::placeholder { color: var(--pos-ink-3, #5f6b7a); opacity: 1; } .form-group input[readonly] { background: var(--pos-carbon, #eef1f5); } .form-group input:focus, .form-group select:focus { outline: none; border-color: var(--pos-blue, #1e6fb8); } .form-group input:focus-visible, .form-group select:focus-visible { box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .settlement-actions { display: flex; gap: 8px; flex-shrink: 0; margin-top: 0; padding: 12px clamp(12px, 2.5vh, 24px) 16px; border-top: 1px solid var(--pos-rule, #dfe4ea); background: var(--pos-white, #ffffff); } .settlement-actions .btn-settle { appearance: none; -webkit-appearance: none; flex: 1; min-height: 52px; padding: 8px 16px; border: 1px solid transparent; border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.25; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; -webkit-tap-highlight-color: transparent; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .settlement-actions .btn-settle:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .btn-settle-confirm { flex: 2; background: var(--pos-blue, #1e6fb8); border-color: var(--pos-blue, #1e6fb8); color: var(--pos-white, #ffffff); } @media (hover: hover) { .btn-settle-confirm:hover { background: var(--pos-blue-deep, #175a96); border-color: var(--pos-blue-deep, #175a96); } } .btn-settle-confirm:active { background: var(--pos-blue-deep, #175a96); border-color: var(--pos-blue-deep, #175a96); } .btn-settle-confirm.is-busy, .btn-settle-confirm[disabled] { background: var(--pos-blue-deep, #175a96); border-color: var(--pos-blue-deep, #175a96); color: var(--pos-white, #ffffff); opacity: 1; cursor: progress; pointer-events: none; } .btn-settle-confirm.is-busy::before, .btn-settle-confirm[disabled]::before { content: ""; display: inline-block; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: var(--pos-white, #ffffff); animation: pos-spin 0.8s linear infinite; flex-shrink: 0; } .btn-settle-cancel { flex: 1; background: var(--pos-white, #ffffff); border-color: var(--pos-rule, #dfe4ea); color: var(--pos-ink, #1c2430); } @media (hover: hover) { .btn-settle-cancel:hover { background: var(--pos-carbon, #eef1f5); border-color: var(--pos-ink-3, #5f6b7a); } } .btn-settle-cancel:active { background: var(--pos-carbon, #eef1f5); border-color: var(--pos-ink-3, #5f6b7a); } /* PAID slip - injected by settlement.js on success; stands alone in the sheet */ .settlement-paid { padding: 24px; text-align: center; background: var(--pos-green-tint, #e6f4ea); border-top: 1px solid var(--pos-rule, #dfe4ea); border-radius: 0 0 var(--pos-radius, 6px) var(--pos-radius, 6px); display: flex; flex-direction: column; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .settlement-paid__stamp { font-size: 32px; font-weight: 800; letter-spacing: 0.08em; line-height: 1.1; color: var(--pos-green, #1f7a3f); } .settlement-paid__amount { font-size: 40px; font-weight: 700; line-height: 1.15; color: var(--pos-ink, #1c2430); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; margin-top: 4px; } .settlement-paid__method { font-size: 16px; line-height: 1.4; color: var(--pos-ink-2, #4b5563); } .settlement-paid__change { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--pos-ink, #1c2430); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--pos-rule, #dfe4ea); min-width: 60%; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .settlement-paid__change-label { display: block; font-size: 14px; font-weight: 500; color: var(--pos-ink-2, #4b5563); margin-bottom: 2px; } .settlement-paid__note { font-size: 14px; line-height: 1.4; color: var(--pos-ink-3, #5f6b7a); margin-top: 12px; } .settlement-paid--warning { background: var(--pos-amber-tint, #fff4d6); } .settlement-paid--warning .settlement-paid__stamp { color: var(--pos-green, #1f7a3f); } .settlement-paid--warning .settlement-paid__note { color: var(--pos-amber, #8a5a00); font-weight: 500; } .settlement-content.is-paid .settlement-body, .settlement-content.is-paid .settlement-actions { display: none; } @media (max-width: 768px) { .settlement-content { width: 95%; max-height: 95vh; } .payment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .settlement-actions { flex-direction: column-reverse; } .settlement-actions .btn-settle { flex: none; width: 100%; } } @media (max-width: 400px) { .payment-grid { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { .btn-settle-confirm.is-busy::before, .btn-settle-confirm[disabled]::before { animation-duration: 1.6s; } } /* Debtor Selection Modal Styles */ .debtor-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(28, 36, 48, 0.55); z-index: 1001; overflow-y: auto; font-family: var(--pos-font, 'Roboto', system-ui, sans-serif); color: var(--pos-ink, #1c2430); } .debtor-modal.active { display: flex; align-items: center; justify-content: center; } .debtor-content { background: var(--pos-white, #ffffff); border-radius: var(--pos-radius, 6px); width: 90%; max-width: 700px; max-height: 90vh; overflow: hidden; box-shadow: 0 12px 32px rgba(28, 36, 48, 0.24); display: flex; flex-direction: column; } .debtor-header { background: var(--pos-blue, #1e6fb8); color: var(--pos-white, #ffffff); padding: 8px 8px 8px 20px; min-height: 56px; border-radius: var(--pos-radius, 6px) var(--pos-radius, 6px) 0 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0; } .debtor-header h2 { margin: 0; font-size: clamp(18px, 3vh, 22px); font-weight: 600; line-height: 1.2; } .debtor-header .btn-close-modal, .electronic-header .btn-close-modal, .new-client-modal .modal-header .btn-close-modal, #houseUseManagementModal .modal-header .btn-close-modal { appearance: none; -webkit-appearance: none; background: transparent; border: 1px solid transparent; color: var(--pos-white, #ffffff); font: inherit; font-size: 26px; line-height: 1; width: 44px; height: 44px; min-width: 44px; padding: 0; border-radius: var(--pos-radius, 6px); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .debtor-header .btn-close-modal:active, .electronic-header .btn-close-modal:active, .new-client-modal .modal-header .btn-close-modal:active, #houseUseManagementModal .modal-header .btn-close-modal:active { background: var(--pos-blue-deep, #175a96); } .debtor-header .btn-close-modal:focus-visible, .electronic-header .btn-close-modal:focus-visible, .new-client-modal .modal-header .btn-close-modal:focus-visible, #houseUseManagementModal .modal-header .btn-close-modal:focus-visible { outline: none; border-color: var(--pos-white, #ffffff); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45); } .debtor-body { padding: clamp(12px, 2.5vh, 24px); overflow-y: auto; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--pos-rule, #dfe4ea) transparent; } .debtor-type-selection { margin-bottom: clamp(12px, 2.5vh, 24px); } .debtor-type-selection h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--pos-ink-2, #4b5563); } .debtor-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .debtor-type-option { border: 1px solid var(--pos-rule, #dfe4ea); min-height: 48px; padding: 8px 16px; border-radius: var(--pos-radius, 6px); cursor: pointer; text-align: center; background: var(--pos-white, #ffffff); color: var(--pos-ink, #1c2430); display: flex; align-items: center; justify-content: center; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } @media (hover: hover) { .debtor-type-option:hover { border-color: var(--pos-blue, #1e6fb8); background: var(--pos-blue-tint, #e8f1fa); } } .debtor-type-option:active { background: var(--pos-blue-tint, #e8f1fa); border-color: var(--pos-blue-deep, #175a96); } .debtor-type-option:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .debtor-type-option.selected { border-color: var(--pos-blue, #1e6fb8); background: var(--pos-blue, #1e6fb8); color: var(--pos-white, #ffffff); } .debtor-type-option .label { font-size: 15px; font-weight: 600; line-height: 1.25; } #debtorListContainer h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--pos-ink-2, #4b5563); } .debtor-search { margin-bottom: 12px; } .debtor-search input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); background: var(--pos-white, #ffffff); color: var(--pos-ink, #1c2430); font-family: inherit; font-size: 16px; box-sizing: border-box; caret-color: var(--pos-blue, #1e6fb8); transition: border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .debtor-search input:focus { outline: none; border-color: var(--pos-blue, #1e6fb8); } .debtor-search input:focus-visible { box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .debtor-search input::placeholder { color: var(--pos-ink-3, #5f6b7a); opacity: 1; } .debtor-list { max-height: clamp(200px, 40vh, 400px); overflow-y: auto; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); padding: 8px; scrollbar-width: thin; scrollbar-color: var(--pos-rule, #dfe4ea) transparent; } .debtor-item { border: 1px solid var(--pos-rule, #dfe4ea); min-height: 44px; padding: 12px; margin-bottom: 8px; border-radius: var(--pos-radius, 6px); cursor: pointer; background: var(--pos-white, #ffffff); transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .debtor-item:last-child { margin-bottom: 0; } @media (hover: hover) { .debtor-item:hover { border-color: var(--pos-blue, #1e6fb8); background: var(--pos-blue-tint, #e8f1fa); } } .debtor-item:active { background: var(--pos-carbon, #eef1f5); } .debtor-item.selected { border-color: var(--pos-blue, #1e6fb8); background: var(--pos-blue-tint, #e8f1fa); } .debtor-item.exceeds-limit { border-color: var(--pos-red, #b3261e); } @media (hover: hover) { .debtor-item.exceeds-limit:hover { background: var(--pos-red-tint, #fbeae8); } } .debtor-info { width: 100%; } .debtor-name { font-size: 15px; font-weight: 600; color: var(--pos-ink, #1c2430); margin-bottom: 4px; } .debtor-details { font-size: 14px; color: var(--pos-ink-2, #4b5563); margin-bottom: 4px; } .debtor-balance { font-size: 14px; color: var(--pos-ink-2, #4b5563); font-weight: 500; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .credit-limit-warning { margin-top: 8px; padding: 8px 12px; background: var(--pos-amber-tint, #fff4d6); border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); color: var(--pos-amber, #8a5a00); font-size: 14px; font-weight: 500; } .no-debtors { text-align: center; padding: clamp(20px, 5vh, 40px); color: var(--pos-ink-3, #5f6b7a); font-size: 15px; } @media (max-width: 768px) { .debtor-content { width: 95%; max-height: 95vh; } .debtor-type-grid { grid-template-columns: 1fr; } .debtor-list { max-height: 300px; } } /* Electronic Payment Modal Styles */ .electronic-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(28, 36, 48, 0.55); z-index: 1001; overflow-y: auto; font-family: var(--pos-font, 'Roboto', system-ui, sans-serif); color: var(--pos-ink, #1c2430); } .electronic-modal.active { display: flex; align-items: center; justify-content: center; } .electronic-content { background: var(--pos-white, #ffffff); border-radius: var(--pos-radius, 6px); width: 90%; max-width: 650px; max-height: 90vh; overflow: hidden; box-shadow: 0 12px 32px rgba(28, 36, 48, 0.24); display: flex; flex-direction: column; } .electronic-header { background: var(--pos-blue, #1e6fb8); color: var(--pos-white, #ffffff); padding: 8px 8px 8px 20px; min-height: 56px; border-radius: var(--pos-radius, 6px) var(--pos-radius, 6px) 0 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0; } .electronic-header h2 { margin: 0; font-size: clamp(18px, 3vh, 22px); font-weight: 600; line-height: 1.2; } .electronic-body { padding: clamp(12px, 2.5vh, 24px); overflow-y: auto; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--pos-rule, #dfe4ea) transparent; } .payment-summary { background: var(--pos-white, #ffffff); padding: 0; border-radius: 0; margin-bottom: clamp(12px, 2.5vh, 24px); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .summary-item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; font-size: clamp(14px, 2vh, 16px); } .summary-item.pending { border-top: 1px solid var(--pos-rule, #dfe4ea); margin-top: 8px; padding-top: 12px; font-weight: 700; } .summary-label { color: var(--pos-ink-2, #4b5563); } .summary-value { font-weight: 600; color: var(--pos-ink, #1c2430); font-size: clamp(16px, 2.5vh, 20px); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .payment-split-section { margin-bottom: clamp(12px, 2.5vh, 24px); padding: 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); background: var(--pos-white, #ffffff); } .payment-split-section h3 { margin: 0 0 8px 0; font-size: 15px; font-weight: 600; color: var(--pos-ink-2, #4b5563); } .payment-split-section .form-group { margin-bottom: 12px; } .payment-split-section .form-group:last-child { margin-bottom: 0; } .payment-split-section select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 16px; color: var(--pos-ink, #1c2430); background: var(--pos-white, #ffffff); cursor: pointer; box-sizing: border-box; transition: border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .payment-split-section select:focus { outline: none; border-color: var(--pos-blue, #1e6fb8); } .payment-split-section select:focus-visible { box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .electronic-actions { display: flex; gap: 8px; margin-top: clamp(12px, 2.5vh, 24px); } .btn-electronic { appearance: none; -webkit-appearance: none; flex: 1; min-height: 52px; padding: 8px 16px; border: 1px solid transparent; border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.25; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .btn-electronic:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .btn-electronic-confirm { flex: 2; background: var(--pos-blue, #1e6fb8); border-color: var(--pos-blue, #1e6fb8); color: var(--pos-white, #ffffff); } @media (hover: hover) { .btn-electronic-confirm:hover { background: var(--pos-blue-deep, #175a96); border-color: var(--pos-blue-deep, #175a96); } } .btn-electronic-confirm:active { background: var(--pos-blue-deep, #175a96); border-color: var(--pos-blue-deep, #175a96); } .btn-electronic-cancel { background: var(--pos-white, #ffffff); border-color: var(--pos-rule, #dfe4ea); color: var(--pos-ink, #1c2430); } @media (hover: hover) { .btn-electronic-cancel:hover { background: var(--pos-carbon, #eef1f5); border-color: var(--pos-ink-3, #5f6b7a); } } .btn-electronic-cancel:active { background: var(--pos-carbon, #eef1f5); } @media (max-width: 768px) { .electronic-content { width: 95%; max-height: 95vh; } .electronic-actions { flex-direction: column-reverse; } .payment-split-section h3 { font-size: 15px; } } /* Customer Details Section */ .customer-details { padding: 12px 16px; background: var(--pos-carbon, #eef1f5); border-bottom: 1px solid var(--pos-rule, #dfe4ea); } .customer-details .form-group { margin-bottom: 8px; } /* Room Info Display */ .room-info { margin-top: 8px; padding: 12px; background: var(--pos-blue-tint, #e8f1fa); border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); } .room-info.hidden { display: none; } .room-info p { margin: 4px 0; font-size: 14px; color: var(--pos-ink-2, #4b5563); } .room-info strong { color: var(--pos-ink, #1c2430); } /* Room Search Input */ #roomSearch { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 16px; color: var(--pos-ink, #1c2430); background: var(--pos-white, #ffffff); box-sizing: border-box; } /* Room Dropdown List */ .room-dropdown { position: absolute; width: calc(100% - 40px); max-height: 300px; overflow-y: auto; background: var(--pos-white, #ffffff); border: 1px solid var(--pos-rule, #dfe4ea); border-top: none; border-radius: 0 0 var(--pos-radius, 6px) var(--pos-radius, 6px); box-shadow: 0 8px 20px rgba(28, 36, 48, 0.14); z-index: 1000; margin-top: -1px; } .room-dropdown.hidden { display: none; } /* Room dropdown header */ .room-dropdown-header { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 8px 12px; background: var(--pos-carbon, #eef1f5); border-bottom: 1px solid var(--pos-rule, #dfe4ea); font-weight: 600; font-size: 13px; color: var(--pos-ink-2, #4b5563); position: sticky; top: 0; z-index: 10; } .room-dropdown-item { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; min-height: 44px; padding: 12px; cursor: pointer; border-bottom: 1px solid var(--pos-rule, #dfe4ea); transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); align-items: center; } @media (hover: hover) { .room-dropdown-item:hover { background: var(--pos-blue-tint, #e8f1fa); } } .room-dropdown-item:active { background: var(--pos-carbon, #eef1f5); } .room-dropdown-item:last-child { border-bottom: none; } .room-dropdown-item .room-number { font-weight: 600; color: var(--pos-blue, #1e6fb8); font-size: 14px; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .room-dropdown-item .guest-name { color: var(--pos-ink, #1c2430); font-size: 14px; } .no-rooms-found { padding: 12px; text-align: center; color: var(--pos-ink-3, #5f6b7a); font-size: 14px; } /* Event Search Input */ #eventSearch { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 16px; color: var(--pos-ink, #1c2430); background: var(--pos-white, #ffffff); box-sizing: border-box; } /* Event Dropdown List */ .event-dropdown { position: absolute; width: calc(100% - 40px); max-height: 300px; overflow-y: auto; background: var(--pos-white, #ffffff); border: 1px solid var(--pos-rule, #dfe4ea); border-top: none; border-radius: 0 0 var(--pos-radius, 6px) var(--pos-radius, 6px); box-shadow: 0 8px 20px rgba(28, 36, 48, 0.14); z-index: 1000; margin-top: -1px; } .event-dropdown.hidden { display: none; } /* Event dropdown header */ .event-dropdown-header { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 8px; padding: 8px 12px; background: var(--pos-carbon, #eef1f5); border-bottom: 1px solid var(--pos-rule, #dfe4ea); font-weight: 600; font-size: 13px; color: var(--pos-ink-2, #4b5563); position: sticky; top: 0; z-index: 10; } .event-dropdown-header span:last-child { text-align: center; } .event-dropdown-item { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 8px; min-height: 44px; padding: 12px; cursor: pointer; border-bottom: 1px solid var(--pos-rule, #dfe4ea); transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); align-items: center; } @media (hover: hover) { .event-dropdown-item:hover { background: var(--pos-blue-tint, #e8f1fa); } } .event-dropdown-item:active { background: var(--pos-carbon, #eef1f5); } .event-dropdown-item:last-child { border-bottom: none; } .event-dropdown-item .event-name { font-weight: 600; color: var(--pos-blue, #1e6fb8); font-size: 14px; } .event-dropdown-item .event-org { color: var(--pos-ink, #1c2430); font-size: 14px; } .event-dropdown-item .event-pax { color: var(--pos-ink-2, #4b5563); font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } /* Event Info Display */ .event-info { margin-top: 8px; padding: 12px; background: var(--pos-blue-tint, #e8f1fa); border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); } .event-info.hidden { display: none; } .event-info p { margin: 4px 0; font-size: 14px; color: var(--pos-ink-2, #4b5563); } .event-info strong { color: var(--pos-ink, #1c2430); } /* Meal Plan Room Dropdown Styles */ .mealplan-room-dropdown { position: absolute; top: 100%; left: 0; right: 0; max-height: 300px; overflow-y: auto; background: var(--pos-white, #ffffff); border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); margin-top: 4px; box-shadow: 0 8px 20px rgba(28, 36, 48, 0.14); z-index: 1000; } .mealplan-room-dropdown.hidden { display: none; } /* Meal Plan Room dropdown header */ .mealplan-room-dropdown-header { display: grid; grid-template-columns: 1fr 2fr 1fr 2fr; gap: 8px; padding: 8px 12px; background: var(--pos-carbon, #eef1f5); border-bottom: 1px solid var(--pos-rule, #dfe4ea); font-weight: 600; font-size: 13px; color: var(--pos-ink-2, #4b5563); position: sticky; top: 0; z-index: 10; } .mealplan-room-dropdown-item { display: grid; grid-template-columns: 1fr 2fr 1fr 2fr; gap: 8px; min-height: 44px; padding: 12px; cursor: pointer; border-bottom: 1px solid var(--pos-rule, #dfe4ea); transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); align-items: center; } @media (hover: hover) { .mealplan-room-dropdown-item:hover { background-color: var(--pos-blue-tint, #e8f1fa); } } .mealplan-room-dropdown-item:active { background-color: var(--pos-carbon, #eef1f5); } .mealplan-room-dropdown-item:last-child { border-bottom: none; } .mealplan-room-dropdown-item .room-number { font-weight: 600; color: var(--pos-blue, #1e6fb8); font-size: 14px; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .mealplan-room-dropdown-item .guest-name { color: var(--pos-ink, #1c2430); font-size: 14px; } .mealplan-room-dropdown-item .room-pax { color: var(--pos-ink-2, #4b5563); font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .mealplan-room-dropdown-item .meal-plan { color: var(--pos-ink-2, #4b5563); font-size: 14px; } /* Meal Plan Room Info Display */ .mealplan-room-info { margin-top: 8px; padding: 12px; background: var(--pos-blue-tint, #e8f1fa); border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); } .mealplan-room-info.hidden { display: none; } .mealplan-room-info p { margin: 4px 0; font-size: 14px; color: var(--pos-ink-2, #4b5563); } .mealplan-room-info strong { color: var(--pos-ink, #1c2430); } /* Customer Search Dropdown Styles */ .customer-search-wrapper { position: relative; display: flex; gap: 8px; } .customer-search-wrapper input[type="text"] { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 16px; color: var(--pos-ink, #1c2430); background: var(--pos-white, #ffffff); box-sizing: border-box; transition: border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .customer-search-wrapper input[type="text"]:focus { outline: none; border-color: var(--pos-blue, #1e6fb8); } .customer-search-wrapper input[type="text"]:focus-visible { box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .btn-add-client { appearance: none; -webkit-appearance: none; width: 44px; height: 44px; min-width: 44px; flex-shrink: 0; background: var(--pos-white, #ffffff); color: var(--pos-blue, #1e6fb8); border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 22px; font-weight: 600; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } @media (hover: hover) { .btn-add-client:hover { background: var(--pos-blue-tint, #e8f1fa); border-color: var(--pos-blue, #1e6fb8); } } .btn-add-client:active { background: var(--pos-carbon, #eef1f5); border-color: var(--pos-blue-deep, #175a96); } .btn-add-client:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .customer-dropdown { position: absolute; top: 100%; left: 0; right: 52px; max-height: 300px; overflow-y: auto; background: var(--pos-white, #ffffff); border: 1px solid var(--pos-rule, #dfe4ea); border-top: none; border-radius: 0 0 var(--pos-radius, 6px) var(--pos-radius, 6px); box-shadow: 0 8px 20px rgba(28, 36, 48, 0.14); z-index: 1000; margin-top: -1px; } .customer-dropdown-empty { padding: 16px; text-align: center; color: var(--pos-ink-3, #5f6b7a); font-size: 14px; } .customer-dropdown.hidden { display: none; } .customer-dropdown-item { padding: 12px; cursor: pointer; border-bottom: 1px solid var(--pos-rule, #dfe4ea); transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } @media (hover: hover) { .customer-dropdown-item:hover { background: var(--pos-blue-tint, #e8f1fa); } } .customer-dropdown-item:active { background: var(--pos-carbon, #eef1f5); } .customer-dropdown-item:last-child { border-bottom: none; } .customer-dropdown-item .client-name { font-weight: 500; color: var(--pos-ink, #1c2430); font-size: 14px; } .customer-dropdown-item .client-details { font-size: 13px; color: var(--pos-ink-2, #4b5563); margin-top: 4px; } .customer-dropdown-item .client-tin { display: inline-block; background: var(--pos-blue-tint, #e8f1fa); color: var(--pos-blue-deep, #175a96); padding: 2px 6px; border-radius: var(--pos-radius, 6px); font-size: 12px; margin-left: 8px; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } /* Client edit / delete actions inside the customer dropdown */ .customer-dropdown-item { display: flex; align-items: stretch; padding: 0; } .customer-dropdown-item-main { flex: 1 1 auto; min-height: 44px; padding: 12px; cursor: pointer; min-width: 0; } .customer-dropdown-item-actions { display: flex; align-items: center; gap: 4px; padding: 0 8px; flex-shrink: 0; } .client-action-btn { appearance: none; -webkit-appearance: none; background: var(--pos-white, #ffffff); border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); color: var(--pos-ink-2, #4b5563); cursor: pointer; font-family: inherit; font-size: 14px; line-height: 1; min-width: 36px; min-height: 36px; padding: 6px 8px; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .client-action-btn:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } @media (hover: hover) { .client-edit-btn:hover { background: var(--pos-blue-tint, #e8f1fa); border-color: var(--pos-blue, #1e6fb8); } .client-delete-btn:hover { background: var(--pos-red-tint, #fbeae8); border-color: var(--pos-red, #b3261e); } } .client-edit-btn:active { background: var(--pos-blue-tint, #e8f1fa); } .client-delete-btn:active { background: var(--pos-red-tint, #fbeae8); } /* "View deleted clients" link under the customer search */ .deleted-clients-link { display: inline-block; margin-top: 6px; padding: 4px 0; font-size: 13px; color: var(--pos-blue, #1e6fb8); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; } @media (hover: hover) { .deleted-clients-link:hover { color: var(--pos-blue-deep, #175a96); } } .deleted-clients-link:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); border-radius: var(--pos-radius, 6px); } /* Deleted clients modal table */ .deleted-clients-table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--pos-ink, #1c2430); } .deleted-clients-table th, .deleted-clients-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--pos-rule, #dfe4ea); } .deleted-clients-table th { background: var(--pos-carbon, #eef1f5); color: var(--pos-ink-2, #4b5563); font-weight: 600; } @media (hover: hover) { .deleted-clients-table tbody tr:hover { background: var(--pos-blue-tint, #e8f1fa); } } .deleted-clients-empty { padding: 16px; text-align: center; color: var(--pos-ink-3, #5f6b7a); font-size: 14px; } .deleted-clients-search { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 12px; margin-bottom: 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 16px; color: var(--pos-ink, #1c2430); transition: border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .deleted-clients-search:focus { outline: none; border-color: var(--pos-blue, #1e6fb8); } .deleted-clients-search:focus-visible { box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .btn-restore-client { appearance: none; -webkit-appearance: none; background: var(--pos-white, #ffffff); color: var(--pos-blue, #1e6fb8); border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; min-height: 36px; padding: 6px 12px; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } @media (hover: hover) { .btn-restore-client:hover { background: var(--pos-blue-tint, #e8f1fa); border-color: var(--pos-blue, #1e6fb8); } } .btn-restore-client:active { background: var(--pos-carbon, #eef1f5); } .btn-restore-client:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .no-clients-found { padding: 12px; text-align: center; color: var(--pos-ink-3, #5f6b7a); font-size: 14px; } .selected-client-info { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 8px 12px; min-height: 44px; background: var(--pos-green-tint, #e6f4ea); border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); font-size: 14px; color: var(--pos-ink, #1c2430); } .selected-client-info.hidden { display: none; } .selected-client-info .client-tin-badge { display: inline-block; background: var(--pos-white, #ffffff); color: var(--pos-green, #1f7a3f); border: 1px solid var(--pos-rule, #dfe4ea); padding: 2px 8px; border-radius: var(--pos-radius, 6px); font-size: 12px; font-weight: 500; margin-left: 8px; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .btn-clear-client { appearance: none; -webkit-appearance: none; background: transparent; border: 1px solid transparent; border-radius: var(--pos-radius, 6px); color: var(--pos-red, #b3261e); font-family: inherit; font-size: 20px; cursor: pointer; width: 36px; height: 36px; padding: 0; line-height: 1; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; } @media (hover: hover) { .btn-clear-client:hover { background: var(--pos-red-tint, #fbeae8); } } .btn-clear-client:active { background: var(--pos-red-tint, #fbeae8); } .btn-clear-client:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } /* New Client Modal Styles */ .new-client-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(28, 36, 48, 0.55); z-index: 2000; align-items: center; justify-content: center; padding: 20px; font-family: var(--pos-font, 'Roboto', system-ui, sans-serif); color: var(--pos-ink, #1c2430); } /* When displayed via JS (display: flex) */ .new-client-modal[style*="display: flex"] { display: flex !important; } .new-client-modal .modal-content { background: var(--pos-white, #ffffff); border-radius: var(--pos-radius, 6px); box-shadow: 0 12px 32px rgba(28, 36, 48, 0.24); max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; } .new-client-modal .modal-header { background: var(--pos-blue, #1e6fb8); color: var(--pos-white, #ffffff); padding: 8px 8px 8px 20px; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0; } .new-client-modal .modal-header h2 { margin: 0; font-size: clamp(16px, 2.5vh, 20px); font-weight: 600; } .new-client-modal .modal-body { padding: clamp(12px, 2vh, 20px); max-height: 65vh; overflow-y: auto; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--pos-rule, #dfe4ea) transparent; } .new-client-modal .modal-footer { padding: 12px clamp(12px, 1.5vw, 20px); background: var(--pos-carbon, #eef1f5); border-top: 1px solid var(--pos-rule, #dfe4ea); display: flex; gap: 8px; justify-content: flex-end; flex-shrink: 0; } /* Form groups inside new client modal */ .new-client-modal .form-group { margin-bottom: 12px; } .new-client-modal .form-group label { display: block; font-weight: 500; margin-bottom: 4px; color: var(--pos-ink-2, #4b5563); font-size: 14px; } .new-client-modal .form-group input, .new-client-modal .form-group .form-control { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 16px; color: var(--pos-ink, #1c2430); background: var(--pos-white, #ffffff); box-sizing: border-box; transition: border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .new-client-modal .form-group input:focus, .new-client-modal .form-group .form-control:focus { outline: none; border-color: var(--pos-blue, #1e6fb8); } .new-client-modal .form-group input:focus-visible, .new-client-modal .form-group .form-control:focus-visible { box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .tin-lookup-wrapper { display: flex; gap: 8px; } .tin-lookup-wrapper input { flex: 1; min-width: 0; } .btn-tin-lookup { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 8px 16px; background: var(--pos-blue, #1e6fb8); color: var(--pos-white, #ffffff); border: 1px solid var(--pos-blue, #1e6fb8); border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 4px; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } @media (hover: hover) { .btn-tin-lookup:hover { background: var(--pos-blue-deep, #175a96); border-color: var(--pos-blue-deep, #175a96); } } .btn-tin-lookup:active { background: var(--pos-blue-deep, #175a96); } .btn-tin-lookup:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .btn-tin-lookup:disabled { background: var(--pos-carbon, #eef1f5); border-color: var(--pos-rule, #dfe4ea); color: var(--pos-ink-3, #5f6b7a); cursor: not-allowed; } .tin-lookup-result { margin-top: 8px; font-size: 14px; } .tin-lookup-result .tin-success { background: var(--pos-green-tint, #e6f4ea); border: 1px solid var(--pos-rule, #dfe4ea); color: var(--pos-green, #1f7a3f); padding: 12px; border-radius: var(--pos-radius, 6px); } .tin-lookup-result .tin-error { background: var(--pos-red-tint, #fbeae8); border: 1px solid var(--pos-rule, #dfe4ea); color: var(--pos-red, #b3261e); padding: 12px; border-radius: var(--pos-radius, 6px); } .tin-lookup-result .tin-loading { background: var(--pos-blue-tint, #e8f1fa); border: 1px solid var(--pos-rule, #dfe4ea); color: var(--pos-blue-deep, #175a96); padding: 12px; border-radius: var(--pos-radius, 6px); text-align: center; } .tin-lookup-result.hidden { display: none; } .efris-indicator { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; background: var(--pos-blue-tint, #e8f1fa); color: var(--pos-blue-deep, #175a96); border-radius: var(--pos-radius, 6px); font-size: 13px; font-weight: 500; margin-left: 8px; } .efris-indicator.active { background: var(--pos-green-tint, #e6f4ea); color: var(--pos-green, #1f7a3f); } /* House Use Searchable Dropdown Styles */ .btn-add-new { appearance: none; -webkit-appearance: none; min-height: 36px; padding: 6px 12px; background-color: var(--pos-white, #ffffff); color: var(--pos-blue, #1e6fb8); border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } @media (hover: hover) { .btn-add-new:hover { background-color: var(--pos-blue-tint, #e8f1fa); border-color: var(--pos-blue, #1e6fb8); } } .btn-add-new:active { background-color: var(--pos-carbon, #eef1f5); } .btn-add-new:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .searchable-dropdown-container { position: relative; } .searchable-dropdown-container input[type="text"] { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 16px; color: var(--pos-ink, #1c2430); background: var(--pos-white, #ffffff); box-sizing: border-box; transition: border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .searchable-dropdown-container input[type="text"]:focus { outline: none; border-color: var(--pos-blue, #1e6fb8); } .searchable-dropdown-container input[type="text"]:focus-visible { box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .dropdown-list { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--pos-white, #ffffff); border: 1px solid var(--pos-rule, #dfe4ea); border-top: none; border-radius: 0 0 var(--pos-radius, 6px) var(--pos-radius, 6px); max-height: 300px; overflow-y: auto; z-index: 1000; box-shadow: 0 8px 20px rgba(28, 36, 48, 0.14); } .dropdown-table { width: 100%; border-collapse: collapse; } .dropdown-table thead { background-color: var(--pos-carbon, #eef1f5); position: sticky; top: 0; } .dropdown-table th { padding: 8px 12px; text-align: left; font-weight: 600; font-size: 13px; color: var(--pos-ink-2, #4b5563); border-bottom: 1px solid var(--pos-rule, #dfe4ea); } .dropdown-item-row { cursor: pointer; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } @media (hover: hover) { .dropdown-item-row:hover { background-color: var(--pos-blue-tint, #e8f1fa); } } .dropdown-item-row:active { background-color: var(--pos-carbon, #eef1f5); } .dropdown-item-row td { padding: 12px; border-bottom: 1px solid var(--pos-rule, #dfe4ea); font-size: 14px; color: var(--pos-ink, #1c2430); } /* House Use Management Modal Styles */ #houseUseManagementModal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(28, 36, 48, 0.55); z-index: 1001; justify-content: center; align-items: center; font-family: var(--pos-font, 'Roboto', system-ui, sans-serif); color: var(--pos-ink, #1c2430); } #houseUseManagementModal .modal-content { background: var(--pos-white, #ffffff); border-radius: var(--pos-radius, 6px); max-height: 90vh; overflow: hidden; box-shadow: 0 12px 32px rgba(28, 36, 48, 0.24); display: flex; flex-direction: column; } #houseUseManagementModal .modal-header { background: var(--pos-blue, #1e6fb8); color: var(--pos-white, #ffffff); padding: 8px 8px 8px 20px; min-height: 56px; border-radius: var(--pos-radius, 6px) var(--pos-radius, 6px) 0 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0; } #houseUseManagementModal .modal-header h2 { margin: 0; font-size: clamp(18px, 3vh, 22px); font-weight: 600; } #houseUseManagementModal .modal-body { padding: clamp(12px, 2vh, 20px); overflow-y: auto; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--pos-rule, #dfe4ea) transparent; } #houseUseManagementModal .modal-footer { padding: 12px clamp(12px, 1.5vw, 20px); border-top: 1px solid var(--pos-rule, #dfe4ea); display: flex; justify-content: flex-end; flex-shrink: 0; } /* House Use Toolbar */ .house-use-toolbar { margin-bottom: 12px; padding: 8px; background-color: var(--pos-carbon, #eef1f5); border-radius: var(--pos-radius, 6px); display: flex; flex-wrap: wrap; gap: 8px; } .btn-toolbar { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 8px 16px; border: 1px solid transparent; border-radius: var(--pos-radius, 6px); cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .btn-toolbar:focus-visible { outline: none; box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .btn-new { background-color: var(--pos-white, #ffffff); border-color: var(--pos-rule, #dfe4ea); color: var(--pos-ink, #1c2430); } @media (hover: hover) { .btn-new:hover { background-color: var(--pos-blue-tint, #e8f1fa); border-color: var(--pos-blue, #1e6fb8); } } .btn-new:active { background-color: var(--pos-carbon, #eef1f5); } .btn-save { background-color: var(--pos-blue, #1e6fb8); border-color: var(--pos-blue, #1e6fb8); color: var(--pos-white, #ffffff); } @media (hover: hover) { .btn-save:hover { background-color: var(--pos-blue-deep, #175a96); border-color: var(--pos-blue-deep, #175a96); } } .btn-save:active { background-color: var(--pos-blue-deep, #175a96); } .btn-delete { background-color: var(--pos-white, #ffffff); border-color: var(--pos-red, #b3261e); color: var(--pos-red, #b3261e); } @media (hover: hover) { .btn-delete:hover { background-color: var(--pos-red-tint, #fbeae8); } } .btn-delete:active { background-color: var(--pos-red-tint, #fbeae8); } /* House Use Table */ .house-use-table-container { border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); overflow: visible; } .house-use-table { width: 100%; border-collapse: collapse; } .house-use-table thead { background-color: var(--pos-carbon, #eef1f5); } .house-use-table th { padding: 12px; text-align: left; font-weight: 600; font-size: 14px; color: var(--pos-ink-2, #4b5563); border-bottom: 1px solid var(--pos-rule, #dfe4ea); } .house-use-table tbody tr { transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } @media (hover: hover) { .house-use-table tbody tr:hover { background-color: var(--pos-blue-tint, #e8f1fa); } } .house-use-table td { padding: 8px 12px; border-bottom: 1px solid var(--pos-rule, #dfe4ea); } .house-use-table input[type="checkbox"] { cursor: pointer; width: 20px; height: 20px; accent-color: var(--pos-blue, #1e6fb8); } .house-use-input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 16px; color: var(--pos-ink, #1c2430); background: var(--pos-white, #ffffff); box-sizing: border-box; transition: border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .house-use-input:focus { outline: none; border-color: var(--pos-blue, #1e6fb8); } .house-use-input:focus-visible { box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } .house-use-select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--pos-rule, #dfe4ea); border-radius: var(--pos-radius, 6px); font-family: inherit; font-size: 16px; color: var(--pos-ink, #1c2430); background-color: var(--pos-white, #ffffff); box-sizing: border-box; transition: border-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)), box-shadow var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } .house-use-select:focus { outline: none; border-color: var(--pos-blue, #1e6fb8); } .house-use-select:focus-visible { box-shadow: var(--pos-focus, 0 0 0 3px #a9c9ea); } /* Searchable Ledger Dropdown in Table */ .ledger-search-container { position: relative; } .ledger-dropdown-list { position: absolute; top: 100%; left: 0; right: 0; background: var(--pos-white, #ffffff); border: 1px solid var(--pos-rule, #dfe4ea); border-top: none; border-radius: 0 0 var(--pos-radius, 6px) var(--pos-radius, 6px); max-height: 200px; overflow-y: auto; z-index: 1000; box-shadow: 0 8px 20px rgba(28, 36, 48, 0.14); } .ledger-dropdown-item { min-height: 44px; padding: 12px; cursor: pointer; font-size: 14px; color: var(--pos-ink, #1c2430); border-bottom: 1px solid var(--pos-rule, #dfe4ea); transition: background-color var(--pos-ease, 180ms cubic-bezier(.2,.7,.2,1)); } @media (hover: hover) { .ledger-dropdown-item:hover { background-color: var(--pos-blue-tint, #e8f1fa); } } .ledger-dropdown-item:active { background-color: var(--pos-carbon, #eef1f5); } .ledger-dropdown-item:last-child { border-bottom: none; } /* Remove spinner/scroll arrows from number inputs in electronic payment modal */ #cardAmount::-webkit-outer-spin-button, #cardAmount::-webkit-inner-spin-button, #mobileAmount::-webkit-outer-spin-button, #mobileAmount::-webkit-inner-spin-button, #mobileAmount2::-webkit-outer-spin-button, #mobileAmount2::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } #cardAmount, #mobileAmount, #mobileAmount2 { -moz-appearance: textfield; /* Firefox */ } @media (min-width: 640px) { .payment-grid { grid-template-columns: repeat(4, 1fr); } } /* Vibrant layer (2026-09-22): payment methods and the summary carry colour so they separate from the white sheet. Same tokens as the docket. */ .settlement-modal .settlement-summary { background: var(--pos-blue-tint, #e8f1fa); padding: 12px 16px 10px; border-radius: var(--pos-radius, 6px); } .settlement-modal .summary-row.total { color: var(--pos-blue-deep, #175a96); border-top-color: var(--pos-blue, #1e6fb8); } .settlement-modal .payment-methods { background: var(--pos-paper, #e6ecf4); padding: 12px; border-radius: var(--pos-radius, 6px); } .settlement-modal .payment-methods h3 { margin-bottom: 8px; } .settlement-modal .payment-option { background: var(--pos-white, #ffffff); border: 2px solid #a9c9ea; color: var(--pos-blue-deep, #175a96); font-weight: 700; box-shadow: 0 2px 6px rgba(28, 36, 48, 0.08); } .settlement-modal .payment-option.selected, .settlement-modal .payment-option[aria-checked="true"] { background: var(--pos-blue, #1e6fb8); border-color: var(--pos-blue, #1e6fb8); color: #fff; box-shadow: 0 8px 20px -6px rgba(30, 111, 184, 0.55); } @media (hover: hover) { .settlement-modal .payment-option:hover { background: var(--pos-blue-tint, #e8f1fa); border-color: var(--pos-blue, #1e6fb8); } .settlement-modal .payment-option.selected:hover, .settlement-modal .payment-option[aria-checked="true"]:hover { background: var(--pos-blue-deep, #175a96); border-color: var(--pos-blue-deep, #175a96); } } .settlement-modal .payment-option:active { background: #cfe0f2; } .settlement-modal .payment-option.selected:active, .settlement-modal .payment-option[aria-checked="true"]:active { background: var(--pos-blue-deep, #175a96); }