/* ============================================================
   TEMA CLARO — PAINEL DO CONSELHO (src/global/css/pages/conselho.css)
   Aprovações (Recrutas e Candidaturas), Membros & Dossiê,
   Honrarias Admin e Analytics / Métricas (Modo Escuro 100% intacto)
   ============================================================ */

/* ============================================================
   BLOCOS DE ACESSO RESTRITO (LOCKED STATES)
   ============================================================ */
html[data-theme="light"] #aprovacoes-locked .recruit-icon,
html[data-theme="light"] #membros-locked .recruit-icon,
html[data-theme="light"] #honrarias-admin-locked .recruit-icon,
html[data-theme="light"] #metricas-locked .recruit-icon {
  background: rgba(255, 255, 255, 0.42) !important;
  border-color: rgba(64, 64, 64, 0.24) !important;
}

/* ============================================================
   ENTRADAS, SELECTS E OPÇÕES GLOBAIS DO CONSELHO
   ============================================================ */
html[data-theme="light"] #search-aprovacoes-input,
html[data-theme="light"] #search-candidaturas-input,
html[data-theme="light"] #filter-candidaturas-area,
html[data-theme="light"] #search-membros-input,
html[data-theme="light"] #membros-per-page-select,
html[data-theme="light"] #search-honrarias-input,
html[data-theme="light"] #bulk-honraria-preset,
html[data-theme="light"] #bulk-honraria-custom,
html[data-theme="light"] #honrarias-per-page-select,
html[data-theme="light"] #honrarias-admin-unlocked select,
html[data-theme="light"] #honrarias-admin-unlocked input[type="text"],
html[data-theme="light"] #aprovacoes-unlocked select,
html[data-theme="light"] #metricas-content-area form input[type="text"],
html[data-theme="light"] #metricas-content-area form select,
html[data-theme="light"] #global-membros-context-menu select,
html[data-theme="light"] #membros-cargo-search-input {
  background: var(--input-bg) !important;
  color: var(--text-color) !important;
  border: 1px solid var(--input-border) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] #search-aprovacoes-input::placeholder,
html[data-theme="light"] #search-candidaturas-input::placeholder,
html[data-theme="light"] #search-membros-input::placeholder,
html[data-theme="light"] #search-honrarias-input::placeholder,
html[data-theme="light"] #bulk-honraria-custom::placeholder,
html[data-theme="light"] #honrarias-admin-unlocked input[type="text"]::placeholder,
html[data-theme="light"] #metricas-content-area form input[type="text"]::placeholder,
html[data-theme="light"] #membros-cargo-search-input::placeholder {
  color: #5c5c5c !important;
}

html[data-theme="light"] #search-aprovacoes-input:focus,
html[data-theme="light"] #search-candidaturas-input:focus,
html[data-theme="light"] #search-membros-input:focus,
html[data-theme="light"] #search-honrarias-input:focus,
html[data-theme="light"] #membros-cargo-search-input:focus,
html[data-theme="light"] #metricas-content-area form input[type="text"]:focus,
html[data-theme="light"] #metricas-content-area form select:focus {
  border-color: rgba(184, 59, 94, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(184, 59, 94, 0.12) !important;
}

html[data-theme="light"] #aprovacoes-unlocked option,
html[data-theme="light"] #membros-unlocked option,
html[data-theme="light"] #honrarias-admin-unlocked option,
html[data-theme="light"] #metricas-unlocked option,
html[data-theme="light"] #global-membros-context-menu option {
  background: #e6e3dc;
  color: #161616;
}

/* ============================================================
   BARRAS FLUTUANTES DE AÇÕES EM MASSA (BULK TOOLBARS)
   ============================================================ */
html[data-theme="light"] #recrutas-bulk-bar,
html[data-theme="light"] #candidaturas-bulk-bar,
html[data-theme="light"] #membros-bulk-bar {
  background: rgba(232, 229, 223, 0.96) !important;
  border: 1px solid rgba(64, 64, 64, 0.28) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16) !important;
  color: #161616 !important;
}

html[data-theme="light"] #recrutas-bulk-bar svg[stroke="#ffb6c1"],
html[data-theme="light"] #candidaturas-bulk-bar svg[stroke="#ffb6c1"] {
  stroke: var(--icon-sakura) !important;
  filter: none !important;
}

html[data-theme="light"] #membros-bulk-bar svg[stroke="#94a3b8"] {
  stroke: #475569 !important;
  filter: none !important;
}

html[data-theme="light"] #recrutas-bulk-bar [style*="#cbd5e1"],
html[data-theme="light"] #candidaturas-bulk-bar [style*="#cbd5e1"],
html[data-theme="light"] #membros-bulk-bar [style*="#cbd5e1"] {
  color: #262626 !important;
}

html[data-theme="light"] #recrutas-selected-count-number,
html[data-theme="light"] #candidaturas-selected-count-number {
  background: rgba(184, 59, 94, 0.14) !important;
  border-color: rgba(184, 59, 94, 0.42) !important;
  color: var(--icon-sakura) !important;
}

html[data-theme="light"] #membros-selected-count-number {
  background: rgba(0, 0, 0, 0.09) !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
  color: #161616 !important;
}

html[data-theme="light"] #recrutas-bulk-bar button[style*="#ef4444"],
html[data-theme="light"] #candidaturas-bulk-bar button[style*="#fca5a5"],
html[data-theme="light"] #candidaturas-bulk-bar button[onclick*="deleteCandidaturasSelecionadas"],
html[data-theme="light"] #membros-bulk-bar button[onclick*="expulsarMembrosSelecionados"] {
  color: #b91c1c !important;
  border-color: rgba(185, 28, 28, 0.42) !important;
  background: rgba(185, 28, 28, 0.1) !important;
}

html[data-theme="light"] #recrutas-bulk-bar button[style*="#ef4444"]:hover,
html[data-theme="light"] #candidaturas-bulk-bar button[onclick*="deleteCandidaturasSelecionadas"]:hover,
html[data-theme="light"] #membros-bulk-bar button[onclick*="expulsarMembrosSelecionados"]:hover {
  background: rgba(185, 28, 28, 0.18) !important;
  color: #991b1b !important;
}

html[data-theme="light"] #recrutas-bulk-bar button[style*="#22c55e"] {
  color: #0d7a4f !important;
  border-color: rgba(13, 122, 79, 0.45) !important;
  background: rgba(13, 122, 79, 0.1) !important;
}

