@import url('./theme-components.css?v=2');
:root{color-scheme:only light;--dojo-surface:#fff;--dojo-surface-alt:#f3f5f8;--dojo-accent:#29599c;--dojo-brand:#182b42;--dojo-success:#18765b;--dojo-danger:#bb4249;--dojo-warning:#8a681d;--dojo-purple:#754a93}
:root[data-theme=dark]{color-scheme:dark;--ink:#f2f2f2;--muted:#b8b8b8;--bg:#101010;--line:#414141;--dojo-surface:#1b1b1b;--dojo-surface-alt:#252525;--dojo-accent:#e5c969;--dojo-action:#d3b64b;--dojo-on-action:#17130b;--blue:#d3b64b;--dojo-brand:#141414;--dojo-success:#8bdfbd;--dojo-danger:#ff8585;--dojo-warning:#f0ce83;--dojo-purple:#d4b4f5}
.dojo-theme-toolbar{display:flex;justify-content:flex-end;margin-bottom:24px}
.dojo-theme-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:38px;min-height:38px;border:1px solid var(--line);border-radius:9px;padding:7px 10px;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer;flex-shrink:0}
.dojo-theme-button svg{flex-shrink:0}.dojo-theme-button.compact{width:38px;padding:8px}.dojo-theme-button.compact span{display:none}.dojo-theme-button:hover{background:var(--dojo-surface-alt);color:var(--ink)}
.dojo-theme-dialog{box-sizing:border-box;width:min(360px,calc(100% - 32px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--dojo-surface);color:var(--ink);font:inherit;box-shadow:0 16px 60px #0005}
.dojo-theme-dialog::backdrop{background:#000000b8}.dojo-theme-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.dojo-theme-dialog h2{font-size:23px;line-height:1.4;margin:0}.dojo-theme-close{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:8px;background:transparent;color:var(--ink);font-size:28px;line-height:1;cursor:pointer}
.dojo-theme-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.dojo-theme-dialog legend{font-size:14px;color:var(--muted);margin-bottom:12px}.dojo-theme-option{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:58px;padding:13px 15px;margin:8px 0 0;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--ink);font-size:16px;line-height:1.4;cursor:pointer}.dojo-theme-option:has(input:checked){border-color:var(--dojo-accent);background:var(--dojo-surface-alt)}.dojo-theme-option input{appearance:auto;accent-color:var(--dojo-accent);width:18px;height:18px;min-height:18px;margin:0;padding:0;flex:0 0 auto}.dojo-theme-option small{display:block;color:var(--muted);font-size:13px;margin-top:3px}
.dojo-theme-button:focus-visible,.dojo-theme-close:focus-visible,.dojo-theme-option:focus-within{outline:3px solid #bea44c;outline-offset:3px}
:root[data-theme=dark] dialog{color-scheme:dark}:root[data-theme=dark] dialog::backdrop{background:#000000b8}
:root[data-theme=dark] input:-webkit-autofill{-webkit-text-fill-color:var(--ink);-webkit-box-shadow:0 0 0 1000px var(--dojo-surface-alt) inset}
/* O QR permanece com contraste preto/branco para leitura pelo banco. */
#pix-qr,#payout-qr{background:#fff!important;color-scheme:only light}
body.embedded .dojo-theme-toolbar,body.embedded .dojo-theme-button{display:none!important}
@media(max-width:600px){.dojo-theme-toolbar{margin-bottom:20px}.app-header,.app-header .header-inner{flex-wrap:wrap;gap:10px}.app-header>.header-actions{margin-left:auto}.dojo-theme-button.compact{width:34px;min-width:34px;min-height:36px;padding:6px}.dojo-theme-dialog{padding:20px}}

:root[data-theme=dark][data-dojo-app] body{background:var(--bg);color:var(--ink)}
:root[data-theme=dark] input:not([type=checkbox]):not([type=radio]),:root[data-theme=dark] select,:root[data-theme=dark] textarea{border-color:#666666}

:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#ababab;opacity:1}

:root[data-theme=dark][data-dojo-app] .primary:hover{background:#e5c969;color:var(--dojo-on-action)}
