/**
 * ================================================================================
 * TOKENCAFE - SISTEMA DE ESTILOS UNIFICADO
 * ================================================================================
 */

/* ============================================================================
   SISTEMA DE CORES E VARIÁVEIS TOKENCAFE
   ========================================================================== */
:root {
 /* IDENTIDADE VISUAL - NOVAS CORES DO STITCH */
  --tokencafe-primary: #f85d23;        /* Laranja Principal */
  --tokencafe-primary-dark: #b43d10;   /* Laranja Escuro */
  --tokencafe-primary-light: #fbbf24;  /* Destaques */
  --tc-navbar-offset: 86px;
  
  /* GLASSMORPHISM & TEMA ESCURO (PROFISSIONAL) */
  --tokencafe-bg-primary: #0f172a;     /* Fundo mais moderno (Azul Noturno) */
  --tokencafe-bg-secondary: #0a0a0a;
  --tokencafe-bg-tertiary: rgba(30, 41, 59, 0.7); /* Efeito Vidro */
  --tokencafe-bg-quaternary: rgba(255, 255, 255, 0.05);
  --tokencafe-surface: rgba(255, 255, 255, 0.05);
  --tokencafe-border: rgba(255, 255, 255, 0.1);
  --tokencafe-glass-blur: blur(12px);

  /* TIPOGRAFIA */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Cascadia Code', 'Consolas', ui-monospace, monospace;
  --bs-body-font-family: var(--font-main);
  --bs-font-sans-serif: var(--font-main);
  --bs-font-monospace: var(--font-mono);
  /* ESCALA TIPOGRÁFICA */
  --fs-xs:   0.75rem;   /* 12px — micro labels, badges */
  --fs-sm:   0.875rem;  /* 14px — textos secundários, links de rodapé */
  --fs-base: 1rem;      /* 16px — corpo do texto */
  --fs-md:   1.125rem;  /* 18px — destaque suave */
  --fs-lg:   1.25rem;   /* 20px — subtítulos */
  --fs-xl:   1.5rem;    /* 24px — títulos de seção */
  --fs-2xl:  2rem;      /* 32px — títulos de página */
  --fs-3xl:  2.5rem;    /* 40px — hero / display */
  --tokencafe-text-primary: #ffffff;
  --tokencafe-text-secondary: rgba(255, 255, 255, 0.7);

  /* TOKENS DE CORES (SEM HEX/RGB “SOLTOS” NO CÓDIGO) */
  --tokencafe-white: #ffffff;
  --tokencafe-text-dark: #1a202c;
  --tokencafe-border-light-solid: #e2e8f0;
  --tokencafe-border-medium-solid: #cbd5e1;
  --tokencafe-success: #10b981;
  --tokencafe-success-dark: #059669;
  --tokencafe-success-light: #6ee7b7;
  --tokencafe-danger: #ef4444;
  --tokencafe-danger-light: #fca5a5;
  --tokencafe-info: #3b82f6;
  --tokencafe-info-dark: #2563eb;
  --tokencafe-info-light: #60a5fa;
  --tokencafe-amber: #f59e0b;
  --tokencafe-gray: #9ca3af;
  --tokencafe-gray-700: #334155;
  --tokencafe-gray-800: #1f2937;
  --tokencafe-bg-elevated-solid: #1a1a1a;

  /* SUPERFÍCIES E ESTADOS */
  --tokencafe-success-surface: #e8f5e9;
  --tokencafe-success-text: #1f5132;
  --tokencafe-success-border: #1f5132;

  /* OPACIDADES E SOMBRAS (CENTRALIZADAS EM TOKENS) */
  --tokencafe-shadow-black-08: rgba(0, 0, 0, 0.08);
  --tokencafe-shadow-black-10: rgba(0, 0, 0, 0.10);
  --tokencafe-shadow-black-15: rgba(0, 0, 0, 0.15);
  --tokencafe-shadow-black-35: rgba(0, 0, 0, 0.35);
  --tokencafe-shadow-black-45: rgba(0, 0, 0, 0.45);
  --tokencafe-white-03: rgba(255, 255, 255, 0.03);
  --tokencafe-white-05: rgba(255, 255, 255, 0.05);
  --tokencafe-white-06: rgba(255, 255, 255, 0.06);
  --tokencafe-white-08: rgba(255, 255, 255, 0.08);
  --tokencafe-white-10: rgba(255, 255, 255, 0.10);
  --tokencafe-white-12: rgba(255, 255, 255, 0.12);
  --tokencafe-white-14: rgba(255, 255, 255, 0.14);
  --tokencafe-white-15: rgba(255, 255, 255, 0.15);
  --tokencafe-white-16: rgba(255, 255, 255, 0.16);
  --tokencafe-white-20: rgba(255, 255, 255, 0.20);
  --tokencafe-white-22: rgba(255, 255, 255, 0.22);
  --tokencafe-white-55: rgba(255, 255, 255, 0.55);
  --tokencafe-white-58: rgba(255, 255, 255, 0.58);
  --tokencafe-white-62: rgba(255, 255, 255, 0.62);
  --tokencafe-white-70: rgba(255, 255, 255, 0.70);
  --tokencafe-white-82: rgba(255, 255, 255, 0.82);
  --tokencafe-white-80: rgba(255, 255, 255, 0.80);
  --tokencafe-white-92: rgba(255, 255, 255, 0.92);
  --tokencafe-primary-05: rgba(248, 93, 35, 0.05);
  --tokencafe-primary-10: rgba(248, 93, 35, 0.10);
  --tokencafe-primary-15: rgba(248, 93, 35, 0.15);
  --tokencafe-primary-20: rgba(248, 93, 35, 0.20);
  --tokencafe-primary-22: rgba(248, 93, 35, 0.22);
  --tokencafe-primary-25: rgba(248, 93, 35, 0.25);
  --tokencafe-primary-30: rgba(248, 93, 35, 0.30);
  --tokencafe-primary-40: rgba(248, 93, 35, 0.40);
  --tokencafe-primary-45: rgba(248, 93, 35, 0.45);
  --tokencafe-primary-50: rgba(248, 93, 35, 0.50);
  --tokencafe-primary-60: rgba(248, 93, 35, 0.60);
  --tokencafe-primary-70: rgba(248, 93, 35, 0.70);
  --tokencafe-primary-80: rgba(248, 93, 35, 0.80);
  --tokencafe-success-15: rgba(16, 185, 129, 0.15);
  --tokencafe-elevated-surface-90: rgba(19, 19, 19, 0.90);
  --tokencafe-elevated-surface-92: rgba(19, 19, 19, 0.92);
  --tokencafe-modal-backdrop: rgba(0, 0, 0, 0.85);
  --tokencafe-black-60: rgba(0, 0, 0, 0.60);
  --tokencafe-ring-primary-25: 0 0 0 0.25rem var(--tokencafe-primary-25);
  --tokencafe-ring-primary-20: 0 0 0 0.2rem var(--tokencafe-primary-20);
  --tokencafe-shadow-card-sm: 0 4px 6px -1px var(--tokencafe-shadow-black-10);
  --tokencafe-shadow-card-md: 0 10px 24px var(--tokencafe-shadow-black-35);
  --tokencafe-shadow-card-lg: 0 15px 35px var(--tokencafe-shadow-black-35);
  --tokencafe-shadow-card-xl: 0 18px 44px var(--tokencafe-shadow-black-45);
  --tokencafe-shadow-card-soft: 0 10px 24px var(--tokencafe-shadow-black-08);
  --tokencafe-shadow-float: 0 0.5rem 1rem var(--tokencafe-shadow-black-15);
  --tokencafe-shadow-black-20: rgba(0, 0, 0, 0.20);
  --tokencafe-shadow-black-30: rgba(0, 0, 0, 0.30);
  --tokencafe-sidebar-w: 260px;
  --tokencafe-success-10: rgba(16, 185, 129, 0.10);
  --tokencafe-danger-10: rgba(239, 68, 68, 0.10);
  --tokencafe-warning-10: rgba(245, 158, 11, 0.10);
  --tokencafe-info-10: rgba(59, 130, 246, 0.10);
  --tokencafe-text-muted: var(--tokencafe-white-55);
  --tokencafe-bg-surface: var(--tokencafe-white-05);
  --tokencafe-light-text-inverse: var(--tokencafe-white);
  --tokencafe-shadow-logo: drop-shadow(0 2px 4px var(--tokencafe-shadow-black-30));

  /* BORDAS (PADRÃO) */
  --tokencafe-border-light: var(--tokencafe-white-12);
  --tokencafe-border-medium: var(--tokencafe-white-16);

  /* ESTADOS (ALINHADOS AO BOOTSTRAP) */
  --tokencafe-warning: var(--tokencafe-primary-light);
  --tokencafe-ink-95: rgba(10, 10, 10, 0.95);

  /* COMPATIBILIDADE COM BOOTSTRAP (MANTÉM OS COMANDOS ORIGINAIS) */
  --bs-primary: var(--tokencafe-primary);
  --bs-body-bg: var(--tokencafe-bg-primary);
  --bs-body-color: var(--tokencafe-text-primary);
  --bs-card-bg: var(--tokencafe-bg-tertiary);
  /* Substituição global: amarelo → laranja primário */
  --bs-warning: var(--tokencafe-primary);
  --bs-warning-rgb: 248, 93, 35;
}

/* Tema claro (override de tokens) */
[data-theme="light"],
[data-bs-theme="light"] {
  --tokencafe-bg-primary: var(--tokencafe-white);
  --tokencafe-bg-secondary: var(--tokencafe-white);
  --tokencafe-bg-tertiary: var(--tokencafe-white);
  --tokencafe-bg-quaternary: var(--tokencafe-white);
  --tokencafe-surface: var(--tokencafe-white);
  --tokencafe-border: var(--tokencafe-border-light-solid);
  --tokencafe-text-primary: var(--tokencafe-text-dark);
  --tokencafe-text-secondary: var(--tokencafe-gray-700);
  --tokencafe-text-muted: var(--tokencafe-gray);
  --tokencafe-bg-surface: var(--tokencafe-white);
  --tokencafe-border-light: var(--tokencafe-border-light-solid);
  --tokencafe-border-medium: var(--tokencafe-border-medium-solid);
  --bs-body-bg: var(--tokencafe-white);
  --bs-body-color: var(--tokencafe-text-dark);
  --bs-card-bg: var(--tokencafe-white);
}

/* Forçar cores de texto e fundo no modo claro */
[data-theme="light"],
[data-bs-theme="light"],
[data-theme="light"] body,
[data-bs-theme="light"] body,
[data-theme="light"] .TokenCafe-container,
[data-bs-theme="light"] .TokenCafe-container,
[data-theme="light"] .TokenCafe-content,
[data-bs-theme="light"] .TokenCafe-content,
[data-theme="light"] section,
[data-bs-theme="light"] section,
[data-theme="light"] .section,
[data-bs-theme="light"] .section {
  background-color: var(--tokencafe-bg-primary) !important;
  color: var(--tokencafe-text-primary) !important;
  background-image: none !important;
}

[data-theme="light"] .text-white,
[data-bs-theme="light"] .text-white,
[data-theme="light"] .text-light,
[data-bs-theme="light"] .text-light,
[data-theme="light"] .display-2,
[data-bs-theme="light"] .display-2,
[data-theme="light"] .display-4,
[data-bs-theme="light"] .display-4,
[data-theme="light"] .display-5,
[data-bs-theme="light"] .display-5,
[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3,
[data-bs-theme="light"] h1, [data-bs-theme="light"] h2, [data-bs-theme="light"] h3,
[data-theme="light"] h4, [data-theme="light"] h5, [data-theme="light"] h6,
[data-bs-theme="light"] h4, [data-bs-theme="light"] h5, [data-bs-theme="light"] h6,
[data-theme="light"] .navbar-brand,
[data-bs-theme="light"] .navbar-brand,
[data-theme="light"] .navbar-brand span:not(.text-warning),
[data-bs-theme="light"] .navbar-brand span:not(.text-warning) {
  color: var(--tokencafe-text-primary) !important;
}

[data-theme="light"] .text-white-50,
[data-bs-theme="light"] .text-white-50,
[data-theme="light"] .text-secondary,
[data-bs-theme="light"] .text-secondary,
[data-theme="light"] .lead,
[data-bs-theme="light"] .lead,
[data-theme="light"] .nav-link,
[data-bs-theme="light"] .nav-link,
[data-theme="light"] .navbar-nav .nav-link,
[data-bs-theme="light"] .navbar-nav .nav-link,
[data-theme="light"] .text-light-50,
[data-bs-theme="light"] .text-light-50 {
  color: var(--tokencafe-text-secondary) !important;
}

[data-theme="light"] .bg-page-black,
[data-bs-theme="light"] .bg-page-black,
[data-theme="light"] .navbar.bg-page-black,
[data-bs-theme="light"] .navbar.bg-page-black,
[data-theme="light"] .dashboard-header,
[data-bs-theme="light"] .dashboard-header,
[data-theme="light"] nav.navbar,
[data-bs-theme="light"] nav.navbar {
  background-color: var(--tokencafe-bg-primary) !important;
  background: var(--tokencafe-bg-primary) !important;
  border-bottom: 1px solid var(--tokencafe-border-light) !important;
}

[data-theme="light"] .card,
[data-bs-theme="light"] .card {
  background-color: var(--tokencafe-white) !important;
  background: var(--tokencafe-white) !important;
  border-color: var(--tokencafe-border-light) !important;
  box-shadow: none !important;
}


[data-theme="light"] .navbar-dark .navbar-toggler-icon,
[data-bs-theme="light"] .navbar-dark .navbar-toggler-icon {
  filter: invert(1);
}

[data-theme="light"] .nav-link:hover,
[data-bs-theme="light"] .nav-link:hover {
  color: var(--tokencafe-primary) !important;
}

[data-theme="light"] .btn-transparent-warning,
[data-bs-theme="light"] .btn-transparent-warning {
  color: var(--tokencafe-primary) !important;
}

[data-theme="light"] .btn-transparent-info,
[data-bs-theme="light"] .btn-transparent-info {
  color: var(--tokencafe-info) !important;
}


/* ============================================================================
   ESTILOS BASE
   ========================================================================== */
html, body {
  background-color: var(--tokencafe-bg-primary) !important;
  color: var(--bs-body-color) !important;
  font-family: var(--bs-body-font-family) !important;
  line-height: var(--bs-body-line-height) !important;
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: calc(var(--tc-navbar-offset) + 12px);
}

body > header + main.tokencafe-app-content {
  padding-top: var(--tc-navbar-offset);
}

.tc-has-fixed-navbar #app-content {
  padding-top: var(--tc-navbar-offset);
}

section, .section {
  background-color: var(--tokencafe-bg-primary) !important;
  background-image: none !important;
}


section[style*="gradient"],
div[style*="gradient"] {
  background: var(--tokencafe-bg-primary) !important;
  background-image: none !important;
}


/* ============================================================================
   COMPONENTES GLOBAIS (CARDS, FORMULÁRIOS, BOTÕES)
   ========================================================================== */

/* Formulários */
.form-control, .form-select {
  background-color: var(--tokencafe-bg-quaternary) !important;
  border-color: var(--bs-border-color) !important;
  color: var(--bs-body-color) !important;
  transition: all 0.3s ease;
}

[data-bs-theme="dark"] .form-select {
  color-scheme: dark;
}

[data-bs-theme="dark"] .form-select option,
[data-bs-theme="dark"] .form-select optgroup {
  color: var(--tokencafe-text-dark);
  background: var(--tokencafe-white);
}

/* Forçar contraste do dropdown em navegadores que ignoram o tema */
.form-select option,
.form-select optgroup {
  color: var(--tokencafe-text-dark);
  background: var(--tokencafe-white);
}

.tc-ns-compact #network-search-root {
  margin-top: 0 !important;
}
.tc-ns-compact .d-flex.align-items-center.mb-2 {
  display: none !important;
}
.tc-ns-compact #selected-network-info {
  display: none !important;
}
.tc-ns-compact #nsInfoBtn,
.tc-ns-compact #nsClearBtn {
  display: none !important;
}

/* Modo embutido: suprime o card externo do componente de rede */
.tc-ns-compact .network-search-component,
[data-ns-no-card="true"] .network-search-component {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.tc-ns-compact .network-search-component .tcd-card-head,
[data-ns-no-card="true"] .network-search-component .tcd-card-head {
  display: none !important;
}

.form-control:focus, .form-select:focus {
  background-color: var(--tokencafe-bg-quaternary) !important;
  border-color: var(--bs-primary) !important;
  color: var(--bs-body-color) !important;
  box-shadow: var(--tokencafe-ring-primary-25) !important;
  outline: none;
}

.form-control::placeholder {
  color: var(--bs-tertiary-color) !important;
}

/* Cards */
.card {
  background-color: var(--bs-card-bg) !important;
  border: 1px solid var(--tokencafe-primary-10) !important;
  color: var(--bs-body-color) !important;
  border-radius: 12px;
  box-shadow: none !important;
  transition: border-color 0.3s ease;
}

.card:hover {
  transform: none;
  box-shadow: none !important;
  border-color: var(--tokencafe-primary-30) !important;
}


.card-header {
  background-color: var(--tokencafe-bg-quaternary) !important;
  border-bottom: 1px solid var(--bs-border-color) !important;
  color: var(--bs-body-color) !important;
}

/* Seleção de Cards (Contract Card) */
.contract-card {
  transition: all 0.2s ease-in-out;
  border: 1px solid var(--tokencafe-white-10) !important;
  position: relative;
}

.contract-card:hover {
  transform: translateY(-3px);
  border-color: var(--tokencafe-primary) !important;
  background-color: var(--tokencafe-primary-05) !important;
}

.contract-card.selected {
  border: 2px solid var(--tokencafe-primary) !important;
  background-color: var(--tokencafe-primary-10) !important;
  box-shadow: none !important;
}

.contract-card.disabled-option {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
  cursor: not-allowed !important;
  filter: grayscale(0.8);
}

.contract-card.disabled-option::after {
  content: "Em Breve";
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--tokencafe-white-80);
  font-size: 1.2rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--tokencafe-black-60);
  z-index: 10;
  border-radius: inherit;
}

.contract-card .check-indicator {
  display: none;
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 10;
}

