/* ESMERO FINANÇAS — V38.5.5 — Temas BLACK MOUVE e WHITE MOUVE (opcionais; nenhum outro tema é alterado).
 * Referência: painéis de "vidro" com sombreado leve, cantos arredondados, elevação ao passar o mouse e entrada suave das telas.
 *  - BLACK MOUVE: o BLACK FINANCE (preto absoluto, tipografia fina) com blocos, seções, botões e campos sombreados de leve; sem linhas de borda.
 *  - WHITE MOUVE: o WHITE FINANCE (tela branca, linhas de borda pretas) com o mesmo sombreado e as mesmas transições; usa a logo dos relatórios (letras pretas).
 * Tudo é escopado em body.esmero-tema-blackmouve / body.esmero-tema-whitemouve. Transições respeitam "reduzir movimento" do sistema. */
@keyframes esmMouveIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes esmMouveDrop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes esmMouveZoom { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

/* =================== esmero-tema-blackmouve =================== */
html body.esmero-tema-blackmouve::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(520px 380px at 92% -6%, rgba(224,130,5,.13), transparent 70%), radial-gradient(560px 420px at -4% 104%, rgba(59,130,246,.09), transparent 70%); mix-blend-mode: screen; }
/* blocos e seções */
html body.esmero-tema-blackmouve :is(.tab-content [class*="rounded-"], .tab-content [style*="border-radius"], section, fieldset, details, .fixed.inset-0 > div, #esmFooter):not(button):not(input):not(select):not(textarea):not(span):not(i):not(img):not(canvas):not(label):not(svg):not(a):not(.nav-btn):not(.nav-dropdown-item):not([class*="bg-emerald-"]):not([class*="bg-rose-"]):not([class*="bg-red-"]):not([class*="bg-green-"]):not([class*="bg-amber-"]):not([class*="bg-yellow-"]):not([class*="bg-blue-"]):not([class*="bg-sky-"]):not([class*="bg-purple-"]):not(#_x) { background: linear-gradient(145deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.022) 100%), #050505 !important; box-shadow: 0 14px 34px -14px rgba(0,0,0,.95), 0 2px 6px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.07), inset 0 0 0 1px rgba(255,255,255,.03) !important; border-radius: 16px !important; transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, background .28s ease !important; }
@media (hover: hover) {
  html body.esmero-tema-blackmouve :is(.tab-content [class*="rounded-"], .tab-content [style*="border-radius"], section, fieldset, details, .fixed.inset-0 > div, #esmFooter):not(button):not(input):not(select):not(textarea):not(span):not(i):not(img):not(canvas):not(label):not(svg):not(a):not(.nav-btn):not(.nav-dropdown-item):not([class*="bg-emerald-"]):not([class*="bg-rose-"]):not([class*="bg-red-"]):not([class*="bg-green-"]):not([class*="bg-amber-"]):not([class*="bg-yellow-"]):not([class*="bg-blue-"]):not([class*="bg-sky-"]):not([class*="bg-purple-"]):not(#_x):hover { background: linear-gradient(145deg, rgba(255,255,255,.095) 0%, rgba(255,255,255,.03) 100%), #060606 !important; box-shadow: 0 18px 40px -14px rgba(0,0,0,.95), 0 2px 6px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.09), inset 0 0 0 1px rgba(255,255,255,.045) !important; }
  html body.esmero-tema-blackmouve :is(.tab-content .grid > [class*="rounded-"], .tab-content .grid > [style*="border-radius"], .tab-content [class*="rounded-"].cursor-pointer):not(button):not(input):not(select):not(textarea):not(span):not(i):not(img):not(canvas):not(label):not(svg):not(a):not(.nav-btn):not(.nav-dropdown-item):not([class*="bg-emerald-"]):not([class*="bg-rose-"]):not([class*="bg-red-"]):not([class*="bg-green-"]):not([class*="bg-amber-"]):not([class*="bg-yellow-"]):not([class*="bg-blue-"]):not([class*="bg-sky-"]):not([class*="bg-purple-"]):not(#_x):hover { box-shadow: 0 22px 44px -14px rgba(0,0,0,.95), 0 3px 8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.05) !important; transform: translateY(-3px); }
}
/* botões */
html body.esmero-tema-blackmouve :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(#_x) { background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.035)), #0a0a0a !important; box-shadow: 0 5px 14px -6px rgba(0,0,0,.95), 0 1px 2px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.09) !important; border-radius: 10px !important; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background .2s ease, filter .2s ease !important; }
@media (hover: hover) { html body.esmero-tema-blackmouve :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(#_x):not(:disabled):hover { background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.055)), #0d0d0d !important; box-shadow: 0 10px 22px -8px rgba(0,0,0,.95), 0 2px 4px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.14) !important; transform: translateY(-1px); } }
html body.esmero-tema-blackmouve :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(#_x):not(:disabled):active { box-shadow: 0 2px 6px -2px rgba(0,0,0,.95), inset 0 1px 2px rgba(0,0,0,.7) !important; transform: translateY(0) scale(.97); }
html body.esmero-tema-blackmouve :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(#_x):disabled { opacity: .4; box-shadow: none !important; }
/* campos: levemente "afundados" */
html body.esmero-tema-blackmouve :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea):not(#_x) { background: rgba(255,255,255,.035) !important; box-shadow: inset 0 2px 6px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.05) !important; border-radius: 10px !important; padding-left: .65rem; padding-right: .65rem; transition: box-shadow .2s ease, background .2s ease !important; }
html body.esmero-tema-blackmouve :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea):not(#_x):focus { background: rgba(255,255,255,.055) !important; box-shadow: inset 0 2px 6px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.16), 0 0 0 3px rgba(255,255,255,.04) !important; }
/* cabeçalho, menus e janelas */
html body.esmero-tema-blackmouve > header:not(#_x) { box-shadow: 0 14px 34px -18px rgba(0,0,0,1) !important; }
html body.esmero-tema-blackmouve .nav-dropdown:not(#_x) { background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.025)), #070707 !important; box-shadow: 0 24px 60px -12px rgba(0,0,0,1), inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.04) !important; backdrop-filter: blur(14px); border-radius: 14px !important; }
html body.esmero-tema-blackmouve .nav-dropdown:not(.hidden):not(#_x) { animation: esmMouveDrop .22s cubic-bezier(.2,.8,.2,1) backwards; }
html body.esmero-tema-blackmouve .fixed.inset-0:not(#_x) { background: rgba(0,0,0,.72) !important; backdrop-filter: blur(10px) !important; }
html body.esmero-tema-blackmouve .fixed.inset-0:not(.hidden) > div:not(#_x) { animation: esmMouveZoom .26s cubic-bezier(.2,.8,.2,1) backwards; }
/* troca de telas: entrada suave */
html body.esmero-tema-blackmouve .tab-content:not(.hidden) { animation: esmMouveIn .4s cubic-bezier(.2,.8,.2,1) backwards; }

/* =================== esmero-tema-whitemouve =================== */
html body.esmero-tema-whitemouve::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(520px 380px at 92% -6%, rgba(245,158,11,.14), transparent 70%), radial-gradient(560px 420px at -4% 104%, rgba(59,130,246,.10), transparent 70%); mix-blend-mode: multiply; }
/* blocos e seções */
html body.esmero-tema-whitemouve :is(.tab-content [class*="rounded-"], .tab-content [style*="border-radius"], section, fieldset, details, .fixed.inset-0 > div, #esmFooter):not(button):not(input):not(select):not(textarea):not(span):not(i):not(img):not(canvas):not(label):not(svg):not(a):not(.nav-btn):not(.nav-dropdown-item):not([class*="bg-emerald-"]):not([class*="bg-rose-"]):not([class*="bg-red-"]):not([class*="bg-green-"]):not([class*="bg-amber-"]):not([class*="bg-yellow-"]):not([class*="bg-blue-"]):not([class*="bg-sky-"]):not([class*="bg-purple-"]):not(#_x) { background: linear-gradient(145deg, #ffffff 0%, #f4f4f6 100%) !important; box-shadow: 0 14px 30px -16px rgba(0,0,0,.34), 0 2px 6px rgba(0,0,0,.07), inset 0 1px 0 rgba(255,255,255,1) !important; border-radius: 16px !important; transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, background .28s ease !important; }
@media (hover: hover) {
  html body.esmero-tema-whitemouve :is(.tab-content [class*="rounded-"], .tab-content [style*="border-radius"], section, fieldset, details, .fixed.inset-0 > div, #esmFooter):not(button):not(input):not(select):not(textarea):not(span):not(i):not(img):not(canvas):not(label):not(svg):not(a):not(.nav-btn):not(.nav-dropdown-item):not([class*="bg-emerald-"]):not([class*="bg-rose-"]):not([class*="bg-red-"]):not([class*="bg-green-"]):not([class*="bg-amber-"]):not([class*="bg-yellow-"]):not([class*="bg-blue-"]):not([class*="bg-sky-"]):not([class*="bg-purple-"]):not(#_x):hover { background: linear-gradient(145deg, #ffffff 0%, #efeff2 100%) !important; box-shadow: 0 18px 38px -16px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.09), inset 0 1px 0 #fff !important; }
  html body.esmero-tema-whitemouve :is(.tab-content .grid > [class*="rounded-"], .tab-content .grid > [style*="border-radius"], .tab-content [class*="rounded-"].cursor-pointer):not(button):not(input):not(select):not(textarea):not(span):not(i):not(img):not(canvas):not(label):not(svg):not(a):not(.nav-btn):not(.nav-dropdown-item):not([class*="bg-emerald-"]):not([class*="bg-rose-"]):not([class*="bg-red-"]):not([class*="bg-green-"]):not([class*="bg-amber-"]):not([class*="bg-yellow-"]):not([class*="bg-blue-"]):not([class*="bg-sky-"]):not([class*="bg-purple-"]):not(#_x):hover { box-shadow: 0 24px 44px -16px rgba(0,0,0,.45), 0 3px 8px rgba(0,0,0,.1), inset 0 1px 0 #fff !important; transform: translateY(-3px); }
}
/* botões */
html body.esmero-tema-whitemouve :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(#_x) { background: linear-gradient(180deg, #ffffff, #ececef) !important; box-shadow: 0 5px 12px -6px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.1), inset 0 1px 0 #fff !important; border-radius: 10px !important; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background .2s ease, filter .2s ease !important; }
@media (hover: hover) { html body.esmero-tema-whitemouve :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(#_x):not(:disabled):hover { background: linear-gradient(180deg, #ffffff, #e4e4e8) !important; box-shadow: 0 10px 20px -8px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.12), inset 0 1px 0 #fff !important; transform: translateY(-1px); } }
html body.esmero-tema-whitemouve :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(#_x):not(:disabled):active { box-shadow: 0 2px 5px -2px rgba(0,0,0,.4), inset 0 1px 2px rgba(0,0,0,.14) !important; transform: translateY(0) scale(.97); }
html body.esmero-tema-whitemouve :is(button, [role=button], .esm-usr):not(.nav-btn):not(.nav-dropdown-item):not(#_x):disabled { opacity: .4; box-shadow: none !important; }
/* campos: levemente "afundados" */
html body.esmero-tema-whitemouve :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea):not(#_x) { background: #f6f6f8 !important; box-shadow: inset 0 2px 5px rgba(0,0,0,.1) !important; border-radius: 10px !important; padding-left: .65rem; padding-right: .65rem; transition: box-shadow .2s ease, background .2s ease !important; }
html body.esmero-tema-whitemouve :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea):not(#_x):focus { background: #ffffff !important; box-shadow: inset 0 2px 5px rgba(0,0,0,.08), 0 0 0 3px rgba(0,0,0,.06) !important; }
/* cabeçalho, menus e janelas */
html body.esmero-tema-whitemouve > header:not(#_x) { box-shadow: 0 12px 28px -16px rgba(0,0,0,.4) !important; }
html body.esmero-tema-whitemouve .nav-dropdown:not(#_x) { background: linear-gradient(160deg, #ffffff, #f3f3f5) !important; box-shadow: 0 24px 56px -12px rgba(0,0,0,.45), inset 0 1px 0 #fff !important; border-radius: 14px !important; }
html body.esmero-tema-whitemouve .nav-dropdown:not(.hidden):not(#_x) { animation: esmMouveDrop .22s cubic-bezier(.2,.8,.2,1) backwards; }
html body.esmero-tema-whitemouve .fixed.inset-0:not(#_x) { background: rgba(255,255,255,.78) !important; backdrop-filter: blur(10px) !important; }
html body.esmero-tema-whitemouve .fixed.inset-0:not(.hidden) > div:not(#_x) { animation: esmMouveZoom .26s cubic-bezier(.2,.8,.2,1) backwards; }
/* troca de telas: entrada suave */
html body.esmero-tema-whitemouve .tab-content:not(.hidden) { animation: esmMouveIn .4s cubic-bezier(.2,.8,.2,1) backwards; }

/* sem movimento quando o sistema pede "reduzir animações" */
@media (prefers-reduced-motion: reduce) {
  html body.esmero-tema-blackmouve *, html body.esmero-tema-whitemouve * { animation: none !important; transition: none !important; }
}