html[data-theme="light"] #recrutas-bulk-bar button[style*="#22c55e"]:hover {
  background: rgba(13, 122, 79, 0.18) !important;
}

html[data-theme="light"] #candidaturas-bulk-bar button[onclick*="arquivado"],
html[data-theme="light"] #membros-bulk-bar button[onclick*="congelarMembrosSelecionados"] {
  color: #1f2937 !important;
  border-color: rgba(64, 64, 64, 0.3) !important;
  background: rgba(255, 255, 255, 0.55) !important;
}

html[data-theme="light"] #candidaturas-bulk-bar button[onclick*="arquivado"]:hover,
html[data-theme="light"] #membros-bulk-bar button[onclick*="congelarMembrosSelecionados"]:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #111111 !important;
}

html[data-theme="light"] #candidaturas-bulk-bar button[onclick*="em_analise"] {
  color: #0369a1 !important;
  border-color: rgba(3, 105, 161, 0.42) !important;
  background: rgba(3, 105, 161, 0.1) !important;
}

html[data-theme="light"] #candidaturas-bulk-bar button[onclick*="em_analise"]:hover {
  background: rgba(3, 105, 161, 0.18) !important;
  color: #075985 !important;
}

html[data-theme="light"] #recrutas-bulk-bar button[onclick*="clearRecrutasSelection"],
html[data-theme="light"] #candidaturas-bulk-bar button[onclick*="clearCandidaturasSelection"],
html[data-theme="light"] #membros-bulk-bar button[onclick*="clearMembrosSelection"] {
  color: #475569 !important;
}

html[data-theme="light"] #recrutas-bulk-bar button[onclick*="clearRecrutasSelection"]:hover,
html[data-theme="light"] #candidaturas-bulk-bar button[onclick*="clearCandidaturasSelection"]:hover,
html[data-theme="light"] #membros-bulk-bar button[onclick*="clearMembrosSelection"]:hover {
  color: #111111 !important;
}

/* ============================================================
   APROVAÇÕES — ABAS MESTRES, BUSCA, MONITOR DE FILA E FILTROS
   ============================================================ */
html[data-theme="light"] #master-tab-recrutas svg,
html[data-theme="light"] #master-tab-candidaturas svg {
  stroke: var(--icon-sakura) !important;
  fill: rgba(184, 59, 94, 0.18) !important;
  filter: none !important;
}

html[data-theme="light"] #master-count-recrutas,
html[data-theme="light"] #master-count-candidaturas {
  background: rgba(184, 59, 94, 0.14) !important;
  color: var(--icon-sakura) !important;
  border-color: rgba(184, 59, 94, 0.38) !important;
}

html[data-theme="light"] #aprovacoes-unlocked .search-bar svg[stroke="#ffb6c1"],
html[data-theme="light"] #candidaturas-view-wrapper svg[stroke="#ffb6c1"] {
  stroke: var(--icon-sakura) !important;
  filter: none !important;
}

html[data-theme="light"] #aprovacoes-queue-health {
  background: linear-gradient(145deg, rgba(226, 223, 217, 0.72) 0%, rgba(196, 194, 188, 0.56) 100%) !important;
  border: 1px solid rgba(64, 64, 64, 0.22) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] #aprovacoes-queue-health svg[stroke="#ffb6c1"] {
  stroke: var(--icon-sakura) !important;
  filter: none !important;
}

html[data-theme="light"] #aprovacoes-queue-health path[fill="#ffb6c1"] {
  fill: var(--icon-sakura) !important;
  fill-opacity: 0.2 !important;
}

html[data-theme="light"] #queue-occupancy-label {
  color: #333333 !important;
}

html[data-theme="light"] #btn-aprovacoes-push-toggle {
  border-color: rgba(184, 59, 94, 0.45) !important;
  color: var(--icon-sakura) !important;
  background: rgba(184, 59, 94, 0.1) !important;
}

html[data-theme="light"] #btn-aprovacoes-push-toggle:hover {
  background: rgba(184, 59, 94, 0.18) !important;
}

html[data-theme="light"] #btn-aprovacoes-push-toggle svg {
  filter: none !important;
}

html[data-theme="light"] #aprovacoes-queue-health div[style*="rgba(255,255,255,0.06)"] {
  background: rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
}

html[data-theme="light"] #queue-safety-status[style*="#22c55e"],
html[data-theme="light"] #queue-safety-status[style*="34, 197, 94"] {
  color: #0d7a4f !important;
}

html[data-theme="light"] #queue-safety-status[style*="#ffb6c1"],
html[data-theme="light"] #queue-safety-status[style*="255, 182, 193"] {
  color: var(--icon-sakura) !important;
}

html[data-theme="light"] #queue-safety-status[style*="#f59e0b"],
html[data-theme="light"] #queue-safety-status[style*="245, 158, 11"] {
  color: #b45309 !important;
}

html[data-theme="light"] #queue-safety-status[style*="#ef4444"],
html[data-theme="light"] #queue-safety-status[style*="239, 68, 68"] {
  color: #c81e1e !important;
}

/* Abas de Filtro (Recrutas e Candidaturas) */
html[data-theme="light"] #aprovacoes-filter-tabs span[style*="#ffffff"],
html[data-theme="light"] #candidaturas-filter-tabs span[style*="#ffffff"] {
  color: #161616 !important;
}

html[data-theme="light"] #aprovacoes-filter-tabs svg[stroke="#ffffff"] {
  stroke: #161616 !important;
  fill: rgba(22, 22, 22, 0.12) !important;
  filter: none !important;
}

html[data-theme="light"] #count-aprov-todos,
html[data-theme="light"] #count-cand-todos {
  background: rgba(0, 0, 0, 0.08) !important;
  color: #161616 !important;
  border-color: rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="light"] #aprovacoes-filter-tabs [style*="#f59e0b"],
html[data-theme="light"] #candidaturas-filter-tabs [style*="#f59e0b"] {
  color: #b45309 !important;
}

html[data-theme="light"] #aprovacoes-filter-tabs svg[stroke="#f59e0b"],
html[data-theme="light"] #candidaturas-filter-tabs svg[stroke="#f59e0b"] {
  stroke: #b45309 !important;
  fill: rgba(180, 83, 9, 0.16) !important;
  filter: none !important;
}

html[data-theme="light"] #count-aprov-pendentes,
html[data-theme="light"] #count-cand-pendente {
  background: rgba(180, 83, 9, 0.12) !important;
  border-color: rgba(180, 83, 9, 0.35) !important;
}

