/* =========================================================================
   tema.css — Tema escuro "futurista" do DispareAQUI
   Carregado por ULTIMO no header.php. Todas as regras ficam sob
   html.tema-futurista para vencer os CSS especificos de cada pagina.
   Fonte unica: Exo 2 (pesos 300-800 + italico). Nao adicionar outras fontes.
   ========================================================================= */

html.tema-futurista {
  --t-font: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-bg: #05070f;
  --t-bg-2: #0a1020;
  --t-surface: rgba(14, 20, 40, .72);
  --t-surface-solid: #0c1326;
  --t-surface-2: rgba(22, 31, 60, .78);
  --t-surface-input: rgba(4, 8, 20, .65);
  --t-border: rgba(120, 160, 255, .13);
  --t-border-strong: rgba(120, 160, 255, .28);

  --t-text: #e8edff;
  --t-text-2: #b9c3e3;
  --t-muted: #8190b6;

  --t-primary: #22d3ee;
  --t-primary-2: #3b82f6;
  --t-accent: #a78bfa;
  --t-success: #34d399;
  --t-warning: #fbbf24;
  --t-danger: #fb7185;
  --t-info: #60a5fa;

  --t-grad: linear-gradient(135deg, #22d3ee 0%, #3b82f6 55%, #a78bfa 100%);
  --t-grad-soft: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(167, 139, 250, .10));
  --t-glow: 0 0 0 1px rgba(34, 211, 238, .28), 0 10px 34px -6px rgba(34, 211, 238, .30);
  --t-shadow: 0 18px 50px -18px rgba(0, 0, 0, .75);
  --t-radius: 16px;
  --t-ease: cubic-bezier(.2, .8, .2, 1);

  /* Variaveis legadas do sistema (style.css / app-ui.css) */
  --app-bg: var(--t-bg);
  --app-sidebar: rgba(7, 11, 24, .78);
  --app-sidebar-accent: rgba(14, 20, 40, .8);
  --app-primary: var(--t-primary);
  --app-primary-dark: #06b6d4;
  --app-primary-soft: rgba(34, 211, 238, .12);
  --app-accent: var(--t-accent);
  --app-accent-dark: #8b5cf6;
  --app-accent-soft: rgba(167, 139, 250, .12);
  --app-text: var(--t-text);
  --app-muted: var(--t-muted);
  --app-border: var(--t-border);
  --app-surface: var(--t-surface-solid);
  --app-surface-muted: rgba(10, 16, 32, .9);
  --app-success: var(--t-success);
  --app-success-dark: #6ee7b7;
  --app-success-soft: rgba(52, 211, 153, .12);
  --app-warning: var(--t-warning);
  --app-warning-dark: #fcd34d;
  --app-warning-soft: rgba(251, 191, 36, .12);
  --app-danger: var(--t-danger);
  --app-danger-dark: #fda4af;
  --app-danger-soft: rgba(251, 113, 133, .12);
  --app-info: var(--t-info);
  --app-info-dark: #93c5fd;
  --app-info-soft: rgba(96, 165, 250, .12);
  --app-shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --app-shadow-md: var(--t-shadow);
  --app-shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .85);

  /* Bootstrap 5.3 (modo escuro nativo + identidade) */
  --bs-body-font-family: var(--t-font);
  --bs-font-sans-serif: var(--t-font);
  --bs-body-bg: var(--t-bg);
  --bs-body-color: var(--t-text);
  --bs-emphasis-color: #fff;
  --bs-secondary-color: var(--t-muted);
  --bs-tertiary-color: var(--t-muted);
  --bs-secondary-bg: var(--t-surface-solid);
  --bs-tertiary-bg: rgba(14, 20, 40, .9);
  --bs-border-color: var(--t-border);
  --bs-border-color-translucent: var(--t-border);
  --bs-heading-color: #f4f7ff;
  --bs-link-color: var(--t-primary);
  --bs-link-hover-color: #67e8f9;
  --bs-link-color-rgb: 34, 211, 238;
  --bs-primary: var(--t-primary);
  --bs-primary-rgb: 34, 211, 238;
  --bs-success-rgb: 52, 211, 153;
  --bs-danger-rgb: 251, 113, 133;
  --bs-warning-rgb: 251, 191, 36;
  --bs-info-rgb: 96, 165, 250;
  --bs-focus-ring-color: rgba(34, 211, 238, .35);
  color-scheme: dark;
}

/* ---------------------------------------------------------------------
   Base, fonte unica e fundo animado
   --------------------------------------------------------------------- */
html.tema-futurista body {
  font-family: var(--t-font);
  font-weight: 400;
  color: var(--t-text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(59, 130, 246, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(167, 139, 250, .14), transparent 60%),
    linear-gradient(180deg, var(--t-bg) 0%, var(--t-bg-2) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

html.tema-futurista :is(button, input, select, textarea, optgroup, .btn, .form-control, .form-select,
  .table, .badge, .dropdown-item, .nav-link, .tooltip, .popover, .modal, .toast, h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6, .litegraph, .litegraph *, code, pre, kbd) {
  font-family: var(--t-font);
}

html.tema-futurista :is(b, strong) { font-weight: 700; }

/* Grade "holografica" que desliza devagar */
html.tema-futurista body::before {
  content: "";
  position: fixed;
  inset: -40px;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 160, 255, .085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, .085) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 85%);
  animation: t-grid-pan 30s linear infinite;
}

/* Aurora que respira ao fundo */
html.tema-futurista body::after {
  content: "";
  position: fixed;
  width: 60vmax;
  height: 60vmax;
  right: -20vmax;
  top: -25vmax;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .17), rgba(167, 139, 250, .06) 45%, transparent 68%);
  filter: blur(20px);
  animation: t-aurora 18s ease-in-out infinite alternate;
}

html.tema-futurista ::selection { background: rgba(34, 211, 238, .35); color: #fff; }

html.tema-futurista * { scrollbar-color: rgba(120, 160, 255, .35) transparent; }
html.tema-futurista ::-webkit-scrollbar-thumb { background: rgba(120, 160, 255, .3); }
html.tema-futurista ::-webkit-scrollbar-thumb:hover { background: rgba(34, 211, 238, .55); }

html.tema-futurista :focus-visible {
  outline: 2px solid rgba(34, 211, 238, .7);
  outline-offset: 2px;
}

html.tema-futurista :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
  color: var(--bs-heading-color);
  font-weight: 700;
  letter-spacing: .01em;
}