.contract-card.selected .check-indicator {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Botões */
.btn {
  font-family: var(--bs-body-font-family);
  font-weight: 600 !important;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Primário (Laranja Sólido) */
.btn-primary {
  background: linear-gradient(135deg, var(--tokencafe-primary-dark) 0%, var(--tokencafe-primary) 100%) !important;
  border: none !important;
  color: var(--tokencafe-white) !important;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--tokencafe-primary-40);
}

/* Outline Primário (Laranja Outline) */
.btn-outline-primary {
  border: 1px solid var(--tokencafe-primary) !important;
  color: var(--tokencafe-primary) !important;
  background: transparent !important;
}

.btn-outline-primary:hover {
  background: var(--tokencafe-primary) !important;
  color: var(--tokencafe-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--tokencafe-primary-30);
}

/* Outline Warning (Mapeado para Laranja para consistência) */
.btn-outline-warning, .btn-outline-info {
  border: 1px solid var(--tokencafe-primary) !important;
  color: var(--tokencafe-primary) !important;
  background: transparent !important;
}

.btn-outline-warning:hover, .btn-outline-info:hover {
  background: var(--tokencafe-primary) !important;
  color: var(--tokencafe-white) !important;
}

/* Estilo para o botão "Conectar" no Header (se usar btn-warning ou outline-warning) */
.btn-warning, .btn-outline-warning, .btn-info, .btn-outline-info {
  --bs-btn-color: var(--tokencafe-primary) !important;
  --bs-btn-border-color: var(--tokencafe-primary) !important;
  --bs-btn-hover-bg: var(--tokencafe-primary) !important;
  --bs-btn-hover-border-color: var(--tokencafe-primary) !important;
}




.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Painel lateral fixo para logs em páginas de módulos */
/* ============================================================================
   WIDGET PREVIEW (TC-*)
   ========================================================================== */
.tc-widget {
  display: block;
  max-width: 420px;
  margin: 0 auto;
}
.tc-theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.tc-toggle-label {
  font-weight: 600;
}
.tc-toggle-btn {
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px solid var(--bs-border-color);
  background: transparent;
  color: var(--bs-body-color);
  cursor: pointer;
}
.tc-toggle-btn.active {
  background: var(--bs-primary);
  color: var(--tokencafe-light-text-inverse);
  border-color: var(--bs-primary);
}

.tc-theme-light .tc-card {
  background: var(--tokencafe-white);
  color: var(--tokencafe-text-dark);
  border: 1px solid var(--tokencafe-border-light-solid);
}
.tc-theme-light .tc-input {
  background: var(--tokencafe-white);
  color: var(--tokencafe-text-dark);
  border-color: var(--tokencafe-border-medium-solid);
}
.tc-theme-light .tc-input:focus {
  border-color: var(--tokencafe-primary);
  box-shadow: var(--tokencafe-ring-primary-20);
}
.tc-theme-light .tc-input-suffix {
  background: var(--tokencafe-primary);
  color: var(--tokencafe-white);
}
.tc-theme-light .tc-total-value {
  color: var(--tokencafe-primary);
}
.tc-theme-light .tc-connected {
  background: var(--tokencafe-success-surface);
  color: var(--tokencafe-success-text);
  border: 1px solid var(--tokencafe-success-border);
}
.tc-theme-light .tc-btn-primary {
  background: var(--tokencafe-primary);
  color: var(--tokencafe-white);
}

.tc-theme-dark .tc-card {
  background: var(--tokencafe-bg-primary);
  color: var(--tokencafe-white);
  border: 1px solid var(--tokencafe-gray-700);
}
.tc-theme-dark .tc-input {
  background: var(--tokencafe-gray-800);
  color: var(--tokencafe-white);
  border-color: var(--tokencafe-gray-700);
}
.tc-theme-dark .tc-input:focus {
  border-color: var(--tokencafe-primary);
  box-shadow: var(--tokencafe-ring-primary-20);
}
.tc-theme-dark .tc-input-suffix {
  background: var(--tokencafe-primary);
  color: var(--tokencafe-white);
}
.tc-theme-dark .tc-total-value {
  color: var(--tokencafe-primary-light);
}

.tc-theme-dark .tc-connected {
  background: var(--tokencafe-success-15);
  color: var(--tokencafe-success-light);
  border: 1px solid var(--tokencafe-success);
}
.tc-theme-dark .tc-btn-primary {
  background: var(--tokencafe-success);
  color: var(--tokencafe-white);
}

.tc-card {
  border-radius: 14px;
  padding: 18px;
  box-shadow: none;
}
.tc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tc-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.tc-title-icon {
  font-size: var(--fs-md);
}
/* ── tc-badge: cada variante é auto-suficiente ── */
.tc-badge,
.tc-badge-demo,
.tc-badge-info,
.tc-badge-warning,
.tc-badge-danger,
.tc-badge-neutral {
  padding: 4px 8px;
  border-radius: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tc-badge-demo    { background: var(--tokencafe-success-surface); color: var(--tokencafe-success-text); border: 1px solid var(--tokencafe-success-border); }
.tc-badge-info    { background: var(--tokencafe-info-10);          color: var(--tokencafe-info-light);   border: 1px solid rgba(59,130,246,0.30); }
.tc-badge-warning { background: var(--tokencafe-warning-10);       color: var(--tokencafe-primary-light);border: 1px solid rgba(248,93,35,0.30); }
.tc-badge-danger  { background: rgba(239,68,68,0.12);              color: #f87171;                       border: 1px solid rgba(239,68,68,0.30); }
.tc-badge-neutral { background: rgba(255,255,255,0.06);            color: rgba(255,255,255,0.55);         border: 1px solid rgba(255,255,255,0.14); }

.tc-token-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 12px;
}
.tc-token-name {
  font-weight: 600;
}
.tc-chip {
  background: var(--tokencafe-info-dark);
  color: var(--tokencafe-white);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.tc-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.tc-info-label {
  font-size: var(--fs-xs);
  color: var(--bs-tertiary-color);
}
.tc-info-value {
  font-weight: 600;
}

.tc-input-label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.tc-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tc-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--bs-border-color);
  outline: none;
}
.tc-input-suffix {
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.tc-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 10px;
}
.tc-total-label {
  font-weight: 600;
}
.tc-total-value {
  font-weight: 700;
}

.tc-connected {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  margin: 10px 0;
}
.tc-connected-icon {
  font-size: var(--fs-base);
}
.tc-connected-text {
  font-weight: 600;
}

.tc-btn-primary {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.tc-btn-primary:hover {
  filter: brightness(1.05);
}
.tc-btn-icon {
  margin-right: 6px;
}

.tc-footer-note {
  margin-top: 12px;
  font-size: var(--fs-xs);
  color: var(--bs-tertiary-color);
  display: grid;
  gap: 4px;
}
.tc-safe,
.tc-developed,
.tc-contract {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-header {
  background-color: var(--tokencafe-bg-quaternary) !important;
  border-color: var(--bs-border-color) !important;
  color: var(--bs-body-color) !important;
}

.card-body {
  color: var(--bs-body-color) !important;
}

/* ============================================================================
   HELPER CLASSES & BOOTSTRAP OVERRIDES
   ========================================================================== */

/* Alerts */
.alert-success { --bs-alert-bg: var(--tokencafe-success-10); --bs-alert-color: var(--tokencafe-success-light); --bs-alert-border-color: var(--bs-success); border-left: 4px solid var(--bs-success); }
.alert-danger { --bs-alert-bg: var(--tokencafe-danger-10); --bs-alert-color: var(--tokencafe-danger-light); --bs-alert-border-color: var(--bs-danger); border-left: 4px solid var(--bs-danger); }
.alert-warning { --bs-alert-bg: var(--tokencafe-primary-10); --bs-alert-color: var(--tokencafe-primary-light); --bs-alert-border-color: var(--bs-warning); border-left: 4px solid var(--bs-warning); }
.alert-info { --bs-alert-bg: var(--tokencafe-info-10); --bs-alert-color: var(--tokencafe-info-light); --bs-alert-border-color: var(--bs-info); border-left: 4px solid var(--bs-info); }

/* Progress */
.progress { background-color: var(--tokencafe-bg-surface) !important; border-radius: 8px; overflow: hidden; height: 8px; }
.progress-bar { background-color: var(--bs-primary) !important; transition: width 0.6s ease; }

/* Text & Background Utilities (Garantindo prioridade sobre Bootstrap) */
.text-primary { color: var(--bs-primary) !important; }
.text-success { color: var(--bs-success) !important; }
.text-danger { color: var(--bs-danger) !important; }
.text-warning { color: var(--bs-warning) !important; }
.text-info { color: var(--bs-info) !important; }
.text-muted { color: var(--tokencafe-text-muted) !important; }

.bg-primary { background-color: var(--bs-primary) !important; }
.bg-dark-custom { background-color: var(--tokencafe-bg-elevated-solid) !important; }

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--tokencafe-modal-backdrop);
  backdrop-filter: var(--tokencafe-glass-blur);
  color: var(--bs-body-color);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--tokencafe-white-10);
  border-top-color: var(--bs-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Modal & Dropdown Overrides */
.modal-content {
  background-color: var(--tokencafe-bg-tertiary) !important;
  border: 1px solid var(--bs-border-color) !important;
  color: var(--bs-body-color) !important;
}

/* ============================================================================
   MODULE SPECIFIC STYLES
   ========================================================================== */


/* Form Styling */
.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem var(--tokencafe-primary-25);
}


/* ============================================================================
   ANIMATIONS & KEYFRAMES (CENTRALIZED)
   ========================================================================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0% { opacity: 0.2; filter: blur(15px); }
  100% { opacity: 0.3; filter: blur(20px); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes progress-bar-stripes {
  0% { background-position: 1rem 0; }
  100% { background-position: 0 0; }
}

@keyframes gradient-shift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(20deg); }
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* TokenCafe Branded Animations */
@keyframes TokenCafe-pulse {
  0% { box-shadow: 0 15px 40px rgba(248, 93, 35, 0.3); }
  50% { box-shadow: 0 20px 60px rgba(248, 93, 35, 0.5); }
  100% { box-shadow: 0 15px 40px rgba(248, 93, 35, 0.3); }
}

@keyframes TokenCafe-glow {
  0% { opacity: 0.2; filter: blur(15px); }
  100% { opacity: 0.3; filter: blur(20px); }
}

@keyframes TokenCafe-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.5; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-image img {
  filter: drop-shadow(0 20px 40px rgba(248, 93, 35, 0.3));
}

/* Badge Styling */
.badge {
  font-weight: 500;
  letter-spacing: 0.5px;
}


/* Feature Cards Enhancement */
.feature-icon i {
  transition: transform 0.3s ease;
}


.card:hover .feature-icon i {
  transform: scale(1.1);
}

/* Statistics Cards */
.stat-card {
  padding: 2rem;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05);
}

.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

/* Enhanced Gradients */
.gradient-text {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--tokencafe-primary-light) 50%, var(--bs-info) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease-in-out infinite;
}

/* Section Spacing */

section {
  position: relative;
}

/* CTA Section Enhancement */
.py-5.bg-dark {
  background: linear-gradient(135deg, var(--tokencafe-bg-elevated-solid) 0%, var(--tokencafe-bg-secondary) 100%) !important;
}

/* Smooth Transitions for All Interactive Elements */
a,
button {
  transition: all 0.3s ease;
}


/*
==========================================================================
TokenCafe ADVANCED ANIMATIONS & EFFECTS
Sistema de animações reutilizáveis para todas as páginas
==========================================================================
*/

/* Advanced Background Effects */
/* Logo Effects */
.TokenCafe-logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 0rem;
  margin-top: 2rem;
}

.TokenCafe-logo {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(248, 93, 35, 0.3);
  animation: TokenCafe-pulse 2s infinite;
  transition: transform 0.3s ease;
}

.TokenCafe-logo:hover {
  transform: scale(1.1);
}

.TokenCafe-description {
  font-size: 1.2rem;
  color: var(--tokencafe-text-secondary);
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Badges and Buttons */
.TokenCafe-badge {
  background: linear-gradient(135deg, var(--tokencafe-primary) 0%, var(--tokencafe-amber) 100%);
  color: var(--tokencafe-text-primary);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 10px 30px rgba(248, 93, 35, 0.4);
  border: none;
  cursor: default;
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.TokenCafe-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(248, 93, 35, 0.6);
}

/* Feature Cards */
.TokenCafe-features {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.TokenCafe-feature-item {
  background: var(--tokencafe-primary-10);
  border: 1px solid var(--tokencafe-primary-30);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  max-width: 200px;
  backdrop-filter: var(--tokencafe-glass-blur);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.TokenCafe-feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--tokencafe-primary-30);
  background: var(--tokencafe-primary-15);
}

.TokenCafe-feature-icon {
  font-size: 2.5rem;
  color: var(--tokencafe-primary);
  margin-bottom: 1rem;
  display: block;
}

.TokenCafe-feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--tokencafe-text-primary);
  margin-bottom: 0.5rem;
}

.TokenCafe-feature-desc {
  font-size: 0.9rem;
  color: var(--tokencafe-gray);
}

/* Container and Layout Classes */
.TokenCafe-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

/* Homepage-specific alignment */
.TokenCafe-content {
  text-align: center;
}

/* Modifier to align text to the left for other pages */
.TokenCafe-content.text-align-left {
  text-align: left;
}

/* Animation Classes */
.TokenCafe-fade-in-up {
  animation: TokenCafe-fadeInUp 1s ease-out;
}

.TokenCafe-fade-in {
  animation: TokenCafe-fadeIn 1s ease-out 0.9s both;
}

.fade-in {
  animation: TokenCafe-fadeIn 0.5s ease-out;
}

.TokenCafe-bounce-in {
  animation: TokenCafe-bounceIn 1s ease-out 1.2s both;
}

.TokenCafe-features-animate {
  animation: TokenCafe-fadeInUp 1s ease-out 1.5s both;
}

/* Keyframe Animations */
@keyframes TokenCafe-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes TokenCafe-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes TokenCafe-bounceIn {
  from {
    opacity: 0;
    transform: scale(0.3) translateY(50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes TokenCafe-pulse {
  0% {
    box-shadow: 0 20px 60px rgba(248, 93, 35, 0.3);
  }
  50% {
    box-shadow: 0 25px 80px rgba(248, 93, 35, 0.5);
  }
  100% {
    box-shadow: 0 20px 60px rgba(248, 93, 35, 0.3);
  }
}

@keyframes TokenCafe-glow {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 0.4;
  }
}

@keyframes TokenCafe-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(-10px) rotate(240deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .TokenCafe-description {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .TokenCafe-logo {
    width: 80px;
    height: 80px;
  }

  .TokenCafe-features {
    padding: 0 1rem;
  }

  .TokenCafe-feature-item {
    max-width: 150px;
    padding: 1rem;
  }
}

/* Loading Animation for Page */
.hero-content > * {
  animation: fadeInUp 0.8s ease-out;
}


.hero-content > *:nth-child(1) {
  animation-delay: 0.1s;
}
.hero-content > *:nth-child(2) {
  animation-delay: 0.2s;
}
.hero-content > *:nth-child(3) {
  animation-delay: 0.3s;
}
.hero-content > *:nth-child(4) {
  animation-delay: 0.4s;
}
.hero-content > *:nth-child(5) {
  animation-delay: 0.5s;
}
.hero-content > *:nth-child(6) {
  animation-delay: 0.6s;
}

/*
==========================================================================
EXEMPLO USO WIDGET - STYLES ESPECÍFICOS
==========================================================================
*/

/* Logo Header */
/* ============================================================================
   CONTRACT SEARCH COMPONENT STYLES
   ============================================================================ */

/* Moved from contract-search.html */
.text-tokencafe {
  color: var(--tokencafe-primary) !important;
}

/* Ensure text visibility in mixed theme contexts */
[data-bs-theme="dark"] .text-body {
  color: var(--tokencafe-text-secondary) !important;
}

[data-bs-theme="light"] .text-body {
  color: var(--tokencafe-light-text-secondary) !important;
}

/* Widget Container */
.widget-container {
  background: linear-gradient(135deg, var(--tokencafe-primary-05) 0%, var(--tokencafe-ink-95) 50%, var(--tokencafe-primary-05) 100%);
  border: 2px solid var(--tokencafe-primary-20);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--tokencafe-glass-blur);
}

.widget-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, var(--tokencafe-primary-10) 50%, transparent 70%);
  pointer-events: none;
  animation: shimmer 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .widget-container {
    padding: 1.5rem;
    margin: 1rem;
  }
}

@media (max-width: 576px) {
  .widget-container {
    padding: 1rem;
    margin: 0.5rem;
  }
}

body {
  /* background: linear-gradient(135deg, var(--tokencafe-bg-secondary) 0%, var(--tokencafe-bg-elevated-solid) 50%, var(--tokencafe-bg-secondary) 100%); */
  min-height: 100vh;
  font-family: var(--font-main);
  overflow-x: hidden;
}

.modal-backdrop.show {
  opacity: 0.65 !important;
}

.modal-content {
  background-color: var(--tokencafe-bg-tertiary) !important;
  backdrop-filter: var(--tokencafe-glass-blur);
}

.main-container {
  min-height: 100vh;
  position: relative;
  width: 100%;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.logo-glow {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: linear-gradient(135deg, var(--tokencafe-primary), var(--tokencafe-amber));
  border-radius: 25px;
  opacity: 0.2;
  filter: blur(15px);
  z-index: -1;
  animation: glow 3s ease-in-out infinite alternate;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(248, 93, 35, 0.3);
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.gradient-text {
  background: linear-gradient(135deg, var(--tokencafe-primary) 0%, var(--tokencafe-amber) 50%, var(--tokencafe-primary-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pulse-animation {
  animation: pulseGlow 2s ease-in-out infinite;
}

.floating-animation {
  animation: floatSoft 3s ease-in-out infinite;
}

/* Custom Bootstrap Button Overrides */
/* (removido) Overrides antigos de botões duplicados — consolidado abaixo */

/* ============================================================================
   LEGAL & TERMS PAGES (Privacy, Terms, etc.)
   ========================================================================== */

.terms-content {
  color: var(--bs-body-color);
  line-height: 1.6;
  font-size: 0.95rem;
  text-align: left;
}

.terms-content h1 {
  color: var(--bs-primary);
  font-weight: 800;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(248, 93, 35, 0.3);
  padding-bottom: 0.75rem;
  font-size: 2.25rem;
}

.terms-content h2 {
  color: var(--bs-primary-light);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.terms-content p {
  margin-bottom: 1.25rem;
}

.terms-content strong {
  color: var(--bs-emphasis-color);
}

.terms-content ul, 
.terms-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.terms-content li {
  margin-bottom: 0.75rem;
}

.terms-content a {
  color: var(--bs-primary);
  text-decoration: none;
  border-bottom: 1px dashed var(--bs-primary);
  transition: all 0.2s ease;
}

.terms-content a:hover {
  color: var(--bs-primary-light);
  border-bottom-style: solid;
}

/* Risk & Important Boxes */
.risk-box {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 5px solid var(--bs-warning);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.risk-box strong {
  color: var(--bs-warning);
  font-size: 1.1rem;
}

.important {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-left: 5px solid var(--bs-success);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.important strong {
  color: var(--bs-success);
}

.feature-card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(248, 93, 35, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
  backdrop-filter: var(--tokencafe-glass-blur);
}

.feature-card:hover {
  transform: none;
  border-color: rgba(248, 93, 35, 0.4);
  box-shadow: none;
}

.feature-icon {
  color: var(--tokencafe-primary);
  font-size: 2.5rem;
}

.tool-card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(55, 65, 81, 0.3);
  border-radius: 16px;
  transition: all 0.3s ease;
  backdrop-filter: var(--tokencafe-glass-blur);
}

.tool-card:hover {
  transform: none;
  border-color: rgba(248, 93, 35, 0.3);
  box-shadow: none;
}

.stat-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(55, 65, 81, 0.3);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: var(--tokencafe-glass-blur);
}

/* Blockchain Slider */
.blockchain-slider {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.blockchain-track {
  display: inline-block;
  animation: scroll 120s linear infinite;
}

.blockchain-item {
  display: inline-block;
  margin: 0 1rem;
  padding: 0.75rem;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: all 0.3s ease;
}

.blockchain-item:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.section-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--tokencafe-primary-30), transparent);
  margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Mobile Modal Fixes */
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  
  .modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
  }
  
  .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
  }

  .title {
    font-size: 2rem;
  }

  .logo {
    width: 60px;
    height: 60px;
  }

  .display-2 {
    font-size: 2.5rem !important;
  }

  .display-4 {
    font-size: 2rem !important;
  }

  .display-5 {
    font-size: 1.8rem !important;
  }
}

/* Animations */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/*
=============================================================================
TOKENCAFE - NEON HOVER EFFECTS
Classes reutilizáveis para efeitos neon padronizados
=============================================================================
*/

/* Neon Link Effects - Para links de navegação */
.neon-link-hover,
.neon-link-small-hover,
.neon-icon-hover {
  transition: all 0.3s ease;
}

.neon-link-hover,
.neon-link-small-hover,
.neon-icon-hover {
  text-decoration: none !important;
}

.neon-link-hover {
  border-radius: 8px;
  padding: 8px 16px;
}

.neon-link-hover:hover {
  color: var(--tokencafe-primary) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none;
  font-weight: 700 !important;
}

/* Neon Link Effects Small - Para links menores (footer) */
.neon-link-small-hover {
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.9rem;
}

.neon-link-small-hover:hover {
  color: var(--tokencafe-primary) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

/* Links neon: cor natural do tema no estado padrão */
/* Dark: herdado do elemento (text-white-50 → branco suave) */
/* Light: dark text via override abaixo */
[data-theme="light"] a.neon-link-hover,
[data-bs-theme="light"] a.neon-link-hover,
[data-theme="light"] a.neon-link-small-hover,
[data-bs-theme="light"] a.neon-link-small-hover {
  color: rgba(0, 0, 0, 0.60) !important;
}
/* Hover em qualquer tema: laranja + negrito */
[data-theme="light"] a.neon-link-hover:hover,
[data-bs-theme="light"] a.neon-link-hover:hover,
[data-theme="light"] a.neon-link-small-hover:hover,
[data-bs-theme="light"] a.neon-link-small-hover:hover {
  color: var(--tokencafe-primary-dark) !important;
  font-weight: 700 !important;
}

/* Neon Icon Effects - Para ícones com glow */
.neon-icon-hover {
}

.neon-icon-hover:hover {
  color: var(--bs-warning) !important;
  filter: drop-shadow(0 0 10px rgba(248, 93, 35, 0.8));
  transform: scale(1.1);
}

/* Garantir que os ícones Font Awesome sejam renderizados corretamente */
.social-icons i {
  font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .neon-link-hover {
    padding: 6px 12px;
  }
}

/* ===== PRICING SECTION STYLES ===== */
.pricing-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.tokencafe-sidebar {
  position: fixed;
  top: var(--tc-navbar-offset);
  left: 0;
  width: var(--tokencafe-sidebar-w);
  height: calc(100vh - var(--tc-navbar-offset));
  background: var(--tokencafe-bg-tertiary);
  backdrop-filter: var(--tokencafe-glass-blur);
  border-right: 1px solid var(--tokencafe-border-light);
  padding: 0.5rem 0.75rem 1rem;
  overflow-y: auto;
  z-index: 1035;
}

.tokencafe-sidebar .tc-sidebar-active {
  color: var(--tokencafe-primary) !important;
}

.tokencafe-sidebar .tc-sidebar-active:hover {
  color: var(--tokencafe-primary) !important;
}

.tokencafe-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: var(--tokencafe-black-60);
  backdrop-filter: blur(2px);
  z-index: 1034;
}

.tokencafe-sidebar + main#app-content {
  margin-left: var(--tokencafe-sidebar-w);
}

@media (max-width: 991.98px) {
  .tokencafe-sidebar {
    position: fixed;
    top: 0;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 1050;
  }
  .tokencafe-sidebar.is-open {
    transform: translateX(0);
  }
  .tokencafe-sidebar + main#app-content {
    margin-left: 0;
  }
}