html[data-theme="light"] #aprovacoes-filter-tabs [style*="#ef4444"] {
  color: #c81e1e !important;
}

html[data-theme="light"] #aprovacoes-filter-tabs svg[stroke="#ef4444"] {
  stroke: #c81e1e !important;
  fill: rgba(200, 30, 30, 0.16) !important;
  filter: none !important;
}

html[data-theme="light"] #count-aprov-suspeitos {
  background: rgba(200, 30, 30, 0.12) !important;
  border-color: rgba(200, 30, 30, 0.35) !important;
}

html[data-theme="light"] #aprovacoes-filter-tabs [style*="#38bdf8"],
html[data-theme="light"] #candidaturas-filter-tabs [style*="#38bdf8"] {
  color: #0369a1 !important;
}

html[data-theme="light"] #aprovacoes-filter-tabs svg[stroke="#38bdf8"],
html[data-theme="light"] #candidaturas-filter-tabs svg[stroke="#38bdf8"] {
  stroke: #0369a1 !important;
  fill: rgba(3, 105, 161, 0.14) !important;
  filter: none !important;
}

html[data-theme="light"] #count-aprov-congelados,
html[data-theme="light"] #count-cand-em_analise {
  background: rgba(3, 105, 161, 0.12) !important;
  border-color: rgba(3, 105, 161, 0.35) !important;
}

html[data-theme="light"] #candidaturas-filter-tabs [style*="#22c55e"] {
  color: #0d7a4f !important;
}

html[data-theme="light"] #candidaturas-filter-tabs svg[stroke="#22c55e"] {
  stroke: #0d7a4f !important;
  fill: rgba(13, 122, 79, 0.16) !important;
  filter: none !important;
}

html[data-theme="light"] #count-cand-aprovado {
  background: rgba(13, 122, 79, 0.12) !important;
  border-color: rgba(13, 122, 79, 0.35) !important;
}

html[data-theme="light"] #aprovacoes-filter-tabs [style*="#94a3b8"],
html[data-theme="light"] #candidaturas-filter-tabs [style*="#94a3b8"] {
  color: #475569 !important;
}

html[data-theme="light"] #aprovacoes-filter-tabs svg[stroke="#94a3b8"],
html[data-theme="light"] #candidaturas-filter-tabs svg[stroke="#94a3b8"] {
  stroke: #475569 !important;
  fill: rgba(71, 85, 105, 0.14) !important;
  filter: none !important;
}

html[data-theme="light"] #count-aprov-rejeitados,
html[data-theme="light"] #count-cand-arquivado {
  background: rgba(71, 85, 105, 0.12) !important;
  border-color: rgba(71, 85, 105, 0.32) !important;
}

/* ============================================================
   APROVAÇÕES — CARDS DE RECRUTAS E AUDITORIA FORENSE
   ============================================================ */
html[data-theme="light"] #pending-users-list > div[style*="border-radius: 10px"],
html[data-theme="light"] #candidaturas-cards-list > div[style*="border-radius: 10px"] {
  background: rgba(226, 223, 217, 0.65) !important;
  border: 1px solid rgba(64, 64, 64, 0.22) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.72) !important;
}

html[data-theme="light"] #pending-users-list > div[style*="border-radius: 14px"],
html[data-theme="light"] #candidaturas-cards-list div[style*="border-radius: 14px"] {
  background: linear-gradient(145deg, rgba(226, 223, 217, 0.76) 0%, rgba(196, 194, 188, 0.6) 100%) !important;
  border: 1px solid rgba(64, 64, 64, 0.24) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.62) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] #pending-users-list > div[style*="rgba(255, 182, 193, 0.04)"],
html[data-theme="light"] #candidaturas-cards-list div[style*="rgba(255, 182, 193, 0.04)"] {
  background: linear-gradient(145deg, rgba(236, 214, 220, 0.8) 0%, rgba(212, 196, 200, 0.66) 100%) !important;
  border-color: rgba(184, 59, 94, 0.45) !important;
}

html[data-theme="light"] #pending-users-list h3,
html[data-theme="light"] #candidaturas-cards-list h3 {
  color: #161616 !important;
}

html[data-theme="light"] #pending-users-list .aprov-card-meta-email {
  color: #3a3a3a !important;
}

html[data-theme="light"] #pending-users-list .aprov-card-meta-date {
  color: #1c1c1c !important;
}

html[data-theme="light"] #pending-users-list .aprov-card-meta-id code {
  color: #475569 !important;
}

/* Blocos internos (Hardware, Geolocalização, Fingerprint, Padrinho, Alerta, Descrição) */
html[data-theme="light"] #pending-users-list div[style*="rgba(0, 0, 0, 0.22)"],
html[data-theme="light"] #pending-users-list div[style*="rgba(0,0,0,0.25)"],
html[data-theme="light"] #candidaturas-cards-list div[style*="rgba(0, 0, 0, 0.25)"] {
  background: rgba(244, 242, 238, 0.64) !important;
  border-color: rgba(64, 64, 64, 0.18) !important;
}

html[data-theme="light"] #pending-users-list div[style*="rgba(0, 0, 0, 0.28)"] {
  background: rgba(246, 242, 238, 0.82) !important;
}

html[data-theme="light"] #pending-users-list div[style*="rgba(0, 0, 0, 0.32)"] {
  background: rgba(255, 255, 255, 0.62) !important;
  border-color: rgba(64, 64, 64, 0.18) !important;
}

html[data-theme="light"] #pending-users-list [style*="border-bottom: 1px solid rgba(255, 255, 255"],
html[data-theme="light"] #pending-users-list [style*="border-top: 1px solid rgba(255, 255, 255"],
html[data-theme="light"] #candidaturas-cards-list [style*="border-top: 1px solid rgba(255, 255, 255"] {
  border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Textos claros e acentos nos cards de Recrutas e Candidaturas */
html[data-theme="light"] #pending-users-list [style*="#f8fafc"],
html[data-theme="light"] #pending-users-list [style*="#e2e8f0"],
html[data-theme="light"] #pending-users-list [style*="#ffffff"],
html[data-theme="light"] #candidaturas-cards-list [style*="#e2e8f0"],
html[data-theme="light"] #candidaturas-cards-list [style*="#ffffff"] {
  color: #161616 !important;
}

html[data-theme="light"] #pending-users-list [style*="#cbd5e1"],
html[data-theme="light"] #candidaturas-cards-list [style*="#cbd5e1"] {
  color: #2c2c2c !important;
}