html.tema-futurista a:not(.btn):not(.app-link):not(.nav-link):not(.dropdown-item):not(.page-link) {
  color: var(--t-primary);
  transition: color .2s var(--t-ease);
}
html.tema-futurista a:not(.btn):not(.app-link):not(.nav-link):not(.dropdown-item):not(.page-link):hover { color: #67e8f9; }

html.tema-futurista :is(.text-muted, .text-secondary, .text-body-secondary) { color: var(--t-muted) !important; }
html.tema-futurista :is(.text-dark, .text-black, .text-body) { color: var(--t-text) !important; }
html.tema-futurista :is(.bg-white, .bg-light, .bg-body, .bg-body-tertiary) {
  background-color: var(--t-surface-2) !important;
  color: var(--t-text) !important;
}
html.tema-futurista hr { border-color: var(--t-border); opacity: 1; }

/* ---------------------------------------------------------------------
   Estrutura (menu lateral e area principal)
   --------------------------------------------------------------------- */
html.tema-futurista :is(.app-shell, .main-content) { background: transparent; }

/* O menu nunca encolhe e o conteudo nunca empurra a tela para os lados
   (paginas com tabelas largas espremiam o menu ate sumir). */
html.tema-futurista .app-sidebar { flex-shrink: 0; }
html.tema-futurista .app-main { min-width: 0; }

html.tema-futurista .app-sidebar {
  background: linear-gradient(180deg, rgba(8, 12, 26, .88), rgba(6, 9, 20, .92));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-right: 1px solid var(--t-border);
  box-shadow: inset -1px 0 0 rgba(34, 211, 238, .06), 12px 0 40px -20px rgba(0, 0, 0, .8);
}

html.tema-futurista .app-logo-badge {
  background: var(--t-grad);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: var(--t-glow);
  animation: t-gradient-shift 6s ease infinite;
  letter-spacing: .04em;
}

html.tema-futurista .app-name {
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--t-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.tema-futurista .app-balance {
  position: relative;
  background: var(--t-grad-soft);
  border: 1px solid rgba(34, 211, 238, .22);
  overflow: hidden;
}
html.tema-futurista .app-balance::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .08) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: t-sweep 5s ease-in-out infinite;
}
html.tema-futurista .app-balance-label { color: var(--t-primary); font-weight: 600; }
html.tema-futurista .app-balance-value { color: #fff; font-weight: 700; }
html.tema-futurista .app-balance-value i { color: var(--t-warning); }

html.tema-futurista .app-nav-section {
  color: rgba(129, 144, 182, .8);
  font-weight: 700;
}

html.tema-futurista .app-link {
  position: relative;
  color: var(--t-text-2);
  transition: background-color .25s var(--t-ease), color .25s var(--t-ease), transform .25s var(--t-ease), border-color .25s var(--t-ease), box-shadow .25s var(--t-ease);
}
html.tema-futurista .app-link i { color: var(--t-muted); transition: color .25s var(--t-ease), filter .25s var(--t-ease); }
html.tema-futurista .app-link:hover {
  background: rgba(34, 211, 238, .07);
  border-color: rgba(34, 211, 238, .16);
  color: #fff;
  transform: translateX(3px);
}
html.tema-futurista .app-link:hover i { color: var(--t-primary); filter: drop-shadow(0 0 6px rgba(34, 211, 238, .6)); }
html.tema-futurista .app-link.active,
html.tema-futurista .app-link.app-link-primary {
  background: linear-gradient(90deg, rgba(34, 211, 238, .16), rgba(59, 130, 246, .06));
  border-color: rgba(34, 211, 238, .30);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--t-primary), 0 0 24px -8px rgba(34, 211, 238, .55);
}
html.tema-futurista .app-link.active i,
html.tema-futurista .app-link.app-link-primary i { color: var(--t-primary); filter: drop-shadow(0 0 6px rgba(34, 211, 238, .7)); }
html.tema-futurista .app-link.app-link-danger {
  background: rgba(251, 113, 133, .08);
  border-color: rgba(251, 113, 133, .25);
  color: #fda4af;
}
html.tema-futurista .app-link.app-link-danger i { color: #fda4af; }
html.tema-futurista .app-link.app-link-danger:hover { background: rgba(251, 113, 133, .16); color: #fff; }

html.tema-futurista .app-mobile-bar {
  background: rgba(7, 11, 24, .85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--t-border);
  box-shadow: none;
}
html.tema-futurista .app-mobile-chip {
  background: rgba(34, 211, 238, .1);
  border-color: rgba(34, 211, 238, .3);
  color: #a5f3fc;
}
html.tema-futurista .app-menu-btn { background: rgba(14, 20, 40, .8); border-color: var(--t-border); }
html.tema-futurista .app-overlay { background: rgba(2, 4, 10, .7); }

/* Entrada suave do conteudo */
html.tema-futurista .app-main > * {
  animation: t-fade-up .55s var(--t-ease) both;
}
html.tema-futurista .app-main > *:nth-child(2) { animation-delay: .06s; }
html.tema-futurista .app-main > *:nth-child(3) { animation-delay: .12s; }
html.tema-futurista .app-main > *:nth-child(4) { animation-delay: .18s; }
html.tema-futurista .app-main > *:nth-child(n+5) { animation-delay: .24s; }

/* ---------------------------------------------------------------------
   Superficies: cards, paineis, heros das paginas (vidro escuro)
   --------------------------------------------------------------------- */
html.tema-futurista :is(
  .card, .modal-content, .offcanvas, .envio-card, .preview-box, .table-wrap, .chat-container,
  .log-container, .log-card, .webhook-card, .app-summary-tile, .app-toast, .accordion-item,
  [class*="-hero"]:not([class*="-hero-"]),
  [class*="-panel"]:not([class*="-panel-"]),
  [class*="-card"]:not([class*="-card-"]):not([class*="wa-"]):not(.card-body):not(.card-header):not(.card-footer):not(.card-title):not(.card-text)
) {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: var(--t-radius);
  color: var(--t-text);
  box-shadow: var(--t-shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Heros ganham brilho de destaque e uma linha de luz no topo */
html.tema-futurista [class*="-hero"]:not([class*="-hero-"]) {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(34, 211, 238, .16), transparent 70%),
    radial-gradient(500px 220px at 100% 0%, rgba(167, 139, 250, .14), transparent 70%),
    var(--t-surface);
}
html.tema-futurista [class*="-hero"]:not([class*="-hero-"])::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .8), rgba(167, 139, 250, .8), transparent);
  background-size: 200% 100%;
  animation: t-gradient-shift 6s linear infinite;
}

