.settings-tabs,.payment-method-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:16px}
.settings-tabs button,.payment-method-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);padding:11px 14px;font-weight:700}
.settings-tabs button.active,.payment-method-tabs button.active{color:var(--teal);border-color:var(--teal)}
.payment-method-tabs{margin:-4px 0 18px}.pix-settings-card{grid-column:1/-1}
.popular-products-pane{display:flex;flex-direction:column;min-height:0;flex:1}.popular-products-pane .standalone-products{min-height:86px}
.mp-payment-history{border:1px solid #eadb93;background:#fffbea;border-radius:10px;margin-top:10px;padding:10px;min-height:0;max-height:42%;display:flex;flex-direction:column;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.mp-payment-history.hidden{display:none}
.mp-history-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.mp-history-head b,.mp-history-head small{display:block}.mp-history-head small{color:var(--muted);font-size:10px;margin-top:2px}
.mp-history-head button{border:1px solid var(--line);background:#fff;color:var(--teal);border-radius:7px;padding:5px 8px;font-size:10px;font-weight:700}.mp-history-head button:hover{background:#e9faf6}.mp-history-head button:disabled{opacity:.6}
#mp-history-list{overflow:auto}.mp-history-row{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 3px;border-bottom:1px solid var(--line)}.mp-history-row>div{min-width:0}
.mp-history-row b,.mp-history-row small,.mp-history-row strong{display:block}.mp-history-row b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mp-history-row small{font-size:9px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mp-history-row>span:last-child{text-align:right}.mp-history-row strong{font-size:11px}
.mp-status-dot{width:7px;height:7px;border-radius:50%;background:#f5ad31}.mp-status-dot.approved{background:var(--teal)}.mp-status-dot.rejected,.mp-status-dot.cancelled,.mp-status-dot.charged_back{background:#e05252}.mp-status-dot.refunded{background:#718096}
.mp-history-empty,.mp-history-error{padding:14px 5px;color:var(--muted);font-size:11px;text-align:center}.mp-history-error{color:#b33}
.mp-history-row{cursor:help}.mp-history-tooltip{position:fixed;z-index:10000;display:none;max-width:min(310px,calc(100vw - 24px));padding:10px 12px;border:1px solid rgba(16,185,129,.35);border-radius:9px;background:#073449;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.25);pointer-events:none;font-size:11px}.mp-history-tooltip.visible{display:block}.mp-history-tooltip b{display:block;margin-bottom:6px;color:#6ee7b7;font-size:12px}.mp-history-tooltip div{white-space:pre-line;line-height:1.55}
html[data-theme="dark"] .mp-payment-history{background:#242517;border-color:#5f5b2d;color:#f5f7fa;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
html[data-theme="dark"] .mp-history-head small,html[data-theme="dark"] .mp-history-row small,html[data-theme="dark"] .mp-history-empty{color:#cbd2dc}
html[data-theme="dark"] .mp-history-row{border-color:#45472f}html[data-theme="dark"] .mp-history-head button{background:#18232e;border-color:#4c5562;color:#86efda}html[data-theme="dark"] .mp-history-head button:hover{background:#263643}
html[data-theme="dark"] .search-suggestions,html[data-theme="dark"] .search-suggestions .suggestion{background:#242517;border-color:#5f5b2d;color:#f5f7fa}html[data-theme="dark"] .search-suggestions .suggestion small{color:#cbd2dc}html[data-theme="dark"] .search-suggestions .suggestion:hover,html[data-theme="dark"] .search-suggestions .suggestion.active{background:#343522}
#mp-history-list{scrollbar-width:none;-ms-overflow-style:none}#mp-history-list::-webkit-scrollbar{display:none;width:0;height:0}
.mp-history-row{cursor:default}.mp-history-method{display:inline-block!important;width:max-content;max-width:100%;cursor:help}