html[data-theme="light"] #candidaturas-cards-list [style*="rgba(255, 255, 255, 0.5)"] {
  color: #4a4a4a !important;
}

html[data-theme="light"] #candidaturas-cards-list svg[stroke="rgba(255, 255, 255, 0.3)"] {
  stroke: rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="light"] #pending-users-list [style*="#ffb6c1"],
html[data-theme="light"] #candidaturas-cards-list [style*="#ffb6c1"] {
  color: #a62b4d !important;
}

html[data-theme="light"] #pending-users-list svg[stroke="#ffb6c1"] {
  stroke: #a62b4d !important;
}

html[data-theme="light"] #candidaturas-cards-list a[style*="#ffb6c1"],
html[data-theme="light"] #candidaturas-cards-list span[style*="#ffb6c1"] {
  background: rgba(184, 59, 94, 0.12) !important;
  border-color: rgba(184, 59, 94, 0.36) !important;
  color: #a62b4d !important;
}

html[data-theme="light"] #pending-users-list [style*="#38bdf8"],
html[data-theme="light"] #candidaturas-cards-list [style*="#38bdf8"] {
  color: #0369a1 !important;
}

html[data-theme="light"] #pending-users-list svg[stroke="#38bdf8"] {
  stroke: #0369a1 !important;
  filter: none !important;
}

html[data-theme="light"] #pending-users-list circle[fill="#38bdf8"] {
  fill: #0369a1 !important;
  fill-opacity: 0.16 !important;
}

html[data-theme="light"] #pending-users-list [style*="#60a5fa"] {
  color: #1d5bbf !important;
  border-color: rgba(29, 91, 191, 0.42) !important;
}

html[data-theme="light"] #pending-users-list [style*="#22c55e"],
html[data-theme="light"] #candidaturas-cards-list [style*="#22c55e"] {
  color: #0d7a4f !important;
}

html[data-theme="light"] #pending-users-list [style*="#eab308"],
html[data-theme="light"] #pending-users-list [style*="#f59e0b"],
html[data-theme="light"] #candidaturas-cards-list [style*="#f59e0b"] {
  color: #9a5b00 !important;
}

html[data-theme="light"] #pending-users-list [style*="#ef4444"],
html[data-theme="light"] #candidaturas-cards-list [style*="#ef4444"] {
  color: #c81e1e !important;
}

html[data-theme="light"] #pending-users-list [style*="#94a3b8"],
html[data-theme="light"] #candidaturas-cards-list [style*="#94a3b8"] {
  color: #475569 !important;
}

html[data-theme="light"] #candidaturas-cards-list a[href^="mailto:"],
html[data-theme="light"] #candidaturas-cards-list button[onclick*="arquivado"] {
  background: rgba(255, 255, 255, 0.55) !important;
  border-color: rgba(64, 64, 64, 0.28) !important;
  color: #1f2937 !important;
}

html[data-theme="light"] #candidaturas-cards-list button[onclick*="pendente"] {
  background: rgba(180, 83, 9, 0.1) !important;
  border-color: rgba(180, 83, 9, 0.36) !important;
  color: #9a5b00 !important;
}

/* Paginação de Aprovações e Candidaturas */
html[data-theme="light"] #pending-users-list span[style*="background: #ffb6c1"],
html[data-theme="light"] #candidaturas-cards-list span[style*="background: #ffb6c1"] {
  background: #b83b5e !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(184, 59, 94, 0.35) !important;
}

html[data-theme="light"] #pending-users-list span[style*="rgba(255,255,255,0.25)"],
html[data-theme="light"] #candidaturas-cards-list span[style*="rgba(255,255,255,0.25)"] {
  color: rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="light"] #pending-users-list span[onclick*="changeAprovacoesPage"]:hover,
html[data-theme="light"] #candidaturas-cards-list span[onclick*="changeCandidaturasPage"]:hover {
  color: #161616 !important;
  background: rgba(0, 0, 0, 0.08) !important;
}

/* ============================================================
   MEMBROS — TABELA, BADGES DE CARGO/STRIKE, ADESÃO E PAGINAÇÃO
   ============================================================ */
html[data-theme="light"] .membros-table-wrapper {
  background: rgba(232, 229, 223, 0.58) !important;
  border: 1px solid rgba(64, 64, 64, 0.24) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .membros-table-wrapper thead tr {
  background: rgba(168, 166, 160, 0.34) !important;
  color: #2b2b2b !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14) !important;
}

html[data-theme="light"] .membros-table-wrapper tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .membros-table-wrapper tbody tr:hover {
  background: rgba(255, 255, 255, 0.36) !important;
}

html[data-theme="light"] .membros-table-wrapper td span[style*="rgba(255,255,255,0.25)"] {
  color: rgba(0, 0, 0, 0.42) !important;
}

html[data-theme="light"] .membros-table-wrapper td[style*="#4ade80"] {
  color: #0d7a4f !important;
}

html[data-theme="light"] .membros-table-wrapper span[style*="#38bdf8"] {
  color: #0369a1 !important;
}

html[data-theme="light"] .membros-table-wrapper svg[stroke="#38bdf8"] {
  stroke: #0369a1 !important;
  filter: none !important;
}

html[data-theme="light"] .membros-table-wrapper span[style*="#cbd5e1"] {
  color: #3f3f46 !important;
}

html[data-theme="light"] .membros-table-wrapper svg[stroke="#94a3b8"] {
  stroke: #52525b !important;
}

html[data-theme="light"] .membros-table-wrapper div[style*="color: #94a3b8"] {
  color: #52525b !important;
}

html[data-theme="light"] #membros-cargo-filter-trigger {
  background: rgba(242, 240, 236, 0.78) !important;
  border-color: rgba(64, 64, 64, 0.28) !important;
  color: #2b2b2b !important;
}

html[data-theme="light"] #membros-cargo-filter-trigger:hover {
  border-color: rgba(184, 59, 94, 0.55) !important;
  color: var(--icon-sakura) !important;
}

