/* V411: pagamentos e avisos administrativos, visual compatível com painel V410. */
.fm411-payment-summary{margin:0 0 16px;padding:16px;border:1px solid #e9bed2;border-radius:24px;background:linear-gradient(135deg,#fff7fa,#fae4ee);box-shadow:0 8px 24px rgba(133,29,71,.09);color:#571a37}
.fm411-payment-heading{display:flex;align-items:center;gap:12px;min-width:0}
.fm411-payment-heading>div{min-width:0;flex:1}.fm411-payment-heading small{color:#a83c69;font-size:.7rem;font-weight:800;letter-spacing:.12em}
.fm411-payment-heading h2{margin:2px 0;font-weight:900;font-size:clamp(1.35rem,4vw,1.85rem);line-height:1.15;color:#641439}
.fm411-payment-heading p{margin:3px 0;color:#80576a;font-size:.82rem}
.fm411-payment-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;font-size:1.65rem;border-radius:16px;background:#fff;box-shadow:0 3px 15px rgba(113,25,63,.09)}
.fm411-payment-count{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:99px;background:#b31a56;color:white;font-weight:900}
.fm411-payment-count[hidden]{display:none!important}
.fm411-payment-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0 12px}
.fm411-payment-kpis article{min-width:0;display:flex;flex-direction:column;gap:6px;border:1px solid #eccbd8;border-radius:16px;background:rgba(255,255,255,.83);padding:13px}
.fm411-payment-kpis small{font-size:.74rem;color:#855668}.fm411-payment-kpis strong{font-size:clamp(1.3rem,3.5vw,1.9rem);font-weight:900;color:#5e1539}
.fm411-payment-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.fm411-payment-foot span{font-size:.78rem;color:#80566a}
.fm411-payment-foot button,.fm411-more{border:0;color:white;background:linear-gradient(120deg,#f52c78,#ad164e);border-radius:14px;min-height:44px;padding:10px 16px;font-weight:800;cursor:pointer;box-shadow:0 8px 20px rgba(180,24,79,.13)}
.fm411-payment-module{border-color:#e8c4d3!important}
.fm411-overlay{position:fixed;inset:0;z-index:2147483180;background:rgba(23,5,17,.69);display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box}
.fm411-modal-open{overflow:hidden}.fm411-modal{display:flex;flex-direction:column;width:min(760px,100%);height:min(94dvh,920px);overflow:hidden;border-radius:24px;background:#fff9fc;color:#501d35;box-shadow:0 25px 80px rgba(0,0,0,.31)}
.fm411-modal>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px;background:linear-gradient(115deg,#4f0b29,#ad1455);color:#fff;flex-shrink:0}
.fm411-modal>header small{font-size:.72rem;letter-spacing:.12em;color:#f8dce9;font-weight:800}.fm411-modal>header h2{font-size:1.75rem;margin:4px 0;color:#fff;font-weight:900}.fm411-modal>header p{font-size:.85rem;margin:0;color:#fce1ed}
.fm411-modal>header button{background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.28);border-radius:13px;color:#fff;font-weight:800;min-width:40px;min-height:40px;cursor:pointer}
.fm411-modal-content{padding:16px;overflow:auto;flex:1;overscroll-behavior:contain}
.fm411-push-box{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f9e8f0;border:1px solid #edd0dd;border-radius:16px;padding:12px;font-size:.82rem;font-weight:700;flex-wrap:wrap}
.fm411-push-box button,.fm411-alert-actions button{min-height:38px;border:1px solid #e6bad0;background:#fff;border-radius:11px;padding:8px 12px;color:#9a1b50;font-weight:800;cursor:pointer}
.fm411-push-box button[disabled],.fm411-alert-actions button[disabled]{opacity:.54;cursor:not-allowed}
.fm411-tabs{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.fm411-tabs button{background:#fff;border:1px solid #e9c6d5;color:#773351;border-radius:12px;min-height:44px;font-weight:800;cursor:pointer}.fm411-tabs button.active{background:linear-gradient(130deg,#e82c72,#9f144a);color:#fff;border-color:#b91c57}
.fm411-alert-actions{display:flex;gap:10px;justify-content:flex-end;margin:12px 0;flex-wrap:wrap}
.fm411-pay-row,.fm411-alert-row{background:white;border:1px solid #edcfdd;border-radius:17px;padding:13px;margin:0 0 11px;box-shadow:0 3px 12px rgba(124,31,63,.045)}
.fm411-pay-row-top{display:flex;align-items:center;gap:9px;min-width:0}.fm411-pay-icon{display:grid;place-items:center;background:#fff0f7;border-radius:12px;width:42px;height:42px;flex:0 0 42px;font-size:1.3rem}
.fm411-pay-row-top>div{flex:1;min-width:0}.fm411-pay-row-top strong{display:block;font-size:.92rem;color:#5e183c}.fm411-pay-row-top small{display:block;font-size:.72rem;color:#80657a;margin-top:4px}.fm411-pay-row-top b{font-size:1rem;white-space:nowrap;color:#8f174b}
.fm411-pay-bottom{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.fm411-pay-bottom>span:nth-child(2){font-size:.8rem;color:#68435a;flex:1;overflow-wrap:anywhere}.fm411-pay-status{font-size:.7rem;font-weight:850;border-radius:99px;padding:5px 8px;background:#fff0e5;color:#9d5c19}.fm411-pay-status.is-paid{background:#e3f7e9;color:#176c3e}
.fm411-pay-bottom button,.fm411-alert-row button,.fm411-customer-creation button{background:#ffeff5;border:1px solid #dfb8c8;color:#971b52;border-radius:11px;min-height:38px;padding:6px 12px;font-weight:800;cursor:pointer}
.fm411-alert-row{display:grid;gap:5px}.fm411-alert-row.unread{border-color:#d82469;background:#fff1f7}.fm411-alert-row strong{font-size:.92rem;color:#6b1942}.fm411-alert-row span,.fm411-alert-row small{font-size:.79rem;color:#7a5568}.fm411-alert-row button{justify-self:start}
.fm411-empty{color:#806277;text-align:center;padding:20px 10px}.fm411-more{display:block;width:100%;margin:14px 0}.fm411-customer-layer{z-index:2147483190}
.fm411-customer-card{background:linear-gradient(130deg,#fff2f7,#fbe3ed);border:1px solid #edd1dc;border-radius:15px;padding:14px;margin-bottom:15px}
.fm411-customer-card h3{font-size:1.15rem;margin:0 0 7px}.fm411-customer-card p{margin:5px 0;color:#7e4c66;font-size:.85rem;overflow-wrap:anywhere}
.fm411-customer-creation{background:#fff;border:1px solid #eed8e0;padding:12px;margin:9px 0;border-radius:13px;display:flex;align-items:center;gap:12px;justify-content:space-between}
.fm411-customer-creation>div{flex:1;min-width:0}.fm411-customer-creation strong,.fm411-customer-creation small{display:block}.fm411-customer-creation small{color:#86667b;font-size:.78rem;margin-top:4px}
#fm411-status{font-size:.78rem;min-height:1em;color:#884462}
@media(max-width:680px){.fm411-payment-summary{margin:0 0 13px;padding:13px;border-radius:20px}.fm411-modal{height:96dvh;border-radius:19px}.fm411-modal-content{padding:12px}.fm411-modal>header h2{font-size:1.45rem}.fm411-payment-foot button{width:100%}.fm411-payment-foot span{width:100%}.fm411-pay-bottom button{width:100%}}
@media(max-width:350px){.fm411-payment-kpis{grid-template-columns:1fr}.fm411-pay-row-top b{font-size:.87rem}}

.fm411-source-filter{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-top:14px;font-size:.79rem;font-weight:800;color:#7d3a57;flex-wrap:wrap}.fm411-source-filter select{flex:1;min-width:170px;max-width:100%;padding:10px;border:1px solid #ecc2d6;border-radius:12px;background:white;color:#5e1539;font:inherit}