.h-control {
  height: calc(1.5em + .75rem + 2px);
}

.tc-chain-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tc-logo-56 {
  height: 56px;
  width: auto;
}

.tc-maintenance-login-trigger {
  position: fixed;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  opacity: 0;
  z-index: 2147483647;
}

.tc-legal-contact {
  text-align: center;
  margin-top: 50px;
}

.tc-legal-contact--small {
  font-size: 0.9rem;
}

.tc-sticky-top-1 {
  top: 1rem;
  z-index: 1;
}

.pg-chip {
  display: inline-block;
  padding: .2rem .5rem;
  border-radius: 8px;
  margin: .15rem;
  background: var(--tokencafe-white-05);
  border: 1px solid var(--tokencafe-white-12);
}

.pg-chip-count {
  opacity: .85;
}

.tc-pill-chip {
  border-radius: 999px;
  padding: .15rem .5rem;
}

.tc-w-160 {
  width: 160px;
}

.tc-break-all {
  word-break: break-all;
  white-space: normal;
}

.tc-lh-11 {
  line-height: 1.1;
}

.tc-contract-link {
  text-decoration: underline;
}

.tc-contract-link--ok {
  color: var(--tokencafe-success);
}

.tc-contract-link--bad {
  color: var(--tokencafe-danger);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--tokencafe-primary-15) !important;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bs-warning) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-icon {
  animation: float 3s ease-in-out infinite;
}

.pricing-amount {
  position: relative;
}

.price-value {
  font-weight: 800;
  line-height: 0.8;
}


/* Popular badge glow effect */
.pricing-card .badge {
  box-shadow: 0 4px 12px rgba(248, 93, 35, 0.4);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(248, 93, 35, 0.4);
  }
  50% {
    box-shadow: 0 6px 20px rgba(248, 93, 35, 0.6);
  }
}

/* Button hover effects for pricing */
.pricing-card .btn {
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 12px;
}

.pricing-card .btn-warning:hover {
  background-color: var(--primary-light) !important;
  border-color: var(--primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(248, 93, 35, 0.3);
}

.pricing-card .btn-outline-warning:hover {
  background-color: var(--bs-warning) !important;
  border-color: var(--bs-warning) !important;
  color: var(--tokencafe-text-inverse) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(248, 93, 35, 0.3);
}

/* List items animation */
.pricing-card ul li {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.6s ease-out forwards;
}

.pricing-card ul li:nth-child(1) {
  animation-delay: 0.1s;
}
.pricing-card ul li:nth-child(2) {
  animation-delay: 0.2s;
}
.pricing-card ul li:nth-child(3) {
  animation-delay: 0.3s;
}
.pricing-card ul li:nth-child(4) {
  animation-delay: 0.4s;
}
.pricing-card ul li:nth-child(5) {
  animation-delay: 0.5s;
}

/* Responsive pricing adjustments */
@media (max-width: 768px) {
  .price-value {
    font-size: 2.5rem !important;
  }

  .pricing-card {
    margin-bottom: 2rem;
  }

  .pricing-card:hover {
    transform: translateY(-4px);
  }
}

/* ===== BACK TO TOP BUTTON ===== */
.btn-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--bs-warning) 0%, var(--primary-light) 100%);
  border: none;
  border-radius: 50%;
  color: var(--tokencafe-text-inverse);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transform: scale(0) translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 25px rgba(248, 93, 35, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-back-to-top:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bs-warning) 100%);
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 35px rgba(248, 93, 35, 0.4);
  color: var(--tokencafe-text-inverse);
}

.btn-back-to-top.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.btn-back-to-top:active {
  transform: scale(0.95) translateY(0);
}

/* Animação do ícone */
.btn-back-to-top i {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Responsive adjustments para back to top */
@media (max-width: 768px) {
  .btn-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* ============================================================================
   CLASSES ESPECÍFICAS PARA PÁGINAS - SUBSTITUINDO CSS INLINE
   ========================================================================== */

/* === INDEX PAGE SPECIFIC CLASSES === */
.main-container {
  padding-top: 80px;
}

.feature-card {
  background: rgba(248, 93, 35, 0.1);
  border: 1px solid rgba(248, 93, 35, 0.2);
}

/* === WIDGET MANAGER SPECIFIC CLASSES === */
.empty-state-icon {
  font-size: 4rem;
}

.tc-tokens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.tc-token-card {
  background: var(--tokencafe-white-05);
  border: 1px solid var(--tokencafe-white-12);
  border-radius: 14px;
  padding: 14px;
  backdrop-filter: var(--tokencafe-glass-blur);
}

.tc-token-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tc-token-stat {
  background: var(--tokencafe-white-03);
  border: 1px solid var(--tokencafe-white-10);
  border-radius: 12px;
  padding: 10px 12px;
}

.tc-token-stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--tokencafe-text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tc-token-stat-value {
  display: block;
  font-weight: 700;
  color: var(--tokencafe-text-primary);
  margin-top: 2px;
}

.filter-btn.active {
  border-color: var(--tokencafe-primary-30) !important;
  box-shadow: 0 0 0 3px var(--tokencafe-primary-15);
}

.analytics-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.summary-card {
  background: var(--tokencafe-white-05);
  border: 1px solid var(--tokencafe-white-12);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  backdrop-filter: var(--tokencafe-glass-blur);
}

.summary-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tokencafe-info-10);
  border: 1px solid var(--tokencafe-white-12);
  color: var(--tokencafe-info-light);
  flex: 0 0 auto;
}

.summary-content h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--tokencafe-text-primary);
}

.summary-content p {
  margin: 2px 0 0 0;
  color: var(--tokencafe-text-secondary);
  font-size: 0.86rem;
}

.summary-change {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--tokencafe-white-12);
  background: var(--tokencafe-white-03);
}

.summary-change.positive {
  color: var(--tokencafe-success-light);
  border-color: var(--tokencafe-success);
  background: var(--tokencafe-success-10);
}

.summary-change.negative {
  color: var(--tokencafe-danger-light);
  border-color: var(--tokencafe-danger);
  background: var(--tokencafe-danger-10);
}

.analytics-charts,
.analytics-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

@media (min-width: 992px) {
  .analytics-charts {
    grid-template-columns: 1fr 1fr;
  }
  .analytics-secondary {
    grid-template-columns: 1fr 1fr;
  }
}

.chart-container {
  background: var(--tokencafe-white-05);
  border: 1px solid var(--tokencafe-white-12);
  border-radius: 14px;
  padding: 14px 16px;
  backdrop-filter: var(--tokencafe-glass-blur);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.chart-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.chart-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chart-btn {
  appearance: none;
  border: 1px solid var(--tokencafe-white-12);
  background: var(--tokencafe-white-03);
  color: var(--tokencafe-text-secondary);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
}

.chart-btn.active {
  color: var(--tokencafe-text-primary);
  border-color: var(--tokencafe-primary-30);
  background: var(--tokencafe-primary-10);
}

.chart-wrapper {
  height: 280px;
}

.analytics-table {
  margin-top: 14px;
  background: var(--tokencafe-white-05);
  border: 1px solid var(--tokencafe-white-12);
  border-radius: 14px;
  padding: 14px 16px;
  backdrop-filter: var(--tokencafe-glass-blur);
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.table-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.table-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--tokencafe-white-10);
}

#analytics-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}

#analytics-table th,
#analytics-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--tokencafe-white-10);
  color: var(--tokencafe-text-secondary);
  font-size: 0.9rem;
}

#analytics-table th {
  color: var(--tokencafe-text-primary);
  font-weight: 700;
  background: var(--tokencafe-white-03);
}

.tc-analytics-period {
  min-width: 220px;
}

.tc-analytics-addr {
  max-width: 360px;
  width: 100%;
}

.tc-ds-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1055;
}

.tc-ds-modal-content {
  width: 100%;
  max-width: 860px;
  border-radius: 16px;
  border: 1px solid var(--tokencafe-white-12);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: var(--tokencafe-glass-blur);
  overflow: hidden;
}

.tc-ds-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--tokencafe-white-12);
}

.tc-ds-modal-body {
  padding: 16px;
  max-height: 78vh;
  overflow: auto;
}

/* ============================================================================
   CLASSES PARA MÓDULO DE LINKS - SUBSTITUINDO ESTILOS INLINE
   ========================================================================== */

/* Ícones das seções */
.section-icon {
  font-size: 2.5rem;
  color: var(--tokencafe-primary);
}

/* Campos de entrada com fonte monospace */
.monospace-input {
  font-family: var(--font-mono);
}


/* Dropdown de autocomplete */
.network-autocomplete {
  z-index: 1050;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  background: transparent;
  padding: 8px;
}

/* Itens do autocomplete (escopo do dropdown padrão) */
.network-autocomplete .autocomplete-item {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.network-autocomplete .autocomplete-item:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.network-autocomplete .autocomplete-item:last-child {
  margin-bottom: 0;
}

.text-monospace {
  font-family: var(--font-mono);
}

.card-rounded {
  border-radius: 0.5rem;
}

/* ============================================================================
   CLASSES PARA MÓDULO DE TOKEN - LAYOUT PADRÃO
   ========================================================================== */

/* Logo no header */
/* ============================================================================
   TOOLS HUB - Modern Tiles (minimalista & futurista)
   ========================================================================== */
.tool-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.tool-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--tokencafe-text-primary);
  background: var(--tokencafe-bg-tertiary);
  border: 1px solid var(--tokencafe-border);
  backdrop-filter: var(--tokencafe-glass-blur);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.tool-tile:hover {
  transform: translateY(-4px);
  border-color: var(--tokencafe-border-medium);
  box-shadow: var(--tokencafe-shadow-card-lg);
}

.tool-tile.tc-tool-tile--admin-preview {
  opacity: 0.8;
  border-style: dashed;
}

.tool-tile-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tokencafe-white-06);
  color: var(--tokencafe-white-82);
  box-shadow: var(--tokencafe-shadow-card-md);
}

.tool-tile[data-status="finished"] .tool-tile-icon {
  background: var(--tokencafe-primary);
  color: var(--tokencafe-ink-95);
  border: 1px solid var(--tokencafe-primary-45);
  box-shadow:
    0 12px 28px var(--tokencafe-primary-22),
    var(--tokencafe-shadow-card-md);
}

.tool-tile[data-status="finished"]:hover {
  border-color: var(--tokencafe-primary-45);
  box-shadow: var(--tokencafe-shadow-card-xl);
}

.tool-tile[data-status="finished"] .tc-action-btn {
  background: var(--tokencafe-primary) !important;
  border-color: rgba(248, 93, 35, 0.45) !important;
  color: rgba(10, 10, 10, 0.95) !important;
}

.tool-tile[data-status="finished"] .tc-action-btn:hover {
  background: var(--tokencafe-primary) !important;
  border-color: rgba(248, 93, 35, 0.70) !important;
  color: rgba(10, 10, 10, 0.98) !important;
  filter: brightness(1.06);
}

.tool-tile-title {
  font-size: 0.85rem;
  font-weight: 700;
}

.tool-tile-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.35;
  flex: 1;
}

.tool-tile-footer {
  margin-top: auto !important;
  padding-top: 8px;
  font-size: 0.75rem;
}

/* Botões do rodapé dos tiles com cantos arredondados */
.tool-tile-footer .btn {
  border-radius: 12px;
}

.tool-tile-slot {
  margin-top: 4px;
}

.tc-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--tc-pill-accent, var(--tokencafe-white-10));
  background: var(--tc-pill-bg, var(--tokencafe-bg-quaternary));
  color: var(--tokencafe-white);
  opacity: 0.95;
  width: 100%;
  min-width: 0;
}

.tc-status-pill[data-role="modules"] { --tc-pill-accent: var(--tokencafe-primary); --tc-pill-bg: var(--tokencafe-primary-10); }
.tc-status-pill[data-role="system"] { --tc-pill-accent: var(--tokencafe-success); --tc-pill-bg: var(--tokencafe-success-10); }
.tc-status-pill[data-role="api"] { --tc-pill-accent: var(--tokencafe-info); --tc-pill-bg: var(--tokencafe-info-10); }
.tc-status-pill[data-role="wallet"] { --tc-pill-accent: var(--tokencafe-warning); --tc-pill-bg: var(--tokencafe-warning-10); }
.tc-status-pill[data-role="maint"] { --tc-pill-accent: var(--tokencafe-danger); --tc-pill-bg: var(--tokencafe-danger-10); }

.tc-status-pill__icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tc-pill-bg, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--tc-pill-accent, rgba(255, 255, 255, 0.10));
  color: var(--tc-pill-accent, rgba(255, 255, 255, 0.88));
  flex: 0 0 auto;
}

.tc-status-pill__icon i {
  font-size: 0.95rem;
  line-height: 1;
}

.tc-status-pill__label {
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  flex: 1 1 auto;
}

