/* Enomera · Deslize para confirmar (23 nov 2026). Ver eno-slide.js. Cor via --eg-c. */
.es { position: relative; isolation: isolate; height: 64px; border-radius: 999px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  border: 1px solid rgb(255 255 255 / .85);
  background: linear-gradient(135deg, rgb(255 255 255 / .7), rgb(255 255 255 / .38) 55%, rgb(255 255 255 / .6)), rgb(var(--eg-c, 91 112 178) / .1);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .9), inset 0 -1px 2px rgb(var(--eg-c, 91 112 178) / .08), 0 12px 28px -12px rgb(var(--eg-c, 91 112 178) / .45); }
.es-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 64px; border-radius: inherit; z-index: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / .3), rgb(255 255 255 / 0) 55%), linear-gradient(90deg, rgb(var(--eg-c, 91 112 178) / .55), rgb(var(--eg-c, 91 112 178) / .9)); }
.es-label { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding-left: 56px; pointer-events: none; transition: opacity 160ms linear; }
.es-text { white-space: nowrap; font: 700 15px/1 Manrope, system-ui, sans-serif; letter-spacing: .01em; color: rgb(var(--eg-c, 91 112 178));
  background: linear-gradient(100deg, rgb(var(--eg-c, 91 112 178)) 40%, rgb(255 255 255 / .95) 50%, rgb(var(--eg-c, 91 112 178)) 60%) 0 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: esShine 2.6s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes esShine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.es-knob { appearance: none; position: absolute; left: 4px; top: 4px; z-index: 2; width: 56px; height: 54px; border-radius: 999px; padding: 0; cursor: grab; touch-action: none;
  display: grid; place-items: center; color: #fff; border: 1px solid rgb(255 255 255 / .6);
  background: linear-gradient(180deg, rgb(255 255 255 / .38), rgb(255 255 255 / 0) 55%), rgb(var(--eg-c, 91 112 178));
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .6), 0 8px 18px -6px rgb(var(--eg-c, 91 112 178) / .7); transition: box-shadow 220ms cubic-bezier(.23,1,.32,1), scale 160ms cubic-bezier(.23,1,.32,1); }
.es.is-drag .es-knob { cursor: grabbing; scale: 1.06; box-shadow: inset 0 1px 1px rgb(255 255 255 / .6), 0 14px 28px -8px rgb(var(--eg-c, 91 112 178) / .8); }
.es-knob:focus-visible { outline: 2px solid rgb(var(--eg-c, 91 112 178)); outline-offset: 3px; }
.es-knob[disabled] { cursor: default; }
.es-ico { position: absolute; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: opacity 160ms linear, transform 220ms cubic-bezier(.23,1,.32,1); }
.es-check path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 320ms cubic-bezier(.23,1,.32,1) 80ms; }
.es-spin { position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.4px solid rgb(255 255 255 / .35); border-top-color: #fff; opacity: 0; animation: esSpin 700ms linear infinite; transition: opacity 160ms linear; }
@keyframes esSpin { to { transform: rotate(1turn); } }
.es[data-state="busy"] .es-arrow, .es[data-state="done"] .es-arrow { opacity: 0; transform: translateX(8px); }
.es[data-state="busy"] .es-spin { opacity: 1; }
.es[data-state="done"] .es-check path { stroke-dashoffset: 0; }
.es[data-state="busy"] .es-text, .es[data-state="done"] .es-text { animation: none; background: none; -webkit-text-fill-color: #fff; color: #fff; }
.es[data-state="busy"] .es-label, .es[data-state="done"] .es-label { padding-left: 0; padding-right: 56px; }
.es[data-state="done"] .es-fill { background: linear-gradient(180deg, rgb(255 255 255 / .3), rgb(255 255 255 / 0) 55%), linear-gradient(90deg, #2e7d54, #36925f); }
.es[data-state="done"] .es-knob { background: linear-gradient(180deg, rgb(255 255 255 / .38), rgb(255 255 255 / 0) 55%), #2e7d54; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .es { background: linear-gradient(135deg, rgb(255 255 255 / .14), rgb(255 255 255 / .05)), rgb(var(--eg-c, 91 112 178) / .2); border-color: rgb(255 255 255 / .16); } :root:not([data-theme="light"]) .es-text { --eg-c: 200 210 255; } }
@media (prefers-reduced-motion: reduce) { .es-text { animation: none; background: none; -webkit-text-fill-color: currentColor; } .es-knob, .es-ico, .es-check path { transition: none; } }
