.payment-inbox{max-width:820px;margin:auto;display:grid;gap:16px}.payment-inbox-counts{display:flex;gap:12px;flex-wrap:wrap;color:#b8dfff}.payment-inbox-card{padding:22px;border-radius:20px;min-width:0}.payment-inbox-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.payment-inbox-top>b{font-size:23px;color:#b7efff}.payment-inbox-card h3{font-size:20px;margin:16px 0 8px;overflow-wrap:anywhere}.payment-inbox-card p{color:#b5c9e3;font-size:15px}.payment-inbox-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.payment-inbox-actions .btn{min-height:46px;flex:1}.payment-receipt-preview img{width:100%;max-height:65vh;object-fit:contain;border-radius:14px;background:#152a48}.payment-receipt-preview{margin-top:14px}#payment-proof-form label{display:grid;gap:10px;margin:22px 0}#payment-proof-form input{max-width:100%;min-width:0}#payment-proof-error{color:#ff9494}@media(max-width:600px){.payment-inbox-card{padding:16px}.payment-inbox-actions{display:grid;grid-template-columns:1fr 1fr}.payment-inbox-actions .btn{white-space:normal;font-size:15px}.payment-inbox-top>b{font-size:20px}}

.payment-inbox{max-width:920px;gap:18px;padding-bottom:24px}.payment-inbox-hero{padding:24px;border-radius:22px;background:linear-gradient(125deg,rgba(33,92,181,.25),rgba(14,27,52,.72));border:1px solid rgba(86,175,237,.22)}.payment-inbox-hero h1{font-size:30px;line-height:1.2;margin:10px 0}.payment-inbox-hero p{font-size:15px;color:#b7cde8;margin:0 0 20px}.payment-alert-controls{display:flex;gap:10px;flex-wrap:wrap}.payment-alert-controls .btn{min-height:44px}.payment-inbox-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.payment-count{position:relative;padding:18px;border-radius:18px;display:grid;gap:8px;min-width:0}.payment-count span{font-size:15px;overflow-wrap:anywhere}.payment-count strong{font-size:32px;line-height:1.1}.payment-count small{font-size:13px;color:#b5c9e3}.payment-count-blue{background:linear-gradient(140deg,rgba(32,109,214,.25),rgba(16,31,57,.8));border-color:rgba(67,153,255,.4)}.payment-count-blue strong{color:#77c4ff}.payment-count-purple{background:linear-gradient(140deg,rgba(133,85,225,.23),rgba(16,31,57,.8));border-color:rgba(172,126,255,.35)}.payment-count-purple strong{color:#c3a4ff}.payment-inbox-empty{text-align:center;padding:30px 20px}.payment-empty-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:16px;background:rgba(50,211,153,.13);color:#68e0b0;font-size:26px;border:1px solid rgba(50,211,153,.3)}.payment-inbox-empty h3{margin-top:14px}.payment-inbox-top{flex-wrap:wrap}.payment-inbox-top>b{overflow-wrap:anywhere}.payment-inbox-card p{overflow-wrap:anywhere}@media(max-width:600px){.payment-inbox{gap:12px}.payment-inbox-hero{padding:18px}.payment-inbox-hero h1{font-size:26px}.payment-alert-controls{display:grid;grid-template-columns:1.5fr 1fr}.payment-alert-controls .btn{font-size:14px;white-space:normal;padding:10px}.payment-count{padding:14px;gap:7px}.payment-count span{font-size:14px}.payment-count small{font-size:12px}.payment-inbox-empty{padding:24px 16px}}

.modal:has(.invoice-settle-form){width:min(740px,100%);max-height:calc(100dvh - 36px);display:flex;flex-direction:column}.modal:has(.invoice-settle-form) .modal-head{padding:20px 24px;flex-shrink:0}.modal:has(.invoice-settle-form) .modal-body{padding:22px 24px;overflow-y:auto;min-height:0}.modal:has(.invoice-settle-form) .modal-footer{padding:16px 24px;flex-shrink:0;display:flex;justify-content:flex-end;gap:10px;background:rgba(13,26,47,.96)}.invoice-settle-form{display:grid;gap:20px}.settle-summary{border:1px solid rgba(64,157,243,.26);border-radius:18px;background:linear-gradient(125deg,rgba(30,99,190,.2),rgba(14,31,54,.75));padding:20px;display:grid;grid-template-columns:1fr auto;gap:18px}.settle-customer span,.settle-balance span,.settle-totals span{display:block;font-size:13px;color:#abc2df}.settle-customer h3{font-size:19px;line-height:1.4;margin-top:6px;overflow-wrap:anywhere}.settle-balance{text-align:right}.settle-balance strong{display:block;color:#7fe9bb;font-size:24px;margin-top:5px;line-height:1.3}.settle-totals{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;border-top:1px solid rgba(138,178,234,.16);padding-top:15px}.settle-totals b{display:block;margin-top:6px;font-size:15px;overflow-wrap:anywhere}.settle-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settle-fields .field{min-width:0}.settle-fields label{font-size:14px}.settle-fields input,.settle-fields select,.settle-fields textarea{width:100%;min-width:0;font-size:16px}.settle-proof,.settle-remark{grid-column:1/-1;min-width:0}.settle-proof small{display:block;font-size:12px;color:#9db4d1;margin-top:8px}.settle-proof input::file-selector-button{background:#1d4c84;color:#d9efff;border:1px solid #3b6f9b;border-radius:7px;padding:7px 12px;margin-right:10px}.settle-remark textarea{min-height:70px;height:70px;resize:vertical}.invoice-settle-form #suite-error:empty{display:none}@media(max-width:600px){.modal:has(.invoice-settle-form){max-height:calc(100dvh - 20px)}.modal:has(.invoice-settle-form) .modal-head,.modal:has(.invoice-settle-form) .modal-body{padding:16px}.modal:has(.invoice-settle-form) .modal-footer{padding:12px 16px}.modal:has(.invoice-settle-form) .modal-footer .btn{flex:1;min-height:44px}.settle-summary{padding:16px;grid-template-columns:1fr;gap:12px}.settle-balance{text-align:left}.settle-balance strong{font-size:25px}.settle-totals{gap:8px}.settle-totals span{font-size:11px}.settle-totals b{font-size:13px}.settle-fields{grid-template-columns:1fr;gap:14px}.settle-customer h3{font-size:18px}.settle-proof,.settle-remark{grid-column:auto}}

.invoice-settle-form .settle-amount-help{display:block;color:#9dbad1;font-size:12px;grid-column:1/-1;margin-top:-8px}.invoice-settle-form #suite-error:not(:empty){border-radius:12px}

.settle-rejected-note{margin:0;font-size:13px;line-height:1.5;color:#e9bd8f}
