/* V34.2.148 — Search-first customer picker for debt receipts. */
#payment-dialog .payment-customer-search-field{display:grid;gap:8px;min-width:0;width:100%;margin:0}
#payment-dialog .payment-customer-search-field>label{font-size:15px;font-weight:800;color:#243c55;margin:0}
#payment-dialog .payment-customer-search-field>label>span{color:#d33c48}
#payment-dialog .payment-customer-search-box{display:flex;align-items:center;min-height:52px;gap:10px;padding:0 12px;border:1.5px solid #cadde9;border-radius:14px;background:#fff;transition:border-color .15s,box-shadow .15s;min-width:0}
#payment-dialog .payment-customer-search-box:focus-within{border-color:#1385ee;box-shadow:0 0 0 3px #1385ee19}
#payment-dialog .payment-customer-search-box>svg{width:21px;height:21px;flex:0 0 21px;color:#6b849a}
#payment-dialog .payment-customer-search-box>input{background:transparent!important;outline:none!important;box-shadow:none!important;border:0!important;padding:0!important;min-width:0!important;flex:1 1 auto!important;width:100%!important;height:48px!important;min-height:48px!important;font-size:16px!important;color:#173751;font-weight:700;border-radius:0!important;-webkit-appearance:none;appearance:none}
#payment-dialog .payment-customer-search-box>input::placeholder{color:#8495a6;font-weight:450}
#payment-dialog .payment-customer-search-box>input::-webkit-search-cancel-button{-webkit-appearance:none}
#payment-dialog #payment-customer-clear{flex:0 0 28px;width:28px;height:28px;border:0;border-radius:50%;background:#eff5fc;color:#53728c;font-size:22px;line-height:1;cursor:pointer}
#payment-dialog #payment-customer-clear[hidden]{display:none!important}
#payment-dialog #payment-customer{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important;overflow:hidden!important}
#payment-dialog #payment-customer-search-hint{font-size:12px;color:#698098;font-weight:500;line-height:1.4;margin:0}
#payment-dialog .payment-customer-results{display:grid;gap:4px;max-height:min(250px,30dvh);overflow-y:auto;padding:5px;border:1px solid #d8e5f0;border-radius:14px;background:#fff;box-shadow:0 8px 24px #193c5715;-webkit-overflow-scrolling:touch;scrollbar-width:none}
#payment-dialog .payment-customer-results::-webkit-scrollbar{display:none;width:0;height:0}
#payment-dialog .payment-customer-results[hidden]{display:none!important}
#payment-dialog .payment-customer-result{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:60px;min-width:0;width:100%;padding:9px 10px;background:#fff;border:0;border-radius:10px;text-align:left;cursor:pointer;color:#183652;font-family:inherit}
#payment-dialog .payment-customer-result:hover,#payment-dialog .payment-customer-result:focus-visible{background:#eef6ff;outline:1px solid #b6dafa}
#payment-dialog .payment-customer-result-copy{display:grid;gap:3px;min-width:0;flex:1 1 auto}
#payment-dialog .payment-customer-result-copy strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#payment-dialog .payment-customer-result-copy small{color:#657e92;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#payment-dialog .payment-customer-result>b{color:#c0353c;flex:0 0 auto;font-size:13px;white-space:nowrap}
#payment-dialog .payment-customer-no-results{padding:12px;color:#6b8296;font-size:13px;margin:0}
#payment-dialog .payment-customer-card[hidden]{display:none!important}
#payment-dialog .payment-customer-search-box:has(input:invalid:not(:placeholder-shown)){border-color:#d4a1a1}
@media(max-width:390px){#payment-dialog .payment-customer-search-box{min-height:48px}#payment-dialog .payment-customer-result{min-height:56px}#payment-dialog .payment-customer-result>b{font-size:12px}}
