/* Merchant Payments. Scoped to the merchant panel; no platform-panel styles. */
#gatewaysView .gw-brand,#gwTestModal .gw-brand{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;box-sizing:border-box;overflow:hidden;border:1px solid #ffffff0a;border-radius:10px;background:#0d0d12;padding:5px;box-shadow:none}
#gatewaysView .gw-brand img,#gwTestModal .gw-brand img{display:block;width:100%;height:100%;object-fit:contain}
#gatewaysView .gw-brand-light,#gwTestModal .gw-brand-light{background:#fff!important;border-color:#e7e7ec}
#gatewaysView .gw-brand .gw-brand-fallback,#gwTestModal .gw-brand .gw-brand-fallback{display:none;width:24px;height:24px;color:#9292a1}
#gatewaysView .gw-brand-error img,#gwTestModal .gw-brand-error img{display:none!important}
#gatewaysView .gw-brand-error .gw-brand-fallback,#gwTestModal .gw-brand-error .gw-brand-fallback{display:block}
#gatewaysView .gwcv-ic.gw-brand{width:30px;height:30px;flex-basis:30px;padding:3px}
#gwTestModal .gw-badge.gw-brand img{object-fit:contain}
#gwTestModal .gw-brand.gw-brand-wordmark{width:70px;flex-basis:70px}
#gwTestModal .gw-brand.gw-brand-mini{width:32px;height:24px;flex-basis:32px;padding:2px;border-radius:5px}
#gwTestModal .gw-brand-mini.gw-brand-wordmark{width:56px;flex-basis:56px}
#gatewaysView .mp-security-label{display:inline-flex;align-items:center;gap:7px;color:#aaaab6;font-size:11px;margin-top:14px}
#gatewaysView .mp-security-label svg{width:16px;height:16px;flex-shrink:0;color:#ff6975}
#gatewaysView{--mp-bg:#111114;--mp-surface:#18181d;--mp-border:#2b2b33;--mp-muted:#a0a0ae;--mp-accent:#ff3546;color:#f5f5f7}
html body #gatewaysView>.panel{padding:clamp(18px,3vw,36px)!important;max-width:1280px!important;margin-inline:auto;border-radius:22px;overflow:visible}
#gatewaysView .mp-header{margin:0 0 24px;max-width:700px}
#gatewaysView .mp-header .mp-eyebrow,#gatewaysView .mp-header>small{display:block;color:#ff6975;font-size:11px;font-weight:750;letter-spacing:.15em;text-transform:uppercase;margin-bottom:9px}
#gatewaysView .mp-header h2{margin:0 0 9px;font-size:clamp(25px,3vw,34px);line-height:1.15;font-weight:750;letter-spacing:-.04em}
#gatewaysView .mp-header p{margin:0;color:var(--mp-muted);font-size:14px;line-height:1.65}
#gatewaysView .mp-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px}
#gatewaysView .mp-summary>div{min-width:0;padding:17px 19px;background:linear-gradient(135deg,#202026,#17171c);border:1px solid var(--mp-border);border-radius:14px}
#gatewaysView .mp-summary label,#gatewaysView .mp-summary small,#gatewaysView .mp-summary span{display:block;color:var(--mp-muted);font-size:11px;font-weight:550;line-height:1.4;margin-bottom:7px}
#gatewaysView .mp-summary strong{display:block;color:#fafafa;font-size:20px;font-weight:700;line-height:1.35;overflow-wrap:anywhere;letter-spacing:-.025em}
#gatewaysView #gwLista{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:20px;align-items:start;margin:8px 0 24px}
#gatewaysView #gwLista .gl-sidebar{min-width:0;border:1px solid var(--mp-border);background:#131317;border-radius:18px;overflow:hidden}
#gatewaysView #gwLista .gl-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:19px 18px 13px;font-size:13px;font-weight:700;letter-spacing:-.01em}
#gatewaysView #gwLista .gl-list-head span{font-size:11px;color:var(--mp-muted);font-weight:500}
#gatewaysView #gwLista .gl-search{display:block;position:relative;margin:0 12px 12px}
#gatewaysView #gwLista .gl-search svg{position:absolute;top:13px;left:12px;width:18px;height:18px;color:#8f8f9c;pointer-events:none}
#gatewaysView #gwLista #gwMerchantSearch{padding-left:39px}
#gatewaysView #gwLista .gl-row[hidden],#gatewaysView #gwLista .gl-search-empty[hidden]{display:none!important}
#gatewaysView #gwMerchantSearch{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #303039;background:#0e0e12;color:#f5f5f7;border-radius:10px;padding:11px 13px;font-size:13px;outline:none}
#gatewaysView #gwMerchantSearch::placeholder{color:#8f8f9c}
#gatewaysView #gwLista .gl-list{max-height:680px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#464650 transparent;border:0;border-top:1px solid var(--mp-border);border-radius:0;background:transparent;padding:5px}
#gatewaysView #gwLista .gl-row{position:relative;display:flex;align-items:center;gap:11px;box-sizing:border-box;min-height:86px;padding:12px 9px;border:1px solid transparent;border-radius:11px;background:transparent;color:#f5f5f7;margin:2px 0;text-align:left;transition:background .18s,border-color .18s,box-shadow .18s}
#gatewaysView #gwLista .gl-row:hover{background:#202026;border-color:#303039}
#gatewaysView #gwLista .gl-select{display:flex;align-items:center;flex:1;gap:12px;min-width:0;min-height:48px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}
#gatewaysView #gwLista .gl-switch-hit{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer}
#gatewaysView #gwLista .gl-switch-hit:hover{background:#ffffff08}
#gatewaysView #gwLista .gl-row.on{background:linear-gradient(105deg,rgba(255,53,70,.13),rgba(255,53,70,.035));border-color:rgba(255,69,85,.32);box-shadow:inset 3px 0 0 var(--mp-accent)}
#gatewaysView #gwLista .gl-t{font-size:13px;font-weight:650;line-height:1.4;min-width:0;overflow-wrap:anywhere}
#gatewaysView #gwLista .gl-t small{font-size:11px;line-height:1.5;font-weight:450;color:#a7a7b3;margin-top:4px}
#gatewaysView #gwLista .gl-ic{display:flex;align-items:center;justify-content:center;flex:0 0 64px;width:64px;height:48px}
#gatewaysView #gwLista .gw-ic,#gatewaysView #gwLista .gw-brand{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:64px;height:48px;min-width:0;flex-shrink:0;border-radius:10px;overflow:hidden;box-shadow:none}
#gatewaysView #gwLista .gw-brand img,#gatewaysView #gwLista .gw-ic img{display:block;width:calc(100% - 12px)!important;height:calc(100% - 12px)!important;object-fit:contain}
#gatewaysView #gwLista .gw-brand-light{background:#fff!important;border:1px solid #e7e7ed}
#gatewaysView #gwLista .gl-sw{position:relative;display:block;flex:0 0 38px;width:38px;height:22px;border-radius:999px;background:transparent;align-self:center;pointer-events:none}
#gatewaysView #gwLista .gl-sw::before{content:"";position:absolute;inset:0;width:38px;height:22px;background:#383842;border:1px solid #494953;border-radius:20px;box-sizing:border-box;transition:background .18s,border-color .18s}
#gatewaysView #gwLista .gl-sw::after{left:3px;top:3px;width:16px;height:16px;background:#aaaab5;transition:left .18s,background .18s}
#gatewaysView #gwLista .gl-sw.ok{background:transparent}
#gatewaysView #gwLista .gl-sw.ok::before{background:#22a969;border-color:#37c986}
#gatewaysView #gwLista .gl-sw.ok::after{left:19px;background:white}
#gatewaysView #gwLista .gl-search-empty{margin:0;padding:20px;color:var(--mp-muted);font-size:13px;line-height:1.6;text-align:center}
#gatewaysView #gwLista .gl-drawer{min-width:0;gap:18px;padding:clamp(18px,2.3vw,28px);border:1px solid #33333c;border-radius:18px;background:linear-gradient(150deg,#1b1b21,#141418 70%);box-shadow:0 14px 40px #0000001f;scroll-margin-top:24px}
#gatewaysView #gwLista .gl-hd{flex-wrap:wrap;gap:12px;font-size:20px;letter-spacing:-.025em;line-height:1.35}
#gatewaysView #gwLista .gl-lg{display:flex;align-items:center;min-width:64px;min-height:66px}
#gatewaysView #gwLista .gl-lg .gw-brand-wordmark{width:154px;height:66px;max-width:100%}
#gatewaysView #gwLista .gl-hd .gl-nm{overflow-wrap:anywhere}
#gatewaysView #gwLista .gl-hd .gl-st{font-size:11px!important;letter-spacing:0;line-height:1.5;padding:5px 10px!important;white-space:nowrap}
#gatewaysView #gwLista .gl-heading{flex:1;min-width:120px}
#gatewaysView #gwLista .gl-description{margin:4px 0 0;color:#b0b0bc;font-size:12px;line-height:1.5;letter-spacing:0;font-weight:400}
#gatewaysView #gwLista .gl-ref{margin:0!important;padding:16px!important;border-color:#ff354633!important;background:linear-gradient(110deg,#ff354611,#ff354604)!important;border-radius:12px!important}
#gatewaysView #gwLista .gl-ref .btn{min-height:44px;font-size:12px;padding:11px 14px}
#gatewaysView #gwLista .gl-form-caption{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#d4d4dd;border-top:1px solid var(--mp-border);padding-top:20px;margin:0}
#gatewaysView #gwLista .gl-body{min-width:0}
#gatewaysView #gwLista .gl-body .field{margin-bottom:17px;min-width:0}
#gatewaysView #gwLista .gl-body label{font-size:12px;line-height:1.5;color:#d5d5de;font-weight:550;margin-bottom:7px}
#gatewaysView #gwLista .gl-body input:not([type=checkbox]):not([type=radio]),#gatewaysView #gwLista .gl-body select,#gatewaysView #gwLista .gl-body textarea{box-sizing:border-box;max-width:100%;width:100%;min-height:46px;border:1px solid #393943;border-radius:10px;background:#101014;color:#f4f4f6;padding:12px 13px;font-size:14px;line-height:1.5;transition:border-color .18s,box-shadow .18s}
#gatewaysView #gwLista input:focus-visible,#gatewaysView #gwLista select:focus-visible,#gatewaysView #gwLista textarea:focus-visible{outline:2px solid #ff5665;outline-offset:2px;border-color:#ff5665}
#gatewaysView #gwLista button:focus-visible,#gatewaysView #gwLista a:focus-visible,#gatewaysView #gwLista [role=switch]:focus-visible{outline:2px solid #ff6975;outline-offset:3px}
#gatewaysView #gwLista .gl-security{margin:0;padding:12px 14px;border:1px solid var(--mp-border);border-radius:10px;color:#a8a8b5;background:#111115;font-size:12px;line-height:1.65}
#gatewaysView #gwLista .gw-savebar{display:flex;flex-wrap:wrap;gap:10px!important;margin:20px 0 2px!important;padding-top:18px;border-top:1px solid var(--mp-border)}
#gatewaysView #gwLista .gw-savebar .btn{flex:1 1 145px;padding:12px 14px;font-size:12px;font-weight:600}
#gatewaysView #gwLista .gl-deslig{border-color:#383840!important;background:#121216!important;padding:18px!important;border-radius:12px!important;line-height:1.7!important}
#gatewaysView .btn{min-height:44px;white-space:normal;line-height:1.4}
#gatewaysView #gwLista .btn.brand{background:linear-gradient(135deg,#f13244,#d71c30);border-color:#ff4354;color:#fff;box-shadow:0 3px 12px #ed233522;transition:filter .18s,transform .18s}
#gatewaysView #gwLista .btn.brand:hover{filter:brightness(1.1);transform:translateY(-1px)}
#gatewaysView #gwLista .btn:disabled{cursor:wait;opacity:.55;transform:none}
#gatewaysView #saldoDevedorCard,#gatewaysView .gw-debt{border-radius:16px!important;border-color:#ff35462b!important;padding:20px!important;background:linear-gradient(120deg,#ff35460c,#16161b)!important}
#gatewaysView .gw-prow{border-radius:11px;padding:10px;min-height:64px}
#gatewaysView .gw-pmove{min-width:44px;min-height:44px}
#gatewaysView .gwcv-kpi{border-radius:13px;border:1px solid var(--mp-border);background:#17171c;padding:16px}
@media(min-width:1200px){#gatewaysView #gwLista .gl-sidebar{position:sticky;top:20px}}
@media(max-width:1050px){#gatewaysView #gwLista{grid-template-columns:minmax(255px,300px) minmax(0,1fr);gap:14px}#gatewaysView #gwLista .gl-hd .gl-st{margin-left:0}}
@media(max-width:780px){html body #gatewaysView>.panel{padding:18px!important;border-radius:16px}#gatewaysView #gwLista{grid-template-columns:minmax(0,1fr);gap:16px}#gatewaysView #gwLista .gl-list{max-height:280px}#gatewaysView #gwLista .gl-row{min-height:76px;padding:9px 12px}#gatewaysView #gwLista .gl-drawer{padding:20px}#gatewaysView .mp-summary{gap:8px;margin-bottom:18px}#gatewaysView .mp-summary>div{padding:13px 11px;border-radius:11px}#gatewaysView .mp-summary strong{font-size:17px}#gatewaysView .mp-summary label,#gatewaysView .mp-summary small,#gatewaysView .mp-summary span{font-size:10px}#gatewaysView #gwLista .gl-hd .gl-st{margin-left:auto}#gatewaysView #gwLista .gl-ref{gap:12px!important}#gatewaysView #gwLista .gl-ref .btn{width:100%}#gatewaysView #gwLista .gl-body input:not([type=checkbox]):not([type=radio]),#gatewaysView #gwLista .gl-body select,#gatewaysView #gwLista .gl-body textarea{font-size:16px}}
@media(max-width:400px){html body #gatewaysView>.panel{padding:14px!important}#gatewaysView #gwLista .gl-drawer{padding:16px}#gatewaysView #gwLista .gl-hd{font-size:18px}#gatewaysView #gwLista .gl-hd .gl-st{margin-left:0}#gatewaysView .mp-summary strong{font-size:15px}}
@media(max-width:540px){#gatewaysView .mp-summary{grid-template-columns:repeat(2,minmax(0,1fr))}#gatewaysView .mp-summary>div:first-child{grid-column:1/-1}#gatewaysView .mp-summary>div:first-child strong{font-size:21px}#gatewaysView .mp-summary label,#gatewaysView .mp-summary small,#gatewaysView .mp-summary span{font-size:11px}}
@media(prefers-reduced-motion:no-preference){#gatewaysView .mp-header,#gatewaysView .mp-summary,#gatewaysView #gwLista{animation:mp-enter .35s ease both}#gatewaysView .mp-summary{animation-delay:.04s}#gatewaysView #gwLista{animation-delay:.08s}#gatewaysView #gwLista .gl-drawer.is-entering{animation:mp-enter .22s ease both}#gatewaysView #gwLista .gl-row .gw-brand{transition:transform .18s ease}#gatewaysView #gwLista .gl-row:hover .gw-brand{transform:translateY(-2px)}@keyframes mp-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){#gatewaysView *,#gatewaysView *::before,#gatewaysView *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