.tc-status-pill__value {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.tc-pill-ok {
  box-shadow: inset 0 0 0 1px var(--tokencafe-success-10);
}

.tc-pill-warn {
  box-shadow: inset 0 0 0 1px var(--tokencafe-warning-10);
}

.tc-pill-bad {
  box-shadow: inset 0 0 0 1px var(--tokencafe-danger-10);
}

.tc-status-pill__value { color: var(--tc-pill-accent, rgba(255, 255, 255, 0.88)); }
.tc-pill-ok .tc-status-pill__value { color: var(--tokencafe-success-light); }
.tc-pill-warn .tc-status-pill__value { color: var(--tokencafe-primary-light); }
.tc-pill-bad .tc-status-pill__value { color: var(--tokencafe-danger-light); }

.tc-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tc-system-health-host .tc-status-row {
  justify-content: stretch;
}

.tc-status-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.tc-status-refresh {
  flex: 0 0 auto;
}

.tc-tile-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  z-index: 2;
}
.tool-tile-status {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

@media (max-width: 575.98px) {
  .tool-tiles {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
  }
  
  .tool-tile {
    padding: 10px;
  }

  .tool-tile-icon {
    width: 28px;
    height: 28px;
  }

  .tool-tile-icon i {
    font-size: 0.9rem;
  }

  .tool-tile-title {
    font-size: 0.8rem;
  }

  .tool-tile-desc {
    font-size: 0.7rem;
  }

  .tool-tile-footer .btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .tool-tiles {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 992px) {
  .tool-tiles {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
  }
  .tool-tile {
    padding: 14px;
    border-radius: 12px;
  }
}

/* Dark theme adjustments */
[data-bs-theme="dark"] .tool-tile {
  background: rgba(19, 19, 19, 0.92);
}

.tc-tools-hero-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.tc-tools-hero-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.tc-action-btn {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.tc-action-btn:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.tc-kpi {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(19, 19, 19, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tc-kpi--gold { border-color: rgba(212, 175, 55, 0.45); background: linear-gradient(135deg, rgba(212,175,55,0.10), rgba(19,19,19,0.92)); box-shadow: inset 0 0 0 1px rgba(212,175,55,0.15); }
.tc-kpi--gold .tc-kpi-value { color: rgba(255, 230, 160, 0.92); }

.tc-kpi--blue { border-color: rgba(80, 150, 255, 0.45); background: linear-gradient(135deg, rgba(80,150,255,0.10), rgba(19,19,19,0.92)); box-shadow: inset 0 0 0 1px rgba(80,150,255,0.15); }
.tc-kpi--blue .tc-kpi-value { color: rgba(205, 230, 255, 0.92); }

.tc-kpi--green { border-color: rgba(16, 185, 129, 0.45); background: linear-gradient(135deg, rgba(16,185,129,0.10), rgba(19,19,19,0.92)); box-shadow: inset 0 0 0 1px rgba(16,185,129,0.15); }
.tc-kpi--green .tc-kpi-value { color: rgba(200, 255, 235, 0.92); }

.tc-kpi--orange { border-color: rgba(255, 159, 74, 0.45); background: linear-gradient(135deg, rgba(255,159,74,0.10), rgba(19,19,19,0.92)); box-shadow: inset 0 0 0 1px rgba(255,159,74,0.15); }
.tc-kpi--orange .tc-kpi-value { color: rgba(255, 225, 200, 0.92); }

/* Cores adicionais para mini-resumos */
.tc-kpi--slate { border-color: rgba(148, 163, 184, 0.45); background: linear-gradient(135deg, rgba(148,163,184,0.12), rgba(19,19,19,0.92)); box-shadow: inset 0 0 0 1px rgba(148,163,184,0.18); }
.tc-kpi--slate .tc-kpi-value { color: rgba(226, 232, 240, 0.92); }

.tc-kpi--violet { border-color: rgba(139, 92, 246, 0.45); background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(19,19,19,0.92)); box-shadow: inset 0 0 0 1px rgba(139,92,246,0.18); }
.tc-kpi--violet .tc-kpi-value { color: rgba(221, 214, 254, 0.92); }

.tc-kpi--teal { border-color: rgba(45, 212, 191, 0.45); background: linear-gradient(135deg, rgba(45,212,191,0.12), rgba(19,19,19,0.92)); box-shadow: inset 0 0 0 1px rgba(45,212,191,0.18); }
.tc-kpi--teal .tc-kpi-value { color: rgba(178, 245, 234, 0.92); }

.tc-kpi-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
}

.tc-kpi-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.tc-chart-wrap {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tc-chart-title {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.tc-chart {
  width: 100%;
  display: block;
  border-radius: 12px;
}
/* ============================================================================
 * ADDITIONAL UTILITIES
 * ============================================================================ */
.position-relative > .form-control {
  padding-right: 72px;
}

.badge-action {
  background-color: var(--tokencafe-gray-700) !important;
  color: var(--tokencafe-white) !important;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  opacity: 0.9;
  border: 1px solid transparent;
}

.badge-action:hover {
  background-color: var(--tokencafe-primary) !important;
  color: var(--tokencafe-white) !important;
  opacity: 1;
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 4px 8px var(--tokencafe-shadow-black-30);
  text-decoration: none !important;
}

.badge-action:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px var(--tokencafe-shadow-black-20);
  filter: brightness(0.95);
}

.tc-tools-tabs {
  gap: 0.5rem;
}

.tc-tools-tabs .nav-link.tc-tools-tab {
  background-color: var(--tokencafe-gray-700) !important;
  color: var(--tokencafe-white) !important;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  opacity: 0.9;
  border: 1px solid var(--tokencafe-white-10) !important;
  border-radius: 999px !important;
  padding: 0.35rem 0.85rem !important;
}

.tc-tools-tabs .nav-link.tc-tools-tab:hover {
  background-color: var(--tokencafe-primary) !important;
  color: var(--tokencafe-white) !important;
  opacity: 1;
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 4px 8px var(--tokencafe-shadow-black-30);
}

.tc-tools-tabs .nav-link.tc-tools-tab.active,
.tc-tools-tabs .nav-link.tc-tools-tab:active {
  background-color: var(--tokencafe-primary) !important;
  border-color: var(--tokencafe-primary) !important;
  color: var(--tokencafe-white) !important;
  opacity: 1;
}

.tc-tools-tabs .nav-link.tc-tools-tab:focus-visible {
  box-shadow: var(--tokencafe-ring-primary-25);
}

.tc-tools-tabs .tc-tools-tab-badge {
  background-color: var(--tokencafe-primary-25) !important;
  border: 1px solid var(--tokencafe-primary-40) !important;
  color: var(--tokencafe-white) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.tc-tools-tabs .nav-link.tc-tools-tab.active .tc-tools-tab-badge {
  background-color: var(--tokencafe-white-15) !important;
  border-color: var(--tokencafe-white-20) !important;
  color: var(--tokencafe-white) !important;
}

.tool-tile.disabled-tile {
  opacity: 0.5;
  filter: grayscale(100%);
  cursor: not-allowed;
}

/* Contract Interact Tabs */
#cs_interactTabs .nav-link {
  color: var(--text-muted, #8b949e);
  border-color: transparent;
  font-size: 0.85rem;
  padding: 6px 14px;
}
#cs_interactTabs .nav-link:hover {
  color: var(--text-primary, #e6edf3);
  border-color: var(--border-subtle, #30363d) var(--border-subtle, #30363d) transparent;
}
#cs_interactTabs .nav-link.active {
  color: var(--text-primary, #e6edf3);
  background: var(--card-bg-secondary, #161b22);
  border-color: var(--border-subtle, #30363d) var(--border-subtle, #30363d) var(--card-bg-secondary, #161b22);
}
#cs_interactTabs {
  border-bottom-color: var(--border-subtle, #30363d) !important;
}

.tool-tile.disabled-tile .btn {
  cursor: not-allowed;
  opacity: 0.5;
}

/* ============================================================================
   UTILITÁRIOS (UNIFICADOS DO utility-classes.css)
   ========================================================================== */

/* Logo e imagens */
.logo-standard {
  width: 48px;
  height: 48px;
  filter: var(--tokencafe-shadow-logo);
}

.logo-small {
  width: 40px;
  height: 40px;
}

/* Tamanhos de ícones */
.icon-xl { font-size: 3rem; }
.icon-lg { font-size: 2rem; }
.icon-md { font-size: 1.25rem; }

/* Tipografia utilitária */
.text-small { font-size: var(--fs-xs); line-height: 1; margin-top: -2px; }
.text-xs { font-size: var(--fs-sm); }
.text-line-height-normal { line-height: 1.6; }
.text-no-decoration { text-decoration: none; }
.text-coffee { color: var(--tokencafe-primary-dark); }
.text-gold { color: var(--tokencafe-warning); }

/* Layout utilitário */
.min-width-250 { min-width: 250px; }
.border-radius-50 { border-radius: 50px; }
.square-80 { width: 80px; height: 80px; }
.square-48 { width: 48px; height: 48px; min-width: 48px; }
.square-50 { width: 50px; height: 50px; }
.resize-vertical { resize: vertical; }

/* Página simples (ex.: Mini Chainlist) */
.simple-page-body {
  font-family: var(--font-main);
  padding: 20px;
  max-width: 900px;
  margin: auto;
  background: var(--tokencafe-bg-secondary);
  color: var(--tokencafe-text-primary);
}
.simple-page-title { color: var(--tokencafe-text-primary); }
.simple-input {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  font-size: var(--fs-base);
  background: var(--tokencafe-bg-primary);
  color: var(--tokencafe-text-primary);
  border: 1px solid var(--tokencafe-border-medium);
}
.simple-button {
  cursor: pointer;
  background-color: var(--tokencafe-primary);
  color: var(--tokencafe-white);
  border: none;
  border-radius: 5px;
  padding: 10px;
  font-size: var(--fs-base);
}
.simple-message { margin-top: 15px; font-weight: bold; }
.simple-message.success { color: var(--tokencafe-success); }
.simple-message.error { color: var(--tokencafe-danger); }
.simple-form-group { margin-bottom: 10px; }

/* Separador de sidebar */
.tc-sidebar-hr {
  border-color: var(--tokencafe-white-06) !important;
}

/* Overlay de erros JS (modo debug/localhost) */
.tc-debug-overlay {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 2147483647;
  max-width: min(760px, calc(100vw - 24px));
  max-height: min(320px, calc(100vh - 24px));
  overflow: auto;
  background: var(--tokencafe-elevated-surface-90);
  color: var(--tokencafe-white);
  border: 1px solid var(--tokencafe-white-20);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.35;
  display: none;
}

/* Background utilitário */
.bg-transparent { background: transparent !important; }
.bg-page-black { background: var(--tokencafe-bg-primary) !important; }
.bg-dark-elevated { background-color: var(--tokencafe-bg-tertiary); color: var(--bs-body-color); border: 1px solid var(--bs-border-color); }

/* Alturas mínimas */
.min-height-180 { min-height: 180px; }
.min-height-240 { min-height: 240px; }
.max-height-240 { max-height: 240px; }

/* Botões utilitários */
.btn-transparent,
.btn-transparent-warning,
.btn-transparent-info {
  background: transparent;
  border: none;
  transition: all 0.3s ease;
}
.btn-transparent-warning { color: var(--bs-warning); }
.btn-transparent-warning:hover,
.btn-transparent-info:hover { transform: scale(1.1); }
.btn-transparent-warning:hover { color: var(--tokencafe-primary-light); }
.btn-transparent-info { color: var(--bs-info); }
.btn-transparent-info:hover { color: var(--tokencafe-info-light); }

/* Badges utilitários */
.badge-circle,
.badge-circle-lg,
.badge-circle-xl {
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.badge-circle { width: 32px; height: 32px; display: flex; }
.badge-circle-lg { width: 40px; height: 40px; display: flex; }
.badge-circle-xl { width: 60px; height: 60px; display: inline-flex; }

/* Display utilitário */
.cursor-pointer { cursor: pointer; }

/* Exibição de código */
.code-display { white-space: pre-wrap; word-wrap: break-word; margin-top: 20px; }

/* Form utilitário */
.form-status { margin-bottom: 1rem; margin-top: 1.5rem; }

.glass-frame {
  position: relative;
  padding: 1px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: var(--tokencafe-glass-blur);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.glass-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(248, 93, 35, 0.12), rgba(59, 130, 246, 0.12));
  mix-blend-mode: screen;
}

.glass-image {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.tc-black-panel {
  background: #000 !important;
}

.tc-blue-panel {
  background: rgba(59, 130, 246, 0.12);
  border-top: 1px solid rgba(59, 130, 246, 0.25);
  border-bottom: 1px solid rgba(59, 130, 246, 0.25);
}

.tc-impact-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.tc-hero-section {
  position: relative;
  background: #000;
  padding-top: 2.5rem;
}

.tc-has-fixed-navbar .tc-hero-section {
  margin-top: calc(var(--tc-navbar-offset) * -1);
  padding-top: calc(var(--tc-navbar-offset) + 2.5rem);
}

.tc-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../imgs/mundo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.tc-hero-section > .container {
  position: relative;
  z-index: 1;
}

.tc-navbar {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1045;
}

.tc-navbar.tc-navbar-scrolled {
  background: rgba(0, 0, 0, 0.55);
}

.tc-tools-nav {
  z-index: 1045;
}

.tc-tools-header {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  :root { --tc-navbar-offset: 60px; }
}

.tc-icon-btn {
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: opacity 150ms ease;
}

.tc-icon-btn:hover {
  background: transparent;
}

.tc-icon-btn:focus,
.tc-icon-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

.tc-icon-btn:disabled,
.tc-icon-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.tc-icon-btn i {
  font-size: 1rem;
  line-height: 1;
}

.tc-action-copy     { color: inherit; }
.tc-action-explorer { color: inherit; }
.tc-action-clear    { color: rgba(255,255,255,0.45); }
.tc-action-whatsapp { color: #25d366; }
.tc-action-telegram { color: #0088cc; }
.tc-action-email    { color: #dc3545; }
.tc-action-info     { color: var(--tokencafe-info-light); }
.tc-action-wallet   { color: var(--tokencafe-primary); }

.tc-status-ok { color: #198754; }
.tc-status-warn { color: var(--tokencafe-primary); }
.tc-status-bad { color: #dc3545; }

/* =========================================================
   Landing (index2.php) — TokenCafe Entry
   ========================================================= */

.tc-entry-page {
  padding-bottom: 92px;
}

.tc-entry-page .feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.tc-entry-page .feature-card:hover {
  border-color: rgba(248, 93, 35, 0.30);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.tc-entry-page .tc-module-card {
  border: 1px solid var(--tokencafe-white-10);
  background: linear-gradient(180deg, var(--tokencafe-white-06) 0%, var(--tokencafe-white-03) 100%);
}

.tc-entry-page .tc-module-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--tokencafe-white-12);
  background: var(--tokencafe-white-06);
}

.tc-entry-page .tc-pricing-grid {
  align-items: stretch;
}

.tc-entry-page .tc-pricing-wrap {
  position: relative;
  height: 100%;
}

.tc-entry-page .tc-pricing-wrap--popular {
  z-index: 2;
}

.tc-entry-page .tc-pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  background: var(--bs-warning);
  color: #111;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.tc-entry-page .tc-pricing-wrap--popular .pricing-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tc-entry-page .tc-pricing-wrap--popular .pricing-card:hover {
  transform: translateY(-8px);
}

.tc-entry-page .tc-metric-card {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.tc-entry-page .tc-impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 992px) {
  .tc-entry-page .tc-impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
  }
}

.tc-entry-page .tc-rail-right {
  width: 100%;
}

@media (min-width: 992px) {
  .tc-entry-page .tc-rail-right {
    max-width: 1180px;
    margin-left: auto;
    margin-right: 0;
  }
}

.tc-entry-page .tc-impact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.tc-entry-page .tc-impact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tokencafe-primary);
  background: rgba(248, 93, 35, 0.12);
  border: 1px solid rgba(248, 93, 35, 0.18);
  flex: 0 0 auto;
}

.tc-entry-page .tc-impact-icon i {
  font-size: 18px;
  line-height: 1;
}

.tc-entry-page .tc-impact-title {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tc-entry-page .tc-impact-desc {
  color: rgba(255, 255, 255, 0.70);
  margin-top: 2px;
  line-height: 1.45;
}

.tc-entry-page .tc-impact-card--wide {
  align-items: flex-start;
}

@media (min-width: 992px) {
  .tc-entry-page .tc-impact-card--wide {
    grid-column: 1 / -1;
  }
}

.tc-entry-page .tc-impact-metric {
  margin-top: 8px;
}

.tc-entry-page .tc-impact-metric-value {
  color: var(--tokencafe-primary);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 1.4vw + 1.4rem, 2.6rem);
  line-height: 1.05;
}

.tc-entry-page .tc-impact-metric-label {
  color: rgba(255, 255, 255, 0.80);
  margin-top: 6px;
  font-weight: 700;
}

.tc-entry-page .tc-impact-metric-note {
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.tc-entry-page .tc-entry-divider {
  margin: 24px 0;
}

.tc-entry-page .tc-impact-section {
  text-align: left;
}

.tc-entry-page .tc-impact-card {
  text-align: left;
}

.tc-entry-page .tc-tools-embed {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.tc-entry-page .tc-tools-embed .tool-tile {
  padding: 12px;
  min-height: 200px;
  border-radius: 14px;
}

.tc-entry-page .tc-tools-embed .tool-tile-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.tc-entry-page .tc-tools-embed .tool-tile-title {
  font-size: 0.92rem;
}

.tc-entry-page .tc-tools-embed .tool-tile-desc {
  font-size: 0.78rem;
  min-height: 34px;
}

.tc-entry-page .tc-tools-embed .tool-tile-status {
  padding: 4px 10px;
  font-size: 0.68rem;
}

.tc-entry {
  text-align: left;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.tc-entry-microcopy {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
}

.tc-entry-hero .tc-entry-hero-copy {
  max-width: 720px;
}

.tc-entry-h1 {
  font-size: clamp(2rem, 2.2vw + 1.6rem, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.tc-entry-h2 {
  font-size: clamp(1.6rem, 1vw + 1.3rem, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.tc-entry-lead {
  font-size: 1.125rem;
  line-height: 1.55;
}

.tc-entry-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.tc-entry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 500;
  transition: color 160ms ease, font-weight 160ms ease, transform 160ms ease;
}

.tc-entry-link:hover {
  color: var(--tokencafe-primary);
  font-weight: 700;
  transform: translateY(-1px);
}

[data-theme="light"] .tc-entry-link,
[data-bs-theme="light"] .tc-entry-link {
  color: rgba(0, 0, 0, 0.55) !important;
}
[data-theme="light"] .tc-entry-link:hover,
[data-bs-theme="light"] .tc-entry-link:hover {
  color: var(--tokencafe-primary-dark) !important;
  font-weight: 700 !important;
}

.tc-entry-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 12px;
}

.tc-entry-card {
  position: relative;
}

.tc-entry-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

@media (min-width: 992px) {
  .tc-entry-trust { justify-content: flex-start; }
}

.tc-entry-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 14px;
}

.tc-entry-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 992px) {
  .tc-entry-flow { justify-content: flex-start; }
}

.tc-entry-flow-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.tc-entry-flow-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.tc-entry-flow-icon i {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.tc-entry-flow-arrow {
  color: rgba(255, 255, 255, 0.35);
}

.tc-entry-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  margin-bottom: 14px;
}

.tc-entry-card-icon i {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.92);
}

.tc-entry-card--hover {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tc-entry-card--hover:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 93, 35, 0.30);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.tc-entry-security-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}

.tc-entry-security-row + .tc-entry-security-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tc-entry-security-row i {
  font-size: 18px;
  line-height: 1.2;
  margin-top: 2px;
}

.tc-entry-demo-video {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.tc-entry-mini-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tc-entry-mini-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.tc-entry-mini-check-item i {
  font-size: 16px;
  margin-top: 2px;
}

.tc-entry-final {
  background: linear-gradient(135deg, rgba(248, 93, 35, 0.10), rgba(59, 130, 246, 0.10));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tc-entry-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.tc-entry-sticky-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tc-entry-sticky-cta-title {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  line-height: 1.1;
}

.tc-entry-sticky-cta-subtitle {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  font-size: 12px;
}

.tc-entry-sticky-cta-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tc-entry .accordion-button {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 14px 16px;
  font-weight: 700;
  box-shadow: none;
}

.tc-entry .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(248, 93, 35, 0.35);
}

.tc-entry .accordion-button::after {
  filter: invert(1);
  opacity: 0.7;
}

.tc-entry .accordion-body {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 0;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 575.98px) {
  .tc-entry-page { padding-bottom: 104px; }
  .tc-entry-sticky-cta-inner { flex-direction: column; align-items: stretch; }
  .tc-entry-sticky-cta-actions { width: 100%; }
  .tc-entry-sticky-cta-actions .btn { width: 100%; }
}

/* ============================================================================
   TEMA CLARO — OVERRIDES DE COMPONENTES
   Cobre todos os fundos e textos hardcoded que não seguem as variáveis CSS
   ========================================================================== */

/* --- Cards com fundos escuros hardcoded --- */
[data-theme="light"] .feature-card,
[data-bs-theme="light"] .feature-card {
  background: #ffffff !important;
  border-color: rgba(248, 93, 35, 0.18) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07) !important;
}
[data-theme="light"] .feature-card:hover,
[data-bs-theme="light"] .feature-card:hover {
  background: #fff9f7 !important;
  border-color: rgba(248, 93, 35, 0.35) !important;
  box-shadow: 0 4px 16px rgba(248, 93, 35, 0.10) !important;
}
[data-theme="light"] .tool-card,
[data-bs-theme="light"] .tool-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.09) !important;
}
[data-theme="light"] .stat-card,
[data-bs-theme="light"] .stat-card {
  background: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.09) !important;
}

/* --- Landing page: cards entry com overlays brancos semitransparentes --- */
[data-theme="light"] .tc-entry-page .feature-card,
[data-bs-theme="light"] .tc-entry-page .feature-card {
  background: #ffffff !important;
  border-color: rgba(248, 93, 35, 0.18) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}
[data-theme="light"] .tc-entry-page .feature-card:hover,
[data-bs-theme="light"] .tc-entry-page .feature-card:hover {
  background: #fff9f7 !important;
  border-color: rgba(248, 93, 35, 0.30) !important;
  box-shadow: 0 6px 20px rgba(248, 93, 35, 0.09) !important;
}

/* --- Painéis com #000 hardcoded --- */
[data-theme="light"] .tc-black-panel,
[data-bs-theme="light"] .tc-black-panel {
  background: #f1f5f9 !important;
}
[data-theme="light"] .tc-hero-section,
[data-bs-theme="light"] .tc-hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%) !important;
}
[data-theme="light"] .tc-hero-section::before,
[data-bs-theme="light"] .tc-hero-section::before {
  opacity: 0.04 !important;
}

/* --- Navbar --- */
[data-theme="light"] .tc-navbar,
[data-bs-theme="light"] .tc-navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .tc-navbar.tc-navbar-scrolled,
[data-bs-theme="light"] .tc-navbar.tc-navbar-scrolled {
  background: rgba(255, 255, 255, 0.99) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07) !important;
}

/* --- bg-dark e variantes --- */
[data-theme="light"] .py-5.bg-dark,
[data-bs-theme="light"] .py-5.bg-dark,
[data-theme="light"] .bg-dark,
[data-bs-theme="light"] .bg-dark {
  background: #f1f5f9 !important;
  color: var(--tokencafe-text-dark) !important;
}
[data-theme="light"] .bg-dark-custom,
[data-bs-theme="light"] .bg-dark-custom,
[data-theme="light"] .bg-dark-elevated,
[data-bs-theme="light"] .bg-dark-elevated {
  background-color: #f1f5f9 !important;
  color: var(--tokencafe-text-dark) !important;
}

/* --- Textos brancos hardcoded que ficam invisíveis --- */
[data-theme="light"] .text-white-75,
[data-bs-theme="light"] .text-white-75 {
  color: rgba(0, 0, 0, 0.70) !important;
}
[data-theme="light"] .tc-entry-microcopy,
[data-bs-theme="light"] .tc-entry-microcopy {
  color: rgba(0, 0, 0, 0.55) !important;
}

/* --- Sticky CTA da landing page --- */
[data-theme="light"] .tc-entry-sticky-cta,
[data-bs-theme="light"] .tc-entry-sticky-cta {
  background: rgba(255, 255, 255, 0.97) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.10) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07) !important;
}
[data-theme="light"] .tc-entry-sticky-cta-title,
[data-bs-theme="light"] .tc-entry-sticky-cta-title {
  color: rgba(0, 0, 0, 0.88) !important;
}
[data-theme="light"] .tc-entry-sticky-cta-subtitle,
[data-bs-theme="light"] .tc-entry-sticky-cta-subtitle {
  color: rgba(0, 0, 0, 0.55) !important;
}

/* --- Accordion na área entry (landing e módulos) --- */
[data-theme="light"] .tc-entry .accordion-button,
[data-bs-theme="light"] .tc-entry .accordion-button {
  border-color: rgba(0, 0, 0, 0.10) !important;
  color: var(--tokencafe-text-dark) !important;
  background: #ffffff !important;
}
[data-theme="light"] .tc-entry .accordion-button::after,
[data-bs-theme="light"] .tc-entry .accordion-button::after {
  filter: none !important;
  opacity: 0.6 !important;
}
[data-theme="light"] .tc-entry .accordion-body,
[data-bs-theme="light"] .tc-entry .accordion-body {
  background: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: var(--tokencafe-text-dark) !important;
}

/* --- Elementos variados com fundo preto/escuro --- */
[data-theme="light"] .tc-entry-mini-check-item,
[data-bs-theme="light"] .tc-entry-mini-check-item {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: rgba(0, 0, 0, 0.85) !important;
}
[data-theme="light"] .tc-entry-security-row + .tc-entry-security-row,
[data-bs-theme="light"] .tc-entry-security-row + .tc-entry-security-row {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .tc-entry-final,
[data-bs-theme="light"] .tc-entry-final {
  border-color: rgba(0, 0, 0, 0.10) !important;
}
[data-theme="light"] .tc-entry-demo-video,
[data-bs-theme="light"] .tc-entry-demo-video {
  background: #e8ecf0 !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* --- tc-blue-panel no tema claro: fundo levemente azulado --- */
[data-theme="light"] .tc-blue-panel,
[data-bs-theme="light"] .tc-blue-panel {
  background: rgba(59, 130, 246, 0.06) !important;
  border-top-color: rgba(59, 130, 246, 0.18) !important;
  border-bottom-color: rgba(59, 130, 246, 0.18) !important;
}

/* --- Gradiente do texto (gradient-text) legível no claro --- */
[data-theme="light"] .gradient-text,
[data-bs-theme="light"] .gradient-text {
  background: linear-gradient(135deg, var(--tokencafe-primary-dark) 0%, var(--tokencafe-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Accordion Bootstrap genérico --- */
[data-theme="light"] .accordion-item,
[data-bs-theme="light"] .accordion-item {
  background-color: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.10) !important;
}
[data-theme="light"] .accordion-button,
[data-bs-theme="light"] .accordion-button {
  background-color: #ffffff !important;
  color: var(--tokencafe-text-dark) !important;
}
[data-theme="light"] .accordion-button:not(.collapsed),
[data-bs-theme="light"] .accordion-button:not(.collapsed) {
  background-color: #fff9f7 !important;
  color: var(--tokencafe-primary) !important;
  box-shadow: none !important;
}
[data-theme="light"] .accordion-button::after,
[data-bs-theme="light"] .accordion-button::after {
  filter: none !important;
}
[data-theme="light"] .accordion-body,
[data-bs-theme="light"] .accordion-body {
  background-color: #ffffff !important;
  color: var(--tokencafe-text-dark) !important;
}

/* --- List group (sidebar e outros) --- */
[data-theme="light"] .list-group-item,
[data-bs-theme="light"] .list-group-item {
  background-color: transparent !important;
  color: var(--tokencafe-text-dark) !important;
  border-color: rgba(0, 0, 0, 0.07) !important;
}
[data-theme="light"] .list-group-item-action:hover,
[data-bs-theme="light"] .list-group-item-action:hover {
  background-color: rgba(248, 93, 35, 0.06) !important;
  color: var(--tokencafe-primary) !important;
}

/* --- Inputs e selects: fundo claro explícito --- */
[data-theme="light"] .form-control,
[data-bs-theme="light"] .form-control,
[data-theme="light"] .form-select,
[data-bs-theme="light"] .form-select {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: var(--tokencafe-text-dark) !important;
}

/* --- Badges e pills com fundo escuro semitransparente --- */
[data-theme="light"] .badge.bg-secondary,
[data-bs-theme="light"] .badge.bg-secondary {
  background-color: #e2e8f0 !important;
  color: #334155 !important;
}

/* --- Texto de suporte em branco que vira invisível --- */
[data-theme="light"] [class*="text-white"],
[data-bs-theme="light"] [class*="text-white"] {
  color: var(--tokencafe-text-dark) !important;
}
[data-theme="light"] .text-white-50,
[data-bs-theme="light"] .text-white-50 {
  color: rgba(0, 0, 0, 0.55) !important;
}
[data-theme="light"] .text-white-75,
[data-bs-theme="light"] .text-white-75 {
  color: rgba(0, 0, 0, 0.70) !important;
}

/* --- Ícone toggler da navbar no tema claro --- */
[data-theme="light"] .navbar-toggler-icon,
[data-bs-theme="light"] .navbar-toggler-icon {
  filter: invert(0) !important;
}

/* --- btn-outline-light: borda/texto branco fica invisível no fundo claro --- */
[data-theme="light"] .btn-outline-light,
[data-bs-theme="light"] .btn-outline-light {
  border-color: #6b7280 !important;
  color: #374151 !important;
  background: transparent !important;
}
[data-theme="light"] .btn-outline-light:hover,
[data-bs-theme="light"] .btn-outline-light:hover {
  background: #374151 !important;
  color: #ffffff !important;
  border-color: #374151 !important;
}

/* --- Seção com texto branco forçado que não herda as variáveis --- */
[data-theme="light"] strong.text-white,
[data-bs-theme="light"] strong.text-white {
  color: var(--tokencafe-text-dark) !important;
}

/* --- navbar-dark: reseta variáveis Bootstrap para fundo claro --- */
[data-theme="light"] .navbar-dark,
[data-bs-theme="light"] .navbar-dark {
  --bs-navbar-color: rgba(0, 0, 0, 0.65);
  --bs-navbar-hover-color: rgba(0, 0, 0, 0.85);
  --bs-navbar-active-color: #1a202c;
  --bs-navbar-brand-color: #1a202c;
  --bs-navbar-brand-hover-color: var(--tokencafe-primary);
  --bs-navbar-toggler-border-color: rgba(0, 0, 0, 0.15);
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280%2c 0%2c 0%2c 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
[data-theme="light"] .navbar.bg-page-black,
[data-bs-theme="light"] .navbar.bg-page-black {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* --- text-warning: laranja primário no fundo branco precisa de versão mais escura --- */
[data-theme="light"] .text-warning,
[data-bs-theme="light"] .text-warning {
  color: var(--tokencafe-primary-dark) !important;
}
[data-theme="light"] .btn-transparent-warning,
[data-bs-theme="light"] .btn-transparent-warning {
  color: var(--tokencafe-primary) !important;
}

/* --- Dropdown menu --- */
[data-theme="light"] .dropdown-menu,
[data-bs-theme="light"] .dropdown-menu {
  background-color: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10) !important;
}
[data-theme="light"] .dropdown-item,
[data-bs-theme="light"] .dropdown-item {
  color: var(--tokencafe-text-dark) !important;
}
[data-theme="light"] .dropdown-item:hover,
[data-bs-theme="light"] .dropdown-item:hover {
  background-color: rgba(248, 93, 35, 0.06) !important;
  color: var(--tokencafe-primary) !important;
}
[data-theme="light"] .dropdown-item-text,
[data-bs-theme="light"] .dropdown-item-text {
  color: rgba(0, 0, 0, 0.55) !important;
}

/* --- Contract cards (contrato page) --- */
[data-theme="light"] .contract-card,
[data-bs-theme="light"] .contract-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}
[data-theme="light"] .contract-card:hover,
[data-bs-theme="light"] .contract-card:hover {
  background: rgba(248, 93, 35, 0.04) !important;
  border-color: var(--tokencafe-primary) !important;
}
[data-theme="light"] .contract-card.selected,
[data-bs-theme="light"] .contract-card.selected {
  background: rgba(248, 93, 35, 0.06) !important;
  border-color: var(--tokencafe-primary) !important;
}
[data-theme="light"] .card-title.text-white,
[data-bs-theme="light"] .card-title.text-white {
  color: var(--tokencafe-text-dark) !important;
}

/* --- tc-entry-kicker: texto branco hardcoded --- */
[data-theme="light"] .tc-entry-kicker,
[data-bs-theme="light"] .tc-entry-kicker {
  color: #1e40af !important;
  background: rgba(59, 130, 246, 0.08) !important;
  border-color: rgba(59, 130, 246, 0.20) !important;
}

/* --- tc-blue-panel fundo claro: texto precisa de contraste --- */
[data-theme="light"] .tc-blue-panel .text-secondary,
[data-bs-theme="light"] .tc-blue-panel .text-secondary {
  color: #475569 !important;
}

/* --- icon-circle com bg-dark-elevated --- */
[data-theme="light"] .icon-circle.bg-dark-elevated,
[data-bs-theme="light"] .icon-circle.bg-dark-elevated {
  background-color: #e2e8f0 !important;
}

/* --- alert com bg-dark --- */
[data-theme="light"] .alert.bg-dark,
[data-bs-theme="light"] .alert.bg-dark {
  background-color: #f1f5f9 !important;
  color: var(--tokencafe-text-dark) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

/* --- btn-link text-white (botões de ação dentro de cards) --- */
[data-theme="light"] .btn-link.text-white,
[data-bs-theme="light"] .btn-link.text-white {
  color: var(--tokencafe-primary) !important;
}

/* --- Blocos com bg-dark usados como painéis de status --- */
[data-theme="light"] .p-2.bg-dark,
[data-bs-theme="light"] .p-2.bg-dark,
[data-theme="light"] .p-3.bg-dark,
[data-bs-theme="light"] .p-3.bg-dark {
  background-color: #f1f5f9 !important;
  color: var(--tokencafe-text-dark) !important;
}

/* --- Footer text-white + bg-page-black --- */
.footer-text { font-size: 0.82rem; font-family: var(--font-main); }
[data-theme="light"] footer.text-white,
[data-bs-theme="light"] footer.text-white {
  color: var(--tokencafe-text-dark) !important;
}
[data-theme="light"] .footer-text,
[data-bs-theme="light"] .footer-text {
  color: rgba(0, 0, 0, 0.55) !important;
}
[data-theme="light"] .footer-brand,
[data-bs-theme="light"] .footer-brand {
  color: var(--tokencafe-text-dark) !important;
}

/* --- Social icons (neon-icon-hover) ficam invisíveis --- */
[data-theme="light"] .social-icons a.text-white-50,
[data-bs-theme="light"] .social-icons a.text-white-50 {
  color: rgba(0, 0, 0, 0.50) !important;
}
[data-theme="light"] .social-icons a.text-white-50:hover,
[data-bs-theme="light"] .social-icons a.text-white-50:hover {
  color: var(--tokencafe-primary) !important;
}

/* --- border-secondary em dark Bootstrap → ajuste no claro --- */
[data-theme="light"] .border-secondary,
[data-bs-theme="light"] .border-secondary {
  border-color: #cbd5e1 !important;
}

/* --- tc-entry-page: seções alternadas claras --- */
[data-theme="light"] .tc-entry-page section,
[data-bs-theme="light"] .tc-entry-page section {
  background-color: #ffffff !important;
}
[data-theme="light"] .tc-entry-page .tc-blue-panel,
[data-bs-theme="light"] .tc-entry-page .tc-blue-panel {
  background-color: #f0f6ff !important;
}

/* --- Garantir que text-white inline em strong/b/span fique legível --- */
[data-theme="light"] .tc-entry-page strong.text-white,
[data-theme="light"] .tc-entry-page b.text-white,
[data-theme="light"] .tc-entry-page span.text-white,
[data-bs-theme="light"] .tc-entry-page strong.text-white,
[data-bs-theme="light"] .tc-entry-page b.text-white,
[data-bs-theme="light"] .tc-entry-page span.text-white {
  color: var(--tokencafe-text-dark) !important;
}

/* --- Neon hover states no tema claro --- */
[data-theme="light"] .neon-link-hover:hover,
[data-bs-theme="light"] .neon-link-hover:hover,
[data-theme="light"] .neon-link-small-hover:hover,
[data-bs-theme="light"] .neon-link-small-hover:hover {
  color: var(--tokencafe-primary-dark) !important;
  font-weight: 700 !important;
  filter: none !important;
}
[data-theme="light"] .neon-icon-hover:hover,
[data-bs-theme="light"] .neon-icon-hover:hover {
  color: var(--tokencafe-primary) !important;
  filter: none !important;
}

/* --- Status/ação: laranja escuro para contraste no branco --- */
[data-theme="light"] .tc-status-warn,
[data-bs-theme="light"] .tc-status-warn {
  color: var(--tokencafe-primary-dark) !important;
}
[data-theme="light"] .tc-action-wallet,
[data-bs-theme="light"] .tc-action-wallet {
  color: var(--tokencafe-primary-dark) !important;
}

/* --- pg-chip: borda/fundo quase invisível no claro --- */
[data-theme="light"] .pg-chip,
[data-bs-theme="light"] .pg-chip {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

/* --- tc-pill-chip (variante de pg-chip) --- */
[data-theme="light"] .tc-pill-chip,
[data-bs-theme="light"] .tc-pill-chip {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.10) !important;
}

/* --- section-divider (usa bordas white-08 ou similar) --- */
[data-theme="light"] .section-divider,
[data-bs-theme="light"] .section-divider {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* --- input-group-text (fundo escuro em alguns módulos) --- */
[data-theme="light"] .input-group-text,
[data-bs-theme="light"] .input-group-text {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: var(--tokencafe-text-dark) !important;
}

/* --- modal-content (modal de conexão de carteira) --- */
[data-theme="light"] .modal-content,
[data-bs-theme="light"] .modal-content {
  background-color: #ffffff !important;
  color: var(--tokencafe-text-dark) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}
[data-theme="light"] .modal-header,
[data-bs-theme="light"] .modal-header,
[data-theme="light"] .modal-footer,
[data-bs-theme="light"] .modal-footer {
  border-color: rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .modal-title,
[data-bs-theme="light"] .modal-title {
  color: var(--tokencafe-text-dark) !important;
}
[data-theme="light"] .btn-close,
[data-bs-theme="light"] .btn-close {
  filter: none !important;
}

/* --- spinner-border no tema claro --- */
[data-theme="light"] .spinner-border,
[data-bs-theme="light"] .spinner-border {
  color: var(--tokencafe-primary) !important;
}

/* --- tc-entry-card-icon: ícone branco fica invisível no tema claro --- */
[data-theme="light"] .tc-entry-card-icon i,
[data-bs-theme="light"] .tc-entry-card-icon i {
  color: var(--tokencafe-info, #3b82f6) !important;
}
[data-theme="light"] .tc-entry-card-icon,
[data-bs-theme="light"] .tc-entry-card-icon {
  background: rgba(59, 130, 246, 0.10) !important;
  border-color: rgba(59, 130, 246, 0.22) !important;
}

/* --- btn-outline-warning no tema claro: laranja escuro para contraste --- */
[data-theme="light"] .btn-outline-warning,
[data-bs-theme="light"] .btn-outline-warning {
  border-color: var(--tokencafe-primary) !important;
  color: var(--tokencafe-primary) !important;
}
[data-theme="light"] .btn-outline-warning:hover,
[data-bs-theme="light"] .btn-outline-warning:hover {
  background-color: var(--tokencafe-primary) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   MOBILE — Ajustes globais para telas pequenas
   ========================================================================== */

/* Páginas de texto (privacidade, termos, suporte, social) */
@media (max-width: 767px) {
  /* Título hero menor no mobile */
  .tc-hero-section h1.display-4 {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    line-height: 1.2;
  }

  /* Blockchain slider: esconder no mobile, mostrar chips compactos */
  .tc-hero-section .tc-black-panel {
    display: none;
  }

  /* Padding menor no hero em mobile */
  .tc-hero-section .container {
    padding-top: 1.5rem !important;
    padding-bottom: 1rem !important;
  }

  /* Seção de conteúdo: padding lateral adequado */
  .terms-content {
    padding: 0 0.25rem;
    font-size: 0.95rem;
  }

  /* Tabelas dentro de termos: scroll horizontal */
  .terms-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Colunas de texto: full width no mobile */
  .col-lg-10.terms-content,
  .row .col-lg-10 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Seção py-5: reduzir padding vertical no mobile */
  section.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* Cards de ferramentas (tools) em 2 colunas no mobile */
  .tools-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  /* Tile de ferramenta: ajustar fonte e padding */
  .tool-tile {
    padding: 1rem 0.75rem !important;
  }
  .tool-tile-title {
    font-size: 0.85rem !important;
  }
  .tool-tile-desc {
    font-size: 0.75rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Botão de ação principal: tamanho mínimo de toque */
  .tc-action-btn,
  .btn-lg {
    min-height: 44px;
    font-size: 0.9rem;
  }

  /* Coming soon card */
  .tc-coming-soon-card {
    padding: 1rem 0.5rem;
  }
}

/* Chips decorativos de destaque (substitui blockchain-slider no mobile) */
@media (max-width: 767px) {
  .tc-mobile-chips {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    padding: 0.75rem 0;
  }
  .tc-mobile-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 99px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    white-space: nowrap;
  }
  [data-theme="light"] .tc-mobile-chip,
  [data-bs-theme="light"] .tc-mobile-chip {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.08);
    color: rgba(0,0,0,0.55);
  }
}
@media (min-width: 768px) {
  .tc-mobile-chips { display: none !important; }
}

/* Sidebar: comportamento no mobile */
@media (max-width: 991px) {
  .tokencafe-sidebar {
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(.4,0,.2,1);
    position: fixed !important;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1050;
    width: 270px !important;
    overflow-y: auto;
    box-shadow: none;
  }
  .tokencafe-sidebar.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.45);
  }
  .tokencafe-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1049;
    animation: tcFadeIn 0.2s ease;
  }
  @keyframes tcFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  .tokencafe-app-content {
    margin-left: 0 !important;
  }
}

/* ── Badges de compatibilidade mobile nos tiles ────────────────────── */
.tc-compat-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.68rem;
  padding: 3px 7px;
  border-radius: 20px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}
.tc-compat-full    { background: rgba(16,185,129,0.18); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.tc-compat-view    { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.tc-compat-desktop { background: rgba(248,93,35,0.15);  color: #f87060; border: 1px solid rgba(248,93,35,0.3);  }

/* Legenda inline no header do dashboard */
.tc-compat-legend  { display: inline-flex; align-items: center; gap: 4px; }
.tc-compat-legend .tc-compat-badge { position: static; font-size: 0.65rem; }

/* ============================================================================
   DESIGN SYSTEM — Componentes de UI das páginas internas
   Sidebar, breadcrumb, hero, wizard, formulários, cards, botões, feedback
   ============================================================================ */

/* ── Sidebar: labels de categoria e itens de navegação ── */
.tc-sidebar-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  padding: 0.8rem 0.5rem 0.3rem;
  display: block;
}

.tc-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 9px;
  color: rgba(255,255,255,0.52);
  font-size: 0.83rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-left: 2px solid transparent;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: background .18s, color .18s, border-color .18s;
  margin-bottom: 1px;
}
.tc-nav-item:hover {
  background: rgba(248,93,35,0.08);
  color: rgba(255,255,255,0.88);
  border-left-color: rgba(248,93,35,0.38);
}
.tc-nav-item.active {
  background: rgba(248,93,35,0.14);
  color: #f59e0b;
  font-weight: 600;
  border-left-color: var(--tokencafe-primary);
}
.tc-nav-item.active i { color: var(--tokencafe-primary); }
.tc-nav-item i { font-size: 0.95rem; width: 17px; flex-shrink: 0; }

[data-theme="light"] .tc-sidebar-label,
[data-bs-theme="light"] .tc-sidebar-label { color: rgba(0,0,0,0.35); }
[data-theme="light"] .tc-nav-item,
[data-bs-theme="light"] .tc-nav-item { color: rgba(0,0,0,0.55); }
[data-theme="light"] .tc-nav-item:hover,
[data-bs-theme="light"] .tc-nav-item:hover { background: rgba(248,93,35,0.07); color: rgba(0,0,0,0.85); border-left-color: rgba(248,93,35,0.35); }
[data-theme="light"] .tc-nav-item.active,
[data-bs-theme="light"] .tc-nav-item.active { background: rgba(248,93,35,0.08); color: var(--tokencafe-primary-dark); }

/* ── Sidebar: grupos colapsáveis ── */
.tc-sidebar-group-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 5px 8px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.38);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 7px;
  margin-top: 0.55rem;
  margin-bottom: 2px;
  transition: background .15s, color .15s;
}
.tc-sidebar-group-btn:hover { background: rgba(248,93,35,0.06); color: rgba(255,255,255,0.70); }
.tc-sidebar-chevron {
  font-size: 0.55rem !important;
  margin-left: auto;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.tc-sidebar-group-btn[aria-expanded="false"] .tc-sidebar-chevron { transform: rotate(-90deg); }
.tc-nav-sub { padding-left: 26px; }
[data-theme="light"] .tc-sidebar-group-btn { color: rgba(0,0,0,0.35); }
[data-theme="light"] .tc-sidebar-group-btn:hover { background: rgba(0,0,0,0.05); color: rgba(0,0,0,0.65); }

/* ── Breadcrumb das páginas internas ── */
.tc-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
  flex-wrap: wrap;
}
.tc-breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color .16s; }
.tc-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.tc-breadcrumb .tc-bc-sep { opacity: .35; }
.tc-breadcrumb .tc-bc-current { color: rgba(255,255,255,0.85); font-weight: 600; }

[data-theme="light"] .tc-breadcrumb,
[data-bs-theme="light"] .tc-breadcrumb { color: rgba(0,0,0,0.45); }
[data-theme="light"] .tc-breadcrumb a,
[data-bs-theme="light"] .tc-breadcrumb a { color: rgba(0,0,0,0.45); }
[data-theme="light"] .tc-breadcrumb a:hover,
[data-bs-theme="light"] .tc-breadcrumb a:hover { color: rgba(0,0,0,0.85); }
[data-theme="light"] .tc-breadcrumb .tc-bc-current,
[data-bs-theme="light"] .tc-breadcrumb .tc-bc-current { color: rgba(0,0,0,0.85); }

/* ── Hero das páginas internas ── */
.tc-page-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.75rem;
}
/* ── tc-page-hero-icon: cada variante é auto-suficiente ── */
.tc-page-hero-icon,
.tc-page-hero-icon--blue,
.tc-page-hero-icon--green,
.tc-page-hero-icon--purple {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}
.tc-page-hero-icon         { background: var(--tokencafe-primary); box-shadow: 0 4px 18px rgba(248,93,35,0.32); }
.tc-page-hero-icon--blue   { background: rgba(59,130,246,0.15);  border: 1px solid rgba(59,130,246,0.30);  box-shadow: 0 4px 18px rgba(59,130,246,0.12); }
.tc-page-hero-icon--green  { background: rgba(34,197,94,0.15);   border: 1px solid rgba(34,197,94,0.30);   box-shadow: 0 4px 18px rgba(34,197,94,0.12); }
.tc-page-hero-icon--purple { background: rgba(139,92,246,0.15);  border: 1px solid rgba(139,92,246,0.30);  box-shadow: 0 4px 18px rgba(139,92,246,0.12); }
.tc-page-hero h2 { font-size: 1.25rem; font-weight: 700; color: rgba(255,255,255,0.95); margin-bottom: 3px; }
.tc-page-hero p  { font-size: 0.8rem; color: rgba(255,255,255,0.50); margin: 0; }

[data-theme="light"] .tc-page-hero h2,
[data-bs-theme="light"] .tc-page-hero h2 { color: var(--tokencafe-text-dark); }
[data-theme="light"] .tc-page-hero p,
[data-bs-theme="light"] .tc-page-hero p  { color: rgba(0,0,0,0.50); }

/* ── Wizard de passos ── */
.tc-steps {
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  padding-bottom: 4px;
  gap: 0;
  scrollbar-width: none;
}
.tc-steps::-webkit-scrollbar { display: none; }

.tc-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.tc-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.tc-step-arrow { color: rgba(255,255,255,0.18); font-size: 0.75rem; flex-shrink: 0; padding: 0 2px; }

.tc-step--done    { color: #4ade80; }
.tc-step--done    .tc-step-num { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35); color: #4ade80; }
.tc-step--active  { color: #fff; }
.tc-step--active  .tc-step-num { background: var(--tokencafe-primary); border: 1px solid var(--tokencafe-primary); color: #fff; }
.tc-step--pending { color: rgba(255,255,255,0.38); }
.tc-step--pending .tc-step-num { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.38); }

/* ── Card padrão das páginas internas ── */
.tcd-card {
  background: rgba(20,27,45,0.92);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}
.tcd-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(248,93,35,0.04) 0%, transparent 55%);
  pointer-events: none;
}

/* Título interno do card */
.tcd-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.2rem;
}
/* ── tcd-card-head-icon: cada variante é auto-suficiente ── */
.tcd-card-head-icon,
.tcd-card-head-icon--green,
.tcd-card-head-icon--purple,
.tcd-card-head-icon--blue {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.tcd-card-head-icon         { background: rgba(248,93,35,0.12);  border-color: rgba(248,93,35,0.28);  color: var(--tokencafe-primary); }
.tcd-card-head-icon--green  { background: rgba(34,197,94,0.15);  border-color: rgba(34,197,94,0.30);  color: #4ade80; }
.tcd-card-head-icon--purple { background: rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.30); color: #c084fc; }
.tcd-card-head-icon--blue   { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.30); color: #60a5fa; }
.tcd-card-head h3 { font-size: 0.95rem; font-weight: 700; color: rgba(255,255,255,0.92); margin: 0; }
.tcd-card-head p  { font-size: 0.72rem; color: rgba(255,255,255,0.48); margin: 0; }

[data-theme="light"] .tcd-card,
[data-bs-theme="light"] .tcd-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .tcd-card-head h3,
[data-bs-theme="light"] .tcd-card-head h3 { color: var(--tokencafe-text-dark); }
[data-theme="light"] .tcd-card-head p,
[data-bs-theme="light"] .tcd-card-head p  { color: rgba(0,0,0,0.48); }

/* ── Welcome block do dashboard ── */
.tc-welcome-block {
  background: linear-gradient(135deg, rgba(248,93,35,0.07) 0%, rgba(15,23,42,0) 60%);
  border: 1px solid rgba(248,93,35,0.28);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.tc-welcome-block-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(248,93,35,0.14);
  border: 1px solid rgba(248,93,35,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--tokencafe-primary);
  flex-shrink: 0;
}
.tc-welcome-block h2 { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.92); margin-bottom: 3px; }
.tc-welcome-block p  { font-size: 0.78rem; color: rgba(255,255,255,0.50); margin: 0; }
.tc-welcome-block-actions { margin-left: auto; flex-shrink: 0; }

@media (max-width: 575.98px) {
  .tc-welcome-block { flex-wrap: wrap; }
  .tc-welcome-block-actions { margin-left: 0; width: 100%; }
}

[data-theme="light"] .tc-welcome-block,
[data-bs-theme="light"] .tc-welcome-block {
  background: rgba(248,93,35,0.04);
}
[data-theme="light"] .tc-welcome-block h2,
[data-bs-theme="light"] .tc-welcome-block h2 { color: var(--tokencafe-text-dark); }
[data-theme="light"] .tc-welcome-block p,
[data-bs-theme="light"] .tc-welcome-block p { color: rgba(0,0,0,0.50); }

/* ── Seleção de opção (tipo de contrato, modelo, etc.) ── */
.tc-option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: border-color .18s, background .18s;
  margin-bottom: 8px;
  position: relative;
}
.tc-option-card:hover { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); }
.tc-option-card.selected {
  border-color: rgba(248,93,35,0.42);
  background: rgba(248,93,35,0.08);
}

.tc-option-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.tc-option-icon--green   { background: rgba(34,197,94,0.10);  color: #4ade80; }
.tc-option-icon--blue    { background: rgba(59,130,246,0.10);  color: #60a5fa; }
.tc-option-icon--orange  { background: rgba(248,93,35,0.12);   color: var(--tokencafe-primary); }
.tc-option-icon--purple  { background: rgba(168,85,247,0.10);  color: #c084fc; }
/* Bootstrap-alias variants */
.tc-option-icon--success { background: rgba(34,197,94,0.10);  color: #4ade80; }
.tc-option-icon--info    { background: rgba(59,130,246,0.10);  color: #60a5fa; }
.tc-option-icon--warning { background: rgba(234,179,8,0.12);   color: #facc15; }
.tc-option-icon--danger  { background: rgba(239,68,68,0.10);   color: #f87171; }

/* Painel de características do contrato selecionado (inline, abaixo) */
.tc-contract-info-panel {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.60);
}

/* ── Cards de seleção de modelo de contrato (layout 2 colunas) ── */
.tc-contract-pick {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.tc-contract-pick:hover { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); }
.tc-contract-pick.selected {
  border-color: rgba(248,93,35,0.45);
  background: rgba(248,93,35,0.06);
}
.tc-contract-pick-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-top: 1px;
}
.tc-contract-pick-body { flex: 1 1 0; min-width: 0; }
.tc-contract-pick-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 3px;
}
.tc-contract-pick-desc {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.4;
  margin-bottom: 0;
}
.tc-contract-pick-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 0 0 210px;
  width: 210px;
}
.tc-contract-pick-features li {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.60);
  display: flex;
  align-items: center;
  gap: 6px;
}
.tc-contract-pick-features li i { color: #4ade80; font-size: 0.82rem; flex-shrink: 0; }
.tc-contract-pick-check {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.12);
  flex-shrink: 0;
  margin-top: 1px;
  transition: color .18s;
}
.tc-contract-pick.selected .tc-contract-pick-check { color: var(--tokencafe-primary, #f85d23); }
@media (max-width: 575px) {
  .tc-contract-pick { flex-wrap: wrap; }
  .tc-contract-pick-features { flex: 0 0 100%; width: 100%; flex-direction: row; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; margin-left: 60px; }
}

/* Painel lateral de características */
.tc-contract-info-side {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.tc-contract-info-side-header {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tokencafe-primary, #f85d23);
  background: rgba(248,93,35,0.06);
  letter-spacing: .02em;
}
.tc-contract-info-side-body {
  padding: 14px 16px;
  border-radius: 0;
  border: none;
  background: transparent;
}

[data-theme="light"] .tc-contract-pick,
[data-bs-theme="light"] .tc-contract-pick { border-color: rgba(0,0,0,0.08); background: rgba(0,0,0,0.02); }
[data-theme="light"] .tc-contract-pick:hover,
[data-bs-theme="light"] .tc-contract-pick:hover { border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.04); }
[data-theme="light"] .tc-contract-pick-name,
[data-bs-theme="light"] .tc-contract-pick-name { color: var(--tokencafe-text-dark); }
[data-theme="light"] .tc-contract-pick-desc,
[data-bs-theme="light"] .tc-contract-pick-desc { color: rgba(0,0,0,0.50); }
[data-theme="light"] .tc-contract-pick-features li,
[data-bs-theme="light"] .tc-contract-pick-features li { color: rgba(0,0,0,0.60); }
[data-theme="light"] .tc-contract-info-side,
[data-bs-theme="light"] .tc-contract-info-side { border-color: rgba(0,0,0,0.10); background: rgba(0,0,0,0.01); }
[data-theme="light"] .tc-contract-info-side-header,
[data-bs-theme="light"] .tc-contract-info-side-header { border-bottom-color: rgba(0,0,0,0.08); background: rgba(248,93,35,0.05); }

.tc-option-body { flex: 1; min-width: 0; }
.tc-option-name { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.92); margin-bottom: 3px; }
.tc-option-desc { font-size: 0.74rem; color: rgba(255,255,255,0.50); line-height: 1.35; }

.tc-option-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.tc-option-tag {
  font-size: 0.62rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.58);
}

.tc-option-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: transparent;
}
.tc-option-card.selected .tc-option-check {
  background: var(--tokencafe-primary);
  border-color: var(--tokencafe-primary);
  color: #fff;
}

[data-theme="light"] .tc-option-card,
[data-bs-theme="light"] .tc-option-card { border-color: rgba(0,0,0,0.08); background: rgba(0,0,0,0.02); }
[data-theme="light"] .tc-option-card:hover,
[data-bs-theme="light"] .tc-option-card:hover { border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.04); }
[data-theme="light"] .tc-option-name,
[data-bs-theme="light"] .tc-option-name { color: var(--tokencafe-text-dark); }
[data-theme="light"] .tc-option-desc,
[data-bs-theme="light"] .tc-option-desc { color: rgba(0,0,0,0.50); }

/* ── Campos de formulário redesenhados ── */
.tc-field { margin-bottom: 1.1rem; }

.tc-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  margin-bottom: 4px;
}
.tc-field-hint-top {
  display: block;
  font-size: 0.71rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 7px;
  margin-top: -1px;
  line-height: 1.3;
}
.tc-field-hint  { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 5px; }
.tc-field-hint--mono { font-family: var(--font-mono); }
.tc-field-error { font-size: 0.7rem; color: #f87171; margin-top: 5px; }
.tc-field-ok    { font-size: 0.7rem; color: #4ade80; margin-top: 5px; }

.tc-field-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  font-family: inherit;
}
.tc-field-input::placeholder { color: rgba(255,255,255,0.25); }
.tc-field-input:focus {
  border-color: rgba(248,93,35,0.55);
  box-shadow: 0 0 0 3px rgba(248,93,35,0.11);
  background: rgba(255,255,255,0.06);
}
.tc-field-input--filled { border-color: rgba(34,197,94,0.35) !important; }
.tc-field-input--error  { border-color: rgba(239,68,68,0.50) !important; }
.tc-field-input--mono   { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: .03em; }

.tc-field-select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color .18s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.tc-field-select:focus { border-color: rgba(248,93,35,0.55); box-shadow: 0 0 0 3px rgba(248,93,35,0.11); }
.tc-field-select option { background: #1e293b; color: #fff; }

.tc-field-input-wrap { position: relative; }
.tc-field-input-wrap .tc-field-input { padding-right: 40px; }
.tc-field-input-action {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  color: rgba(255,255,255,0.38);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color .16s;
}
.tc-field-input-action:hover { color: rgba(255,255,255,0.75); }

[data-theme="light"] .tc-field-label,
[data-bs-theme="light"] .tc-field-label { color: rgba(0,0,0,0.75); }
[data-theme="light"] .tc-field-hint-top,
[data-theme="light"] .tc-field-hint,
[data-bs-theme="light"] .tc-field-hint-top,
[data-bs-theme="light"] .tc-field-hint { color: rgba(0,0,0,0.45); }
[data-theme="light"] .tc-field-input,
[data-bs-theme="light"] .tc-field-input {
  background: #fff;
  border-color: #cbd5e1;
  color: var(--tokencafe-text-dark);
}
[data-theme="light"] .tc-field-input::placeholder,
[data-bs-theme="light"] .tc-field-input::placeholder { color: rgba(0,0,0,0.30); }
[data-theme="light"] .tc-field-select,
[data-bs-theme="light"] .tc-field-select {
  background-color: #fff;
  border-color: #cbd5e1;
  color: var(--tokencafe-text-dark);
}

/* ── Toggle switch ── */
.tc-toggle-wrap { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.tc-toggle-track {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  transition: background .2s;
  flex-shrink: 0;
}
.tc-toggle-track.is-on { background: rgba(248,93,35,0.42); border-color: rgba(248,93,35,0.55); }
.tc-toggle-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.tc-toggle-track.is-on .tc-toggle-thumb { transform: translateX(18px); }
.tc-toggle-label { font-size: 0.82rem; color: rgba(255,255,255,0.75); }

[data-theme="light"] .tc-toggle-label,
[data-bs-theme="light"] .tc-toggle-label { color: rgba(0,0,0,0.65); }

/* ── Barra de ações do formulário (rodapé do card) ── */
.tc-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1.1rem 1.4rem;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-radius: 0 0 16px 16px;
  margin: 1.4rem -1.5rem -1.4rem;
  flex-wrap: wrap;
}
.tc-form-actions .tc-spacer { flex: 1; }

[data-theme="light"] .tc-form-actions,
[data-bs-theme="light"] .tc-form-actions {
  background: rgba(0,0,0,0.02);
  border-top-color: rgba(0,0,0,0.07);
}

/* ── Botões do Design System ─────────────────────────────────────────────────
   Cada variante é auto-suficiente: use apenas tc-btn-primary-ds (sem tc-btn).
   tc-btn-lg-ds e tc-btn-sm-ds são modificadores de tamanho — combináveis.
   ─────────────────────────────────────────────────────────────────────────── */
.tc-btn,
.tc-btn-primary-ds,
.tc-btn-secondary-ds,
.tc-btn-danger-ds,
.tc-btn-success-ds,
.tc-btn-clear-ds,
.tc-btn-home-ds,
.tc-btn-test-ds,
.tc-btn-cancel-ds {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: filter .18s, box-shadow .18s, background .18s;
  white-space: nowrap;
  font-family: inherit;
}
/* Disabled para todas as variantes */
.tc-btn:disabled,           .tc-btn[disabled],
.tc-btn-primary-ds:disabled,   .tc-btn-primary-ds[disabled],
.tc-btn-secondary-ds:disabled, .tc-btn-secondary-ds[disabled],
.tc-btn-danger-ds:disabled,    .tc-btn-danger-ds[disabled],
.tc-btn-success-ds:disabled,   .tc-btn-success-ds[disabled],
.tc-btn-clear-ds:disabled,     .tc-btn-clear-ds[disabled],
.tc-btn-home-ds:disabled,      .tc-btn-home-ds[disabled],
.tc-btn-test-ds:disabled,      .tc-btn-test-ds[disabled],
.tc-btn-cancel-ds:disabled,    .tc-btn-cancel-ds[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.tc-btn-primary-ds {
  background: rgba(255,255,255,0.05);
  color: var(--tokencafe-primary, #f85d23);
  border: 1px solid rgba(248,93,35,0.35);
  transition: background .18s, border-color .18s, color .18s, box-shadow .18s;
}
.tc-btn-primary-ds:hover {
  background: var(--tokencafe-primary);
  color: #fff;
  border-color: var(--tokencafe-primary);
  box-shadow: 0 4px 18px rgba(248,93,35,0.38);
}
[data-theme="light"] .tc-btn-primary-ds,
[data-bs-theme="light"] .tc-btn-primary-ds { background: rgba(0,0,0,0.03); border-color: rgba(248,93,35,0.40); }
[data-theme="light"] .tc-btn-primary-ds:hover,
[data-bs-theme="light"] .tc-btn-primary-ds:hover { background: var(--tokencafe-primary); color: #fff; }
.tc-btn-secondary-ds {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.12);
}
.tc-btn-secondary-ds:hover { background: rgba(255,255,255,0.10); color: #fff; }
.tc-btn-danger-ds {
  background: rgba(239,68,68,0.08);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.25);
}
.tc-btn-danger-ds:hover { background: rgba(239,68,68,0.15); }
.tc-btn-success-ds {
  background: rgba(34,197,94,0.10);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.28);
}
.tc-btn-lg-ds { padding: 11px 24px; font-size: 0.92rem; border-radius: 11px; }
.tc-btn-sm-ds { padding: 6px 12px; font-size: 0.75rem; border-radius: 8px; }
.tc-btn:disabled, .tc-btn[disabled] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ── Botões semânticos com hover colorido ── */
/* Limpar: cinza com texto/ícone vermelho → hover: fundo vermelho, texto branco */
.tc-btn-clear-ds {
  background: rgba(255,255,255,0.05);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.22);
  transition: background .18s, border-color .18s, color .18s;
}
.tc-btn-clear-ds:hover { background: #ef4444; color: #fff; border-color: #ef4444; }

/* Início/Home: cinza com texto/ícone verde → hover: fundo verde, texto branco */
.tc-btn-home-ds {
  background: rgba(255,255,255,0.05);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.22);
  transition: background .18s, border-color .18s, color .18s;
}
.tc-btn-home-ds:hover { background: #22c55e; color: #fff; border-color: #22c55e; }

/* Testar: cinza com texto/ícone azul → hover: fundo azul, texto branco */
.tc-btn-test-ds {
  background: rgba(255,255,255,0.05);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.22);
  transition: background .18s, border-color .18s, color .18s;
}
.tc-btn-test-ds:hover { background: #3b82f6; color: #fff; border-color: #3b82f6; }

/* Cancelar/Voltar: cinza neutro → hover: cinza escuro */
.tc-btn-cancel-ds {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.60);
  border: 1px solid rgba(255,255,255,0.14);
  transition: background .18s, color .18s;
}
.tc-btn-cancel-ds:hover { background: rgba(255,255,255,0.12); color: #fff; }

[data-theme="light"] .tc-btn-secondary-ds,
[data-bs-theme="light"] .tc-btn-secondary-ds {
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.70);
  border-color: rgba(0,0,0,0.12);
}
[data-theme="light"] .tc-btn-secondary-ds:hover,
[data-bs-theme="light"] .tc-btn-secondary-ds:hover { background: rgba(0,0,0,0.08); color: #000; }
[data-theme="light"] .tc-btn-clear-ds  { background: rgba(0,0,0,0.04); border-color: rgba(239,68,68,0.30); }
[data-theme="light"] .tc-btn-home-ds   { background: rgba(0,0,0,0.04); border-color: rgba(34,197,94,0.30); }
[data-theme="light"] .tc-btn-test-ds   { background: rgba(0,0,0,0.04); border-color: rgba(59,130,246,0.30); }
[data-theme="light"] .tc-btn-cancel-ds { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.14); color: rgba(0,0,0,0.55); }

/* ── Botões do header (theme, language, controles) ── */
.tc-hdr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  gap: 4px;
}
.tc-hdr-btn:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.22); }
.tc-hdr-btn-danger { color: #f87171; border-color: rgba(239,68,68,0.22); }
.tc-hdr-btn-danger:hover { background: rgba(239,68,68,0.18); color: #fff; border-color: rgba(239,68,68,0.45); }
.tc-hdr-btn-success { color: #4ade80; border-color: rgba(34,197,94,0.22); }
.tc-hdr-btn-success:hover { background: rgba(34,197,94,0.18); color: #fff; border-color: rgba(34,197,94,0.45); }
[data-theme="light"] .tc-hdr-btn {
  background: rgba(0,0,0,0.05); color: rgba(0,0,0,0.60); border-color: rgba(0,0,0,0.12);
}
[data-theme="light"] .tc-hdr-btn:hover { background: rgba(0,0,0,0.10); color: #000; }

/* ── Badge de status (Verificado, etc.) ── */
.badge-verif-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Linhas de informação (carteira, contrato detalhes) ── */
.tc-data-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  min-height: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tc-data-row:last-child { border-bottom: none; }
.tc-data-label { font-size: 0.82rem; color: rgba(255,255,255,0.48); min-width: 150px; flex-shrink: 0; }
/* ── Sistema tc-data-value ─────────────────────────────────────────────────────
   Cada modificador é auto-suficiente: use apenas o modificador sem repetir a
   classe base. Ex: class="tc-data-value--url"
   Combinação: class="tc-data-value--mono tc-data-value--accent"  ✓
   ─────────────────────────────────────────────────────────────────────────── */

/* Propriedades base compartilhadas por base + todos os modificadores */
.tc-data-value,
.tc-data-value--mono,
.tc-data-value--accent,
.tc-data-value--success,
.tc-data-value--url {
  font-size: 0.90rem;
  font-family: var(--font-main);
  font-weight: 600;
  flex: 1;
  word-break: break-all;
}

/* Âncoras com qualquer variante não têm sublinhado padrão */
a.tc-data-value,
a.tc-data-value--mono,
a.tc-data-value--accent,
a.tc-data-value--success,
a.tc-data-value--url { text-decoration: none; }

/* Base: cor padrão */
.tc-data-value { color: rgba(255,255,255,0.92); }

/* --mono: endereços e hashes — espaçamento mnemônico */
.tc-data-value--mono { color: rgba(255,255,255,0.92); letter-spacing: 0.01em; }

/* --accent: cor de destaque primária; combina com --mono */
.tc-data-value--accent { color: var(--tokencafe-primary); }

/* --success: confirmação / valor positivo */
.tc-data-value--success { color: #4ade80; }

/* --url: link clicável na cor do explorer */
.tc-data-value--url { color: var(--tokencafe-info-light); cursor: pointer; }
.tc-data-value--url:hover { color: #93c5fd; text-decoration: underline; }
/* URL vazia ou placeholder (#): cinza sem cursor */
.tc-data-value--url[href="#"],
.tc-data-value--url:not([href]) { color: rgba(255,255,255,0.40); cursor: default; }
[data-theme="light"] .tc-data-value--url,
[data-bs-theme="light"] .tc-data-value--url { color: var(--tokencafe-info-dark); }
.tc-data-actions { display: flex; gap: 5px; flex-shrink: 0; }

/* ── Botão ícone DS — base (linhas de dados) ── */
.tc-icon-btn-ds {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.80rem;
  transition: all .16s;
  padding: 0;
  flex-shrink: 0;
}
/* ── Botão ícone DS — maior dentro de campos de formulário ── */
.tc-field .tc-icon-btn-ds {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 0.92rem;
}
.tc-icon-btn-ds:hover {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
/* ── Cores base (ícone colorido, borda/fundo neutros) ── */
.tc-icon-btn-ds.tc-action-info     { color: #60a5fa; }
.tc-icon-btn-ds.tc-action-clear    { color: #f87171; }
.tc-icon-btn-ds.tc-action-copy     { color: #fbbf24; }
.tc-icon-btn-ds.tc-action-search   { color: #a78bfa; }
.tc-icon-btn-ds.tc-action-explorer { color: #67e8f9; }
.tc-icon-btn-ds.tc-action-whatsapp { color: #25d366; }
.tc-icon-btn-ds.tc-action-telegram { color: #29a8e8; }
.tc-icon-btn-ds.tc-action-email    { color: #f87171; }
.tc-icon-btn-ds.tc-action-wallet   { color: var(--tokencafe-primary); }

/* ── Hover: borda + fundo na cor do ícone ── */
.tc-icon-btn-ds.tc-action-info:hover     { color: #60a5fa;                    border-color: rgba(96,165,250,0.50);   background: rgba(96,165,250,0.10); }
.tc-icon-btn-ds.tc-action-clear:hover    { color: #f87171;                    border-color: rgba(248,113,113,0.50);  background: rgba(248,113,113,0.10); }
.tc-icon-btn-ds.tc-action-copy:hover     { color: #fbbf24;                    border-color: rgba(251,191,36,0.50);   background: rgba(251,191,36,0.10); }
.tc-icon-btn-ds.tc-action-search:hover   { color: #a78bfa;                    border-color: rgba(167,139,250,0.50);  background: rgba(167,139,250,0.10); }
.tc-icon-btn-ds.tc-action-explorer:hover { color: #67e8f9;                    border-color: rgba(103,232,249,0.50);  background: rgba(103,232,249,0.08); }
.tc-icon-btn-ds.tc-action-whatsapp:hover { color: #25d366;                    border-color: rgba(37,211,102,0.50);   background: rgba(37,211,102,0.10); }
.tc-icon-btn-ds.tc-action-telegram:hover { color: #29a8e8;                    border-color: rgba(41,168,232,0.50);   background: rgba(41,168,232,0.10); }
.tc-icon-btn-ds.tc-action-email:hover    { color: #f87171;                    border-color: rgba(248,113,113,0.50);  background: rgba(248,113,113,0.10); }
.tc-icon-btn-ds.tc-action-wallet:hover   { color: var(--tokencafe-primary);   border-color: rgba(248,93,35,0.55);    background: rgba(248,93,35,0.10); }

[data-theme="light"] .tc-data-row,
[data-bs-theme="light"] .tc-data-row { border-bottom-color: rgba(0,0,0,0.06); }
[data-theme="light"] .tc-data-label,
[data-bs-theme="light"] .tc-data-label { color: rgba(0,0,0,0.48); }
[data-theme="light"] .tc-data-value,
[data-bs-theme="light"] .tc-data-value,
[data-theme="light"] .tc-data-value--mono,
[data-bs-theme="light"] .tc-data-value--mono { color: var(--tokencafe-text-dark); }
[data-theme="light"] .tc-icon-btn-ds,
[data-bs-theme="light"] .tc-icon-btn-ds {
  border-color: rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.50);
  background: rgba(0,0,0,0.02);
}
/* Light theme — base: ícone colorido, hover: borda + fundo */
[data-theme="light"] .tc-icon-btn-ds:hover,
[data-bs-theme="light"] .tc-icon-btn-ds:hover { border-color: rgba(0,0,0,0.30); color: #000; background: rgba(0,0,0,0.06); }
[data-theme="light"] .tc-icon-btn-ds.tc-action-info,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-info     { color: #2563eb; }
[data-theme="light"] .tc-icon-btn-ds.tc-action-info:hover,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-info:hover { color: #2563eb; border-color: rgba(37,99,235,0.50); background: rgba(37,99,235,0.07); }
[data-theme="light"] .tc-icon-btn-ds.tc-action-clear,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-clear    { color: #dc2626; }
[data-theme="light"] .tc-icon-btn-ds.tc-action-clear:hover,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-clear:hover { color: #dc2626; border-color: rgba(220,38,38,0.50); background: rgba(220,38,38,0.07); }
[data-theme="light"] .tc-icon-btn-ds.tc-action-copy,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-copy     { color: #d97706; }
[data-theme="light"] .tc-icon-btn-ds.tc-action-copy:hover,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-copy:hover { color: #d97706; border-color: rgba(217,119,6,0.50); background: rgba(217,119,6,0.07); }
[data-theme="light"] .tc-icon-btn-ds.tc-action-search,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-search   { color: #7c3aed; }
[data-theme="light"] .tc-icon-btn-ds.tc-action-search:hover,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-search:hover { color: #7c3aed; border-color: rgba(124,58,237,0.50); background: rgba(124,58,237,0.07); }
[data-theme="light"] .tc-icon-btn-ds.tc-action-explorer,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-explorer { color: #0891b2; }
[data-theme="light"] .tc-icon-btn-ds.tc-action-explorer:hover,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-explorer:hover { color: #0891b2; border-color: rgba(8,145,178,0.45); background: rgba(8,145,178,0.07); }
[data-theme="light"] .tc-icon-btn-ds.tc-action-whatsapp,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-whatsapp { color: #16a34a; }
[data-theme="light"] .tc-icon-btn-ds.tc-action-whatsapp:hover,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-whatsapp:hover { color: #16a34a; border-color: rgba(22,163,74,0.45); background: rgba(22,163,74,0.07); }
[data-theme="light"] .tc-icon-btn-ds.tc-action-telegram,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-telegram { color: #0088cc; }
[data-theme="light"] .tc-icon-btn-ds.tc-action-telegram:hover,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-telegram:hover { color: #0088cc; border-color: rgba(0,136,204,0.45); background: rgba(0,136,204,0.07); }
[data-theme="light"] .tc-icon-btn-ds.tc-action-email,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-email    { color: #dc2626; }
[data-theme="light"] .tc-icon-btn-ds.tc-action-email:hover,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-email:hover { color: #dc2626; border-color: rgba(220,38,38,0.45); background: rgba(220,38,38,0.07); }
[data-theme="light"] .tc-icon-btn-ds.tc-action-wallet,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-wallet   { color: var(--tokencafe-primary); }
[data-theme="light"] .tc-icon-btn-ds.tc-action-wallet:hover,
[data-bs-theme="light"] .tc-icon-btn-ds.tc-action-wallet:hover { color: var(--tokencafe-primary); border-color: rgba(248,93,35,0.45); background: rgba(248,93,35,0.07); }

/* ── Chip de rede (blockchain) ── */
.tc-network-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.22);
  font-size: 0.78rem;
  font-weight: 600;
  color: #93c5fd;
}

/* ── Itens de lista RPC ── */
.tc-rpc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
  margin-bottom: 7px;
  transition: border-color .18s, background .18s;
}
.tc-rpc-row:hover { border-color: rgba(255,255,255,0.13); background: rgba(255,255,255,0.04); }
.tc-rpc-row.selected { border-color: rgba(34,197,94,0.30); background: rgba(34,197,94,0.05); }
.tc-rpc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.tc-rpc-dot--fast   { background: #22c55e; }
.tc-rpc-dot--ok     { background: #eab308; }
.tc-rpc-dot--slow   { background: #ef4444; }
.tc-rpc-url  { font-family: var(--font-mono); font-size: 0.75rem; color: rgba(255,255,255,0.65); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-rpc-ping { font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.45); padding-left: 8px; flex-shrink: 0; }
.tc-rpc-ping--fast { color: #4ade80; }
.tc-rpc-ping--ok   { color: #fbbf24; }
.tc-rpc-ping--slow { color: #f87171; }

[data-theme="light"] .tc-rpc-row,
[data-bs-theme="light"] .tc-rpc-row { border-color: rgba(0,0,0,0.08); background: rgba(0,0,0,0.02); }
[data-theme="light"] .tc-rpc-url,
[data-bs-theme="light"] .tc-rpc-url { color: rgba(0,0,0,0.60); }

/* ── Dark theme overrides para list-group dentro do RPC Manager ── */
#rpc-options-list .list-group-item {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
}
#rpc-options-list .list-group-item code { color: #60a5fa; font-size: 0.75rem; }
#rpc-options-list .list-group-item:hover { background: rgba(255,255,255,0.06); }
[data-theme="light"] #rpc-options-list .list-group-item,
[data-bs-theme="light"] #rpc-options-list .list-group-item {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.75);
}

/* ── Abas (tabs) das páginas internas ── */
.tc-page-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  max-width: 100%;
}
.tc-page-tab {
  padding: 7px 16px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.50);
  transition: all .16s;
  font-family: inherit;
  white-space: nowrap;
}
.tc-page-tab:hover    { color: #fff; background: rgba(255,255,255,0.05); }
.tc-page-tab.is-active { background: var(--tokencafe-primary); color: #fff; box-shadow: 0 2px 8px rgba(248,93,35,0.28); }

[data-theme="light"] .tc-page-tabs,
[data-bs-theme="light"] .tc-page-tabs { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .tc-page-tab,
[data-bs-theme="light"] .tc-page-tab { color: rgba(0,0,0,0.50); }
[data-theme="light"] .tc-page-tab:hover,
[data-bs-theme="light"] .tc-page-tab:hover { color: #000; background: rgba(0,0,0,0.05); }

/* ── Caixa de sucesso ── */
.tc-success-box {
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}
.tc-success-box-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 2px solid rgba(34,197,94,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #22c55e;
  margin: 0 auto 1rem;
}
.tc-success-box h4 { font-size: 1.05rem; font-weight: 700; color: rgba(255,255,255,0.92); margin-bottom: 6px; }
.tc-success-box p  { font-size: 0.8rem; color: rgba(255,255,255,0.50); margin-bottom: 1rem; }
.tc-success-box-address {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  text-align: left;
}
.tc-success-box-address span { font-family: var(--font-mono); font-size: 0.78rem; color: rgba(255,255,255,0.85); flex: 1; word-break: break-all; }

/* ── Barra de loading (deploy/processando) ── */
.tc-loading-bar {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--tokencafe-primary) 0%, #f59e0b 50%, var(--tokencafe-primary) 100%);
  background-size: 200% 100%;
  animation: tcLoadingSlide 1.4s ease-in-out infinite;
  margin-bottom: 1rem;
}
@keyframes tcLoadingSlide {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Caixa de processando ── */
.tc-processing-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem;
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 11px;
}
.tc-processing-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(59,130,246,0.25);
  border-top-color: #60a5fa;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}
.tc-processing-box-title { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.92); margin-bottom: 3px; }
.tc-processing-box-sub   { font-size: 0.74rem; color: rgba(255,255,255,0.50); }

/* ── Caixa de erro ── */
.tc-error-box {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.22);
  border-radius: 11px;
  padding: 1rem 1.2rem;
}
.tc-error-box-title { font-size: 0.85rem; font-weight: 600; color: #f87171; margin-bottom: 4px; }
.tc-error-box-sub   { font-size: 0.76rem; color: rgba(255,255,255,0.50); }

/* ── Separador de seção ── */
.tc-section-sep { border-color: rgba(255,255,255,0.07); margin: 0.5rem 0 1.25rem; }
[data-theme="light"] .tc-section-sep,
[data-bs-theme="light"] .tc-section-sep { border-color: rgba(0,0,0,0.08); }

/* ── Cabeçalho de seção dentro de uma página ── */
.tc-section-head { margin-bottom: 1rem; }
.tc-section-head-title    { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.92); margin-bottom: 2px; }
.tc-section-head-subtitle { font-size: 0.78rem; color: rgba(255,255,255,0.48); }

[data-theme="light"] .tc-section-head-title,
[data-bs-theme="light"] .tc-section-head-title { color: var(--tokencafe-text-dark); }
[data-theme="light"] .tc-section-head-subtitle,
[data-bs-theme="light"] .tc-section-head-subtitle { color: rgba(0,0,0,0.48); }

/* ── Ações rápidas (wallet, etc.) ── */
.tc-quick-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Status pills redesenhadas (dashboard) ── */
.tc-status-ds {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: default;
}
.tc-status-ds-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.tc-status-ds-label { color: rgba(255,255,255,0.48); font-weight: 400; margin-left: 2px; }
.tc-status-ds-value { color: rgba(255,255,255,0.92); }

.tc-status-ds--ok   { border-color: rgba(34,197,94,0.28);  background: rgba(34,197,94,0.06); }
.tc-status-ds--warn { border-color: rgba(234,179,8,0.30);  background: rgba(234,179,8,0.06); }
.tc-status-ds--off  { border-color: rgba(239,68,68,0.25);  background: rgba(239,68,68,0.05); }
.tc-status-ds--ok   .tc-status-ds-dot { background: #22c55e; }
.tc-status-ds--warn .tc-status-ds-dot { background: #eab308; }
.tc-status-ds--off  .tc-status-ds-dot { background: #ef4444; }

.tc-status-bar-ds { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.75rem; }

/* ── Animações globais ── */
@keyframes walletPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .35; }
}
@keyframes tcPulse {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.18); opacity: 0.15; }
}
@keyframes tcProgressPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

/* ── Módulo Em Breve ── */
[data-theme="light"] .tc-coming-soon-card h2 { color: #1a1a1a; }
[data-theme="light"] .tc-cs-progress { background: rgba(0,0,0,0.08); }

/* ── Estilos exclusivos da Landing Page (entrada5) ── */
.tc-entry5 {
  --tc5-gap: 1.5rem;
}
.tc-entry5 .tc-entry-kicker {
  align-self: flex-start;
}

.tc5-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tc5-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.tc-entry5 .tc-entry-link,
.tc-entry5 a.tc-entry-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s, font-weight .15s;
}
.tc-entry5 .tc-entry-link:hover,
.tc-entry5 a.tc-entry-link:hover {
  color: var(--tokencafe-primary, #f85d23);
  font-weight: 700;
}

.tc5-roadmap-footer {
  background: rgba(248,93,35,0.04);
  border: 1px dashed rgba(248,93,35,0.20);
  border-radius: 10px;
}
.tc5-roadmap-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,193,7,0.08);
  border-radius: 10px;
  font-size: 1.3rem;
}

.tc5-hero-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tc5-product-preview {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d0d;
}
.tc5-preview-header {
  background: #181818;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.tc5-preview-dots {
  display: flex;
  gap: 5px;
}
.tc5-preview-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: block;
}
.tc5-preview-body {
  background: #111;
}
.tc5-preview-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tc5-preview-value {
  color: #fff;
  font-size: 0.9rem;
  font-family: monospace;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 5px 10px;
  border-radius: 5px;
}

.tc5-stats-bar {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tc5-stat {
  padding: 1rem 0.5rem;
}
.tc5-stat-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.tc5-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tc5-use-tag {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}

.tc5-step-card {
  position: relative;
  padding-top: 2rem !important;
}
.tc5-step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  font-family: monospace;
}

.tc5-contract-card {
  position: relative;
}
.tc5-contract-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.5;
  white-space: nowrap;
}
.tc5-contract-icon {
  margin-bottom: 0;
}

.tc5-tool-card {
  transition: border-color .2s;
}
.tc5-tool-card--active {
  border-color: rgba(var(--bs-primary-rgb), 0.3) !important;
}
.tc5-tool-card--soon {
  opacity: 0.65;
}
.tc5-tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.tc5-comparison {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tc5-comparison-row {
  display: flex;
}
.tc5-comparison-col {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
}
.tc5-comparison-col:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.tc5-comparison-row:last-child .tc5-comparison-col {
  border-bottom: none;
}
.tc5-comparison-col--bad {
  background: rgba(220, 53, 69, 0.04);
  color: rgba(255, 255, 255, 0.5);
}
.tc5-comparison-col--good {
  background: rgba(25, 135, 84, 0.05);
  color: rgba(255, 255, 255, 0.85);
}
.tc5-comparison-header .tc5-comparison-col {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, 0.6);
}

.tc5-price-card {
  border-radius: 12px;
}
.tc5-price-card--highlight {
  border-color: rgba(var(--bs-primary-rgb), 0.4) !important;
  background: rgba(var(--bs-primary-rgb), 0.04) !important;
}
.tc5-price-highlight {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}
.tc5-price-highlight--free {
  color: #198754;
}
.tc5-price-icon {
  line-height: 1;
}
.tc5-price-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tc5-price-badge--paid  { background: rgba(248,93,35,0.12);  color: var(--tokencafe-primary, #f85d23); }
.tc5-price-badge--free  { background: rgba(25,135,84,0.15);  color: #198754; }
.tc5-price-badge--info  { background: rgba(13,202,240,0.15); color: #0dcaf0; }
.tc5-price-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
}
.tc5-price-item:last-child { border-bottom: none; }
.tc5-price-item i { flex-shrink: 0; margin-top: 1px; }

.tc5-accordion .accordion-button::after {
  filter: invert(1) opacity(0.5);
}
.tc5-accordion .accordion-button:not(.collapsed) {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.tc5-final-cta {
  background: linear-gradient(135deg, rgba(13,110,253,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border-color: rgba(13,110,253,0.2) !important;
}

.tc5-section {
  scroll-margin-top: 80px;
}

[data-theme="light"] .tc5-trust-badge,
[data-bs-theme="light"] .tc5-trust-badge {
  background: rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.12) !important;
  color: rgba(0,0,0,0.80) !important;
}
[data-theme="light"] .tc-entry5 .tc-entry-link,
[data-bs-theme="light"] .tc-entry5 .tc-entry-link,
[data-theme="light"] .tc-entry5 a.tc-entry-link,
[data-bs-theme="light"] .tc-entry5 a.tc-entry-link {
  color: rgba(0,0,0,0.55) !important;
}
[data-theme="light"] .tc-entry5 .tc-entry-link:hover,
[data-bs-theme="light"] .tc-entry5 .tc-entry-link:hover,
[data-theme="light"] .tc-entry5 a.tc-entry-link:hover,
[data-bs-theme="light"] .tc-entry5 a.tc-entry-link:hover {
  color: var(--tokencafe-primary-dark, #b43d10) !important;
  font-weight: 700 !important;
}
[data-theme="light"] .tc5-roadmap-footer,
[data-bs-theme="light"] .tc5-roadmap-footer {
  background: rgba(248,93,35,0.05) !important;
  border-color: rgba(248,93,35,0.20) !important;
}
[data-theme="light"] .tc5-hero-card,
[data-bs-theme="light"] .tc5-hero-card {
  background: #f1f5f9 !important;
  border-color: rgba(0,0,0,0.10) !important;
}
[data-theme="light"] .tc5-product-preview,
[data-bs-theme="light"] .tc5-product-preview {
  background: #1e293b !important;
  border-color: rgba(0,0,0,0.15) !important;
}
[data-theme="light"] .tc5-stats-bar,
[data-bs-theme="light"] .tc5-stats-bar {
  background: rgba(0,0,0,0.03) !important;
  border-top-color: rgba(0,0,0,0.07) !important;
  border-bottom-color: rgba(0,0,0,0.07) !important;
}
[data-theme="light"] .tc5-stat-label,
[data-bs-theme="light"] .tc5-stat-label {
  color: rgba(0,0,0,0.50) !important;
}
[data-theme="light"] .tc5-step-number,
[data-bs-theme="light"] .tc5-step-number {
  color: rgba(248,93,35,0.14) !important;
}
[data-theme="light"] .tc5-tool-icon,
[data-bs-theme="light"] .tc5-tool-icon {
  background: rgba(0,0,0,0.05) !important;
  border: 1px solid rgba(0,0,0,0.08);
}
[data-theme="light"] .tc5-comparison,
[data-bs-theme="light"] .tc5-comparison {
  border-color: rgba(0,0,0,0.10) !important;
}
[data-theme="light"] .tc5-comparison-col,
[data-bs-theme="light"] .tc5-comparison-col {
  border-bottom-color: rgba(0,0,0,0.07) !important;
}
[data-theme="light"] .tc5-comparison-col:first-child,
[data-bs-theme="light"] .tc5-comparison-col:first-child {
  border-right-color: rgba(0,0,0,0.07) !important;
}
[data-theme="light"] .tc5-comparison-col--bad,
[data-bs-theme="light"] .tc5-comparison-col--bad {
  background: rgba(220,53,69,0.05) !important;
  color: rgba(0,0,0,0.60) !important;
}
[data-theme="light"] .tc5-comparison-col--good,
[data-bs-theme="light"] .tc5-comparison-col--good {
  background: rgba(25,135,84,0.06) !important;
  color: rgba(0,0,0,0.85) !important;
}
[data-theme="light"] .tc5-price-item,
[data-bs-theme="light"] .tc5-price-item {
  color: rgba(0,0,0,0.70) !important;
  border-bottom-color: rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .tc5-accordion .accordion-button::after,
[data-bs-theme="light"] .tc5-accordion .accordion-button::after {
  filter: none !important;
  opacity: 0.6 !important;
}
[data-theme="light"] .tc5-accordion .accordion-button:not(.collapsed),
[data-bs-theme="light"] .tc5-accordion .accordion-button:not(.collapsed) {
  color: var(--tokencafe-primary, #f85d23) !important;
  background: transparent !important;
}
[data-theme="light"] .tc5-final-cta,
[data-bs-theme="light"] .tc5-final-cta {
  background: linear-gradient(135deg, rgba(13,110,253,0.05) 0%, rgba(0,0,0,0.02) 100%) !important;
  border-color: rgba(13,110,253,0.18) !important;
}
[data-theme="light"] .tc5-tool-card--active,
[data-bs-theme="light"] .tc5-tool-card--active {
  border-color: rgba(248,93,35,0.25) !important;
}

@media (max-width: 767px) {
  .tc-entry5 .tc-entry-h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    line-height: 1.2;
  }
  .tc-entry5 .tc-entry-h1 br { display: none; }
  .tc-entry5 .tc-entry-lead { font-size: 0.95rem; }
  .tc-entry5 .tc-entry-hero-copy .d-flex.flex-wrap.gap-3 { flex-direction: column; }
  .tc-entry5 .tc-entry-hero-copy .btn { width: 100%; min-height: 48px; }
  .tc5-hero-card { display: none !important; }
  .tc-entry5 .col-lg-4.d-flex { display: none !important; }
  .tc5-trust-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .tc5-trust-badge { font-size: 0.78rem; padding: 0.45rem 0.6rem; }
  .tc-entry-flow { flex-direction: column !important; gap: 0.5rem !important; align-items: flex-start !important; }
  .tc-entry-flow-arrow { transform: rotate(90deg); }
  .tc5-step-card { margin-bottom: 0.75rem; }
  .tc5-contracts-grid { grid-template-columns: 1fr !important; }
  .tc5-tools-grid { grid-template-columns: 1fr 1fr !important; gap: 0.6rem !important; }
  .tc5-tool-card { padding: 0.85rem 0.65rem !important; }
  .tc5-tool-icon { width: 36px !important; height: 36px !important; font-size: 1rem !important; }
  .tc5-tool-title { font-size: 0.78rem !important; }
  .tc5-tool-desc { display: none !important; }
  .tc5-roadmap-list { gap: 0.6rem !important; }
  .tc5-final-cta .btn { width: 100% !important; }
  .tc-entry5 .tc5-section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .tc-entry-sticky-cta-actions .btn { padding: 0.5rem 1rem; font-size: 0.85rem; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .tc-entry5 .tc-entry-h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
  .tc5-contracts-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ============================================================================
   SISTEMA UNIFICADO — CLASSES DE COMPONENTE (UNIFICAÇÃO E COMPLETAÇÃO)
   Adicionadas para eliminar inline styles e padronizar todos os módulos.
   ============================================================================ */

/* ── Loading Box (status de deploy / processamento) ── */
.tc-loading-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.tc-loading-box-text { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
[data-theme="light"] .tc-loading-box,
[data-bs-theme="light"] .tc-loading-box { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .tc-loading-box-text,
[data-bs-theme="light"] .tc-loading-box-text { color: rgba(0,0,0,0.70); }

/* ── Módulo Em Breve — classes completas ── */
.tc-coming-soon-wrap {
  min-height: 70vh;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-coming-soon-card { max-width: 480px; width: 100%; text-align: center; }
.tc-cs-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--tokencafe-primary-10);
  border: 2px solid var(--tokencafe-primary-25);
}
.tc-cs-icon-wrap > i { font-size: 2.6rem; color: var(--tokencafe-primary); }
.tc-cs-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(248,93,35,0.35);
  animation: tcPulse 2s ease-in-out infinite;
}
.tc-cs-badge {
  background: var(--tokencafe-primary-15);
  color: var(--tokencafe-primary);
  border: 1px solid var(--tokencafe-primary-25);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.tc-cs-title    { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 700; }
.tc-cs-desc     { color: rgba(255,255,255,0.60); font-size: 0.95rem; line-height: 1.65; }
.tc-cs-progress { background: rgba(255,255,255,0.08); border-radius: 99px; height: 6px; overflow: hidden; }
.tc-cs-progress-bar {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--tokencafe-primary), var(--tokencafe-primary-40));
  border-radius: 99px;
  animation: tcProgressPulse 2.5s ease-in-out infinite;
}
.tc-cs-footer-text { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
[data-theme="light"] .tc-cs-desc,
[data-bs-theme="light"] .tc-cs-desc         { color: rgba(0,0,0,0.55); }
[data-theme="light"] .tc-cs-footer-text,
[data-bs-theme="light"] .tc-cs-footer-text  { color: rgba(0,0,0,0.35); }

/* ── Estado vazio da carteira ── */
.tc-wallet-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.tc-wallet-empty-desc { font-size: 0.83rem; color: rgba(255,255,255,0.45); max-width: 320px; margin: 0 auto; }
.tc-guest-desc { font-size: 0.95rem; max-width: 380px; }
[data-theme="light"] .tc-wallet-empty-desc,
[data-bs-theme="light"] .tc-wallet-empty-desc { color: rgba(0,0,0,0.45); }

/* ── Caixa de aviso (warning) ── */
.tc-warning-box {
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.25);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.80);
}
.tc-warning-box-icon { color: #facc15; }
[data-theme="light"] .tc-warning-box,
[data-bs-theme="light"] .tc-warning-box { color: rgba(0,0,0,0.75); }

/* ── Utilitários de texto e layout ──────────────────────────────────────────
   Hierarquia tipográfica TC (substitui .small e outras classes Bootstrap):
     .tc-data-value  → 0.90rem  valores principais nos cards
     .tc-data-label  → 0.82rem  rótulos/labels de campo
     .tc-note        → 0.82rem  texto auxiliar/secundário (substitui .small)
     .tc-label-caps  → 0.75rem  caps informativos (ex: categorias)
   ────────────────────────────────────────────────────────────────────────── */
.tc-status-text { font-size: 0.82rem; font-family: var(--font-main); color: rgba(255,255,255,0.50); }
/* Substituto do Bootstrap .small em contexto TC — mantém mesma fonte e tamanho padrão */
.tc-note        { font-size: 0.82rem; font-family: var(--font-main); color: rgba(255,255,255,0.55); }
.tc-text-sm     { font-size: 0.82rem; }
/* Labels de status inline (Conectado / Não conectado / Verificando) */
.tc-status-label { font-size: 0.82rem; font-family: var(--font-main); font-weight: 600; }
.tc-required    { color: #f87171; }
.tc-label-caps  { font-size: 0.75rem; font-family: var(--font-main); color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.tc-compat-text { font-size: 0.78rem; font-family: var(--font-main); color: rgba(255,255,255,0.50); }
.tc-divider-top { border-top: 1px solid rgba(255,255,255,0.07); }
/* Ícones de grupo no sidebar (compactos por design) */
.tc-sidebar-group-icon { font-size: 0.65rem; }
/* Header: chip de carteira */
.tc-wallet-chip        { font-size: 0.75rem; font-family: var(--font-main); background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.28) !important; cursor: pointer; }
.tc-wallet-chip-dot    { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex-shrink: 0; animation: walletPulse 2s infinite; display: inline-block; }
.tc-wallet-chip-addr   { color: rgba(255,255,255,0.85); }
.tc-wallet-chip-caret  { font-size: 0.55rem; color: rgba(255,255,255,0.40); }
/* Header: nota de dispositivo */
.tc-device-note { font-size: 0.60rem; font-family: var(--font-main); color: rgba(255,255,255,0.30); }
.tc-badge-module {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  font-size: 0.78rem;
}
[data-theme="light"] .tc-status-text,
[data-bs-theme="light"] .tc-status-text  { color: rgba(0,0,0,0.45); }
[data-theme="light"] .tc-note,
[data-bs-theme="light"] .tc-note         { color: rgba(0,0,0,0.50); }
[data-theme="light"] .tc-label-caps,
[data-bs-theme="light"] .tc-label-caps   { color: rgba(0,0,0,0.38); }
[data-theme="light"] .tc-compat-text,
[data-bs-theme="light"] .tc-compat-text  { color: rgba(0,0,0,0.50); }
[data-theme="light"] .tc-divider-top,
[data-bs-theme="light"] .tc-divider-top  { border-top-color: rgba(0,0,0,0.07); }
[data-theme="light"] .tc-badge-module,
[data-bs-theme="light"] .tc-badge-module { background: rgba(0,0,0,0.05); color: rgba(0,0,0,0.60); border-color: rgba(0,0,0,0.09); }

/* ── Variantes de status no badge-module (especificidade maior que tc-badge-module sozinho) ── */
.tc-badge-module.tc-status-ok   { color: #4ade80; border-color: rgba(74,222,128,0.25); background: rgba(74,222,128,0.08); }
.tc-badge-module.tc-status-warn { color: var(--tokencafe-primary); border-color: rgba(248,93,35,0.25); background: rgba(248,93,35,0.07); }
.tc-badge-module.tc-status-bad  { color: #f87171; border-color: rgba(239,68,68,0.25); background: rgba(239,68,68,0.08); }

/* ── Variantes de tamanho do ícone hero ── */
.tc-page-hero-icon--sm { width: 48px; height: 48px; border-radius: 14px; }
.tc-page-hero-icon--lg { width: 64px; height: 64px; border-radius: 18px; }

/* ── Dashboard conectado: boas-vindas ── */
.tc-welcome-title { font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.92); }
.tc-wallet-addr   { font-size: 0.78rem; font-family: var(--font-mono); color: rgba(255,255,255,0.45); }
[data-theme="light"] .tc-welcome-title,
[data-bs-theme="light"] .tc-welcome-title { color: var(--tokencafe-text-dark); }
[data-theme="light"] .tc-wallet-addr,
[data-bs-theme="light"] .tc-wallet-addr   { color: rgba(0,0,0,0.45); }

/* ── Prefixo de ícone em campo de formulário ── */
.tc-field-icon-prefix {
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.40);
}

/* ── Campo de código (textarea monospace + redimensionável) ── */
.tc-field-input--code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: .03em;
  resize: vertical;
}

/* ── tc-modal-icon: cada variante é auto-suficiente ── */
.tc-modal-icon,
.tc-modal-icon--success,
.tc-modal-icon--danger,
.tc-modal-icon--warning {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid;
}
.tc-modal-icon          { border-color: transparent; }
.tc-modal-icon--success { background: rgba(34,197,94,0.15);        border-color: rgba(34,197,94,0.35); }
.tc-modal-icon--danger  { background: rgba(239,68,68,0.15);         border-color: rgba(239,68,68,0.35); }
.tc-modal-icon--warning { background: var(--tokencafe-primary-10);  border-color: var(--tokencafe-primary-25); }

/* ── Modal Auth: opções de carteira ── */
.tc-wallet-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .18s, background .18s;
  text-align: left;
  color: rgba(255,255,255,0.92);
}
.tc-wallet-option:hover { background: var(--tokencafe-primary-05); border-color: var(--tokencafe-primary-30); }
.tc-wallet-option-icon  { width: 40px; height: 40px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tc-wallet-option-body  { flex: 1; min-width: 0; }
.tc-wallet-option-name  { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.92); }
.tc-wallet-option-desc  { font-size: 0.75rem; color: rgba(255,255,255,0.50); }
.tc-wallet-option-arrow { color: rgba(255,255,255,0.30); }
[data-theme="light"] .tc-wallet-option,
[data-bs-theme="light"] .tc-wallet-option       { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.10); color: var(--tokencafe-text-dark); }
[data-theme="light"] .tc-wallet-option:hover,
[data-bs-theme="light"] .tc-wallet-option:hover  { background: var(--tokencafe-primary-05); border-color: var(--tokencafe-primary-25); }
[data-theme="light"] .tc-wallet-option-name,
[data-bs-theme="light"] .tc-wallet-option-name   { color: var(--tokencafe-text-dark); }
[data-theme="light"] .tc-wallet-option-desc,
[data-bs-theme="light"] .tc-wallet-option-desc   { color: rgba(0,0,0,0.45); }

/* ── Modal Confirm: caixa de detalhes e mensagem ── */
.tc-modal-details-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 16px;
  text-align: left;
}
.tc-modal-details-label { font-size: 0.74rem; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.tc-modal-message-title { font-size: 0.95rem; font-weight: 700; color: rgba(255,255,255,0.92); margin-bottom: 4px; }
.tc-modal-message-desc  { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 0; }
[data-theme="light"] .tc-modal-details-box,
[data-bs-theme="light"] .tc-modal-details-box    { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.10); }
[data-theme="light"] .tc-modal-details-label,
[data-bs-theme="light"] .tc-modal-details-label  { color: rgba(0,0,0,0.45); }
[data-theme="light"] .tc-modal-message-title,
[data-bs-theme="light"] .tc-modal-message-title  { color: var(--tokencafe-text-dark); }
[data-theme="light"] .tc-modal-message-desc,
[data-bs-theme="light"] .tc-modal-message-desc   { color: rgba(0,0,0,0.55); }