/* Pílulas de Convite / Campanha e Hover Card estilo Discord */
html[data-theme="light"] .discord-tooltip-container > span {
  background: rgba(244, 242, 238, 0.88) !important;
  border: 1px solid rgba(64, 64, 64, 0.24) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .discord-tooltip-container > span[style*="#2ecc71"],
html[data-theme="light"] .discord-hover-card span[style*="#2ecc71"] {
  color: #0d7a4f !important;
}

html[data-theme="light"] .discord-tooltip-container > span[style*="#25D366"],
html[data-theme="light"] .discord-hover-card span[style*="#25D366"] {
  color: #15803d !important;
}

html[data-theme="light"] .discord-tooltip-container > span[style*="#38bdf8"],
html[data-theme="light"] .discord-hover-card span[style*="#38bdf8"] {
  color: #0369a1 !important;
}

html[data-theme="light"] .discord-tooltip-container span[style*="#949ba4"],
html[data-theme="light"] .discord-hover-card [style*="#949ba4"] {
  color: #52525b !important;
}

html[data-theme="light"] .discord-tooltip-container svg[stroke="#949ba4"] {
  stroke: #52525b !important;
}

html[data-theme="light"] .discord-hover-card {
  background: var(--surface-modal) !important;
  border: 1px solid rgba(64, 64, 64, 0.28) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
  color: #161616 !important;
}

html[data-theme="light"] .discord-hover-card [style*="#f2f3f5"] {
  color: #161616 !important;
  border-top-color: rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .discord-hover-card [style*="rgba(255,255,255,0.6)"] {
  color: #4a4a4a !important;
}

/* Badges de Cargo da Nobreza (Tabela e Dossiê — somente badges com fundo) */
html[data-theme="light"] .membros-table-wrapper span[style*="rgba(234, 179, 8, 0.15)"],
html[data-theme="light"] #membroDossieModal span[style*="rgba(234, 179, 8, 0.15)"] {
  background: rgba(180, 125, 0, 0.14) !important;
  color: #8a5d00 !important;
  border-color: rgba(154, 107, 0, 0.45) !important;
  box-shadow: none !important;
}

html[data-theme="light"] #membroDossieModal span[style*="#ffd700"] {
  color: #8a5d00 !important;
}

html[data-theme="light"] .membros-table-wrapper span[style*="#00f0ff"],
html[data-theme="light"] #membroDossieModal span[style*="#00f0ff"] {
  background: rgba(0, 109, 128, 0.13) !important;
  color: #006d80 !important;
  border-color: rgba(0, 109, 128, 0.42) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .membros-table-wrapper span[style*="#00bfff"],
html[data-theme="light"] #membroDossieModal span[style*="#00bfff"] {
  background: rgba(3, 105, 161, 0.13) !important;
  color: #0369a1 !important;
  border-color: rgba(3, 105, 161, 0.4) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .membros-table-wrapper span[style*="#00d8f6"],
html[data-theme="light"] #membroDossieModal span[style*="#00d8f6"] {
  background: rgba(14, 116, 144, 0.13) !important;
  color: #0e7490 !important;
  border-color: rgba(14, 116, 144, 0.4) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .membros-table-wrapper span[style*="#0088ff"],
html[data-theme="light"] #membroDossieModal span[style*="#0088ff"] {
  background: rgba(29, 78, 216, 0.12) !important;
  color: #1d4ed8 !important;
  border-color: rgba(29, 78, 216, 0.38) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .membros-table-wrapper span[style*="rgba(148, 163, 184, 0.12)"],
html[data-theme="light"] #membroDossieModal span[style*="rgba(148, 163, 184, 0.12)"] {
  background: rgba(55, 65, 81, 0.1) !important;
  color: #374151 !important;
  border-color: rgba(55, 65, 81, 0.3) !important;
}

/* Badges de Strikes (Tabela e Dossiê — preservando textos sem caixa) */
html[data-theme="light"] .membros-table-wrapper span[style*="color: #777"],
html[data-theme="light"] #membroDossieModal span[style*="color: #777"] {
  background: rgba(0, 0, 0, 0.06) !important;
  color: #4b5563 !important;
  border-color: rgba(0, 0, 0, 0.18) !important;
}

html[data-theme="light"] .membros-table-wrapper span[style*="rgba(46, 204, 113, 0.12)"],
html[data-theme="light"] #membroDossieModal span[style*="rgba(46, 204, 113, 0.12)"] {
  background: rgba(13, 122, 79, 0.12) !important;
  color: #0d7a4f !important;
  border-color: rgba(13, 122, 79, 0.36) !important;
}

html[data-theme="light"] .membros-table-wrapper span[style*="#eab308"],
html[data-theme="light"] #membroDossieModal span[style*="#eab308"] {
  color: #9a5b00 !important;
}

html[data-theme="light"] .membros-table-wrapper span[style*="rgba(249, 115, 22, 0.15)"],
html[data-theme="light"] #membroDossieModal span[style*="rgba(249, 115, 22, 0.15)"] {
  background: rgba(194, 65, 12, 0.12) !important;
  color: #c2410c !important;
  border-color: rgba(194, 65, 12, 0.38) !important;
}

html[data-theme="light"] .membros-table-wrapper span[style*="#ef4444"],
html[data-theme="light"] #membroDossieModal span[style*="#ef4444"] {
  color: #b91c1c !important;
}

/* Barra de Paginação de Membros */
html[data-theme="light"] #membros-users-list > div[style*="rgba(0, 0, 0, 0.25)"] {
  background: rgba(226, 223, 217, 0.65) !important;
  border-color: rgba(64, 64, 64, 0.24) !important;
}

html[data-theme="light"] #membros-users-list span[style*="rgba(255,255,255,0.3)"] {
  color: rgba(0, 0, 0, 0.32) !important;
}

html[data-theme="light"] #membros-users-list span[style*="color: #ffffff"][onclick*="changeMembrosPage"] {
  color: #161616 !important;
}

html[data-theme="light"] #membros-users-list span[onclick*="changeMembrosPage"]:hover {
  color: #161616 !important;
  background: rgba(0, 0, 0, 0.08) !important;
}

/* ============================================================
   MEMBROS — MENU CONTEXTUAL E DROPDOWN DE FILTRO POR CARGO
   ============================================================ */
html[data-theme="light"] #global-membros-context-menu,
html[data-theme="light"] #global-membros-cargo-dropdown {
  background: var(--surface-modal) !important;
  border: 1px solid rgba(64, 64, 64, 0.28) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22) !important;
  color: #161616 !important;
}

html[data-theme="light"] #global-membros-context-menu [style*="rgba(255,255,255,0.08)"],
html[data-theme="light"] #global-membros-cargo-dropdown [style*="rgba(255,255,255,0.08)"],
html[data-theme="light"] #global-membros-cargo-dropdown [style*="rgba(255,255,255,0.1)"] {
  border-color: rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] #global-membros-context-menu div[style*="rgba(255,255,255,0.04)"] {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
}

