/* CRM V85 unpaid invoice follow-up */
.crm-v85-followup-header{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.crm-v85-followup-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:38px!important;height:38px!important;padding:0 13px!important;border:1px solid #ffb8a5!important;border-radius:10px!important;background:#fff7f3!important;color:#d94825!important;font-size:11px!important;font-weight:850!important;white-space:nowrap!important;cursor:pointer!important}
.crm-v85-followup-btn:hover{background:#ff5c35!important;border-color:#ff5c35!important;color:#fff!important}
.crm-v85-followup-btn.is-loading{opacity:.65!important;pointer-events:none!important}
.crm-v85-bulk-btn{min-height:40px!important;height:40px!important;padding:0 14px!important;border-radius:11px!important}
.crm-v85-followup-modal{position:fixed;inset:0;z-index:2147483640;display:none;align-items:center;justify-content:center;padding:22px}
.crm-v85-followup-modal.open{display:flex}
.crm-v85-followup-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.54);backdrop-filter:blur(4px)}
.crm-v85-followup-dialog{position:relative;width:min(820px,100%);max-height:min(760px,92vh);display:flex;flex-direction:column;background:#fff;border:1px solid #dbe4ef;border-radius:20px;box-shadow:0 28px 80px rgba(15,23,42,.25);overflow:hidden}
.crm-v85-followup-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #e5ebf2}
.crm-v85-followup-title{font-size:20px;font-weight:950;color:#10243f;letter-spacing:-.02em}
.crm-v85-followup-sub{margin-top:5px;color:#71839a;font-size:12px;line-height:1.5}
.crm-v85-followup-close{width:38px;height:38px;border:1px solid #d7e1ec;border-radius:10px;background:#fff;color:#42556e;font-size:20px;cursor:pointer}
.crm-v85-followup-body{padding:18px 22px;overflow:auto}
.crm-v85-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.crm-v85-summary>div{padding:13px 14px;border:1px solid #e0e8f1;border-radius:12px;background:#f9fbfd}
.crm-v85-summary span{display:block;color:#8294aa;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.crm-v85-summary strong{display:block;margin-top:5px;color:#10243f;font-size:17px;font-weight:950}
.crm-v85-selectbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 10px}
.crm-v85-selectbar label{display:flex;align-items:center;gap:8px;color:#334960;font-size:12px;font-weight:800}
.crm-v85-invoice-list{border:1px solid #dfe7f0;border-radius:14px;overflow:hidden}
.crm-v85-invoice-row{display:grid;grid-template-columns:28px minmax(180px,1.2fr) minmax(150px,.9fr) minmax(110px,.55fr);gap:12px;align-items:center;padding:13px 14px;border-bottom:1px solid #e8eef5;background:#fff}
.crm-v85-invoice-row:last-child{border-bottom:0}
.crm-v85-invoice-row:hover{background:#fbfcfe}
.crm-v85-invoice-name{font-size:12.5px;font-weight:900;color:#10243f}
.crm-v85-invoice-meta{margin-top:3px;color:#7d8fa6;font-size:10.5px}
.crm-v85-invoice-service{color:#425870;font-size:11.5px;font-weight:750}
.crm-v85-invoice-due{text-align:right;color:#d94825;font-size:12px;font-weight:950}
.crm-v85-template{margin-top:14px;padding:14px 16px;border:1px solid #dce6f0;border-radius:13px;background:#f8fbff;color:#52667d;font-size:12px;line-height:1.65}
.crm-v85-template strong{color:#10243f}
.crm-v85-warning{margin-top:12px;padding:11px 13px;border:1px solid #ffd4c8;border-radius:11px;background:#fff7f3;color:#ad3d20;font-size:11.5px;font-weight:750}
.crm-v85-followup-foot{display:flex;justify-content:flex-end;gap:9px;padding:16px 22px;border-top:1px solid #e5ebf2;background:#fbfcfe}
.crm-v85-result{margin-top:12px;padding:12px 14px;border-radius:11px;font-size:12px;font-weight:800}
.crm-v85-result.success{background:#ecfdf5;border:1px solid #b7ebd0;color:#047857}
.crm-v85-result.error{background:#fff1f0;border:1px solid #ffc9c3;color:#b42318}
body.crm-night-mode .crm-v85-followup-dialog,body.crm-night-mode .crm-v85-invoice-row{background:#2b323a;border-color:#46515e}
body.crm-night-mode .crm-v85-followup-title,body.crm-night-mode .crm-v85-invoice-name,body.crm-night-mode .crm-v85-summary strong{color:#f2f5f8}
body.crm-night-mode .crm-v85-summary>div,body.crm-night-mode .crm-v85-template{background:#252c33;border-color:#46515e;color:#c7d2df}
@media(max-width:760px){.crm-v85-summary{grid-template-columns:1fr}.crm-v85-invoice-row{grid-template-columns:28px 1fr}.crm-v85-invoice-service,.crm-v85-invoice-due{grid-column:2}.crm-v85-invoice-due{text-align:left}.crm-v85-followup-foot{display:grid;grid-template-columns:1fr 1fr}.crm-v85-followup-foot .btn{width:100%}}