/* Cards interativos levantam com brilho */

html.tema-futurista :is(.card-header, .card-footer, .modal-header, .modal-footer) {
  background: transparent;
  border-color: var(--t-border);
}

/* Textos dentro das superficies (muitos estavam fixos em cinza-escuro) */
html.tema-futurista .app-main :is(p, td, th, label, li, dt, dd, .form-label, .form-text,
  [class*="-title"], [class*="-value"], [class*="-name"], [class*="-sub"]:not(.app-sub),
  [class*="-meta"], [class*="-label"], [class*="-desc"], [class*="-note"], [class*="-hint"]):not([class*="text-"]):not(.badge):not(.btn) {
  color: inherit;
}
html.tema-futurista .app-main :is([class*="-sub"], [class*="-meta"], [class*="-label"], [class*="-hint"], [class*="-note"], .hint, .timestamp):not([class*="text-"]):not(.badge) {
  color: var(--t-muted);
}
html.tema-futurista .app-main :is([class*="-value"], .kpi-value, .quantidade) {
  color: #fff;
  font-weight: 700;
}

/* Etiquetas/kickers dos heros */
html.tema-futurista [class*="-kicker"] {
  background: rgba(34, 211, 238, .10) !important;
  border: 1px solid rgba(34, 211, 238, .28) !important;
  color: #a5f3fc !important;
  box-shadow: 0 0 18px -6px rgba(34, 211, 238, .6);
}

/* ---------------------------------------------------------------------
   Tabelas
   --------------------------------------------------------------------- */
html.tema-futurista .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--t-text);
  --bs-table-striped-bg: rgba(120, 160, 255, .035);
  --bs-table-striped-color: var(--t-text);
  --bs-table-hover-bg: rgba(34, 211, 238, .06);
  --bs-table-hover-color: #fff;
  --bs-table-border-color: rgba(120, 160, 255, .09);
  color: var(--t-text);
}
html.tema-futurista .table > thead > tr > th,
html.tema-futurista .table > thead > tr > td {
  background: rgba(10, 16, 34, .85) !important;
  color: var(--t-muted) !important;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(34, 211, 238, .18);
}
html.tema-futurista .table > tbody > tr { transition: background-color .2s var(--t-ease); }
html.tema-futurista .table > tbody > tr:hover > * {
  background: rgba(34, 211, 238, .055) !important;
  color: #fff;
}
html.tema-futurista .table > :not(caption) > * > * { border-bottom-color: rgba(120, 160, 255, .08); }

/* ---------------------------------------------------------------------
   Formularios
   --------------------------------------------------------------------- */
html.tema-futurista :is(.form-control, .form-select, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), select, textarea) {
  background-color: var(--t-surface-input);
  border: 1px solid var(--t-border-strong);
  color: var(--t-text);
  border-radius: 10px;
  transition: border-color .2s var(--t-ease), box-shadow .2s var(--t-ease), background-color .2s var(--t-ease);
}
html.tema-futurista :is(.form-control, .form-select, input, select, textarea):focus {
  background-color: rgba(6, 12, 28, .9);
  border-color: var(--t-primary);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .18), 0 0 22px -6px rgba(34, 211, 238, .6);
}
html.tema-futurista :is(.form-control, input, textarea)::placeholder { color: rgba(129, 144, 182, .7); }
html.tema-futurista :is(.form-control, .form-select):disabled,
html.tema-futurista .form-control[readonly] {
  background-color: rgba(14, 20, 40, .5);
  color: var(--t-muted);
}
html.tema-futurista .form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2322d3ee' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
html.tema-futurista select option { background: var(--t-surface-solid); color: var(--t-text); }
html.tema-futurista .form-check-input {
  background-color: var(--t-surface-input);
  border-color: var(--t-border-strong);
}
html.tema-futurista .form-check-input:checked {
  background-color: var(--t-primary);
  border-color: var(--t-primary);
  box-shadow: 0 0 12px -2px rgba(34, 211, 238, .7);
}
html.tema-futurista .input-group-text {
  background: rgba(14, 20, 40, .9);
  border-color: var(--t-border-strong);
  color: var(--t-muted);
}

/* ---------------------------------------------------------------------
   Botoes
   --------------------------------------------------------------------- */
html.tema-futurista .btn {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .2s var(--t-ease), box-shadow .25s var(--t-ease), background-color .2s var(--t-ease), border-color .2s var(--t-ease), color .2s var(--t-ease), filter .2s var(--t-ease);
}
html.tema-futurista .btn:not(:disabled):not(.disabled):active { transform: translateY(1px) scale(.98); }

/* Brilho que atravessa os botoes cheios */
html.tema-futurista :is(.btn-primary, .btn-success, .btn-danger, .btn-info, .btn-warning)::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--t-ease);
  pointer-events: none;
}
html.tema-futurista :is(.btn-primary, .btn-success, .btn-danger, .btn-info, .btn-warning):not(:disabled):hover::after { left: 120%; }

html.tema-futurista .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  border: 1px solid rgba(99, 102, 241, .6);
  box-shadow: 0 8px 22px -10px rgba(14, 165, 233, .9);
}
html.tema-futurista .btn-primary:not(:disabled):hover { box-shadow: 0 0 0 1px rgba(34, 211, 238, .4), 0 10px 30px -8px rgba(14, 165, 233, .9); transform: translateY(-1px); }

