/* =========================================================
   TEMA ESCURO -- Aluno, Administrador, Empresa e Funcionário

   Carregado por cima do CSS de cada portal e vence a cascata
   porque todo seletor aqui é prefixado por [data-bs-theme="dark"]
   (especificidade 0-2-0, maior que a classe sozinha do CSS
   original -- não importa a ordem de carregamento).

   A maior parte deste arquivo (a partir de "GERADO
   AUTOMATICAMENTE") foi produzida varrendo as folhas de estilo
   claras de cada portal e traduzindo cada cor conhecida (fundo,
   texto, borda) pelo equivalente escuro -- ver gerar_tema_escuro.py
   no histórico da conversa. O que não muda de cor não é reemitido
   aqui; a cascata do CSS original cuida do resto sozinha.
========================================================= */

[data-bs-theme="dark"] {
    /* --perspicaz-green é usado tanto como FUNDO sólido (botões,
       item de menu ativo -- sempre com texto branco em cima) quanto
       como COR de texto/ícone isolado sobre o fundo escuro. As duas
       situações pedem tons opostos (fundo precisa continuar escuro
       o bastante pro branco ler bem; texto precisa ser claro o
       bastante pra ler no preto) -- #12866a é o meio-termo com
       contraste aceitável nos dois casos (~4,5:1 com texto branco
       em cima, ~4:1 como texto sobre o fundo). Ver conversa: o verde
       mais claro usado antes deixava "Dashboard / Visão Geral" com
       texto branco ilegível em cima do fundo do item ativo. */
    --perspicaz-green: #12866a;
    --perspicaz-green-dark: #0d6b4f;
    --perspicaz-green-light: #173a2e;
    --perspicaz-accent: #1c9973;
    --bg-body: #0c1613;
    --border: #28382f;
    --text: #e9f2ed;
    --muted: #93ab9f;
    --background: #0c1613;
    --primary: #12866a;
    --primary-dark: #0d6b4f;

    /* Os modais de Curso (Estrutura, Material, Prova, Financeiro,
       Certificado) foram construídos com um SEGUNDO conjunto de
       variáveis (--green/--bg/--blue/--orange/--red em vez de
       --perspicaz-green/--bg-body/--text) -- sem redeclarar essas
       aqui, ícone/badge/botão dentro desses modais ficava com a cor
       clara original mesmo no tema escuro (fundo #fff, R$ etc.
       "queimando" em cima do card escuro). */
    --green: #12866a;
    --green-dark: #0d6b4f;
    --green-light: #173a2e;
    --bg: #0c1613;
    --blue: #6ea3ff;
    --blue-light: #1c2a3f;
    --orange: #f0b429;
    --orange-light: #3a3018;
    --red: #ff6b6a;
    --red-light: #3a201e;
    --perspicaz-tertiary: #f0b429;
    --perspicaz-tertiary-light: #3a3018;
}

/* ---------- base da página ---------- */
[data-bs-theme="dark"] body {
    background: #0c1613;
}

[data-bs-theme="dark"] .main-content {
    background: #0c1613;
}

[data-bs-theme="dark"] .sidebar-overlay {
    background: rgba(0, 0, 0, .6);
}

/* .top-header usa rgba(255,255,255,X) translúcido com blur -- não é
   um hex/nome de cor, então o gerador automático não pegou. Sem isso
   o texto do título (já corrigido pra claro) ficava claro-sobre-claro,
   quase invisível. */
[data-bs-theme="dark"] .top-header {
    background: rgba(12, 22, 19, .88);
}

[data-bs-theme="dark"] .vitrine-aba {
    background: #16241e;
    color: #e9f2ed;
}

[data-bs-theme="dark"] .vitrine-aba:hover {
    background: #1b2b24;
}

[data-bs-theme="dark"] .func-aviso.amber {
    background: #3a3018;
}

[data-bs-theme="dark"] .func-aviso.amber i {
    color: #f0b429;
}

[data-bs-theme="dark"] .sidebar-nav {
    scrollbar-color: #28382f transparent;
}

[data-bs-theme="dark"] .sidebar-nav::-webkit-scrollbar-thumb {
    background: #28382f;
}

[data-bs-theme="dark"] ::selection {
    background: #20c295;
    color: #0c1613;
}

/* ---------- toggle claro/escuro ---------- */
.btn-tema-toggle {
    position: relative;
}

.btn-tema-toggle .bi-sun-fill {
    display: none;
}

[data-bs-theme="dark"] .btn-tema-toggle .bi-moon-stars-fill {
    display: none;
}

[data-bs-theme="dark"] .btn-tema-toggle .bi-sun-fill {
    display: inline-block;
}

/* ---------- Bootstrap: componentes nativos ----------
   O Bootstrap 5.3 devia escurecer modal/dropdown/form sozinho via
   variável (--bs-body-bg etc.) quando [data-bs-theme=dark] tá no
   <html>, mas na prática isso não pegou aqui (dropdown de
   notificações ficou branco -- visto em print) -- então força
   explícito em vez de confiar só na cadeia de variável do Bootstrap. */