html[data-theme="light"] #global-membros-context-menu [style*="#949ba4"],
html[data-theme="light"] #global-membros-cargo-dropdown [style*="#949ba4"] {
  color: #52525b !important;
}

html[data-theme="light"] #global-membros-context-menu [style*="#22c55e"],
html[data-theme="light"] #global-membros-context-menu [style*="#2ecc71"] {
  color: #0d7a4f !important;
  border-color: #0d7a4f !important;
}

html[data-theme="light"] #global-membros-context-menu [style*="#38bdf8"] {
  color: #0369a1 !important;
}

html[data-theme="light"] #global-membros-context-menu [style*="#60a5fa"],
html[data-theme="light"] #global-membros-context-menu [style*="#3b82f6"] {
  color: #1d5bbf !important;
  border-color: rgba(29, 91, 191, 0.5) !important;
}

html[data-theme="light"] #global-membros-context-menu [style*="#eab308"] {
  color: #9a5b00 !important;
}

html[data-theme="light"] #global-membros-context-menu [style*="#f87171"],
html[data-theme="light"] #global-membros-context-menu [style*="#ef4444"],
html[data-theme="light"] #global-membros-context-menu [style*="#dc2626"] {
  color: #b91c1c !important;
}

html[data-theme="light"] #global-membros-cargo-dropdown span[style*="#f1f5f9"] {
  color: #161616 !important;
}

html[data-theme="light"] #global-membros-cargo-dropdown span[style*="height: 1px"] {
  background: rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] #global-membros-cargo-dropdown span[style*="background: #ffffff"] {
  background: #8a5d00 !important;
  box-shadow: none !important;
}

html[data-theme="light"] #membros-cargo-dropdown-items > div:hover {
  background: rgba(0, 0, 0, 0.07) !important;
}

/* ============================================================
   MEMBROS — MODAL DE DOSSIÊ DETALHADO (#membroDossieModal)
   ============================================================ */
html[data-theme="light"] #membroDossieModal {
  background: rgba(0, 0, 0, 0.48) !important;
}

html[data-theme="light"] #membroDossieModal > div {
  background: #e6e3dc !important;
  border: 1.5px solid rgba(64, 64, 64, 0.28) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28) !important;
  color: #161616 !important;
}

/* Divisórias e painéis internos do Dossiê */
html[data-theme="light"] #membroDossieModal div[style*="rgba(0,0,0,0.45)"],
html[data-theme="light"] #membroDossieModal div[style*="rgba(0,0,0,0.35)"],
html[data-theme="light"] #membroDossieModal div[style*="rgba(0,0,0,0.5)"],
html[data-theme="light"] #membroDossieModal div[style*="rgba(0,0,0,0.55)"],
html[data-theme="light"] #membroDossieModal div[style*="rgba(0,0,0,0.65)"],
html[data-theme="light"] #membroDossieModal div[style*="#1e1f22"] {
  background: rgba(246, 244, 240, 0.78) !important;
  border-color: rgba(64, 64, 64, 0.2) !important;
}

html[data-theme="light"] #membroDossieModal div[style*="rgba(255,255,255,0.03)"],
html[data-theme="light"] #membroDossieModal div[style*="rgba(255,255,255,0.06)"],
html[data-theme="light"] #membroDossieModal div[style*="rgba(255,255,255,0.05)"] {
  background: rgba(255, 255, 255, 0.56) !important;
  border-color: rgba(64, 64, 64, 0.18) !important;
}

html[data-theme="light"] #membroDossieModal [style*="border-bottom: 1.5px solid rgba(255,255,255"],
html[data-theme="light"] #membroDossieModal [style*="border-top: 1.5px solid rgba(255,255,255"],
html[data-theme="light"] #membroDossieModal [style*="border-bottom: 1px solid rgba(255,255,255"],
html[data-theme="light"] #membroDossieModal [style*="border-top: 1px solid rgba(255,255,255"] {
  border-color: rgba(0, 0, 0, 0.12) !important;
}

/* Abas do Dossiê (Ativa vs Inativa) */
html[data-theme="light"] #btnDossieTabDados,
html[data-theme="light"] #btnDossieTabSeguranca,
html[data-theme="light"] #btnDossieTabCreditos {
  background: rgba(255, 255, 255, 0.52) !important;
  color: #262626 !important;
  border: 1px solid rgba(64, 64, 64, 0.24) !important;
}

html[data-theme="light"] #btnDossieTabDados[style*="var(--petal-color"],
html[data-theme="light"] #btnDossieTabSeguranca[style*="var(--petal-color"],
html[data-theme="light"] #btnDossieTabCreditos[style*="var(--petal-color"] {
  background: #475569 !important;
  color: #ffffff !important;
  border-color: #334155 !important;
}

/* Botões Fechar, Expandir Telemetria e Voltar do Dossiê */
html[data-theme="light"] #membroDossieModal button[onclick*="membroDossieModal"] {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(64, 64, 64, 0.28) !important;
  color: #161616 !important;
}

html[data-theme="light"] #membroDossieModal button[onclick*="membroDossieModal"]:hover {
  background: rgba(0, 0, 0, 0.15) !important;
}

html[data-theme="light"] #membroDossieModal button[style*="1px dashed"] {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(64, 64, 64, 0.34) !important;
  color: #3f3f46 !important;
}

html[data-theme="light"] #membroDossieModal button[style*="1px dashed"]:hover {
  color: #0369a1 !important;
  border-color: #0369a1 !important;
}

/* Textos e cores semânticas dentro do Dossiê */
html[data-theme="light"] #membroDossieModal [style*="color: #ffffff"]:not(#btnDossieTabDados):not(#btnDossieTabSeguranca):not(#btnDossieTabCreditos),
html[data-theme="light"] #membroDossieModal [style*="color: #f2f3f5"],
html[data-theme="light"] #membroDossieModal [style*="color: #e2e8f0"],
html[data-theme="light"] #membroDossieModal [style*="color: #cbd5e1"],
html[data-theme="light"] #membroDossieModal [style*="rgba(255,255,255,0.9)"],
html[data-theme="light"] #membroDossieModal [style*="rgba(255,255,255,0.85)"] {
  color: #161616 !important;
}

html[data-theme="light"] #membroDossieModal [style*="rgba(255,255,255,0.7)"] {
  color: #3a3a3a !important;
}

html[data-theme="light"] #membroDossieModal [style*="#949ba4"],
html[data-theme="light"] #membroDossieModal [style*="rgba(255,255,255,0.4)"] {
  color: #52525b !important;
}