html.tema-futurista .btn-success {
  --bs-btn-color: #03140d;
  --bs-btn-hover-color: #03140d;
  --bs-btn-active-color: #03140d;
  --bs-btn-disabled-color: #03140d;
  background: linear-gradient(135deg, #34d399, #10b981);
  border: 1px solid rgba(52, 211, 153, .7);
  box-shadow: 0 8px 22px -10px rgba(16, 185, 129, .9);
}
html.tema-futurista .btn-success:not(:disabled):hover { box-shadow: 0 0 0 1px rgba(52, 211, 153, .45), 0 10px 30px -8px rgba(16, 185, 129, .9); transform: translateY(-1px); }

html.tema-futurista .btn-danger {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  border: 1px solid rgba(251, 113, 133, .6);
  box-shadow: 0 8px 22px -10px rgba(225, 29, 72, .9);
}
html.tema-futurista .btn-warning {
  --bs-btn-color: #1a1203;
  --bs-btn-hover-color: #1a1203;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  border: 1px solid rgba(251, 191, 36, .6);
}
html.tema-futurista .btn-info {
  --bs-btn-color: #04111f;
  --bs-btn-hover-color: #04111f;
  background: linear-gradient(135deg, #7dd3fc, #60a5fa);
  border: 1px solid rgba(96, 165, 250, .6);
}
html.tema-futurista :is(.btn-secondary, .btn-dark, .btn-light) {
  --bs-btn-color: var(--t-text);
  --bs-btn-hover-color: #fff;
  background: rgba(30, 41, 72, .7);
  border: 1px solid var(--t-border-strong);
}
html.tema-futurista :is(.btn-secondary, .btn-dark, .btn-light):hover { background: rgba(45, 60, 100, .8); border-color: rgba(34, 211, 238, .35); }

/* Botoes contornados: neon */
html.tema-futurista [class*="btn-outline-"] {
  background: rgba(10, 16, 34, .4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
html.tema-futurista .btn-outline-primary { --bs-btn-color: #67e8f9; --bs-btn-border-color: rgba(34, 211, 238, .55); --bs-btn-hover-bg: rgba(34, 211, 238, .14); --bs-btn-hover-border-color: #22d3ee; --bs-btn-hover-color: #fff; --bs-btn-active-bg: rgba(34, 211, 238, .22); --bs-btn-active-color: #fff; --bs-btn-disabled-color: rgba(103, 232, 249, .5); --bs-btn-disabled-border-color: rgba(34, 211, 238, .25); }
html.tema-futurista .btn-outline-success { --bs-btn-color: #6ee7b7; --bs-btn-border-color: rgba(52, 211, 153, .55); --bs-btn-hover-bg: rgba(52, 211, 153, .14); --bs-btn-hover-border-color: #34d399; --bs-btn-hover-color: #fff; --bs-btn-active-bg: rgba(52, 211, 153, .22); --bs-btn-disabled-color: rgba(110, 231, 183, .5); --bs-btn-disabled-border-color: rgba(52, 211, 153, .25); }
html.tema-futurista .btn-outline-danger { --bs-btn-color: #fda4af; --bs-btn-border-color: rgba(251, 113, 133, .55); --bs-btn-hover-bg: rgba(251, 113, 133, .14); --bs-btn-hover-border-color: #fb7185; --bs-btn-hover-color: #fff; --bs-btn-active-bg: rgba(251, 113, 133, .22); --bs-btn-disabled-color: rgba(253, 164, 175, .45); --bs-btn-disabled-border-color: rgba(251, 113, 133, .22); }
html.tema-futurista .btn-outline-warning { --bs-btn-color: #fcd34d; --bs-btn-border-color: rgba(251, 191, 36, .55); --bs-btn-hover-bg: rgba(251, 191, 36, .14); --bs-btn-hover-border-color: #fbbf24; --bs-btn-hover-color: #fff; --bs-btn-active-bg: rgba(251, 191, 36, .22); --bs-btn-disabled-color: rgba(252, 211, 77, .45); --bs-btn-disabled-border-color: rgba(251, 191, 36, .22); }
html.tema-futurista .btn-outline-info { --bs-btn-color: #93c5fd; --bs-btn-border-color: rgba(96, 165, 250, .55); --bs-btn-hover-bg: rgba(96, 165, 250, .14); --bs-btn-hover-border-color: #60a5fa; --bs-btn-hover-color: #fff; --bs-btn-active-bg: rgba(96, 165, 250, .22); }
html.tema-futurista :is(.btn-outline-secondary, .btn-outline-dark, .btn-outline-light) { --bs-btn-color: var(--t-text-2); --bs-btn-border-color: var(--t-border-strong); --bs-btn-hover-bg: rgba(120, 160, 255, .12); --bs-btn-hover-border-color: rgba(167, 139, 250, .6); --bs-btn-hover-color: #fff; --bs-btn-active-bg: rgba(120, 160, 255, .2); --bs-btn-active-color: #fff; --bs-btn-disabled-color: rgba(185, 195, 227, .45); --bs-btn-disabled-border-color: rgba(120, 160, 255, .15); }
html.tema-futurista [class*="btn-outline-"]:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 0 18px -6px currentColor; }

html.tema-futurista .btn:disabled,
html.tema-futurista .btn.disabled { opacity: .42; box-shadow: none; filter: saturate(.6); }

html.tema-futurista .btn-close { filter: invert(1) grayscale(1) brightness(1.6); opacity: .6; }
html.tema-futurista .btn-close:hover { opacity: 1; }

/* ---------------------------------------------------------------------
   Badges, alerts, progress, modais, menus
   --------------------------------------------------------------------- */
html.tema-futurista .badge { font-weight: 700; letter-spacing: .04em; border-radius: 999px; padding: .4em .75em; }
html.tema-futurista .badge.bg-success { background: rgba(52, 211, 153, .16) !important; color: #6ee7b7 !important; box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .4), 0 0 14px -4px rgba(52, 211, 153, .6); }
html.tema-futurista .badge.bg-danger { background: rgba(251, 113, 133, .16) !important; color: #fda4af !important; box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .4); }
html.tema-futurista .badge.bg-warning { background: rgba(251, 191, 36, .16) !important; color: #fcd34d !important; box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .4); }
html.tema-futurista .badge.bg-info { background: rgba(96, 165, 250, .16) !important; color: #93c5fd !important; box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .4); }
html.tema-futurista .badge.bg-primary { background: rgba(34, 211, 238, .16) !important; color: #a5f3fc !important; box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .4); }
html.tema-futurista :is(.badge.bg-secondary, .badge.bg-dark, .badge.bg-light) { background: rgba(120, 160, 255, .12) !important; color: var(--t-text-2) !important; box-shadow: inset 0 0 0 1px rgba(120, 160, 255, .28); }

html.tema-futurista .alert { border-radius: 12px; border-width: 1px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html.tema-futurista .alert-success { background: rgba(52, 211, 153, .10); border-color: rgba(52, 211, 153, .35); color: #a7f3d0; }
html.tema-futurista .alert-danger { background: rgba(251, 113, 133, .10); border-color: rgba(251, 113, 133, .35); color: #fecdd3; }
html.tema-futurista .alert-warning { background: rgba(251, 191, 36, .10); border-color: rgba(251, 191, 36, .35); color: #fde68a; }
html.tema-futurista .alert-info,
html.tema-futurista .alert-primary { background: rgba(34, 211, 238, .08); border-color: rgba(34, 211, 238, .30); color: #bae6fd; }
html.tema-futurista .alert-secondary,
html.tema-futurista .alert-light { background: rgba(120, 160, 255, .08); border-color: var(--t-border-strong); color: var(--t-text-2); }

html.tema-futurista .progress {
  --bs-progress-bg: rgba(120, 160, 255, .10);
  background: rgba(120, 160, 255, .10);
  border-radius: 999px;
  overflow: hidden;
}
html.tema-futurista .progress-bar,
html.tema-futurista [class*="progress-bar"]:not(.progress) {
  position: relative;
  background: var(--t-grad) !important;
  box-shadow: 0 0 14px rgba(34, 211, 238, .55);
  overflow: hidden;
}
html.tema-futurista .progress-bar::after,
html.tema-futurista [class*="progress-bar"]:not(.progress)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: translateX(-100%);
  animation: t-sweep 2.4s ease-in-out infinite;
}
html.tema-futurista [class*="progress-track"] { background: rgba(120, 160, 255, .10) !important; }

html.tema-futurista .modal-backdrop { background-color: rgba(2, 4, 10, .6); }
html.tema-futurista .modal-backdrop.show { opacity: 1; }
html.tema-futurista .modal.fade .modal-dialog { transform: translateY(18px) scale(.97); transition: transform .35s var(--t-ease); }
html.tema-futurista .modal.show .modal-dialog { transform: none; }
html.tema-futurista .modal-content {
  background: linear-gradient(180deg, rgba(16, 24, 48, .96), rgba(10, 15, 32, .97));
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .12), 0 40px 90px -20px rgba(0, 0, 0, .9);
}

html.tema-futurista .dropdown-menu {
  --bs-dropdown-bg: rgba(12, 18, 38, .97);
  --bs-dropdown-link-color: var(--t-text);
  --bs-dropdown-link-hover-bg: rgba(34, 211, 238, .1);
  --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-border-color: var(--t-border-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--t-shadow);
}

html.tema-futurista .nav-tabs { border-color: var(--t-border); }
html.tema-futurista .nav-tabs .nav-link { color: var(--t-muted); border: 0; border-bottom: 2px solid transparent; }
html.tema-futurista .nav-tabs .nav-link:hover { color: #fff; }
html.tema-futurista .nav-tabs .nav-link.active { background: transparent; color: #fff; border-bottom-color: var(--t-primary); box-shadow: 0 8px 16px -12px rgba(34, 211, 238, .9); }
html.tema-futurista .nav-pills .nav-link.active { background: var(--t-grad); box-shadow: var(--t-glow); }

html.tema-futurista .list-group { --bs-list-group-bg: transparent; --bs-list-group-color: var(--t-text); --bs-list-group-border-color: var(--t-border); --bs-list-group-action-hover-bg: rgba(34, 211, 238, .06); --bs-list-group-active-bg: rgba(34, 211, 238, .16); --bs-list-group-active-border-color: rgba(34, 211, 238, .4); }

html.tema-futurista .page-link { background: rgba(14, 20, 40, .8); border-color: var(--t-border); color: var(--t-text-2); }
html.tema-futurista .page-item.active .page-link { background: var(--t-grad); border-color: transparent; color: #fff; }

html.tema-futurista :is(pre, code, .small-code) { color: #a5f3fc; }
html.tema-futurista pre { background: rgba(3, 6, 15, .85); border: 1px solid var(--t-border); border-radius: 12px; }

html.tema-futurista .spinner-border { color: var(--t-primary); }

/* Toasts */
html.tema-futurista .app-toast { background: rgba(12, 18, 38, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: t-slide-in .4s var(--t-ease) both; }

/* Tooltips */
html.tema-futurista .tooltip { --bs-tooltip-bg: #0f1a33; --bs-tooltip-color: #e8edff; }

/* ---------------------------------------------------------------------
   Componentes legados com fundo claro fixo
   --------------------------------------------------------------------- */
html.tema-futurista :is(.codigo-pix, .col-info-metricas) {
  background: rgba(34, 211, 238, .08) !important;
  border: 1px solid rgba(34, 211, 238, .28) !important;
  color: var(--t-text);
}
html.tema-futurista .app-dropzone { background: rgba(10, 16, 34, .6); border-color: var(--t-border-strong); }
html.tema-futurista .app-dropzone:hover,
html.tema-futurista .app-dropzone.is-dragover { border-color: var(--t-primary); background: rgba(34, 211, 238, .07); box-shadow: inset 0 0 30px -10px rgba(34, 211, 238, .5); }
html.tema-futurista .app-summary-tile--muted .app-summary-tile__value { color: var(--t-text-2); }
html.tema-futurista .webhook-json { background: #02040a; color: #34d399; }

/* ---------------------------------------------------------------------
   Botoes cheios: cores garantidas mesmo quando o CSS da pagina tenta mudar
   --------------------------------------------------------------------- */
html.tema-futurista .btn.btn-primary { background: linear-gradient(135deg, #0ea5e9, #6366f1) !important; border-color: rgba(99, 102, 241, .6) !important; color: #fff !important; }
html.tema-futurista .btn.btn-success { background: linear-gradient(135deg, #34d399, #10b981) !important; border-color: rgba(52, 211, 153, .7) !important; color: #03140d !important; }
html.tema-futurista .btn.btn-danger { background: linear-gradient(135deg, #fb7185, #e11d48) !important; border-color: rgba(251, 113, 133, .6) !important; color: #fff !important; }
html.tema-futurista .btn.btn-warning { background: linear-gradient(135deg, #fcd34d, #f59e0b) !important; border-color: rgba(251, 191, 36, .6) !important; color: #1a1203 !important; }
html.tema-futurista .btn.btn-info { background: linear-gradient(135deg, #7dd3fc, #60a5fa) !important; border-color: rgba(96, 165, 250, .6) !important; color: #04111f !important; }

/* ---------------------------------------------------------------------
   Previas do WhatsApp: modo escuro oficial do WhatsApp (continua sendo
   reconhecivel como WhatsApp e combina com o tema)
   --------------------------------------------------------------------- */
html.tema-futurista .preview-device-wrap {
  background: rgba(3, 6, 15, .7) !important;
  border: 1px solid var(--t-border) !important;
  box-shadow: inset 0 0 40px -20px rgba(34, 211, 238, .4) !important;
}
html.tema-futurista .preview-phone { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html.tema-futurista :is(.wa-chat-preview, .wa-phone-chat) { background: #0b141a !important; border-color: #233138 !important; }
html.tema-futurista .wa-chat-preview__header { background: #202c33 !important; color: #e9edef !important; }
html.tema-futurista :is(.wa-chat-preview__title, .wa-chat-preview__contact) { color: #e9edef !important; }
html.tema-futurista :is(.wa-chat-preview__meta, .wa-chat-preview__subtitle) { color: #8696a0 !important; }
html.tema-futurista .wa-chat-preview__avatar { background: #00a884 !important; color: #fff !important; }
/* Fundo do chat com a textura de pontinhos do WhatsApp escuro */
html.tema-futurista :is(.wa-chat-preview__canvas, .whatsapp-chat, #templateLayout) {
  background:
    radial-gradient(circle at 18px 18px, rgba(134, 150, 160, .07) 1.5px, transparent 1.6px),
    radial-gradient(circle at 64px 42px, rgba(134, 150, 160, .06) 1.6px, transparent 1.8px),
    #0b141a !important;
  background-size: 96px 96px, 96px 96px, auto !important;
  border-color: #233138 !important;
}
html.tema-futurista .wa-chat-preview__canvas::before { background: none !important; }
html.tema-futurista .wa-chat-preview__day { background: #182229 !important; color: #8696a0 !important; box-shadow: none !important; }
html.tema-futurista :is(.wa-preview-bubble, .bubble, .whatsapp-chat .message .bubble, .message .bubble) {
  background: #202c33 !important;
  color: #e9edef !important;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .3) !important;
}
html.tema-futurista :is(.whatsapp-chat .message.me .bubble, .message.sent .bubble) { background: #005c4b !important; }
html.tema-futurista .wa-preview-bubble::after { background: #202c33 !important; border-left: 0 !important; }
html.tema-futurista :is(.wa-preview-bubble .preview-body, .wa-preview-bubble .preview-header) { color: #e9edef !important; }
html.tema-futurista :is(.wa-preview-meta, .wa-preview-bubble .preview-footer, .wa-phone-empty) { color: #8696a0 !important; }
html.tema-futurista .wa-preview-checks::before { color: #53bdeb !important; }
html.tema-futurista .wa-preview-bubble .preview-media { background-color: #111b21 !important; color: #8696a0 !important; }
html.tema-futurista :is(.preview-buttons button, .wa-preview-btn, .preview-template-button) {
  background: #202c33 !important;
  color: #00a884 !important;
  border-color: #233138 !important;
}

/* ---------------------------------------------------------------------
   Editor de automacoes (app React): variaveis proprias
   --------------------------------------------------------------------- */
html.tema-futurista {
  --ab-canvas-bg: #070b16;
  --ab-surface: #0e1528;
  --ab-border: rgba(120, 160, 255, .14);
  --ab-border-strong: rgba(120, 160, 255, .28);
  --ab-text: #e8edff;
  --ab-text-secondary: #b9c3e3;
  --ab-text-muted: #8190b6;
  --ab-indigo: #6366f1;
  --ab-indigo-dark: #818cf8;
  --ab-indigo-light: rgba(99, 102, 241, .16);
  --ab-shadow-sm: 0 1px 3px rgba(0, 0, 0, .5);
  --ab-shadow: 0 6px 18px -6px rgba(0, 0, 0, .7);
  --ab-shadow-lg: 0 18px 40px -12px rgba(0, 0, 0, .8);
  /* React Flow */
  --xy-background-color: #070b16;
  --xy-background-pattern-color: rgba(120, 160, 255, .16);
  --xy-node-background-color: #0e1528;
  --xy-node-border: 1px solid rgba(120, 160, 255, .22);
  --xy-node-color: #e8edff;
  --xy-edge-stroke: rgba(34, 211, 238, .6);
  --xy-minimap-background-color: #0a1020;
  --xy-controls-button-background-color: #0e1528;
  --xy-controls-button-background-color-hover: #16203b;
  --xy-controls-button-color: #e8edff;
  --xy-controls-button-border-color: rgba(120, 160, 255, .2);
  --xy-attribution-background-color: transparent;
}

/* Selo de status do dashboard (ACTIVE) estava com texto claro sobre verde claro */
html.tema-futurista .dashboard-page .status-badge { background: rgba(52, 211, 153, .14) !important; color: #6ee7b7 !important; box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .4); }
html.tema-futurista .dashboard-page :is(.status-inactive, .status-disabled) { background: rgba(251, 113, 133, .12) !important; color: #fda4af !important; box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .35); }

/* ---------------------------------------------------------------------
   Animacoes
   --------------------------------------------------------------------- */
@keyframes t-fade-up {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes t-slide-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes t-grid-pan {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(44px, 44px, 0); }
}
@keyframes t-aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: .9; }
  50% { transform: translate3d(-12vmax, 10vmax, 0) scale(1.15); opacity: 1; }
  100% { transform: translate3d(-4vmax, 22vmax, 0) scale(.95); opacity: .75; }
}
@keyframes t-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes t-sweep {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* Quem prefere menos movimento no sistema operacional nao ve animacoes */
@media (prefers-reduced-motion: reduce) {
  html.tema-futurista *,
  html.tema-futurista *::before,
  html.tema-futurista *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Contadores por bloco no editor de automacoes */
html.tema-futurista .fn-stat--ok { background: rgba(52, 211, 153, .14); color: #6ee7b7; border-color: rgba(52, 211, 153, .35); }
html.tema-futurista .fn-stat--wait { background: rgba(96, 165, 250, .14); color: #93c5fd; border-color: rgba(96, 165, 250, .35); }
html.tema-futurista .fn-stat--fail { background: rgba(251, 113, 133, .14); color: #fda4af; border-color: rgba(251, 113, 133, .35); }
html.tema-futurista .fn-stat-btn { background: linear-gradient(135deg, #0ea5e9, #6366f1); border-color: rgba(99, 102, 241, .6); box-shadow: 0 0 14px -4px rgba(34, 211, 238, .7); }

/* ---------------------------------------------------------------------
   Ajustes finos
   --------------------------------------------------------------------- */
/* "Comprar Creditos" e um atalho de acao, nao a pagina atual: dourado */
html.tema-futurista .app-link.app-link-primary:not(.active) {
  background: linear-gradient(90deg, rgba(251, 191, 36, .14), rgba(245, 158, 11, .05));
  border-color: rgba(251, 191, 36, .32);
  color: #fde68a;
  box-shadow: none;
}
html.tema-futurista .app-link.app-link-primary:not(.active) i { color: #fbbf24; filter: drop-shadow(0 0 6px rgba(251, 191, 36, .6)); }
html.tema-futurista .app-link.app-link-primary:not(.active):hover { background: rgba(251, 191, 36, .2); color: #fff; }

/* Badges "text-bg-*" do Bootstrap no mesmo estilo neon dos demais */
html.tema-futurista .badge.text-bg-success { background: rgba(52, 211, 153, .16) !important; color: #6ee7b7 !important; box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .4); }
html.tema-futurista .badge.text-bg-danger { background: rgba(251, 113, 133, .16) !important; color: #fda4af !important; box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .4); }
html.tema-futurista .badge.text-bg-warning { background: rgba(251, 191, 36, .16) !important; color: #fcd34d !important; box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .4); }
html.tema-futurista .badge.text-bg-secondary { background: rgba(120, 160, 255, .12) !important; color: var(--t-text-2) !important; box-shadow: inset 0 0 0 1px rgba(120, 160, 255, .28); }

/* Login e cadastro */
html.tema-futurista .auth-card {
  background: linear-gradient(160deg, rgba(16, 24, 48, .88), rgba(8, 12, 26, .92)) !important;
  border: 1px solid rgba(34, 211, 238, .16) !important;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .06), 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 80px -40px rgba(34, 211, 238, .45) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: t-fade-up .6s var(--t-ease) both;
}
html.tema-futurista .auth-badge {
  background: var(--t-grad) !important;
  background-size: 200% 200% !important;
  color: #fff !important;
  box-shadow: var(--t-glow) !important;
  animation: t-gradient-shift 6s ease infinite;
}
html.tema-futurista .auth-brand-name {
  background: var(--t-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-weight: 800;
  letter-spacing: .04em;
}
html.tema-futurista :is(.auth-side h2, .auth-form h3) {
  background: linear-gradient(90deg, #ffffff 0%, #a5f3fc 60%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
html.tema-futurista .auth-feature {
  background: rgba(14, 20, 40, .6) !important;
  border: 1px solid var(--t-border) !important;
  color: var(--t-text-2) !important;
  transition: transform .3s var(--t-ease), border-color .3s var(--t-ease);
}
html.tema-futurista .auth-feature:hover { transform: translateX(4px); border-color: rgba(34, 211, 238, .35) !important; }
html.tema-futurista .auth-feature i { color: var(--t-primary) !important; filter: drop-shadow(0 0 6px rgba(34, 211, 238, .7)); }
/* A "placa" decorativa vira um orbe de luz que flutua */
html.tema-futurista .auth-side::after {
  border-radius: 50% !important;
  transform: none !important;
  width: 260px !important;
  height: 260px !important;
  background: radial-gradient(circle at 35% 35%, rgba(34, 211, 238, .35), rgba(99, 102, 241, .18) 45%, transparent 70%) !important;
  filter: blur(8px);
  animation: t-orb 9s ease-in-out infinite alternate;
  pointer-events: none;
}
html.tema-futurista .auth-step {
  background: rgba(34, 211, 238, .08) !important;
  border: 1px solid rgba(34, 211, 238, .25) !important;
  color: #a5f3fc !important;
}
@keyframes t-orb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-30px, -40px) scale(1.12); }
}

/* Importar Leads: botoes de acao numa linha so (antes quebravam em duas) */
html.tema-futurista .acoes-lista { flex-wrap: nowrap !important; gap: 6px; }
html.tema-futurista .acoes-lista .btn-action-compact { flex: 0 0 auto; }

/* Dashboard: cada numero dentro de uma "celula" com borda (antes flutuavam) */
html.tema-futurista .dashboard-page :is(.metric-box, .campaign-metric) {
  background: rgba(8, 13, 28, .7) !important;
  border: 1px solid rgba(120, 160, 255, .16) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  height: 100%;
}
html.tema-futurista .dashboard-page :is(.metric-label, .campaign-metric-label) {
  color: var(--t-muted) !important;
  font-size: 10.5px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html.tema-futurista .dashboard-page :is(.metric-value, .campaign-metric-value) {
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 800;
}
html.tema-futurista .dashboard-page .campaign-footer {
  background: rgba(8, 13, 28, .55);
  border: 1px solid rgba(120, 160, 255, .12);
  border-radius: 12px;
  padding: 10px 12px;
}

/* Editor de automacoes: icones e item selecionado em tons escuros da cor do bloco */
html.tema-futurista .sb-node-item { --item-accent-light: color-mix(in srgb, var(--item-accent) 16%, transparent) !important; }
html.tema-futurista :is(.fn, .ip-header) { --node-accent-light: color-mix(in srgb, var(--node-accent) 18%, transparent) !important; }
html.tema-futurista .sb-node-icon { background: color-mix(in srgb, var(--item-accent) 18%, rgba(10, 16, 34, .9)) !important; border-color: color-mix(in srgb, var(--item-accent) 35%, transparent) !important; }
html.tema-futurista .ip-badge { background: color-mix(in srgb, var(--node-accent) 18%, transparent) !important; }
html.tema-futurista .sb-node-item:hover { border-color: color-mix(in srgb, var(--item-accent) 45%, transparent) !important; }
html.tema-futurista .sb-node-item:hover :is(.sb-node-label, .sb-node-desc) { color: #fff !important; }

/* Dashboard > Campanhas por Lista: espacamento e alinhamento dos cards */
html.tema-futurista .dashboard-page .campaign-panel-header { margin-bottom: 18px !important; }
html.tema-futurista .dashboard-page .campaign-card {
  grid-template-rows: auto !important;
  align-content: start !important;
  gap: 12px !important;
}
html.tema-futurista .dashboard-page .campaign-card-header {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(120, 160, 255, .12) !important;
}
/* Cada numero ja tem sua celula: o contorno externo so empurrava tudo para dentro */
html.tema-futurista .dashboard-page .campaign-metrics {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  gap: 8px !important;
}

/* Lista de automacoes: brilho neon no hover (tema escuro) */
html.tema-futurista .autolist-card:hover {
  border-color: rgba(34, 211, 238, .55) !important;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .35), 0 22px 50px -20px rgba(34, 211, 238, .45), var(--t-shadow) !important;
}
/* cores do feixe que circula a borda no tema escuro */
html.tema-futurista .autolist-card { --autolist-beam-1: #22d3ee; --autolist-beam-2: #a78bfa; }
html.tema-futurista .autolist-open { color: #67e8f9; }
html.tema-futurista .autolist-card:hover .autolist-name { color: #fff; text-shadow: 0 0 18px rgba(34, 211, 238, .35); }
html.tema-futurista .autolist-card { transition: transform .45s cubic-bezier(.22, .61, .36, 1), border-color .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s cubic-bezier(.22, .61, .36, 1) !important; }
html.tema-futurista .autolist-name { transition: color .45s ease, text-shadow .45s ease; }

/* Editor de automacoes: conexoes curvas mais discretas no escuro */
html.tema-futurista { --ab-edge: rgba(120, 160, 255, .42); --ab-edge-selected: #22d3ee; }
html.tema-futurista .autolist-group-title { border-bottom-color: rgba(120, 160, 255, .14); }
html.tema-futurista .autolist-group-title i { color: #22d3ee; filter: drop-shadow(0 0 6px rgba(34, 211, 238, .6)); }
html.tema-futurista .autolist-group-count { background: rgba(34, 211, 238, .12); color: #a5f3fc; }
html.tema-futurista .autolist-instance-wrap i { color: #22d3ee; }

/* Icone do sistema: brilho azul em volta no tema escuro */
html.tema-futurista :is(.app-logo-badge--img, .auth-badge--img) {
  box-shadow: 0 0 0 1px rgba(96, 165, 250, .45), 0 8px 24px -6px rgba(37, 99, 235, .8) !important;
  animation: none !important;
}
html.tema-futurista .fn-delete { background: #0e1528; border-color: rgba(120, 160, 255, .3); }
html.tema-futurista .fn-delete:hover { background: #e11d48; border-color: #fb7185; color: #fff; box-shadow: 0 0 12px -2px rgba(251, 113, 133, .8); }
html.tema-futurista .react-flow__node.selected .fn-delete { background: #1a0f1a; color: #fb7185; border-color: rgba(251, 113, 133, .6); box-shadow: 0 0 10px -2px rgba(251, 113, 133, .7); }

/* ---------------------------------------------------------------------
   Lista de Interacoes: carregamento, itens da lista e espacamento
   --------------------------------------------------------------------- */
html.tema-futurista .interacoes-page .leads-loading {
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 220px;
  color: var(--t-muted);
  font-weight: 600;
  text-align: center;
}
html.tema-futurista .app-loader { border-top-color: #22d3ee; box-shadow: 0 0 18px -6px rgba(34, 211, 238, .8); }

html.tema-futurista .interacoes-page .listas-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding: 4px 10px 6px 2px;
}
html.tema-futurista .interacoes-page .lista-item {
  position: relative;
  margin-bottom: 0 !important;
  padding: 12px 14px 12px 16px;
  background: rgba(10, 16, 34, .55) !important;
  border: 1px solid var(--t-border) !important;
  border-radius: 12px;
  box-shadow: none !important;
  transform: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: border-color .3s ease, background-color .3s ease !important;
}
html.tema-futurista .interacoes-page .lista-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #22d3ee;
  opacity: 0;
  transition: opacity .3s ease;
}
html.tema-futurista .interacoes-page .lista-item:hover {
  border-color: rgba(34, 211, 238, .35) !important;
  background: rgba(34, 211, 238, .05) !important;
}
html.tema-futurista .interacoes-page .lista-item:hover::before { opacity: .5; }
html.tema-futurista .interacoes-page .lista-item.active {
  border-color: rgba(34, 211, 238, .55) !important;
  background: linear-gradient(90deg, rgba(34, 211, 238, .12), rgba(34, 211, 238, .02)) !important;
}
html.tema-futurista .interacoes-page .lista-item.active::before { opacity: 1; box-shadow: 0 0 10px rgba(34, 211, 238, .8); }
html.tema-futurista .interacoes-page .lista-title { color: var(--t-text) !important; }
html.tema-futurista .interacoes-page .lista-meta { color: var(--t-muted) !important; font-size: 12px; }
html.tema-futurista .interacoes-page .lista-item.active .lista-title { color: #fff !important; }
html.tema-futurista .interacoes-page .listas-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html.tema-futurista .autolist-delete:hover { background: #e11d48; border-color: #fb7185; box-shadow: 0 0 12px -2px rgba(251, 113, 133, .8); }
