/* Pimenta de Cheiro — Central de Formas de Pagamento */
.pm-manager{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#292420}
.pm-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap;padding:20px 22px;background:linear-gradient(115deg,#fff9f4,#fff);border:1px solid #eadcd2;border-radius:16px}
.pm-kicker{font-size:10px;font-weight:850;letter-spacing:.09em;color:#a34939}
.pm-hero h2{margin:6px 0;font-size:21px;line-height:1.2;color:#241b1b}
.pm-hero p{font-size:12px;color:#796a64;margin:0;line-height:1.6;max-width:620px}
.pm-manager button{cursor:pointer;transition:background .15s,border .15s}
.pm-manager button:disabled{opacity:.42;cursor:not-allowed}
.pm-primary{background:#c91e2e!important;color:#fff!important;border:1px solid #c91e2e!important;border-radius:10px;padding:12px 17px;font-weight:800;font-size:12px;min-height:43px}
.pm-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 17px}
.pm-metrics>div{background:#fff;border:1px solid #eae3de;border-radius:13px;padding:14px 16px;display:flex;gap:4px;flex-direction:column}
.pm-metrics strong{font-size:24px;font-weight:900;color:#211916}
.pm-metrics span{font-size:11px;color:#85756e}
.pm-explain{padding:13px 16px;margin-bottom:20px;background:#fff9ed;border-left:3px solid #ce9859;border-radius:10px}
.pm-explain b{display:block;font-size:12px;margin:0 0 5px;color:#875c25}
.pm-explain p{margin:0;font-size:11px;line-height:1.6;color:#755b3e}
.pm-list-head{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin:12px 0;flex-wrap:wrap}
.pm-list-head h3{margin:0;font-size:15px}
.pm-list-head span{color:#887d76;font-size:11px}
.pm-list{display:grid;gap:10px}
.pm-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:15px;align-items:center;padding:15px 16px;background:#fff;border:1px solid #e9e2dd;border-radius:13px;box-shadow:0 2px 7px rgba(50,31,22,.03)}
.pm-card.is-disabled{background:#fbfaf9}
.pm-card-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:11px;background:#fbefec;color:#a93131;font-size:19px;font-weight:850}
.pm-card.is-disabled .pm-card-icon{background:#ecebea;color:#8b8987}
.pm-card-main{min-width:0}
.pm-card-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pm-card-main strong{font-size:14px;color:#251c19}
.pm-card-main p{margin:5px 0;line-height:1.45;font-size:11px;color:#6b615d}
.pm-card-main small{font-size:10px;color:#96837a}
.pm-status,.pm-system,.pm-manual{font-size:10px;line-height:1.2;border-radius:99px;padding:5px 8px;font-weight:750}
.pm-status.on{background:#eaf5ee;color:#257241}
.pm-status.off{background:#f4efed;color:#8b655d}
.pm-system{background:#f6f0e9;color:#9e745a}
.pm-manual{background:#ecf1fa;color:#526d9b}
.pm-card-actions{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap}
.pm-card-actions>button,.pm-order button,.pm-footer-actions button:not(.pm-primary){border:1px solid #ddd1cb;background:#fff;color:#453c37;border-radius:8px;padding:9px 11px;font-size:11px;font-weight:750;min-height:36px}
.pm-card-actions button:hover:not(:disabled),.pm-footer-actions button:hover:not(:disabled){border-color:#b68772}
.pm-card-actions .pm-delete{border-color:#e7c2c1;color:#af3e37;background:#fffafa}
.pm-protected{font-size:10px;color:#9d918a;padding:8px}
.pm-order{display:flex;gap:2px}
.pm-order button{min-width:29px;padding:8px}
.pm-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 0 4px;margin-top:20px;border-top:1px solid #e6dfda;flex-wrap:wrap}
.pm-footer>div:first-child{display:grid;gap:6px}
.pm-change-status{font-size:11px;color:#85756f}
.pm-error{color:#b42425;font-size:11px}
.pm-footer-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.pm-modal-backdrop{position:fixed;inset:0;background:rgba(28,24,24,.55);display:grid;place-items:center;z-index:999990;padding:18px}
.pm-modal{background:#fff;width:min(560px,100%);max-height:92vh;overflow:auto;border-radius:18px;padding:23px;box-shadow:0 30px 95px rgba(0,0,0,.2)}
.pm-modal header{display:flex;justify-content:space-between;align-items:start;gap:15px;padding-bottom:15px;border-bottom:1px solid #efe5df;margin-bottom:17px}
.pm-modal header span{color:#994739;font-size:10px;font-weight:900;letter-spacing:.08em}
.pm-modal header h3{font-size:20px;margin:7px 0 0;color:#251b17}
.pm-modal header button{background:#f5f2ef;color:#554b47;border:1px solid #e3dad4;border-radius:9px;width:36px;height:36px;cursor:pointer}
.pm-modal form{display:grid;gap:14px}
.pm-modal form>label:not(.pm-form-check){display:grid;gap:8px;font-weight:750;font-size:12px;color:#4f433e}
.pm-modal input,.pm-modal textarea{border:1px solid #dcd4ce;border-radius:10px;padding:12px;font:inherit;font-size:13px;box-sizing:border-box;width:100%;resize:vertical}
.pm-modal input:disabled{background:#f2efed;color:#888}
.pm-modal .pm-form-check{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:750}
.pm-modal .pm-form-check input{width:17px;height:17px;accent-color:#b42a30}
.pm-edit-note{font-size:11px;color:#8c6848;background:#fff8ee;border-radius:10px;padding:12px;line-height:1.5}
.pm-modal footer{border-top:1px solid #efe5df;padding-top:16px;display:flex;justify-content:flex-end;gap:8px}
.pm-modal footer button:not(.pm-primary){border:1px solid #ded1cc;background:#fff;border-radius:9px;padding:9px 14px;cursor:pointer}
@media(max-width:980px){.pm-card{grid-template-columns:45px minmax(0,1fr)}.pm-card-actions{grid-column:2;justify-content:flex-start}.pm-card-icon{width:42px;height:42px}}
@media(max-width:680px){.pm-hero{padding:15px}.pm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-card{gap:9px;padding:12px}.pm-card-actions{gap:5px}.pm-footer-actions{width:100%}.pm-footer-actions button{flex:1}}

/* Modal de cartão presencial: bandeiras e modalidades configuráveis */
.pm-modal .pm-card-configuration{background:#faf7f5;border:1px solid #e6ded8;border-radius:13px;padding:16px;margin:4px 0}
.pm-modal .pm-card-configuration h4{font-size:13px;margin:0 0 6px;color:#3a2a26}
.pm-modal .pm-card-configuration p{font-size:11px;color:#76645d;line-height:1.45;margin:0 0 12px}
.pm-modal .pm-card-configuration h4:not(:first-child){margin-top:20px}
.pm-modal .pm-card-selectors{display:flex;gap:9px;flex-wrap:wrap}
.pm-modal .pm-check-pill{display:flex!important;align-items:center;gap:8px;border:1px solid #d9ccc4;border-radius:10px;padding:9px 13px;min-height:39px;background:#fff;font-size:12px!important;font-weight:700;cursor:pointer}
.pm-modal .pm-check-pill:has(input:checked){border-color:#ab4b40;background:#fff4f0;color:#a02c2e}
.pm-modal .pm-check-pill input{width:17px!important;height:17px!important;accent-color:#a92f38;padding:0!important;flex:none}
.pm-modal .pm-brands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:420px){.pm-modal .pm-brands{grid-template-columns:1fr}}

/* Checkout público: escolha segura de crédito/débito e bandeira, sem dados de cartão */
.checkout-page .checkout-card-options{border:1px solid #e6d8cc;border-radius:13px;padding:16px;background:#fffaf7;margin:14px 0}
.checkout-page .checkout-card-options>b{display:block;margin:0 0 7px;color:#7c3029}
.checkout-page .checkout-card-options p{margin:0 0 14px;color:#695f59;font-size:12px;line-height:1.5}
.checkout-page .checkout-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.checkout-page .checkout-card-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:750}
.checkout-page .checkout-card-grid select{border:1px solid #d9c9bd;border-radius:10px;padding:12px 10px;background:#fff;color:#3a302d;min-width:0;width:100%;font-size:13px}
.checkout-page .checkout-card-grid select:focus{outline:2px solid rgba(156,45,46,.2);border-color:#b34d45}
@media(max-width:640px){.checkout-page .checkout-card-grid{grid-template-columns:1fr}}