html[data-theme="light"] #membroDossieModal span[style*="background: rgba(255,255,255,0.08)"] {
  background: rgba(0, 0, 0, 0.07) !important;
  color: #161616 !important;
}

html[data-theme="light"] #membroDossieModal div[style*="rgba(255,215,0,0.12)"] {
  background: rgba(180, 125, 0, 0.14) !important;
  border-color: rgba(154, 107, 0, 0.45) !important;
  color: #8a5d00 !important;
}

html[data-theme="light"] #membroDossieModal [style*="#4ade80"],
html[data-theme="light"] #membroDossieModal [style*="#2ecc71"] {
  color: #0d7a4f !important;
}

html[data-theme="light"] #membroDossieModal svg[stroke="#2ecc71"] {
  stroke: #0d7a4f !important;
}

html[data-theme="light"] #membroDossieModal [style*="#38bdf8"] {
  color: #0369a1 !important;
}

html[data-theme="light"] #membroDossieModal [style*="#60a5fa"] {
  color: #1d5bbf !important;
}

html[data-theme="light"] #membroDossieModal [style*="#a78bfa"] {
  color: #6236b8 !important;
}

html[data-theme="light"] #membroDossieModal [style*="#eab308"],
html[data-theme="light"] #membroDossieModal [style*="#fbbf24"] {
  color: #9a5b00 !important;
}

html[data-theme="light"] #membroDossieModal svg[stroke="#eab308"] {
  stroke: #9a5b00 !important;
}

html[data-theme="light"] #membroDossieModal [style*="#fb923c"] {
  color: #c2410c !important;
}

html[data-theme="light"] #membroDossieModal [style*="#ef4444"],
html[data-theme="light"] #membroDossieModal [style*="#f87171"] {
  color: #b91c1c !important;
}

html[data-theme="light"] #membroDossieModal svg[stroke="#ef4444"] {
  stroke: #b91c1c !important;
}

/* Trilhas vazias de Strikes e Cota Semanal no Dossiê */
html[data-theme="light"] #membroDossieModal div[style*="background: rgba(255,255,255,0.08)"] {
  background: rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] #membroDossieModal thead tr {
  background: rgba(0, 0, 0, 0.06) !important;
  border-bottom-color: rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] #membroDossieModal tbody tr:hover {
  background: rgba(0, 0, 0, 0.04) !important;
}

/* ============================================================
   HONRARIAS ADMIN — CARDS DE MEMBROS, BADGES E PAGINAÇÃO
   ============================================================ */
html[data-theme="light"] #honrarias-admin-unlocked > div[style*="var(--glass-bg)"] {
  background: linear-gradient(145deg, rgba(226, 223, 217, 0.72) 0%, rgba(196, 194, 188, 0.56) 100%) !important;
  border-color: rgba(64, 64, 64, 0.24) !important;
}

html[data-theme="light"] #honrarias-admin-users-list > div[style*="rgba(255,255,255,0.03)"] {
  background: linear-gradient(145deg, rgba(226, 223, 217, 0.74) 0%, rgba(196, 194, 188, 0.58) 100%) !important;
  border: 1px solid rgba(64, 64, 64, 0.24) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] #honrarias-admin-users-list div[style*="rgba(0,0,0,0.25)"] {
  background: rgba(244, 242, 238, 0.64) !important;
  border-color: rgba(64, 64, 64, 0.18) !important;
}

html[data-theme="light"] #honrarias-admin-users-list > div[style*="rgba(0, 0, 0, 0.25)"] {
  background: rgba(226, 223, 217, 0.65) !important;
  border-color: rgba(64, 64, 64, 0.24) !important;
}

html[data-theme="light"] #honrarias-admin-unlocked button[onclick*="grantHonrariaToSelected"],
html[data-theme="light"] #honrarias-admin-unlocked button[onclick*="addSelectedHonrariasToBatch"],
html[data-theme="light"] #honrarias-admin-unlocked button[onclick*="addHonrariaToUserAdmin"] {
  background: rgba(244, 242, 238, 0.8) !important;
  border-color: rgba(64, 64, 64, 0.34) !important;
  color: #161616 !important;
}

html[data-theme="light"] #honrarias-admin-unlocked button[onclick*="grantHonrariaToSelected"]:hover,
html[data-theme="light"] #honrarias-admin-unlocked button[onclick*="addSelectedHonrariasToBatch"]:hover,
html[data-theme="light"] #honrarias-admin-unlocked button[onclick*="addHonrariaToUserAdmin"]:hover {
  background: rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="light"] #honrarias-batch-queue-box {
  background: rgba(180, 105, 0, 0.12) !important;
  border-color: rgba(154, 91, 0, 0.45) !important;
}

html[data-theme="light"] #honrarias-batch-summary {
  color: #7c4700 !important;
}

html[data-theme="light"] .honraria-batch-chip {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(154, 91, 0, 0.42) !important;
  color: #161616 !important;
}

html[data-theme="light"] .honraria-batch-chip span {
  color: #8a5300 !important;
}

html[data-theme="light"] #btn-submit-honrarias-batch,
html[data-theme="light"] #honrarias-admin-unlocked button[onclick*="addUserHonrariaToBatch"] {
  background: rgba(180, 105, 0, 0.16) !important;
  border-color: rgba(154, 91, 0, 0.55) !important;
  color: #6b3e00 !important;
}

html[data-theme="light"] #btn-submit-honrarias-batch:hover,
html[data-theme="light"] #honrarias-admin-unlocked button[onclick*="addUserHonrariaToBatch"]:hover {
  background: rgba(180, 105, 0, 0.26) !important;
}

html[data-theme="light"] #honrarias-batch-queue-box button[onclick*="clearHonrariasBatch"] {
  color: #c81e1e !important;
  border-color: rgba(200, 30, 30, 0.45) !important;
  background: rgba(200, 30, 30, 0.1) !important;
}

html[data-theme="light"] #honrarias-admin-users-list .gmenu-honraria-badge button {
  color: #4a2e00 !important;
}

html[data-theme="light"] #honrarias-admin-users-list .gmenu-honraria-badge button:hover {
  color: #991b1b !important;
}

html[data-theme="light"] #honrarias-admin-users-list button[onclick*="clearAllHonrariasFromUserAdmin"] {
  color: #c81e1e !important;
  border-color: rgba(200, 30, 30, 0.42) !important;
  background: rgba(200, 30, 30, 0.1) !important;
}