[data-bs-theme="dark"] .modal-content {
    background: #16241e;
    color: #e9f2ed;
    border-color: #28382f;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}

[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
    border-color: #28382f;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #1b2b24;
    color: #e9f2ed;
    border-color: #28382f;
}

[data-bs-theme="dark"] .form-control::placeholder {
    color: #6f8478;
}

[data-bs-theme="dark"] .form-control:disabled,
[data-bs-theme="dark"] .form-select:disabled {
    background-color: #16241e;
    color: #6f8478;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #1b2b24;
    color: #e9f2ed;
    border-color: #20c295;
    box-shadow: 0 0 0 3px rgba(32, 194, 149, .18);
}

[data-bs-theme="dark"] .form-check-input {
    background-color: #1b2b24;
    border-color: #28382f;
}

[data-bs-theme="dark"] .form-label {
    color: #e9f2ed;
}

/* Bootstrap 5.3 deveria escurecer .dropdown-menu sozinho via
   --bs-dropdown-bg -- na prática o dropdown de notificações
   continuava branco (visto em print), então força explícito aqui
   pra não depender da cadeia de variável do Bootstrap. */
[data-bs-theme="dark"] .dropdown-menu {
    background: #16241e;
    color: #e9f2ed;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

[data-bs-theme="dark"] .table {
    --bs-table-color: #e9f2ed;
    --bs-table-bg: transparent;
    --bs-table-border-color: #28382f;
}


/* ===== GERADO AUTOMATICAMENTE (ver gerar_tema_escuro.py) ===== */

/* ---- static/css/admin/aluno/1.0Aluno.css ---- */
[data-bs-theme="dark"] .aluno-toolbar { background: #16241e; }
[data-bs-theme="dark"] .aluno-search i { color: #93ab9f; }
[data-bs-theme="dark"] .aluno-search input { border: 1px solid #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .aluno-search input:focus { background: #16241e; }
[data-bs-theme="dark"] .aluno-table-card { background: #16241e; }
[data-bs-theme="dark"] .aluno-table thead th { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .aluno-table tbody tr:hover { background: #1b2b24; }
[data-bs-theme="dark"] .aluno-id { color: #93ab9f; }
[data-bs-theme="dark"] .aluno-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .aluno-cpf { color: #93ab9f; }
[data-bs-theme="dark"] .status-badge.status-nao_confirmado { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .status-badge.status-inativo { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .aluno-action { border: 1px solid #28382f; background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .aluno-action:hover { border-color: #28382f; }
[data-bs-theme="dark"] .aluno-action.delete:hover { background: #3a201e; color: #ff6b6a; border-color: #4a2c29; }
[data-bs-theme="dark"] .aluno-action.warning:hover { background: #3a3018; color: #f0b429; border-color: #4a3d20; }

/* ---- static/css/admin/aluno/1.1Modal_Configuracao.css ---- */
[data-bs-theme="dark"] .config-header .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .config-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .config-tabs { background: #16241e; }
[data-bs-theme="dark"] .config-tab { color: #93ab9f; }
[data-bs-theme="dark"] .config-body { background: #1b2b24; }
[data-bs-theme="dark"] .config-footer { background: #16241e; border-top: 1px solid #28382f; }
[data-bs-theme="dark"] .config-avatar { background: #16302a; }
[data-bs-theme="dark"] .config-secao-titulo { color: #93ab9f; }
[data-bs-theme="dark"] .perfil-campos { background: #16241e; }
[data-bs-theme="dark"] .perfil-campo-label { color: #93ab9f; }
[data-bs-theme="dark"] .perfil-valor-texto { color: #e9f2ed; }
[data-bs-theme="dark"] .perfil-valor-texto.vazio { color: #93ab9f; }
[data-bs-theme="dark"] .perfil-editar-btn { border: 1px solid #28382f; background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .perfil-editar-btn:hover { border-color: #28382f; }
[data-bs-theme="dark"] .perfil-valor-edit input { border: 1px solid #28382f; }
[data-bs-theme="dark"] .perfil-cancelar-btn { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .senha-form input { border: 1px solid #28382f; background: #16241e; color: #e9f2ed; }
[data-bs-theme="dark"] .senha-form input:-webkit-autofill,
[data-bs-theme="dark"] .senha-form input:-webkit-autofill:hover,
[data-bs-theme="dark"] .senha-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #e9f2ed;
    -webkit-box-shadow: 0 0 0 1000px #16241e inset;
    box-shadow: 0 0 0 1000px #16241e inset;
}
[data-bs-theme="dark"] .senha-olho-btn { color: #6b8178; }
[data-bs-theme="dark"] .senha-olho-btn:hover { color: #20c295; }

[data-bs-theme="dark"] .item-video-ausente-badge { background: #3a201e; color: #e5726a; }
[data-bs-theme="dark"] .player-video-indisponivel { background: #3a201e; color: #e5726a; }
[data-bs-theme="dark"] .player-video-indisponivel i { color: #e5726a; }
[data-bs-theme="dark"] .course-video-aviso { background: #3a201e; color: #e5726a; }
[data-bs-theme="dark"] .config-btn-aviso { border-color: #5a2e29; background: #3a201e; color: #e5726a; }
[data-bs-theme="dark"] .config-btn-aviso:hover { border-color: #e5726a; background: #4a2823; }
[data-bs-theme="dark"] .config-btn-aviso-dot, [data-bs-theme="dark"] .config-btn-aviso-dot i { color: #e5726a; }
[data-bs-theme="dark"] .anotacao-form { background: #16241e; }
[data-bs-theme="dark"] .anotacao-form textarea { border: 1px solid #28382f; }
[data-bs-theme="dark"] .anotacao-timeline::before { background: #1b2b24; }
[data-bs-theme="dark"] .anotacao-card { background: #16241e; }
[data-bs-theme="dark"] .anotacao-autor { color: #e9f2ed; }
[data-bs-theme="dark"] .anotacao-data { color: #93ab9f; }
[data-bs-theme="dark"] .anotacao-texto { color: #93ab9f; }
[data-bs-theme="dark"] .log-search i { color: #93ab9f; }
[data-bs-theme="dark"] .log-search input { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .log-filtro { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .log-item { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .log-icon.acao-2 { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .log-icon.acao-3 { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .log-mensagem { color: #93ab9f; }
[data-bs-theme="dark"] .log-meta { color: #93ab9f; }

/* ---- static/css/admin/aluno/1.2Modal_Mensagem.css ---- */
[data-bs-theme="dark"] .msg-notif-form .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .btn-msg-enviar.secundario { background: #16241e; color: #e9f2ed; border: 1px solid #28382f; }
[data-bs-theme="dark"] .btn-msg-enviar.secundario:hover { background: #1b2b24; color: #e9f2ed; }
[data-bs-theme="dark"] .msg-notif-item { background: #16241e; }
[data-bs-theme="dark"] .msg-notif-item.nao-lida { background: #173a2e; border-color: #28382f; }
[data-bs-theme="dark"] .msg-notif-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .msg-notif-texto { color: #93ab9f; }
[data-bs-theme="dark"] .msg-notif-meta { color: #93ab9f; }
[data-bs-theme="dark"] .msg-modelo-card { border: 1px solid #28382f; color: #93ab9f; }
[data-bs-theme="dark"] #msgAssuntoInput { border: 1px solid #28382f; }
[data-bs-theme="dark"] #msgTextoInput { border: 1px solid #28382f; }
[data-bs-theme="dark"] .msg-preview { background: #1b2b24; }

/* ---- static/css/admin/aluno/1.3Modal_Financeiro.css ---- */
[data-bs-theme="dark"] .cobranca-form { background: #16241e; }
[data-bs-theme="dark"] .cobranca-form .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .cobranca-form .form-select { border: 1px solid #28382f; }
[data-bs-theme="dark"] .cobranca-form-label { color: #93ab9f; }
[data-bs-theme="dark"] .cobranca-item { background: #16241e; }
[data-bs-theme="dark"] .cobranca-item.pago { background: #1b2b24; }
[data-bs-theme="dark"] .cobranca-item.cancelado { background: #1b2b24; }
[data-bs-theme="dark"] .cobranca-item-descricao { color: #e9f2ed; }
[data-bs-theme="dark"] .cobranca-item-meta { color: #93ab9f; }
[data-bs-theme="dark"] .cobranca-acao-btn { border: 1px solid #28382f; background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .cobranca-acao-btn.pagar:hover { border-color: #28382f; }
[data-bs-theme="dark"] .cobranca-acao-btn.excluir:hover { background: #3a201e; color: #ff6b6a; border-color: #4a2c29; }
[data-bs-theme="dark"] .cobranca-acao-btn.cancelar:hover { background: #3a3018; color: #f0b429; border-color: #4a3d20; }
[data-bs-theme="dark"] .cobranca-acao-btn.gerar:hover { background: #1c2a3f; color: #6ea3ff; border-color: #2a3a55; }
[data-bs-theme="dark"] .cobranca-acao-btn.link:hover { background: #1c2a3f; color: #6ea3ff; border-color: #2a3a55; }
[data-bs-theme="dark"] .cobranca-acao-btn.verificar:hover { background: #291f38; color: #b18aef; border-color: #3a3050; }

/* ---- static/css/admin/aluno/1.4Modal_Criar_Aluno.css ---- */
[data-bs-theme="dark"] .aluno-create-modal .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .aluno-create-modal .modal-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .aluno-create-modal .modal-footer { background: #1b2b24; }
[data-bs-theme="dark"] .aluno-form-secao-titulo { color: #93ab9f; }
[data-bs-theme="dark"] .aluno-create-modal .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .aluno-create-modal .required { color: #ff6b6a; }
[data-bs-theme="dark"] .aluno-create-modal .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .aluno-email-confirmado { background: #1b2b24; border: 1px solid #28382f; }
[data-bs-theme="dark"] .aluno-email-confirmado .form-check-label { color: #e9f2ed; }
[data-bs-theme="dark"] .aluno-create-modal .btn-modal-cancel { color: #93ab9f; background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .aluno-create-modal .btn-modal-cancel:hover { color: #e9f2ed; background: #1b2b24; }

/* ---- static/css/admin/categoria/1.0Categoria.css ---- */
[data-bs-theme="dark"] .categoria-voltar { color: #93ab9f; }
[data-bs-theme="dark"] .categoria-toolbar { background: #16241e; }
[data-bs-theme="dark"] .categoria-search i { color: #93ab9f; }
[data-bs-theme="dark"] .categoria-search input { border: 1px solid #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .categoria-search input:focus { background: #16241e; }
[data-bs-theme="dark"] .categoria-table-card { background: #16241e; }
[data-bs-theme="dark"] .categoria-table thead th { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .categoria-table tbody tr:hover { background: #1b2b24; }
[data-bs-theme="dark"] .categoria-ordem { color: #93ab9f; }
[data-bs-theme="dark"] .categoria-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .categoria-action { border: 1px solid #28382f; background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .categoria-action:hover { border-color: #28382f; }
[data-bs-theme="dark"] .categoria-action.delete:hover { background: #3a201e; color: #ff6b6a; border-color: #4a2c29; }

/* ---- static/css/admin/categoria/1.1Modal_Form_Categoria.css ---- */
[data-bs-theme="dark"] .categoria-form-modal .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .categoria-form-modal .modal-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .categoria-form-modal .modal-footer { background: #1b2b24; }
[data-bs-theme="dark"] .categoria-form-modal .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .categoria-form-modal .required { color: #ff6b6a; }
[data-bs-theme="dark"] .categoria-form-modal .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .categoria-form-modal .form-select { border: 1px solid #28382f; }
[data-bs-theme="dark"] .categoria-form-modal .form-text { color: #93ab9f; }
[data-bs-theme="dark"] .categoria-form-modal .btn-modal-cancel { color: #93ab9f; background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .categoria-form-modal .btn-modal-cancel:hover { color: #e9f2ed; background: #1b2b24; }
[data-bs-theme="dark"] .cupom-selecionar-cursos-btn { border: 1px solid #28382f; background: #1b2b24; color: #e9f2ed; }
[data-bs-theme="dark"] .cupom-selecionar-cursos-btn:hover { border-color: #28382f; }
[data-bs-theme="dark"] .cursos-picker-inline { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .cursos-picker-modal .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .cursos-picker-modal .modal-footer { background: #1b2b24; }
[data-bs-theme="dark"] .cursos-picker-busca i { color: #93ab9f; }
[data-bs-theme="dark"] .cursos-picker-busca input { border: 1px solid #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .cursos-picker-busca input:focus { background: #16241e; }
[data-bs-theme="dark"] .cursos-picker-item { border: 1px solid #28382f; }
[data-bs-theme="dark"] .cursos-picker-item:hover { background: #1b2b24; border-color: #28382f; }
[data-bs-theme="dark"] .cursos-picker-nome { color: #e9f2ed; }

/* ---- static/css/admin/cupom/1.0Cupom.css ---- */
[data-bs-theme="dark"] .cupom-stat-card { background: #16241e; }
[data-bs-theme="dark"] .cupom-stat-valor { color: #e9f2ed; }
[data-bs-theme="dark"] .cupom-stat-label { color: #93ab9f; }
[data-bs-theme="dark"] .cupom-tab { color: #93ab9f; }
[data-bs-theme="dark"] .cupom-tab-count { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .cupom-toolbar { background: #16241e; }
[data-bs-theme="dark"] .cupom-search i { color: #93ab9f; }
[data-bs-theme="dark"] .cupom-search input { border: 1px solid #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .cupom-search input:focus { background: #16241e; }
[data-bs-theme="dark"] .cupom-table-card { background: #16241e; }
[data-bs-theme="dark"] .cupom-table thead th { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .cupom-table tbody tr:hover { background: #1b2b24; }
[data-bs-theme="dark"] .cupom-codigo { background: #1b2b24; color: #e9f2ed; }
[data-bs-theme="dark"] .cupom-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .cupom-empresa { color: #93ab9f; }
[data-bs-theme="dark"] .cupom-vigencia { color: #93ab9f; }
[data-bs-theme="dark"] .cupom-vigencia-ate { color: #93ab9f; }
[data-bs-theme="dark"] .cupom-uso span { color: #93ab9f; }
[data-bs-theme="dark"] .cupom-uso-barra { background: #1b2b24; }
[data-bs-theme="dark"] .status-badge.status-cupom-agendado { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .status-badge.status-cupom-expirado { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .status-badge.status-cupom-esgotado { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .status-badge.status-cupom-inativo { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .cupom-action { border: 1px solid #28382f; background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .cupom-action:hover { border-color: #28382f; }
[data-bs-theme="dark"] .cupom-action.warning:hover { background: #3a3018; color: #f0b429; border-color: #4a3d20; }

/* ---- static/css/admin/cupom/1.1Modal_Form_Cupom.css ---- */
[data-bs-theme="dark"] .cupom-form-modal .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .cupom-form-modal .modal-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .cupom-form-modal .modal-footer { background: #1b2b24; }
[data-bs-theme="dark"] .cupom-form-modal .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .cupom-form-modal .required { color: #ff6b6a; }
[data-bs-theme="dark"] .cupom-form-modal .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .cupom-form-modal .form-select { border: 1px solid #28382f; }
[data-bs-theme="dark"] .cupom-form-modal .form-text { color: #93ab9f; }
[data-bs-theme="dark"] .cupom-form-modal .btn-modal-cancel { color: #93ab9f; background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .cupom-form-modal .btn-modal-cancel:hover { color: #e9f2ed; background: #1b2b24; }
[data-bs-theme="dark"] .cupom-selecionar-cursos-btn { border: 1px solid #28382f; background: #1b2b24; color: #e9f2ed; }
[data-bs-theme="dark"] .cupom-selecionar-cursos-btn:hover { border-color: #28382f; }
[data-bs-theme="dark"] .cursos-picker-inline { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .cursos-picker-modal .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .cursos-picker-modal .modal-footer { background: #1b2b24; }
[data-bs-theme="dark"] .cursos-picker-busca i { color: #93ab9f; }
[data-bs-theme="dark"] .cursos-picker-busca input { border: 1px solid #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .cursos-picker-busca input:focus { background: #16241e; }
[data-bs-theme="dark"] .cursos-picker-item { border: 1px solid #28382f; }
[data-bs-theme="dark"] .cursos-picker-item:hover { background: #1b2b24; border-color: #28382f; }
[data-bs-theme="dark"] .cursos-picker-nome { color: #e9f2ed; }

/* ---- static/css/admin/cupom/1.2Modal_Ver_Cupom.css ---- */
[data-bs-theme="dark"] .ver-cupom-codigo-card { border: 1.5px dashed #28382f; }
[data-bs-theme="dark"] .ver-cupom-codigo-label { color: #93ab9f; }
[data-bs-theme="dark"] .ver-cupom-copiar-btn { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .ver-cupom-item span { color: #93ab9f; }
[data-bs-theme="dark"] .ver-cupom-item strong { color: #e9f2ed; }
[data-bs-theme="dark"] .ver-cupom-secao-titulo { color: #93ab9f; }

/* ---- static/css/admin/curso/1.0Curso.css ---- */
[data-bs-theme="dark"] .sidebar { background: #16241e; }
[data-bs-theme="dark"] .sidebar-brand { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .brand-name { color: #e9f2ed; }
[data-bs-theme="dark"] .nav-section-label { color: #93ab9f; }
[data-bs-theme="dark"] .nav-link { color: #93ab9f; }
[data-bs-theme="dark"] .sidebar-footer { border-top: 1px solid #28382f; }
[data-bs-theme="dark"] .page-title h1 { color: #e9f2ed; }
[data-bs-theme="dark"] .header-search i { color: #93ab9f; }
[data-bs-theme="dark"] .header-search input { border: 1.5px solid #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .btn-icon-header { color: #93ab9f; }
[data-bs-theme="dark"] .notif-dropdown { border: 1px solid #28382f; }
[data-bs-theme="dark"] .notif-dropdown-header { color: #e9f2ed; border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .notif-item.nao-lida { background: #173a2e; }
[data-bs-theme="dark"] .notif-item-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .notif-item-msg { color: #93ab9f; }
[data-bs-theme="dark"] .notif-item-data { color: #93ab9f; }
[data-bs-theme="dark"] .notif-vazio { color: #93ab9f; }
[data-bs-theme="dark"] .page-header h2 { color: #e9f2ed; }
[data-bs-theme="dark"] .btn-create-secundario { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .course-toolbar { background: #16241e; }
[data-bs-theme="dark"] .course-search i { color: #93ab9f; }
[data-bs-theme="dark"] .course-search input { border: 1px solid #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .course-search input:focus { background: #16241e; }
[data-bs-theme="dark"] .course-card { background: #16241e; }
[data-bs-theme="dark"] .course-card:hover { border-color: #28382f; }
[data-bs-theme="dark"] .course-title { color: #e9f2ed; }
[data-bs-theme="dark"] .course-title-editar { background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .course-title-editar:hover { background: #173a2e; color: #20c295; }
[data-bs-theme="dark"] .status-badge.published { background: #173a2e; }
[data-bs-theme="dark"] .status-badge.draft { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .status-badge.status-pendente { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .status-badge.status-concluido { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .status-badge.status-publicado { background: #173a2e; }
[data-bs-theme="dark"] .status-badge.status-inativo { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .config-btn { border: 1px solid #28382f; background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .config-btn:hover { border-color: #28382f; }
[data-bs-theme="dark"] .publish-btn.published { border-color: #28382f; }
[data-bs-theme="dark"] .publish-btn.published:hover { background: #3a201e; border-color: #4a2c29; color: #ff6b6a; }
[data-bs-theme="dark"] .publish-btn.disabled { background: #1b2b24; border-color: #28382f; color: #93ab9f; }
[data-bs-theme="dark"] .publish-btn.disabled:hover { background: #1b2b24; color: #93ab9f; border-color: #28382f; }
[data-bs-theme="dark"] .btn-more { border: 1px solid #28382f; background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .btn-more:hover { border-color: #28382f; }
[data-bs-theme="dark"] .progress-label { color: #93ab9f; }
[data-bs-theme="dark"] .progress { background: #1b2b24; }
[data-bs-theme="dark"] .empty-state { background: #16241e; border: 1px dashed #28382f; }
@media(max-width: 1199px) {
    [data-bs-theme="dark"] .course-actions { border-top: 1px solid #28382f; }
}

/* ---- static/css/admin/curso/1.1Modal_Criar_Curso.css ---- */
[data-bs-theme="dark"] body { background: #1b2b24; }
[data-bs-theme="dark"] .course-modal .modal-header { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .course-modal .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .modal-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .course-modal .modal-footer { background: #1b2b24; border-top: 1px solid #28382f; }
[data-bs-theme="dark"] .course-status-alert { background: #3a3018; border: 1px solid #4a3d20; color: #f0b429; }
[data-bs-theme="dark"] .course-status-alert i { color: #f0b429; }
[data-bs-theme="dark"] .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .required { color: #ff6b6a; }
[data-bs-theme="dark"] .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .description-footer { color: #93ab9f; }
[data-bs-theme="dark"] .course-description-editor .ql-toolbar.ql-snow { background: #1b2b24; border-color: #28382f; }
[data-bs-theme="dark"] .course-description-editor .ql-container.ql-snow { background: #1b2b24; border-color: #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .course-description-editor .ql-editor.ql-blank::before { color: #6f8478; }
[data-bs-theme="dark"] .course-description-editor .ql-snow .ql-stroke { stroke: #93ab9f; }
[data-bs-theme="dark"] .course-description-editor .ql-snow .ql-fill { fill: #93ab9f; }
[data-bs-theme="dark"] .course-description-editor .ql-snow .ql-picker { color: #93ab9f; }
[data-bs-theme="dark"] .course-description-editor .ql-snow .ql-picker-options { background: #1b2b24; border-color: #28382f; }
[data-bs-theme="dark"] .course-image-preview { border: 1.5px dashed #28382f; }
[data-bs-theme="dark"] .course-image-preview:hover { background: #173a2e; }
[data-bs-theme="dark"] .course-image-preview span { color: #e9f2ed; }
[data-bs-theme="dark"] .course-image-preview small { color: #93ab9f; }
[data-bs-theme="dark"] .form-text { color: #93ab9f; }
[data-bs-theme="dark"] .course-active-field { background: #1b2b24; border: 1px solid #28382f; }
[data-bs-theme="dark"] .field-help { color: #93ab9f; }
[data-bs-theme="dark"] .btn-modal-cancel { color: #93ab9f; background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .btn-modal-cancel:hover { color: #e9f2ed; background: #1b2b24; }

/* ---- static/css/admin/curso/1.2Modal_Estrutura.css ---- */
[data-bs-theme="dark"] .structure-modal { background: #16241e; }
[data-bs-theme="dark"] .course-summary { background: #1b2b24; }
[data-bs-theme="dark"] .progress { background: #1b2b24; }
[data-bs-theme="dark"] .btn-add-atividade { border: 1px solid #2a3a55; }
[data-bs-theme="dark"] .btn-add-atividade:hover { background: #1c2a3f; }
[data-bs-theme="dark"] .structure-alert { border: 1px solid #4a3d20; color: #f0b429; }
[data-bs-theme="dark"] .structure-item { background: #16241e; }
[data-bs-theme="dark"] .structure-item:hover { border-color: #28382f; }
[data-bs-theme="dark"] .modulo-card { background: #16241e; border-color: #28382f; }
[data-bs-theme="dark"] .modulo-card:hover { border-color: #33473c; }
[data-bs-theme="dark"] .modulo-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .modulo-drag-handle { color: #93ab9f; }
[data-bs-theme="dark"] .modulo-vazio { border-color: #28382f; color: #93ab9f; }
[data-bs-theme="dark"] .drag-handle { color: #93ab9f; }
[data-bs-theme="dark"] .item-number { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .item-status.pendente { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .item-action { border: 1px solid #28382f; background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .item-action:hover { border-color: #28382f; }
[data-bs-theme="dark"] .item-action.delete:hover { border-color: #4a2c29; }
[data-bs-theme="dark"] .structure-item.locked { background: #1b2b24; }
[data-bs-theme="dark"] .structure-item.locked .item-icon { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .empty-structure { border: 1px dashed #28382f; }
[data-bs-theme="dark"] .structure-footer { background: #1b2b24; }
[data-bs-theme="dark"] .btn-back { background: #16241e; border: 1px solid #28382f; color: #93ab9f; }
[data-bs-theme="dark"] .aula-imagem-preview { border: 1.5px dashed #28382f; }
[data-bs-theme="dark"] .aula-imagem-preview:hover { background: #173a2e; }
[data-bs-theme="dark"] .aula-imagem-preview span { color: #e9f2ed; }
[data-bs-theme="dark"] .aula-imagem-preview small { color: #93ab9f; }
[data-bs-theme="dark"] .arquivo-item { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .arquivo-item-nome { color: #e9f2ed; }

/* ---- static/css/admin/curso/1.8Modal_Conteudo_Programatico.css ---- */
[data-bs-theme="dark"] .topico-form-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .topico-form-heading { color: #e9f2ed; }

/* ---- static/css/admin/curso/1.3Modal_Material_Didatico.css ---- */
[data-bs-theme="dark"] .material-header { background: #16241e; }
[data-bs-theme="dark"] .material-title-icon { background: #173a2e; color: #20c295; }
[data-bs-theme="dark"] .material-header .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .material-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .material-body { background: #1b2b24; }
[data-bs-theme="dark"] .material-info-alert { background: #173a2e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .material-alert-icon { color: #20c295; }
[data-bs-theme="dark"] .material-info-alert strong { color: #e9f2ed; }
[data-bs-theme="dark"] .material-info-alert p { color: #93ab9f; }
[data-bs-theme="dark"] .add-material-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .add-material-header h6 { color: #e9f2ed; }
[data-bs-theme="dark"] .add-material-header span { color: #93ab9f; }
[data-bs-theme="dark"] .material-label { color: #e9f2ed; }
[data-bs-theme="dark"] .material-label span { color: #ff6b6a; }
[data-bs-theme="dark"] .material-input { border-color: #28382f; }
[data-bs-theme="dark"] .material-upload i { color: #20c295; }
[data-bs-theme="dark"] .material-upload .form-control { border-color: #28382f; }
[data-bs-theme="dark"] .material-help { color: #93ab9f; }
[data-bs-theme="dark"] .required-material { border: 1px solid #28382f; }
[data-bs-theme="dark"] .required-material:hover { border-color: #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .required-check { border: 1.5px solid #28382f; }
[data-bs-theme="dark"] .required-content small { color: #93ab9f; }
[data-bs-theme="dark"] .material-item { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .material-item:hover { border-color: #28382f; }
[data-bs-theme="dark"] .material-file-icon.pdf { background: #3a201e; }
[data-bs-theme="dark"] .material-file-icon.word { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .material-item-name { color: #e9f2ed; }
[data-bs-theme="dark"] .material-item-meta { color: #93ab9f; }
[data-bs-theme="dark"] .required-badge { background: #173a2e; color: #20c295; }
[data-bs-theme="dark"] .material-action { background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .material-action:hover { background: #173a2e; color: #20c295; }
[data-bs-theme="dark"] .material-action.delete:hover { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .material-footer { background: #16241e; }
[data-bs-theme="dark"] .material-footer-info { color: #93ab9f; }
[data-bs-theme="dark"] .material-footer-info i { color: #20c295; }
[data-bs-theme="dark"] .material-btn-cancel { border: 1px solid #28382f; }

/* ---- static/css/admin/curso/1.4Modal_Prova.css ---- */
[data-bs-theme="dark"] .prova-header { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .prova-title-icon { background: #173a2e; color: #20c295; }
[data-bs-theme="dark"] .prova-header .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .prova-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .prova-body { background: #1b2b24; }
[data-bs-theme="dark"] .section-card { background: #16241e; }
[data-bs-theme="dark"] .section-header h6 { color: #e9f2ed; }
[data-bs-theme="dark"] .configuration-badge { background: #173a2e; color: #20c295 !important; }
[data-bs-theme="dark"] .prova-input { border-color: #28382f; }
[data-bs-theme="dark"] .input-group-text { background: #1b2b24; border-color: #28382f; }
[data-bs-theme="dark"] .field-help { color: #93ab9f; }
[data-bs-theme="dark"] .mode-card:has(input:checked) { background: #1b2b24; }
[data-bs-theme="dark"] .mode-icon.prova { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .mode-icon.reciclagem { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .mode-info span { color: #93ab9f; }
[data-bs-theme="dark"] .modelo-prova { border: 1px solid #28382f; }
[data-bs-theme="dark"] .modelo-prova:hover { border-color: #28382f; }
[data-bs-theme="dark"] .modelo-icon { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .modelo-icon.reciclagem { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .modelo-name { color: #e9f2ed; }
[data-bs-theme="dark"] .status-active { color: #20c295 !important; }
[data-bs-theme="dark"] .modelo-meta { color: #93ab9f; }
[data-bs-theme="dark"] .modelo-tag { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .modelo-tag.reciclagem { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .modelo-action { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .modelo-action:hover { background: #173a2e; color: #20c295; }
[data-bs-theme="dark"] .modelo-action.delete:hover { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .editing-badge { background: #173a2e; color: #20c295 !important; }
[data-bs-theme="dark"] .score-total { background: #173a2e; }
[data-bs-theme="dark"] .score-total strong { color: #20c295; }
[data-bs-theme="dark"] .score-alert.valid { background: #173a2e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .score-alert.invalid { background: #3a201e; }
[data-bs-theme="dark"] .question-card { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .question-type-badge { background: #173a2e; color: #20c295; }
[data-bs-theme="dark"] .question-type-badge.multiple { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .question-score { border: 1px solid #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .question-score-input { background: #16241e; }
[data-bs-theme="dark"] .question-save-status { background: #173a2e; color: #20c295; }
[data-bs-theme="dark"] .question-card.erro-salvar .question-save-status { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .question-content textarea { border-color: #28382f; }
[data-bs-theme="dark"] .question-enunciado-input { background: #16241e; color: #e9f2ed; }
[data-bs-theme="dark"] .answer-option { border: 1px solid #28382f; }
[data-bs-theme="dark"] .answer-option:hover { background: #1b2b24; }
[data-bs-theme="dark"] .answer-option:has(.answer-option-correta-radio:checked) { border-color: #28382f; background: #173a2e; }
[data-bs-theme="dark"] .answer-option-input { color: #e9f2ed; }
[data-bs-theme="dark"] .answer-option-input:hover { border-color: #28382f; }
[data-bs-theme="dark"] .answer-option-input:focus { background: #1b2b24; border-color: #20c295; }
[data-bs-theme="dark"] .correct-label { color: #20c295 !important; }
[data-bs-theme="dark"] .modelo-collapse-toggle:hover h6 { color: #20c295; }
[data-bs-theme="dark"] .collapse-chevron { color: #6a7d75; }
[data-bs-theme="dark"] .modelo-body-inner { border-top: 1px dashed #28382f; }
[data-bs-theme="dark"] .btn-add-option { color: #20c295; }
[data-bs-theme="dark"] .question-footer > span { color: #93ab9f; }
[data-bs-theme="dark"] .question-footer > span i { color: #20c295; }
[data-bs-theme="dark"] .question-action:hover { color: #20c295; }
[data-bs-theme="dark"] .question-action.delete:hover { color: #ff6b6a; }
[data-bs-theme="dark"] .add-question-area { background: #1b2b24; }
[data-bs-theme="dark"] .add-question-button { color: #20c295; }
[data-bs-theme="dark"] .add-question-options button { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .add-question-options button:hover { color: #20c295; }
[data-bs-theme="dark"] .prova-footer { border-top: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .footer-validation > i { color: #20c295; }

/* ---- static/css/admin/curso/1.5Modal_Financeiro.css ---- */
[data-bs-theme="dark"] .financeiro-header { border-bottom: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .financeiro-title-icon { background: #173a2e; color: #20c295; }
[data-bs-theme="dark"] .financeiro-header .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .financeiro-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .financeiro-body { background: #1b2b24; }
[data-bs-theme="dark"] .financeiro-tabs { background: #16241e; border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .financeiro-tab { color: #93ab9f; }
[data-bs-theme="dark"] .financeiro-tab.active { color: #20c295; }
[data-bs-theme="dark"] .financeiro-price-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .price-card-icon { background: #173a2e; color: #20c295; }
[data-bs-theme="dark"] .price-card-title strong { color: #e9f2ed; }
[data-bs-theme="dark"] .price-card-title span { color: #93ab9f; }
[data-bs-theme="dark"] .price-input-wrapper { background: #16241e; }
[data-bs-theme="dark"] .currency-prefix { color: #20c295; }
[data-bs-theme="dark"] .price-input { color: #e9f2ed; }
[data-bs-theme="dark"] .payment-section { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .payment-section-header h6 { color: #e9f2ed; }
[data-bs-theme="dark"] .payment-section-header span { color: #93ab9f; }
[data-bs-theme="dark"] .payment-card { border: 1px solid #28382f; }
[data-bs-theme="dark"] .payment-card.active { border-color: #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .payment-card-indisponivel { background: #16241e; }
[data-bs-theme="dark"] .payment-indisponivel-aviso { color: #f0b429; }
[data-bs-theme="dark"] .custom-checkbox { border: 1px solid #28382f; }
[data-bs-theme="dark"] .payment-icon.pix { color: #20c295; }
[data-bs-theme="dark"] .payment-icon.cartao { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .payment-info strong { color: #e9f2ed; }
[data-bs-theme="dark"] .payment-info span { color: #93ab9f; }
[data-bs-theme="dark"] .payment-discount label { color: #93ab9f; }
[data-bs-theme="dark"] .discount-input { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .discount-input input { color: #e9f2ed; }
[data-bs-theme="dark"] .discount-input span { color: #93ab9f; }
[data-bs-theme="dark"] .payment-final span { color: #93ab9f; }
[data-bs-theme="dark"] .payment-final strong { color: #20c295; }
[data-bs-theme="dark"] .financeiro-summary { background: #173a2e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .summary-icon { background: #16241e; color: #20c295; }
[data-bs-theme="dark"] .summary-info span { color: #93ab9f; }
[data-bs-theme="dark"] .summary-price span { color: #93ab9f; }
[data-bs-theme="dark"] .summary-price strong { color: #20c295; }
[data-bs-theme="dark"] .financeiro-footer { background: #16241e; border-top: 1px solid #28382f; }
[data-bs-theme="dark"] .financeiro-security i { color: #20c295; }
[data-bs-theme="dark"] .financeiro-cancel { border: 1px solid #28382f; }

/* ---- static/css/admin/curso/1.6Modal_Certificado_Metrica.css ---- */
[data-bs-theme="dark"] body { background: #1b2b24; color: #e9f2ed; }
[data-bs-theme="dark"] .certificado-header { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .certificado-header .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .certificado-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .certificado-tabs { background: #16241e; border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .certificado-tab { color: #93ab9f; }
[data-bs-theme="dark"] .certificado-body { background: #1b2b24; }
[data-bs-theme="dark"] .certificado-field-label { color: #e9f2ed; }
[data-bs-theme="dark"] .certificado-help { color: #93ab9f; }
/* .certificado-preview-* (o "papel" do certificado em si) fica de fora
   do tema escuro de propósito -- ele sempre representa uma folha branca
   independente do tema do site, então nunca deve escurecer. As 7 regras
   que existiam aqui antes forçavam texto quase branco em cima do fundo
   sempre-branco do papel (#fffdf8, ver .certificado-preview em
   1.6Modal_Certificado_Metrica.css), deixando título/rodapé/QR quase
   ilegíveis no tema escuro -- removidas. */
[data-bs-theme="dark"] .metrica-info-box { background: #1c2a3f; border: 1px solid #2a3a55; }
[data-bs-theme="dark"] .metrica-timeline { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .certificado-footer { border-top: 1px solid #28382f; background: #16241e; }

/* ---- static/css/admin/curso/1.7Modal_Categorias.css ---- */
[data-bs-theme="dark"] .curso-categorias-modal .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .curso-categorias-modal .modal-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .curso-categorias-modal .modal-footer { background: #1b2b24; }
[data-bs-theme="dark"] .curso-categoria-item { border: 1px solid #28382f; }
[data-bs-theme="dark"] .curso-categoria-item:hover { background: #1b2b24; border-color: #28382f; }
[data-bs-theme="dark"] .curso-categoria-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .curso-categoria-contagem { color: #93ab9f; }
[data-bs-theme="dark"] .curso-categorias-vazio { color: #93ab9f; }
[data-bs-theme="dark"] .curso-categorias-modal .btn-modal-cancel { color: #93ab9f; background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .curso-categorias-modal .btn-modal-cancel:hover { color: #e9f2ed; background: #1b2b24; }

/* ---- static/css/admin/dashboard/1.0Dashboard.css ---- */
[data-bs-theme="dark"] .stat-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .stat-card .stat-label { color: #93ab9f; }
[data-bs-theme="dark"] .stat-icon.green { background: #173a2e; }
[data-bs-theme="dark"] .stat-icon.blue { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .stat-icon.amber { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .stat-icon.purple { background: #291f38; color: #b18aef; }
[data-bs-theme="dark"] .stat-card .stat-value { color: #e9f2ed; }
[data-bs-theme="dark"] .stat-change.down { color: #ff6b6a; }
[data-bs-theme="dark"] .stat-change.neutral { color: #93ab9f; }
[data-bs-theme="dark"] .section-title { color: #e9f2ed; }
[data-bs-theme="dark"] .quick-action { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .quick-action:hover { border-color: #28382f; }
[data-bs-theme="dark"] .kanban-resumo-item { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .kanban-resumo-numero { color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-resumo-numero.urgente { color: #ff6b6a; }
[data-bs-theme="dark"] .kanban-resumo-label { color: #93ab9f; }
[data-bs-theme="dark"] .support-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .support-card .support-title { color: #e9f2ed; }
[data-bs-theme="dark"] .support-card .support-desc { color: #93ab9f; }

/* ---- static/css/admin/empresa/1.0Empresa.css ---- */
[data-bs-theme="dark"] .empresa-toolbar { background: #16241e; }
[data-bs-theme="dark"] .empresa-search i { color: #93ab9f; }
[data-bs-theme="dark"] .empresa-search input { border: 1px solid #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .empresa-search input:focus { background: #16241e; }
[data-bs-theme="dark"] .empresa-table-card { background: #16241e; }
[data-bs-theme="dark"] .empresa-table thead th { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .empresa-table tbody tr:hover { background: #1b2b24; }
[data-bs-theme="dark"] .empresa-id { color: #93ab9f; }
[data-bs-theme="dark"] .empresa-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .empresa-cnpj { color: #93ab9f; }
[data-bs-theme="dark"] .empresa-funcionarios { color: #93ab9f; }
[data-bs-theme="dark"] .empresa-funcionarios i { color: #93ab9f; }
[data-bs-theme="dark"] .status-badge.status-nao_confirmado { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .status-badge.status-inativo { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .empresa-action { border: 1px solid #28382f; background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .empresa-action:hover { border-color: #28382f; }
[data-bs-theme="dark"] .empresa-action.delete:hover { background: #3a201e; color: #ff6b6a; border-color: #4a2c29; }
[data-bs-theme="dark"] .empresa-action.warning:hover { background: #3a3018; color: #f0b429; border-color: #4a3d20; }

/* ---- static/css/admin/empresa/1.1Modal_Criar_Empresa.css ---- */
[data-bs-theme="dark"] .empresa-create-modal .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .empresa-create-modal .modal-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .empresa-create-modal .modal-footer { background: #1b2b24; }
[data-bs-theme="dark"] .empresa-form-secao-titulo { color: #93ab9f; }
[data-bs-theme="dark"] .empresa-create-modal .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .empresa-create-modal .required { color: #ff6b6a; }
[data-bs-theme="dark"] .empresa-create-modal .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .empresa-email-confirmado { background: #1b2b24; border: 1px solid #28382f; }
[data-bs-theme="dark"] .empresa-email-confirmado .form-check-label { color: #e9f2ed; }
[data-bs-theme="dark"] .empresa-create-modal .btn-modal-cancel { color: #93ab9f; background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .empresa-create-modal .btn-modal-cancel:hover { color: #e9f2ed; background: #1b2b24; }

/* ---- static/css/admin/financeiro/1.0Financeiro.css ---- */
[data-bs-theme="dark"] .fin-adm-tabs { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .fin-adm-tab { color: #93ab9f; }
[data-bs-theme="dark"] .fin-adm-card { background: #16241e; }
[data-bs-theme="dark"] .fin-adm-card-label { color: #93ab9f; }
[data-bs-theme="dark"] .fin-adm-card-valor { color: #e9f2ed; }
[data-bs-theme="dark"] .fin-adm-card-valor.aberto { color: #6ea3ff; }
[data-bs-theme="dark"] .fin-adm-card-valor.vencido { color: #ff6b6a; }
[data-bs-theme="dark"] .fin-adm-card-valor.cancelado { color: #93ab9f; }
[data-bs-theme="dark"] .fin-adm-card-sub { color: #93ab9f; }
[data-bs-theme="dark"] .fin-adm-lista-card { background: #16241e; }
[data-bs-theme="dark"] .fin-adm-lista-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .fin-adm-lista-item { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .fin-adm-lista-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .fin-adm-lista-sub { color: #93ab9f; }
[data-bs-theme="dark"] .fin-adm-lista-valor.vencido { color: #ff6b6a; }
[data-bs-theme="dark"] .fin-adm-busca i { color: #93ab9f; }
[data-bs-theme="dark"] .fin-adm-busca input { border: 1.5px solid #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .fin-adm-filtros .form-select { border: 1.5px solid #28382f; }
[data-bs-theme="dark"] .fin-adm-usuario-email { color: #93ab9f; }
[data-bs-theme="dark"] .fin-adm-action { border: 1px solid #28382f; background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .fin-adm-action:hover { border-color: #28382f; }
[data-bs-theme="dark"] .fin-adm-action.warning:hover { background: #3a3018; color: #f0b429; border-color: #4a3d20; }
[data-bs-theme="dark"] .status-badge.status-aberto { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .status-badge.status-cancelado { background: #1b2b24; color: #93ab9f; }

/* ---- static/css/admin/integracao/1.0Integracoes.css ---- */
[data-bs-theme="dark"] .integracao-card { background: #16241e; }
[data-bs-theme="dark"] .integracao-card-titulo h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .integracao-card-titulo p { color: #93ab9f; }
[data-bs-theme="dark"] .integracao-status.parcial { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .integracao-status.pendente { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .integracao-label { color: #93ab9f; }
[data-bs-theme="dark"] .integracao-label-dica { color: #93ab9f; }
[data-bs-theme="dark"] .integracao-form .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .integracao-form .form-select { border: 1px solid #28382f; }
[data-bs-theme="dark"] .integracao-checkbox { color: #e9f2ed; }
[data-bs-theme="dark"] .integracao-teste-form { border-top: 1px dashed #28382f; }
[data-bs-theme="dark"] .integracao-webhook { border-top: 1px dashed #28382f; }
[data-bs-theme="dark"] .integracao-webhook-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .integracao-webhook-desc { color: #93ab9f; }
[data-bs-theme="dark"] .integracao-webhook-campo { border: 1px solid #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .integracao-btn.testar { background: #1b2b24; color: #e9f2ed; border: 1px solid #28382f; }
[data-bs-theme="dark"] .integracao-btn.testar:hover { background: #1b2b24; }
[data-bs-theme="dark"] .integracao-secao-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .integracao-secao-sub { color: #93ab9f; }
[data-bs-theme="dark"] .integracao-log-card { background: #16241e; }
[data-bs-theme="dark"] .integracao-tabela th { color: #93ab9f; }
[data-bs-theme="dark"] .integracao-tabela td { border-bottom: 1px solid #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .integracao-tabela code { color: #93ab9f; }
[data-bs-theme="dark"] .integracao-tab { color: #93ab9f; background: #1b2b24; }
[data-bs-theme="dark"] .integracao-log-item { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .integracao-log-icone.erro { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .integracao-log-topo { color: #e9f2ed; }
[data-bs-theme="dark"] .integracao-log-provedor.asaas { color: #20c295; }
[data-bs-theme="dark"] .integracao-log-data { color: #93ab9f; }
[data-bs-theme="dark"] .integracao-log-requisicao { color: #93ab9f; }
[data-bs-theme="dark"] .integracao-log-resposta { color: #93ab9f; }
[data-bs-theme="dark"] .integracao-log-resposta { color: #93ab9f; }
[data-bs-theme="dark"] .integracao-log-item.falhou .integracao-log-resposta { color: #ff6b6a; }

/* ---- static/css/admin/kanban/1.0Kanban.css ---- */
[data-bs-theme="dark"] .kanban-indicador { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .kanban-indicador-numero { color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-indicador-label { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-indicador-caption { color: #6c8579; }
[data-bs-theme="dark"] .kanban-indicador--amarela .kanban-indicador-icone { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .kanban-indicador--vermelha .kanban-indicador-icone { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .kanban-indicador--azul .kanban-indicador-icone { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .kanban-indicador--verde .kanban-indicador-icone { background: #163024; color: #20c295; }

[data-bs-theme="dark"] .kanban-tabs-linha { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .kanban-tab { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-tab:hover { color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-tab-badge { background: #1b2b24; border: 1px solid #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-tab-badge--zero { color: #93ab9f; }

[data-bs-theme="dark"] .kanban-filtro-busca { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .kanban-filtro-busca input { color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-filtro-busca i { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-filtro-toggle { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-sem-resultado { background: #1b2b24; color: #93ab9f; }

[data-bs-theme="dark"] .kanban-aviso { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .kanban-grupo-cabecalho { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .kanban-grupo-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-grupo-subtitulo { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-coluna { background: #1b2b24; }
[data-bs-theme="dark"] .kanban-coluna-titulo-texto { color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-coluna-titulo-sub { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-coluna-titulo-badge { background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .kanban-coluna--amarela .kanban-coluna-titulo-badge { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .kanban-coluna--vermelha .kanban-coluna-titulo-badge { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .kanban-coluna--azul .kanban-coluna-titulo-badge { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .kanban-coluna-positiva .kanban-coluna-titulo-badge { background: #163024; color: #20c295; }
[data-bs-theme="dark"] .kanban-coluna-contagem { background: #16241e; color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-coluna-colapsar { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-coluna-colapsar:hover { color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-cartao { background: #16241e; }
[data-bs-theme="dark"] .kanban-cartao-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-cartao-meta { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-cartao-meta i { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-chip--amarela { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .kanban-chip--vermelha { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .kanban-chip--azul { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .kanban-chip--verde { background: #163024; color: #20c295; }
[data-bs-theme="dark"] .kanban-vazio-icone { background: #16241e; border: 1px solid #28382f; color: #3a4d43; }
[data-bs-theme="dark"] .kanban-vazio p { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-detalhe-item { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .kanban-detalhe-item span { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-detalhe-item strong { color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-detalhe-item strong.urgente { color: #ff6b6a; }
[data-bs-theme="dark"] .kanban-detalhe-prova { border-top: 1px solid #28382f; }
[data-bs-theme="dark"] .kanban-detalhe-prova-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-prova-tentativa { border: 1px solid #28382f; }
[data-bs-theme="dark"] .kanban-prova-tentativa summary { color: #93ab9f; }
[data-bs-theme="dark"] .kanban-prova-badge.aprovado { background: #173a2e; color: #3ddc97; }
[data-bs-theme="dark"] .kanban-prova-badge.reprovado { background: #3a201e; color: #ff8f8a; }
[data-bs-theme="dark"] .kanban-prova-resposta { background: #1b2b24; }
[data-bs-theme="dark"] .kanban-prova-resposta p { color: #e9f2ed; }
[data-bs-theme="dark"] .kanban-prova-resposta span { color: #93ab9f; }

/* ---- static/css/admin/log/1.0Log.css ---- */
[data-bs-theme="dark"] .log-tab { color: #93ab9f; }
[data-bs-theme="dark"] .log-tab-count { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .log-periodo-form { background: #16241e; }
[data-bs-theme="dark"] .log-periodo-campo label { color: #93ab9f; }
[data-bs-theme="dark"] .log-periodo-campo input { border: 1px solid #28382f; }
[data-bs-theme="dark"] .log-periodo-limpar { color: #93ab9f; }
[data-bs-theme="dark"] .log-toolbar { background: #16241e; }
[data-bs-theme="dark"] .log-search input { background: #1b2b24; }
[data-bs-theme="dark"] .log-card { background: #16241e; }
[data-bs-theme="dark"] .log-aviso-limite { background: #3a3018; border: 1px solid #4a3d20; color: #f0b429; }
[data-bs-theme="dark"] .log-alvo-badge { color: #93ab9f; background: #1b2b24; }
[data-bs-theme="dark"] .log-alvo-badge.log-alvo-empresa { background: #1c2a3f; color: #6ea3ff; }

/* ---- static/css/admin/certificado/1.0Certificado.css ---- */
[data-bs-theme="dark"] .cert-tab { color: #93ab9f; }
[data-bs-theme="dark"] .cert-tab-count { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .cert-periodo-form { background: #16241e; }
[data-bs-theme="dark"] .cert-periodo-campo label { color: #93ab9f; }
[data-bs-theme="dark"] .cert-periodo-campo input { border: 1px solid #28382f; background: #1b2b24; color: #e9f2ed; }
[data-bs-theme="dark"] .cert-periodo-limpar { color: #93ab9f; }
[data-bs-theme="dark"] .cert-toolbar { background: #16241e; }
[data-bs-theme="dark"] .cert-search { background: #1b2b24; border: 1px solid #28382f; }
[data-bs-theme="dark"] .cert-search input { color: #e9f2ed; }
[data-bs-theme="dark"] .cert-card { background: #16241e; }
[data-bs-theme="dark"] .cert-aviso-limite { background: #3a3018; border: 1px solid #4a3d20; color: #f0b429; }
[data-bs-theme="dark"] .cert-item { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .cert-item:hover { background: #1b2b24; }
[data-bs-theme="dark"] .cert-icon { background: #163024; color: #20c295; }
[data-bs-theme="dark"] .cert-icon.vencido { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .cert-item-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .cert-item-codigo { color: #93ab9f; }
[data-bs-theme="dark"] .cert-item-curso { color: #93ab9f; }
[data-bs-theme="dark"] .cert-item-meta { color: #93ab9f; }
[data-bs-theme="dark"] .cert-item-meta .vencido { color: #ff6b6a; }
[data-bs-theme="dark"] .cert-item-seta { color: #3a4d43; }
[data-bs-theme="dark"] .cert-detalhe-item { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .cert-detalhe-item span { color: #93ab9f; }
[data-bs-theme="dark"] .cert-detalhe-item strong { color: #e9f2ed; }
[data-bs-theme="dark"] .cert-detalhe-item strong.urgente { color: #ff6b6a; }
[data-bs-theme="dark"] .cert-detalhe-secao { border-top: 1px solid #28382f; }
[data-bs-theme="dark"] .cert-detalhe-secao h6 { color: #e9f2ed; }

/* ---- static/css/admin/erro/1.0Erros.css ---- */
[data-bs-theme="dark"] .erro-detalhe-item { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .erro-detalhe-item span { color: #93ab9f; }
[data-bs-theme="dark"] .erro-detalhe-item strong { color: #e9f2ed; }
[data-bs-theme="dark"] .erro-traceback-titulo { color: #93ab9f; }
[data-bs-theme="dark"] .cert-detalhe-resumo { color: #93ab9f; }
[data-bs-theme="dark"] .cert-resposta-item { background: #1b2b24; }
[data-bs-theme="dark"] .cert-resposta-item p { color: #e9f2ed; }
[data-bs-theme="dark"] .cert-resposta-dada { color: #93ab9f; }
[data-bs-theme="dark"] .cert-log-item { background: #1b2b24; }
[data-bs-theme="dark"] .cert-log-acao { color: #e9f2ed; }
[data-bs-theme="dark"] .cert-log-detalhe { color: #93ab9f; }
[data-bs-theme="dark"] .cert-log-data { color: #6c8579; }

/* ---- static/css/admin/regra_comercial/1.0Regras.css ---- */
[data-bs-theme="dark"] .regra-config-card { background: #16241e; }
[data-bs-theme="dark"] .regra-config-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .regra-config-sub { color: #93ab9f; }
[data-bs-theme="dark"] .regra-config-form .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .regra-status-btn.inativo { background: #1b2b24; color: #93ab9f; }

/* ---- static/css/admin/suporte/1.0Suporte.css ---- */
[data-bs-theme="dark"] .suporte-tab { color: #93ab9f; }
[data-bs-theme="dark"] .suporte-toolbar { background: #16241e; }
[data-bs-theme="dark"] .suporte-search i { color: #93ab9f; }
[data-bs-theme="dark"] .suporte-search input { border: 1px solid #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .suporte-search input:focus { background: #16241e; }
[data-bs-theme="dark"] .suporte-table-card { background: #16241e; }
[data-bs-theme="dark"] .suporte-table thead th { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .suporte-table tbody tr:hover { background: #1b2b24; }
[data-bs-theme="dark"] .suporte-id { color: #93ab9f; }
[data-bs-theme="dark"] .suporte-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .suporte-assunto { color: #93ab9f; }
[data-bs-theme="dark"] .status-badge.status-suporte-aberto { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .status-badge.status-suporte-em_andamento { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .status-badge.status-nova { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .status-badge.status-arquivada { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .suporte-action { border: 1px solid #28382f; background: #16241e; color: #93ab9f; }
[data-bs-theme="dark"] .suporte-action:hover { border-color: #28382f; }

/* ---- static/css/admin/suporte/1.1Modal_Abrir_Chamado.css ---- */
[data-bs-theme="dark"] .suporte-modal .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .suporte-modal .modal-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .suporte-modal .modal-footer { background: #1b2b24; }
[data-bs-theme="dark"] .suporte-modal .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .suporte-modal .required { color: #ff6b6a; }
[data-bs-theme="dark"] .suporte-modal .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .suporte-modal .form-select { border: 1px solid #28382f; }
[data-bs-theme="dark"] .suporte-modal .btn-modal-cancel { color: #93ab9f; background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .suporte-modal .btn-modal-cancel:hover { color: #e9f2ed; background: #1b2b24; }
[data-bs-theme="dark"] .contato-detalhe-card { background: #1b2b24; border: 1px solid #28382f; }
[data-bs-theme="dark"] .contato-detalhe-linha span { color: #93ab9f; }
[data-bs-theme="dark"] .contato-detalhe-linha strong { color: #e9f2ed; }
[data-bs-theme="dark"] .contato-mensagem-texto { background: #16241e; color: #93ab9f; }

/* ---- static/css/admin/suporte/1.2Chamado_Detalhe.css ---- */
[data-bs-theme="dark"] .chat-voltar { color: #93ab9f; }
[data-bs-theme="dark"] .chat-card { background: #16241e; }
[data-bs-theme="dark"] .chat-header { background: #1b2b24; }
[data-bs-theme="dark"] .chat-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .chat-status-select { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .chat-status-select.status-suporte-aberto { color: #ff6b6a; }
[data-bs-theme="dark"] .chat-status-select.status-suporte-em_andamento { color: #f0b429; }
[data-bs-theme="dark"] .chat-timeline { background: #1b2b24; }
[data-bs-theme="dark"] .chat-data-separador span { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .chat-vazio { color: #93ab9f; }
[data-bs-theme="dark"] .chat-bubble-avatar { background: #1b2b24; color: #e9f2ed; }
[data-bs-theme="dark"] .chat-bubble { background: #16241e; }
[data-bs-theme="dark"] .chat-bubble-autor { color: #93ab9f; }
[data-bs-theme="dark"] .chat-bubble-hora { color: #93ab9f; }
[data-bs-theme="dark"] .chat-bubble-anexo video { background: #16241e; }
[data-bs-theme="dark"] .chat-composer { background: #16241e; }
[data-bs-theme="dark"] .chat-anexo-btn { border: 1px solid #28382f; color: #93ab9f; }
[data-bs-theme="dark"] .chat-anexo-btn:hover { border-color: #28382f; }
[data-bs-theme="dark"] .chat-texto-input { border: 1px solid #28382f; }

/* ---- static/css/aluno/1.1Perfil.css ---- */
[data-bs-theme="dark"] .perfil-cabecalho { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .perfil-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .perfil-email { color: #93ab9f; }
[data-bs-theme="dark"] .perfil-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .perfil-secao-titulo { color: #93ab9f; }
[data-bs-theme="dark"] .perfil-card .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .perfil-card .required { color: #ff6b6a; }
[data-bs-theme="dark"] .perfil-card .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .perfil-card .form-text { color: #93ab9f; }
[data-bs-theme="dark"] .perfil-card-footer { border-top: 1px solid #28382f; }

/* ---- static/css/aluno/2.0Suporte.css ---- */
[data-bs-theme="dark"] .suporte-voltar { color: #93ab9f; }
[data-bs-theme="dark"] .suporte-topo { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .suporte-topo-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .suporte-topo-subtitulo { color: #93ab9f; }
[data-bs-theme="dark"] .suporte-search i { color: #93ab9f; }
[data-bs-theme="dark"] .suporte-search input { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .suporte-count { color: #93ab9f; }
[data-bs-theme="dark"] .suporte-item { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .suporte-item:hover { border-color: #28382f; }
[data-bs-theme="dark"] .suporte-item-assunto { color: #e9f2ed; }
[data-bs-theme="dark"] .suporte-item-meta { color: #93ab9f; }
[data-bs-theme="dark"] .suporte-item-seta { color: #93ab9f; }
[data-bs-theme="dark"] .suporte-vazio { background: #16241e; border: 1px dashed #28382f; }
[data-bs-theme="dark"] .suporte-vazio h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .suporte-vazio p { color: #93ab9f; }

/* ---- static/css/aluno/2.2Chamado_Detalhe.css ---- */
[data-bs-theme="dark"] .chat-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .chat-header { border-bottom: 1px solid #28382f; background: #1b2b24; }
[data-bs-theme="dark"] .chat-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .chat-email { color: #93ab9f; }
[data-bs-theme="dark"] .btn-chat-resolver { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .chat-timeline { background: #1b2b24; }
[data-bs-theme="dark"] .chat-data-separador span { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .chat-vazio { color: #93ab9f; }
[data-bs-theme="dark"] .chat-bubble-avatar { background: #1b2b24; color: #e9f2ed; }
[data-bs-theme="dark"] .chat-bubble { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .chat-bubble-autor { color: #93ab9f; }
[data-bs-theme="dark"] .chat-bubble-hora { color: #93ab9f; }
[data-bs-theme="dark"] .chat-bubble-anexo video { background: #16241e; }
[data-bs-theme="dark"] .chat-composer { border-top: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .chat-anexo-btn { border: 1px solid #28382f; color: #93ab9f; }
[data-bs-theme="dark"] .chat-anexo-btn:hover { border-color: #28382f; }
[data-bs-theme="dark"] .chat-texto-input { border: 1px solid #28382f; }

/* ---- static/css/aluno/3.0Cursos.css ---- */
[data-bs-theme="dark"] .cursos-tabs { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .cursos-tab { color: #93ab9f; }
[data-bs-theme="dark"] .cursos-tab.disabled { color: #93ab9f; }
[data-bs-theme="dark"] .cursos-tab.disabled:hover { color: #93ab9f; }
[data-bs-theme="dark"] .vitrine-aba-contagem { background: rgba(255, 255, 255, .1); }
[data-bs-theme="dark"] .curso-hover-painel { background: #16241e; }
[data-bs-theme="dark"] .curso-hover-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .curso-hover-descricao { color: #93ab9f; }
[data-bs-theme="dark"] .curso-hover-preco { color: #e9f2ed; }
[data-bs-theme="dark"] .curso-hover-btn.pendente { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .curso-hover-btn.detalhes { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .curso-hover-btn.detalhes:hover { background: #173a2e; color: #3ddc97; }
[data-bs-theme="dark"] .curso-card-acao-rapida.detalhes { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .curso-card-acao-rapida.detalhes:hover { background: #173a2e; color: #3ddc97; }
[data-bs-theme="dark"] .curso-card-rodape-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .curso-card-preco-consultar { color: #93ab9f; }
[data-bs-theme="dark"] .cursos-vazio { background: #16241e; border: 1px dashed #28382f; }
[data-bs-theme="dark"] .cursos-vazio h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .cursos-vazio p { color: #93ab9f; }
[data-bs-theme="dark"] .curso-detalhe-topo { border-color: #28382f; }
[data-bs-theme="dark"] .curso-detalhe-tabs { border-color: #28382f; }
[data-bs-theme="dark"] .curso-detalhe-tabs .nav-link { color: #93ab9f; }
[data-bs-theme="dark"] .curso-detalhe-descricao { color: #93ab9f; }
[data-bs-theme="dark"] .curso-detalhe-vazio { color: #6b8178; }
[data-bs-theme="dark"] .curso-detalhe-ementa li { color: #cddbd5; }

/* ---- static/css/aluno/3.1Checkout.css ---- */
[data-bs-theme="dark"] .checkout-voltar { color: #93ab9f; }
[data-bs-theme="dark"] .checkout-curso-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .checkout-curso-info h2 { color: #e9f2ed; }
[data-bs-theme="dark"] .checkout-curso-info p { color: #93ab9f; }
[data-bs-theme="dark"] .checkout-resumo-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .checkout-resumo-card h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .checkout-label { color: #93ab9f; }
[data-bs-theme="dark"] .checkout-cupom-input-row .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .checkout-link-remover { color: #ff6b6a; }
[data-bs-theme="dark"] .checkout-linha { color: #93ab9f; border-top: 1px dashed #28382f; }
[data-bs-theme="dark"] .checkout-linha.desconto { color: #f0b429; }
[data-bs-theme="dark"] .checkout-linha.total { color: #e9f2ed; border-top: 1px solid #28382f; }
[data-bs-theme="dark"] .checkout-btn.secundario { background: #1b2b24; color: #e9f2ed; border: 1px solid #28382f; }
[data-bs-theme="dark"] .checkout-btn.secundario:hover { background: #1b2b24; }
[data-bs-theme="dark"] .checkout-aviso { color: #93ab9f; }
[data-bs-theme="dark"] .checkout-forma-opcao { border: 1.5px solid #28382f; }
[data-bs-theme="dark"] .checkout-forma-opcao.selecionada { background: #173a2e; border-color: var(--perspicaz-green); }
[data-bs-theme="dark"] .checkout-forma-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .checkout-forma-desconto { background: #16241e; color: #3ddc97; }

/* ---- static/css/aluno/4.0Financeiro.css ---- */
[data-bs-theme="dark"] .fin-tabs { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .fin-tab { color: #93ab9f; }
[data-bs-theme="dark"] .fin-item { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .fin-item.pago { background: #1b2b24; }
[data-bs-theme="dark"] .fin-item-descricao { color: #e9f2ed; }
[data-bs-theme="dark"] .fin-item-meta { color: #93ab9f; }
[data-bs-theme="dark"] .fin-item-valor-original { color: #93ab9f; }
[data-bs-theme="dark"] .fin-btn.comprovante { background: #16241e; border: 1.5px solid #28382f; color: #3ddc97; }
[data-bs-theme="dark"] .fin-btn.comprovante:hover { background: #173a2e; color: #3ddc97; }
[data-bs-theme="dark"] .fin-vazio { background: #16241e; border: 1px dashed #28382f; }
[data-bs-theme="dark"] .fin-vazio h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .fin-vazio p { color: #93ab9f; }

/* ---- static/css/base/2.0Empresa_Admin.css ---- */
[data-bs-theme="dark"] body { color: #e9f2ed; }
[data-bs-theme="dark"] .sidebar { background: #16241e; border-right: 1px solid #28382f; }
[data-bs-theme="dark"] .sidebar-brand { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .sidebar-brand .brand-name { color: #e9f2ed; }
[data-bs-theme="dark"] .sidebar-brand .brand-sub { color: #93ab9f; }
[data-bs-theme="dark"] .nav-section-label { color: #93ab9f; }
[data-bs-theme="dark"] .sidebar-nav .nav-link { color: #93ab9f; }
[data-bs-theme="dark"] .sidebar-nav .nav-link.disabled { color: #93ab9f; }
[data-bs-theme="dark"] .sidebar-nav .nav-link.disabled:hover { color: #93ab9f; }
[data-bs-theme="dark"] .sidebar-footer { border-top: 1px solid #28382f; }
[data-bs-theme="dark"] .sidebar-footer .nav-link { color: #93ab9f; }
[data-bs-theme="dark"] .sidebar-footer .nav-link:hover { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .top-header { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .btn-menu-toggle:hover { background: #173a2e; }
[data-bs-theme="dark"] .page-title-wrap h1 { color: #e9f2ed; }
[data-bs-theme="dark"] .page-title-wrap p { color: #93ab9f; }
[data-bs-theme="dark"] .btn-icon-header { color: #93ab9f; }
[data-bs-theme="dark"] .notif-dropdown { border: 1px solid #28382f; }
[data-bs-theme="dark"] .notif-dropdown-header { color: #e9f2ed; border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .notif-item.nao-lida { background: #173a2e; }
[data-bs-theme="dark"] .notif-item-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .notif-item-msg { color: #93ab9f; }
[data-bs-theme="dark"] .notif-item-data { color: #93ab9f; }
[data-bs-theme="dark"] .notif-vazio { color: #93ab9f; }
[data-bs-theme="dark"] .sidebar-nav::-webkit-scrollbar-thumb { background: #1b2b24; }

/* ---- static/css/base/3.0Aluno.css ---- */
[data-bs-theme="dark"] body { color: #e9f2ed; }
[data-bs-theme="dark"] .sidebar { background: #16241e; border-right: 1px solid #28382f; }
[data-bs-theme="dark"] .sidebar-brand { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .sidebar-brand .brand-name { color: #e9f2ed; }
[data-bs-theme="dark"] .sidebar-brand .brand-sub { color: #93ab9f; }
[data-bs-theme="dark"] .nav-section-label { color: #93ab9f; }
[data-bs-theme="dark"] .sidebar-nav .nav-link { color: #93ab9f; }
[data-bs-theme="dark"] .sidebar-footer { border-top: 1px solid #28382f; }
[data-bs-theme="dark"] .sidebar-footer .nav-link { color: #93ab9f; }
[data-bs-theme="dark"] .sidebar-footer .nav-link:hover { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .top-header { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .btn-menu-toggle:hover { background: #173a2e; }
[data-bs-theme="dark"] .page-title-wrap h1 { color: #e9f2ed; }
[data-bs-theme="dark"] .page-title-wrap p { color: #93ab9f; }
[data-bs-theme="dark"] .btn-icon-header { color: #93ab9f; }
[data-bs-theme="dark"] .stat-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .stat-card .stat-label { color: #93ab9f; }
[data-bs-theme="dark"] .stat-icon.green { background: #173a2e; }
[data-bs-theme="dark"] .stat-icon.blue { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .stat-icon.amber { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .stat-icon.purple { background: #291f38; color: #b18aef; }
[data-bs-theme="dark"] .stat-card .stat-value { color: #e9f2ed; }
[data-bs-theme="dark"] .stat-change.neutral { color: #93ab9f; }
[data-bs-theme="dark"] .section-title { color: #e9f2ed; }
[data-bs-theme="dark"] .quick-action { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .quick-action:hover { border-color: #28382f; }
[data-bs-theme="dark"] .support-card { background: #16241e; }
[data-bs-theme="dark"] .support-card .support-icon { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .support-card .support-title { color: #e9f2ed; }
[data-bs-theme="dark"] .support-card .support-desc { color: #93ab9f; }
[data-bs-theme="dark"] .sidebar-nav::-webkit-scrollbar-thumb { background: #1b2b24; }
[data-bs-theme="dark"] .status-badge.status-nao_confirmado { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .status-badge.status-inativo { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .status-badge.status-suporte-aberto { background: #3a201e; color: #ff6b6a; }
[data-bs-theme="dark"] .status-badge.status-suporte-em_andamento { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .ajuda-modal-header { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .ajuda-modal-titulo h5 { color: #e9f2ed; }
[data-bs-theme="dark"] .ajuda-modal-titulo p { color: #93ab9f; }
[data-bs-theme="dark"] .ajuda-item-icone { background: #1b2b24; }
[data-bs-theme="dark"] .ajuda-item-texto h6 { color: #e9f2ed; }
[data-bs-theme="dark"] .ajuda-item-texto p { color: #93ab9f; }
[data-bs-theme="dark"] .ajuda-modal-footer { border-top: 1px solid #28382f; }
[data-bs-theme="dark"] .ajuda-modal-aviso { color: #93ab9f; }
[data-bs-theme="dark"] .notif-dropdown { border: 1px solid #28382f; }
[data-bs-theme="dark"] .notif-dropdown-header { color: #e9f2ed; border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .notif-item.nao-lida { background: #173a2e; }
[data-bs-theme="dark"] .notif-item-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .notif-item-msg { color: #93ab9f; }
[data-bs-theme="dark"] .notif-item-data { color: #93ab9f; }
[data-bs-theme="dark"] .notif-vazio { color: #93ab9f; }

/* ---- static/css/empresa/1.0Perfil.css ---- */
[data-bs-theme="dark"] .perfil-cabecalho { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .perfil-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .perfil-email { color: #93ab9f; }
[data-bs-theme="dark"] .perfil-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .perfil-secao-titulo { color: #93ab9f; }
[data-bs-theme="dark"] .perfil-card .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .perfil-card .required { color: #ff6b6a; }
[data-bs-theme="dark"] .perfil-card .form-control { border: 1px solid #28382f; }
[data-bs-theme="dark"] .perfil-card .form-text { color: #93ab9f; }
[data-bs-theme="dark"] .perfil-card-footer { border-top: 1px solid #28382f; }

/* ---- static/css/empresa/3.0Funcionarios.css ---- */
[data-bs-theme="dark"] .func-voltar { color: #93ab9f; }
[data-bs-theme="dark"] .func-topo-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .func-topo-subtitulo { color: #93ab9f; }
[data-bs-theme="dark"] .btn-func-acao.bloquear { background: #3a201e; color: #ff6b6a; border-color: #4a2c29; }
[data-bs-theme="dark"] .btn-func-acao.reativar { border-color: #28382f; }
[data-bs-theme="dark"] .btn-func-acao.reativar:hover { background: #1b2b24; }
[data-bs-theme="dark"] .btn-func-secundario { background: #16241e; color: #e9f2ed; border: 1px solid #28382f; }
[data-bs-theme="dark"] .btn-func-secundario:hover { background: #1b2b24; }
[data-bs-theme="dark"] .func-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .func-tabela th { color: #93ab9f; border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .func-tabela td { color: #e9f2ed; }
[data-bs-theme="dark"] .func-vazio { background: #16241e; border: 1px dashed #28382f; }
[data-bs-theme="dark"] .func-vazio h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .func-vazio p { color: #93ab9f; }
[data-bs-theme="dark"] .status-badge.status-nao_confirmado { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .status-badge.status-inativo { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .func-card-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .func-passos { color: #93ab9f; }
[data-bs-theme="dark"] .func-campos-titulo { color: #93ab9f; }
[data-bs-theme="dark"] .func-campos-lista li { color: #e9f2ed; border-bottom: 1px dashed #28382f; }
[data-bs-theme="dark"] .func-campo-obrigatorio { color: #ff6b6a; background: #3a201e; }
[data-bs-theme="dark"] .func-campo-opcional { color: #93ab9f; background: #1b2b24; }
[data-bs-theme="dark"] .func-aviso { color: #93ab9f; background: #1b2b24; }
[data-bs-theme="dark"] .func-upload-area { border: 2px dashed #28382f; color: #93ab9f; }
[data-bs-theme="dark"] .func-resumo-item { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .func-resumo-valor { color: #e9f2ed; }
[data-bs-theme="dark"] .func-resumo-item.erro .func-resumo-valor { color: #ff6b6a; }
[data-bs-theme="dark"] .func-resumo-label { color: #93ab9f; }
[data-bs-theme="dark"] .func-situacao.erro { color: #ff6b6a; }
[data-bs-theme="dark"] .func-erros { color: #ff6b6a; }
[data-bs-theme="dark"] .func-sem-validos { color: #ff6b6a; }

/* ---- static/css/empresa/4.0Comprar_Cursos.css ---- */
[data-bs-theme="dark"] .comprar-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .comprar-card-titulo { border-bottom: 1px solid #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .comprar-selecionar-todos { color: #93ab9f; }
[data-bs-theme="dark"] .comprar-item:hover { background: #1b2b24; }
[data-bs-theme="dark"] .comprar-item-nome { color: #e9f2ed; }
[data-bs-theme="dark"] .comprar-item-sub { color: #93ab9f; }
[data-bs-theme="dark"] .comprar-resumo { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .comprar-resumo-label { color: #93ab9f; }
[data-bs-theme="dark"] .comprar-resumo-valor { color: #e9f2ed; }
[data-bs-theme="dark"] .comprar-resumo-item.desconto .comprar-resumo-valor { color: #f0b429; }

/* ---- static/css/empresa/6.0Acompanhamento.css ---- */
[data-bs-theme="dark"] .acomp-resumo-item { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .acomp-resumo-valor { color: #e9f2ed; }
[data-bs-theme="dark"] .acomp-resumo-item.ativa .acomp-resumo-valor { color: #6ea3ff; }
[data-bs-theme="dark"] .acomp-resumo-item.expirada .acomp-resumo-valor { color: #ff6b6a; }
[data-bs-theme="dark"] .acomp-resumo-label { color: #93ab9f; }
[data-bs-theme="dark"] .acomp-filtros { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .acomp-filtros .form-label { color: #93ab9f; }
[data-bs-theme="dark"] .acomp-filtros .form-select { border: 1px solid #28382f; }
[data-bs-theme="dark"] .acomp-limpar { color: #ff6b6a; }
[data-bs-theme="dark"] .acomp-progresso-barra { background: #1b2b24; }
[data-bs-theme="dark"] .acomp-progresso-texto { color: #93ab9f; }
[data-bs-theme="dark"] .status-badge.status-ativa { background: #1c2a3f; color: #6ea3ff; }
[data-bs-theme="dark"] .status-badge.status-expirada { background: #3a201e; color: #ff6b6a; }

/* ---- static/css/funcionario/3.0Cursos.css ---- */
[data-bs-theme="dark"] .meus-cursos-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .meus-cursos-card-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .meus-cursos-card-meta { color: #93ab9f; }
[data-bs-theme="dark"] .meus-cursos-card-aviso { color: #ff6b6a; }
[data-bs-theme="dark"] .cursos-vazio { background: #16241e; border: 1px dashed #28382f; }
[data-bs-theme="dark"] .cursos-vazio h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .cursos-vazio p { color: #93ab9f; }

/* ---- static/css/curso_player/player.css ---- */
[data-bs-theme="dark"] .player-curso-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .player-curso-descricao { color: #93ab9f; }
[data-bs-theme="dark"] .player-voltar { color: #93ab9f; }
[data-bs-theme="dark"] .player-secao { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .player-secao.concluida { border-color: #1f4736; background: #16241e; }
[data-bs-theme="dark"] .player-modulo-titulo { color: #93ab9f; }
[data-bs-theme="dark"] .player-secao-titulo h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .player-secao-titulo p { color: #6b8178; }
[data-bs-theme="dark"] .player-secao-status { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .player-secao-status.concluida { background: #173a2e; color: #3ddc97; }
[data-bs-theme="dark"] .player-secao-status.urgente { background: #3a201e; color: #ff8f8a; }
[data-bs-theme="dark"] .player-aviso-esgotado { border: 1px solid #5a2e29; background: #3a201e; color: #ff8f8a; }
[data-bs-theme="dark"] .player-aviso-esgotado p { color: #e0a8a3; }
[data-bs-theme="dark"] .player-secao-seta { color: #6b8178; }
[data-bs-theme="dark"] .player-acesso-badge { background: #173a2e; color: #3ddc97; }
[data-bs-theme="dark"] .player-acesso-badge.urgente { background: #3a1c1c; color: #ff6b6a; }
[data-bs-theme="dark"] .player-item-obrigatorio { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .player-item { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .player-item.concluido { border-color: #1f4736; background: #173a2e; }
[data-bs-theme="dark"] .player-item.concluido .player-item-icone { background: var(--perspicaz-green); color: #fff; }
[data-bs-theme="dark"] .player-item.bloqueado .player-item-icone { background: #1b2b24; color: #6b8178; }
[data-bs-theme="dark"] .player-item-tipo { color: #6b8178; }
[data-bs-theme="dark"] .player-item-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .player-item-btn.disabled { background: #1b2b24; color: #6b8178; }
[data-bs-theme="dark"] .player-prova-card { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .player-prova-info strong { color: #e9f2ed; }
[data-bs-theme="dark"] .player-prova-info p { color: #93ab9f; }
[data-bs-theme="dark"] .player-prova-tentativas-contagem { color: #6c8579; }
[data-bs-theme="dark"] .player-prova-extra-badge { background: #173a2e; color: #3ddc97; }
[data-bs-theme="dark"] .player-tentativas { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .player-tentativas h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .player-tentativa-linha { border-top: 1px solid #28382f; color: #93ab9f; }
[data-bs-theme="dark"] .player-badge { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .player-arquivos h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .player-arquivo-item { border: 1px solid #28382f; background: #16241e; color: #e9f2ed; }
[data-bs-theme="dark"] .visualizador-arquivo-header { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .visualizador-arquivo-header .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .player-atividade-enunciado { color: #93ab9f; }
[data-bs-theme="dark"] .player-atividade-opcao { border: 1px solid #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .player-atividade-opcoes-resultado .player-atividade-opcao:hover { border-color: #28382f; background: transparent; }
[data-bs-theme="dark"] .player-atividade-opcao.correta { border-color: var(--perspicaz-green); background: #173a2e; color: #6fd4a8; }
[data-bs-theme="dark"] .player-atividade-opcao.incorreta { border-color: #5a2e29; background: #3a201e; color: #ff8f8a; }
[data-bs-theme="dark"] .player-prova-timer { background: #1b2b24; color: #93ab9f; }
[data-bs-theme="dark"] .player-pergunta { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .player-pergunta h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .player-pergunta.incorreta { border-color: #3a201e; background: #1b2320; }
[data-bs-theme="dark"] .player-prova-resultado-card.reprovado { background: #1b2320; }
[data-bs-theme="dark"] .player-prova-resultado-card h2 { color: #e9f2ed; }
[data-bs-theme="dark"] .player-prova-resultado-card p { color: #93ab9f; }
[data-bs-theme="dark"] .player-certificado-card { border: 1px solid #28382f; background: #16241e; }
[data-bs-theme="dark"] .player-certificado-info h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .player-certificado-info p { color: #93ab9f; }
[data-bs-theme="dark"] .player-certificado-card.vencido { border-color: #5a2e29; background: #3a201e; }
[data-bs-theme="dark"] .player-certificado-icone.vencido { background: #3a201e; color: #ff8f8a; }
[data-bs-theme="dark"] .player-certificado-validade.vencido { color: #ff8f8a; }
[data-bs-theme="dark"] .cert-modal-tabs { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .cert-modal-tabs .nav-link { color: #93ab9f; }
[data-bs-theme="dark"] .cert-modal-topicos-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .cert-modal-topicos li { background: #1b2b24; color: #e9f2ed; }
[data-bs-theme="dark"] .cert-modal-topico-duracao { color: #93ab9f; }
[data-bs-theme="dark"] .cert-modal-topico-desc { color: #93ab9f; }
[data-bs-theme="dark"] .cert-modal-item { border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .cert-modal-item span { color: #93ab9f; }
[data-bs-theme="dark"] .cert-modal-item strong { color: #e9f2ed; }

[data-bs-theme="dark"] .player-bloqueio-banner { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .player-bloqueio-banner strong { color: #e9f2ed; }
[data-bs-theme="dark"] .player-bloqueio-banner p { color: #93ab9f; }
[data-bs-theme="dark"] .player-bloqueio-reciclagem { background: #16302a; border: 1px solid #1f4437; }
[data-bs-theme="dark"] .player-bloqueio-reciclagem-info h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .player-bloqueio-reciclagem-info p { color: #c3d8cd; }
[data-bs-theme="dark"] .player-bloqueio-preco-valor { color: #e9f2ed; }
[data-bs-theme="dark"] .player-bloqueio-sem-reciclagem { border: 1px dashed #28382f; color: #93ab9f; }

/* ---- static/css/landpage/index.css ---- */
[data-bs-theme="dark"] body { background: #0c1613; color: #e9f2ed; }
[data-bs-theme="dark"] .navbar-perspicaz { background: #16241e; }
[data-bs-theme="dark"] .navbar-brand-perspicaz { color: #e9f2ed; }
[data-bs-theme="dark"] .navbar-perspicaz .nav-link { color: #93ab9f; }
[data-bs-theme="dark"] .btn-tema-toggle-nav { background: #16241e; border-color: #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .navbar-toggler-icon { filter: invert(1); }
/* os 3 estágios do gradiente original (claro-verde-claro) mapeavam
   todos pra mesma cor -- reescrito à mão pra manter a variação
   (escuro-verde-escuro) em vez de ficar uma cor chapada. */
[data-bs-theme="dark"] .hero-section { background: linear-gradient(160deg, #0c1613 0%, #173a2e 50%, #0c1613 100%); }
[data-bs-theme="dark"] .hero-section h1 { color: #e9f2ed; }
[data-bs-theme="dark"] .hero-section .lead { color: #93ab9f; }
[data-bs-theme="dark"] .btn-hero-secondary { background: #16241e; color: #e9f2ed; border: 1.5px solid #28382f; }
[data-bs-theme="dark"] .btn-hero-secondary:hover { color: #e9f2ed; }
[data-bs-theme="dark"] .hero-quicklink { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); color: #e9f2ed; }
[data-bs-theme="dark"] .hero-quicklink:hover,
[data-bs-theme="dark"] .hero-quicklink:focus-visible { background: var(--perspicaz-green); border-color: var(--perspicaz-green); color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }
[data-bs-theme="dark"] .hero-visual { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
[data-bs-theme="dark"] .hero-visual:hover,
[data-bs-theme="dark"] .hero-visual:focus-within { box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55); }
[data-bs-theme="dark"] .section-title { color: #e9f2ed; }
[data-bs-theme="dark"] .section-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .feature-card { background: #16241e; border: 1.5px solid #28382f; }
[data-bs-theme="dark"] .feature-card h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .feature-card p { color: #93ab9f; }
[data-bs-theme="dark"] .feature-card-img { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
[data-bs-theme="dark"] .feature-card-img:hover,
[data-bs-theme="dark"] .feature-card-img:focus-within { box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5); }
[data-bs-theme="dark"] .services-section { background: #1b2b24; }
[data-bs-theme="dark"] .curso-pub-card { background: #16241e; border: 1.5px solid #28382f; }
[data-bs-theme="dark"] .curso-pub-corpo h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .curso-pub-corpo p { color: #93ab9f; }
[data-bs-theme="dark"] .curso-pub-preco { color: #e9f2ed; }
[data-bs-theme="dark"] .cursos-pub-seta { background: linear-gradient(to right, #0c1613 20%, rgba(12, 22, 19, 0)); color: #e9f2ed; }
[data-bs-theme="dark"] .cursos-pub-seta-direita { background: linear-gradient(to left, #0c1613 20%, rgba(12, 22, 19, 0)); }
[data-bs-theme="dark"] .cursos-pub-seta i { background: #16241e; }
[data-bs-theme="dark"] .curso-pub-info-btn { background: #16241e; border-color: #28382f; color: #93ab9f; }
[data-bs-theme="dark"] .curso-pub-info-btn:hover { background: var(--perspicaz-green); border-color: var(--perspicaz-green); color: #fff; }
[data-bs-theme="dark"] .curso-info-modal .modal-title { color: #e9f2ed; }
[data-bs-theme="dark"] .curso-info-descricao { color: #93ab9f; }
[data-bs-theme="dark"] .curso-info-item { background: #1b2b24; border: 1px solid #28382f; }
[data-bs-theme="dark"] .curso-info-item strong { color: #e9f2ed; }
[data-bs-theme="dark"] .curso-info-item span { color: #93ab9f; }
[data-bs-theme="dark"] .curso-info-topo { border-color: #28382f; }
[data-bs-theme="dark"] .curso-info-tabs { border-color: #28382f; }
[data-bs-theme="dark"] .curso-info-tabs .nav-link { color: #93ab9f; }
[data-bs-theme="dark"] .curso-info-vazio { color: #6b8178; }
[data-bs-theme="dark"] .curso-info-ementa-lista li { color: #cddcd5; }
[data-bs-theme="dark"] .curso-info-ementa-lista li span { color: #93ab9f; }
[data-bs-theme="dark"] .curso-info-preco { color: #e9f2ed; }
[data-bs-theme="dark"] .sobre-texto { color: #93ab9f; }
[data-bs-theme="dark"] .sobre-lista li { color: #e9f2ed; }
[data-bs-theme="dark"] .btn-cta { background: #16241e; }
[data-bs-theme="dark"] .contato-titulo { color: #e9f2ed; }
[data-bs-theme="dark"] .contato-subtitulo { color: #93ab9f; }
[data-bs-theme="dark"] .contato-info-item { background: #16241e; border: 1px solid #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .contato-form { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .contato-form .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .contato-form .required { color: #ff6b6a; }
[data-bs-theme="dark"] .contato-form .form-control { border: 1px solid #28382f; }

/* ---- static/css/legal/legal.css ---- */
[data-bs-theme="dark"] .legal-voltar { color: #93ab9f; }
[data-bs-theme="dark"] .legal-card { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .legal-card h1 { color: #e9f2ed; }
[data-bs-theme="dark"] .legal-card .legal-intro { color: #93ab9f; }
[data-bs-theme="dark"] .legal-card h2 { color: #e9f2ed; }
[data-bs-theme="dark"] .legal-card p { color: #93ab9f; }
[data-bs-theme="dark"] .legal-card ul { color: #93ab9f; }
[data-bs-theme="dark"] .legal-card strong { color: #e9f2ed; }
[data-bs-theme="dark"] .legal-card .legal-placeholder { background: #3a3018; color: #f0b429; }
[data-bs-theme="dark"] .legal-card .legal-form .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .legal-card .legal-form .required { color: #ff6b6a; }
[data-bs-theme="dark"] .legal-card .legal-form .form-control { border: 1px solid #28382f; }


/* ---- static/css/login/perspicaz-login.css (e telas irmãs de login) ----
   Escopado em body.pagina-login -- um `[data-bs-theme="dark"] body` puro
   aqui reescreveria o body de TODOS os portais (a regra genérica já
   existe lá em cima, essa ficaria por último no arquivo e venceria). */
[data-bs-theme="dark"] body.pagina-login { background: linear-gradient(160deg, #0c1613 0%, #0f1a16 50%, #0c1613 100%); color: #e9f2ed; }
[data-bs-theme="dark"] .login-container { background: #16241e; }
[data-bs-theme="dark"] .left-panel { background: linear-gradient(160deg, #16241e 0%, #12201a 100%); }
[data-bs-theme="dark"] .left-panel h1 { color: #e9f2ed; }
[data-bs-theme="dark"] .left-panel .lead { color: #93ab9f; }
[data-bs-theme="dark"] .stat-text strong { color: #e9f2ed; }
[data-bs-theme="dark"] .stat-text span { color: #93ab9f; }
[data-bs-theme="dark"] .right-panel { background: #16241e; border-left: 1px solid #28382f; }
[data-bs-theme="dark"] .mobile-header { background: linear-gradient(180deg, #12201a 0%, #16241e 100%); border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .mobile-title { color: #e9f2ed; }
[data-bs-theme="dark"] .mobile-subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .form-card h2 { color: #e9f2ed; }
[data-bs-theme="dark"] .form-card .subtitle { color: #93ab9f; }
[data-bs-theme="dark"] .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .form-control { background: #1b2b24; border: 1.5px solid #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .form-control:focus { background: #16241e; }
[data-bs-theme="dark"] .form-control::placeholder { color: #6b8178; }
[data-bs-theme="dark"] .input-group-text { background: #1b2b24; border: 1.5px solid #28382f; color: #93ab9f; }
[data-bs-theme="dark"] .security-note { color: #93ab9f; }
[data-bs-theme="dark"] .security-note i { color: #93ab9f; }
[data-bs-theme="dark"] .btn-tema-toggle-login { background: #16241e; border-color: #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .btn-voltar-login { background: #16241e; border-color: #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .success-state h3 { color: #e9f2ed; }
[data-bs-theme="dark"] .success-state p { color: #93ab9f; }
[data-bs-theme="dark"] .success-hint { color: #6b8178; }
[data-bs-theme="dark"] .success-icon-warn { background: #3a1c1c; color: #ff6b6a; }

/* ---- Templates/login/perspicaz-cadastro.html (estilo inline na propria pagina) ---- */
[data-bs-theme="dark"] .page-icon { background: #173a2e; }
[data-bs-theme="dark"] .form-card { background: #16241e; border: 1px solid #28382f; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
[data-bs-theme="dark"] .type-selector { background: #16241e; border-bottom: 1px solid #28382f; }
[data-bs-theme="dark"] .type-label { border: 1px solid #28382f; }
[data-bs-theme="dark"] .type-label:hover { border-color: #12866a; background: #1b2b24; }
[data-bs-theme="dark"] .type-option input:checked + .type-label { background: #173a2e; }
[data-bs-theme="dark"] .type-icon { background: #173a2e; }
[data-bs-theme="dark"] .section-header-icon { background: #1b2b24; }
[data-bs-theme="dark"] .form-label { color: #e9f2ed; }
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select { background: #1b2b24; border: 1px solid #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .form-control::placeholder { color: #6b8178; }
[data-bs-theme="dark"] .btn-search { background: #1b2b24; border-color: #28382f; color: #93ab9f; }
[data-bs-theme="dark"] .btn-search:hover { background: #16241e; }
[data-bs-theme="dark"] .address-box { background: #1b2b24; border: 1px solid #28382f; }
[data-bs-theme="dark"] .form-footer { background: #1b2b24; border-top: 1px solid #28382f; }
[data-bs-theme="dark"] .footer-info { color: #93ab9f; }

/* ---- static/css/certificado/verificar.css ---- */
[data-bs-theme="dark"] .verificar-icone { background: #16302a; }
[data-bs-theme="dark"] .verificar-form { background: #16241e; border: 1px solid #28382f; }
[data-bs-theme="dark"] .verificar-form .form-label { color: #c3d8cd; }
[data-bs-theme="dark"] .verificar-form-row .form-control { background: #1b2b24; border: 1px solid #28382f; color: #e9f2ed; }
[data-bs-theme="dark"] .verificar-resultado { background: #16302a; border: 1px solid #1f4437; }
[data-bs-theme="dark"] .verificar-resultado.invalido { background: #3a201e; border: 1px solid #4a2c29; }
[data-bs-theme="dark"] .verificar-curso { color: #e9f2ed; }
[data-bs-theme="dark"] .verificar-aluno { color: #c3d8cd; }
[data-bs-theme="dark"] .verificar-grid { background: #1b2b24; border: 1px solid #28382f; }
[data-bs-theme="dark"] .verificar-item span { color: #93ab9f; }
[data-bs-theme="dark"] .verificar-item strong { color: #e9f2ed; }
[data-bs-theme="dark"] .verificar-rodape-nota { color: #93ab9f; }