html[data-theme="light"] #honrarias-admin-users-list span[style*="rgba(255,255,255,0.3)"] {
  color: rgba(0, 0, 0, 0.32) !important;
}

html[data-theme="light"] #honrarias-admin-users-list span[onclick*="changeHonrariasPage"]:hover {
  background: rgba(0, 0, 0, 0.08) !important;
}

/* ============================================================
   MÉTRICAS / ANALYTICS — KPIs, GRÁFICOS SVG, FUNIL E GERADOR
   ============================================================ */
html[data-theme="light"] #metricas-unlocked button[onclick*="loadMetricasOverview"] {
  background: linear-gradient(180deg, rgba(232, 230, 224, 0.78) 0%, rgba(196, 194, 188, 0.65) 100%) !important;
  border-color: rgba(64, 64, 64, 0.28) !important;
  border-top-color: rgba(255, 255, 255, 0.78) !important;
  color: #161616 !important;
}

html[data-theme="light"] #metricas-unlocked button[onclick*="loadMetricasOverview"]:hover {
  border-color: rgba(64, 64, 64, 0.48) !important;
  background: rgba(242, 240, 236, 0.88) !important;
}

/* Dourado de alto contraste em títulos, números KPI e tabelas */
html[data-theme="light"] #metricas-content-area [style*="#ffd700"],
html[data-theme="light"] #metricas-content-area [style*="255, 215, 0"] {
  color: #8a5d00 !important;
}

html[data-theme="light"] #metricas-content-area svg[stroke="#ffd700"] {
  stroke: #9a6b00 !important;
}

html[data-theme="light"] #metricas-content-area span[style*="background: #ffd700"],
html[data-theme="light"] #metricas-content-area div[style*="background: #ffd700"] {
  background: #9a6b00 !important;
}

html[data-theme="light"] #metricas-content-area span[style*="background: #34d399"] {
  background: #0d7a4f !important;
}

/* Gráfico SVG de Curva de Crescimento (14 Dias) */
html[data-theme="light"] #growth-chart-container svg line[stroke="rgba(255,255,255,0.06)"] {
  stroke: rgba(0, 0, 0, 0.14) !important;
}

html[data-theme="light"] #growth-chart-container svg path[stroke="#ffd700"] {
  stroke: #9a6b00 !important;
}

html[data-theme="light"] #growth-chart-container svg path[stroke="#34d399"] {
  stroke: #0d7a4f !important;
}

html[data-theme="light"] #growth-chart-container svg #loyaltyTotalGrad stop {
  stop-color: #9a6b00;
}

html[data-theme="light"] #growth-chart-container svg #loyaltyApprovedGrad stop {
  stop-color: #0d7a4f;
}

html[data-theme="light"] #growth-chart-container svg circle[fill="#ffd700"] {
  fill: #9a6b00 !important;
  stroke: #e6e3dc !important;
}

html[data-theme="light"] #growth-chart-container svg circle[fill="#34d399"] {
  fill: #0d7a4f !important;
  stroke: #e6e3dc !important;
}

/* Gráfico Donut SVG */
html[data-theme="light"] #donut-chart-container svg circle[stroke="rgba(255,255,255,0.06)"] {
  stroke: rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] #donut-chart-container svg circle[stroke="#ffd700"] {
  stroke: #9a6b00 !important;
}

/* Tooltips dos Gráficos (Crescimento e Donut) */
html[data-theme="light"] #growth-chart-tooltip,
html[data-theme="light"] #donut-chart-tooltip {
  background: var(--surface-modal) !important;
  border: 1px solid rgba(64, 64, 64, 0.28) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2) !important;
  color: #161616 !important;
}

html[data-theme="light"] #growth-chart-tooltip [style*="#34d399"],
html[data-theme="light"] #donut-chart-tooltip [style*="#34d399"] {
  color: #0d7a4f !important;
}

html[data-theme="light"] #growth-chart-tooltip [style*="#fbbf24"] {
  color: #b45309 !important;
}

/* Trilhas de Barra do Funil e de Plataformas */
html[data-theme="light"] #metricas-content-area div[style*="rgba(255,255,255,0.06)"],
html[data-theme="light"] #metricas-content-area div[style*="rgba(255,255,255,0.08)"] {
  background: rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] #metricas-content-area div[style*="background: #fbbf24"] {
  background: #d97706 !important;
  opacity: 0.88 !important;
}

html[data-theme="light"] #metricas-content-area div[style*="background: #ef4444"] {
  background: #c81e1e !important;
  opacity: 0.88 !important;
}

/* Textos de plataformas nos cards de Túneis */
html[data-theme="light"] #metricas-content-area span[style*="color: #22c55e"] {
  color: #0d7a4f !important;
}

html[data-theme="light"] #metricas-content-area span[style*="color: #06b6d4"],
html[data-theme="light"] #metricas-content-area span[style*="color: #38bdf8"] {
  color: #0369a1 !important;
}

html[data-theme="light"] #metricas-content-area span[style*="color: #f59e0b"] {
  color: #b45309 !important;
}

/* Gerador de Links de Campanha */
html[data-theme="light"] #metricas-content-area input[readonly] {
  background: var(--input-bg-readonly) !important;
  color: #0b6b45 !important;
  border-color: rgba(64, 64, 64, 0.28) !important;
}

html[data-theme="light"] #metricas-content-area span[style*="rgba(56, 189, 248, 0.08)"] {
  background: rgba(3, 105, 161, 0.1) !important;
  color: #0369a1 !important;
  border-color: rgba(3, 105, 161, 0.32) !important;
}

html[data-theme="light"] #metricas-content-area button[onclick*="copyTrackedLink"] {
  background: rgba(244, 242, 238, 0.78) !important;
  border-color: rgba(64, 64, 64, 0.34) !important;
  color: #161616 !important;
}

html[data-theme="light"] #metricas-content-area button[onclick*="copyTrackedLink"]:hover {
  background: rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="light"] #metricas-content-area button[onclick*="copyTrackedLink"][style*="255, 215, 0"],
html[data-theme="light"] #metricas-content-area button[onclick*="copyTrackedLink"][style*="#ffd700"] {
  color: #8a5d00 !important;
  border-color: #8a5d00 !important;
}

html[data-theme="light"] #metricas-content-area button[onclick*="deleteCampaign"] {
  background: rgba(200, 30, 30, 0.1) !important;
  border-color: rgba(200, 30, 30, 0.38) !important;
  color: #c81e1e !important;
}
