/* ==========================================================
   GURUINFO TI - TEMA & LAYOUT ESTILO ELITTE DESK
   Visual idêntico: Dark Slate/Navy, Cards Flutuantes, Badges e Pílulas
   ========================================================== */

:root,
body[data-theme="elitte-dark"],
body.elitte-desk-ui {
    --elitte-bg: #090d16;
    --elitte-header-bg: #0d121f;
    --elitte-card-bg: #121826;
    --elitte-card-border: rgba(255, 255, 255, 0.08);
    --elitte-card-hover-border: rgba(245, 158, 11, 0.4);
    --elitte-text-main: #f1f5f9;
    --elitte-text-sub: #94a3b8;
    --elitte-accent-gold: #f59e0b;
    --elitte-accent-gold-dark: #d97706;
    --elitte-badge-active-bg: rgba(16, 185, 129, 0.15);
    --elitte-badge-active-border: rgba(16, 185, 129, 0.35);
    --elitte-badge-active-color: #10b981;
    --elitte-badge-inactive-bg: rgba(239, 68, 68, 0.15);
    --elitte-badge-inactive-border: rgba(239, 68, 68, 0.35);
    --elitte-badge-inactive-color: #ef4444;
    --elitte-input-bg: #0e1422;
    --elitte-btn-pill-bg: #161f33;
}

/* Container Principal Estilo Elitte */
.elitte-container {
    background-color: #090d16;
    color: #f1f5f9;
    min-height: 100%;
    padding: 20px 24px;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header da Seção Clientes */
.elitte-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.elitte-title-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.elitte-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0;
}

.elitte-btn-ajuda {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(147, 51, 234, 0.16);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.elitte-btn-ajuda:hover {
    background: rgba(147, 51, 234, 0.25);
    border-color: #c084fc;
}

/* Subtítulo e Contagem */
.elitte-subhead {
    margin-bottom: 20px;
}
.elitte-subhead h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}
.elitte-subhead p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

/* Barra de Filtros e Busca Estilo Elitte */
.elitte-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.elitte-search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
}
.elitte-search-input {
    width: 100%;
    background: #0e1422;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: #f1f5f9;
    outline: none;
    transition: all 0.2s ease;
}
.elitte-search-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}
.elitte-search-input::placeholder {
    color: #64748b;
}

/* Pílula Segmentada de Tipos (Cadastro: Todos | PF | PJ) */
.elitte-pill-group {
    display: inline-flex;
    align-items: center;
    background: #0e1422;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}
.elitte-pill-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    padding: 0 8px;
}
.elitte-pill-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #94a3b8;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.18s ease;
}
.elitte-pill-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}
.elitte-pill-btn.active {
    background: #f59e0b;
    color: #000000;
}

/* Dropdowns Pílula Estilo Elitte */
.elitte-select-pill {
    background: #0e1422;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}
.elitte-select-pill:focus, .elitte-select-pill:hover {
    border-color: rgba(245, 158, 11, 0.4);
    color: #ffffff;
}

.elitte-btn-novo {
    background: #f59e0b;
    color: #000000;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.elitte-btn-novo:hover {
    background: #fbbf24;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

/* Grid de Cards Elitte */
.elitte-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

/* Card Individual Estilo Elitte */
.elitte-card {
    background: #111726;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}
.elitte-card:hover {
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}

.elitte-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.elitte-card-title-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.elitte-card-icon {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.elitte-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.elitte-card-doc {
    font-size: 0.76rem;
    color: #64748b;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Badge de Status Oval Transparente com Borda */
.elitte-badge-status {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.elitte-badge-status.ativo {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}
.elitte-badge-status.inativo {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* Informações do Card */
.elitte-card-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}
.elitte-card-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
}
.elitte-card-info-item i, .elitte-card-info-item svg {
    color: #64748b;
    flex-shrink: 0;
}

/* Pílula de Visitas (Sem visitas ou Há X dias) */
.elitte-visita-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    width: fit-content;
}
.elitte-visita-pill.sem-visita {
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}
.elitte-visita-pill.alerta {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}
.elitte-visita-pill.ok {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

/* Botões de Ação no Card */
.elitte-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 14px;
}
.elitte-btn-action-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}
.elitte-btn-action-icon:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.elitte-btn-action-icon.wa {
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.3);
    background: rgba(37, 211, 102, 0.08);
}
.elitte-btn-action-icon.wa:hover {
    background: rgba(37, 211, 102, 0.2);
}

/* ==========================================================
   HEADER & NAVBAR GLOBAL ESTILO ELITTE DESK
   ========================================================== */
.navbar,
header.navbar {
    background-color: #090d16 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0 16px !important;
    height: 60px !important;
}

.brand-title,
.nav-brand-text {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}

/* Badge de Versão Dourado no Logo (Estilo v1.22.0 do Elitte) */
.brand-version-badge,
.logo-version-tag {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    border-radius: 9999px !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
}

/* Abas de Navegação Superiores (Navbar Tabs) */
.futuristic-tabs-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.tab-cyber-btn {
    background: transparent !important;
    color: #94a3b8 !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding: 7px 14px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.tab-cyber-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Aba Ativa com Destaque Dourado/Âmbar Elitte */
.tab-cyber-btn.active,
.tab-cyber-btn[aria-selected="true"] {
    background: rgba(245, 158, 11, 0.12) !important;
    border: 1.5px solid #f59e0b !important;
    color: #f59e0b !important;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.18) !important;
}

.tab-cyber-btn.active svg {
    color: #f59e0b !important;
}

/* Badge Notificação Oval/Redondo Laranja (ex: 18 pendências) */
.tab-cyber-btn .tab-badge {
    background: #f59e0b !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 0.70rem !important;
    border-radius: 9999px !important;
    padding: 2px 6px !important;
    min-width: 18px !important;
    text-align: center !important;
}

/* ==========================================================
   SIDEBAR LATERAL ESTILO ELITTE DESK
   ========================================================== */
.sidebar,
aside.sidebar {
    background-color: #090d16 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.sidebar-nav-item {
    color: #94a3b8 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}

.sidebar-nav-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Item Ativo da Sidebar: Borda Lateral Dourada */
.sidebar-nav-item.active {
    background: rgba(245, 158, 11, 0.1) !important;
    border-left: 3px solid #f59e0b !important;
    color: #f59e0b !important;
}

/* Badge de Alertas na Sidebar (ex: 171 alertas vermelho) */
.sidebar-badge {
    background: #ef4444 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.68rem !important;
    border-radius: 9999px !important;
    padding: 2px 7px !important;
}

/* Botão Alternador de Tema na Base da Sidebar */
.btn-toggle-theme-sidebar,
#theme-toggle-btn {
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
}

/* ==========================================================
   TELA DE CHAMADOS / CENTRAL / PAINEL GERAL (ESTILO ELITTE)
   ========================================================== */
.panel,
.ticket-item,
.card {
    background-color: #111726 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    color: #f1f5f9 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.panel-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 14px !important;
}

/* Campos de Input e Select Dark */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
select,
textarea {
    background-color: #0e1422 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
    border-radius: 10px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
    outline: none !important;
}

/* Status Badges no Padrão Elitte */
.badge-status-aberto {
    background: rgba(245, 158, 11, 0.14) !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    color: #f59e0b !important;
    border-radius: 9999px !important;
    padding: 3px 10px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
}

.badge-status-resolvido,
.badge-status-concluido {
    background: rgba(16, 185, 129, 0.14) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: #10b981 !important;
    border-radius: 9999px !important;
    padding: 3px 10px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
}

.badge-status-andamento {
    background: rgba(56, 189, 248, 0.14) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    color: #38bdf8 !important;
    border-radius: 9999px !important;
    padding: 3px 10px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
}

/* ==========================================================
   CARDS DE SUMÁRIO / KPIS SUPERIORES (FOTO 2)
   ========================================================== */
.elitte-kpi-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .elitte-kpi-summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
.elitte-kpi-box {
    background: #0d121f;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.elitte-kpi-box:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.elitte-kpi-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.elitte-kpi-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.elitte-kpi-num {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
}
.elitte-kpi-num.color-aberto { color: #f43f5e; }
.elitte-kpi-num.color-progresso { color: #f59e0b; }
.elitte-kpi-num.color-resolvido { color: #10b981; }

.elitte-kpi-badge-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}
.badge-aberto {
    background: rgba(244, 63, 94, 0.15);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.35);
}
.badge-progresso {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.badge-resolvido {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

/* ==========================================================
   TABELA EXECUTIVA LIMPA DE CHAMADOS (FOTO 2)
   ========================================================== */
.elitte-table-container {
    background: #0d121f;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}
.elitte-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: left;
    color: #cbd5e1;
}
.elitte-table thead th {
    background: #090d16;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    white-space: nowrap;
}
.th-sort {
    font-size: 0.68rem;
    opacity: 0.5;
    margin-left: 4px;
}
.elitte-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
    cursor: pointer;
}
.elitte-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}
.elitte-table tbody td {
    padding: 12px 14px;
    vertical-align: middle;
}
.td-protoc {
    color: #f59e0b;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
}
.pr-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.pr-dot.baixa { background: #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.6); }
.pr-dot.media { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.6); }
.pr-dot.alta { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.6); }
.pr-dot.critica { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }

.td-data-stacked {
    display: flex;
    flex-direction: column;
    font-size: 0.70rem;
    color: #94a3b8;
    line-height: 1.25;
}
.st-circle-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #ef4444;
}
.st-circle-badge.aberto { border-color: #ef4444; }
.st-circle-badge.progresso { border-color: #f59e0b; }
.st-circle-badge.resolvido { border-color: #10b981; }

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.72rem;
    color: #f1f5f9;
}
.cat-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
}

.td-assunto-main {
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 2px;
}
.td-assunto-sub {
    font-size: 0.72rem;
    color: #64748b;
    max-width: 380px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.td-solicitante-name {
    font-weight: 500;
    color: #cbd5e1;
}
.td-resp-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
.td-resp-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.td-resp-name {
    font-size: 0.72rem;
    color: #94a3b8;
}

/* ==========================================================
   PAINEL DE JORNADA DE HOJE / PONTO & HORAS (FOTO 3 & 4)
   ========================================================== */
.elitte-jornada-card {
    background: #0d121f;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 22px;
}
.elitte-jornada-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.elitte-jornada-sub-label {
    font-size: 0.70rem;
    font-weight: 800;
    color: #f59e0b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.elitte-jornada-user-nome {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
}
.elitte-jornada-data-str {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 14px;
}
.elitte-jornada-relogio {
    font-size: 2.6rem;
    font-weight: 900;
    color: #f59e0b;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
    margin-bottom: 6px;
}
.elitte-jornada-tolerancia {
    font-size: 0.74rem;
    color: #64748b;
}

.elitte-jornada-status-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 260px;
}
.elitte-status-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #10b981;
    color: #000;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    margin-bottom: 8px;
}
.elitte-status-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 4px;
}
.elitte-status-sub {
    font-size: 0.74rem;
    color: #94a3b8;
    max-width: 220px;
}

/* Timeline Contínua com Linha Dourada */
.elitte-timeline-track-wrap {
    position: relative;
    padding: 10px 0;
    margin-top: 10px;
}
.elitte-timeline-track-bar {
    position: absolute;
    top: 22px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #f59e0b;
    z-index: 1;
}
.elitte-timeline-milestones {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}
.elitte-milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.elitte-milestone-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f59e0b;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
    margin-bottom: 8px;
    box-shadow: 0 0 0 4px #0d121f;
}
.elitte-milestone-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 2px;
}
.elitte-milestone-time {
    font-size: 0.74rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
}

/* 4 Cards de Métricas Horárias */
.elitte-metric-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 26px;
}
@media (max-width: 900px) {
    .elitte-metric-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .elitte-metric-cards-grid {
        grid-template-columns: 1fr;
    }
}
.elitte-metric-card {
    background: #0d121f;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 16px 18px;
}
.elitte-metric-card.highlight-amber {
    border-color: rgba(245, 158, 11, 0.35);
}
.elitte-metric-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    color: #94a3b8;
    margin-bottom: 8px;
}
.elitte-metric-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}
.elitte-metric-val.color-amber {
    color: #f59e0b;
}
.elitte-metric-footer {
    font-size: 0.72rem;
    color: #64748b;
}

/* Competência e Fechamento */
.elitte-fechamento-section {
    background: #0d121f;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 26px;
}
.elitte-fechamento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.elitte-fechamento-subtitle {
    font-size: 0.68rem;
    font-weight: 800;
    color: #f59e0b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.elitte-fechamento-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
}
.elitte-fechamento-selectors {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.elitte-fechamento-label {
    font-size: 0.76rem;
    color: #94a3b8;
}
.elitte-pill-correction {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #f59e0b;
    border-radius: 9999px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
}
.elitte-fechamento-obs {
    font-size: 0.72rem;
    color: #64748b;
    max-width: 320px;
}

/* Grade de 4 Cards de Saldo */
.elitte-saldo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 900px) {
    .elitte-saldo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .elitte-saldo-grid {
        grid-template-columns: 1fr;
    }
}
.elitte-saldo-card {
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.elitte-saldo-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    color: #cbd5e1;
}
.elitte-saldo-icon.icon-amber {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}
.elitte-saldo-icon.icon-warn {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}
.elitte-saldo-meta {
    display: flex;
    flex-direction: column;
}
.elitte-saldo-label {
    font-size: 0.70rem;
    color: #64748b;
    margin-bottom: 2px;
}
.elitte-saldo-val {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
}

.elitte-btn-ciencia {
    background: #f59e0b;
    color: #000000;
    font-weight: 800;
    font-size: 0.84rem;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.elitte-btn-ciencia:hover {
    background: #fbbf24;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.elitte-historico-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.elitte-historico-obs {
    font-size: 0.72rem;
    color: #64748b;
}

/* ==========================================================
   TOOLBAR E GRADE DA AGENDA / PLANEJAMENTO (FOTO 1)
   ========================================================== */
.elitte-calendar-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
}
.elitte-cal-nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.elitte-cal-nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.elitte-btn-arrow {
    background: #0e1422 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
}
.elitte-btn-hoje {
    background: #0e1422 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-size: 0.80rem !important;
    font-weight: 700 !important;
}
.elitte-cal-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    margin: 0 10px !important;
}
.elitte-selector {
    background: #0e1422 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 2px !important;
}
.elitte-selector button {
    border-radius: 6px !important;
    padding: 5px 12px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
}
.elitte-selector button.active {
    background: #f59e0b !important;
    color: #000000 !important;
}

.elitte-btn-filtros {
    background: #0e1422;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.80rem;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.elitte-btn-filtros:hover {
    color: #ffffff;
    border-color: rgba(245, 158, 11, 0.4);
}
.elitte-btn-novo-compromisso {
    background: #f59e0b;
    color: #000000;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 7px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.elitte-btn-novo-compromisso:hover {
    background: #fbbf24;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Eventos na Grade estilo Elitte */
.calendar-wrapper {
    background: #0d121f !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 12px !important;
}
.calendar-day-header {
    background: #090d16 !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.calendar-cell {
    background: #0d121f !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    min-height: 95px !important;
    padding: 6px !important;
}
.calendar-cell:hover {
    background: #111726 !important;
}
.calendar-cell.today {
    border-color: #f59e0b !important;
}
.calendar-cell-num {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
}
.calendar-event-pill {
    background: #131d2e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 3px solid #10b981 !important;
    color: #f1f5f9 !important;
    border-radius: 6px !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    padding: 3px 6px !important;
    margin-top: 3px !important;
}
.calendar-event-pill.event-feriado {
    border-left-color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.1) !important;
    color: #fbbf24 !important;
}



/* ==========================================================
   TEMA CLARO (CLEAN EXECUTIVE / LIGHT MODE) - OVERRIDES
   Garante fundo claro limpo, cards brancos nítidos, textos pretos
   e legibilidade absoluta de todos os elementos.
   ========================================================== */
html[data-theme="clean-executive"],
html[data-theme="light-mode"],
html.theme-light,
body[data-theme="clean-executive"],
body[data-theme="light-mode"],
body.theme-light {
    --elitte-bg: #f1f5f9;
    --elitte-header-bg: #ffffff;
    --elitte-card-bg: #ffffff;
    --elitte-card-border: #cbd5e1;
    --elitte-card-hover-border: #0284c7;
    --elitte-text-main: #0f172a;
    --elitte-text-sub: #334155;
    --elitte-input-bg: #ffffff;
    --elitte-btn-pill-bg: #f8fafc;
}

body.theme-light,
body[data-theme="clean-executive"],
body[data-theme="light-mode"] {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

/* 1. Header & Navbar no Modo Claro */
body.theme-light .navbar,
body.theme-light header.navbar,
body[data-theme="clean-executive"] .navbar,
body[data-theme="clean-executive"] header.navbar {
    background-color: #ffffff !important;
    border-bottom: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light .brand-title,
body.theme-light .nav-brand-text,
body[data-theme="clean-executive"] .brand-title,
body[data-theme="clean-executive"] .nav-brand-text {
    color: #0f172a !important;
}

body.theme-light .nav-breadcrumb .crumb-root,
body.theme-light .nav-breadcrumb .crumb-current,
body[data-theme="clean-executive"] .nav-breadcrumb .crumb-root,
body[data-theme="clean-executive"] .nav-breadcrumb .crumb-current {
    color: #334155 !important;
}

/* 2. Abas de Navegação Superiores no Modo Claro */
body.theme-light .tab-cyber-btn,
body[data-theme="clean-executive"] .tab-cyber-btn {
    color: #475569 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

body.theme-light .tab-cyber-btn:hover,
body[data-theme="clean-executive"] .tab-cyber-btn:hover {
    color: #0f172a !important;
    background: #e2e8f0 !important;
}

body.theme-light .tab-cyber-btn.active,
body[data-theme="clean-executive"] .tab-cyber-btn.active {
    background: #e0f2fe !important;
    border: 1.5px solid #0284c7 !important;
    color: #0284c7 !important;
    box-shadow: 0 1px 4px rgba(2, 132, 199, 0.15) !important;
}

body.theme-light .tab-cyber-btn.active svg,
body[data-theme="clean-executive"] .tab-cyber-btn.active svg {
    color: #0284c7 !important;
}

/* 3. Sidebar Lateral no Modo Claro */
body.theme-light .sidebar,
body.theme-light aside.sidebar,
body[data-theme="clean-executive"] .sidebar,
body[data-theme="clean-executive"] aside.sidebar {
    background-color: #ffffff !important;
    border-right: 1.5px solid #cbd5e1 !important;
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.04) !important;
}

body.theme-light .sidebar-nav-item,
body[data-theme="clean-executive"] .sidebar-nav-item {
    color: #334155 !important;
}

body.theme-light .sidebar-nav-item:hover,
body[data-theme="clean-executive"] .sidebar-nav-item:hover {
    color: #0284c7 !important;
    background: #f1f5f9 !important;
}

body.theme-light .sidebar-nav-item.active,
body[data-theme="clean-executive"] .sidebar-nav-item.active {
    background: #e0f2fe !important;
    border-left: 3.5px solid #0284c7 !important;
    color: #0284c7 !important;
}

body.theme-light .sidebar-section-title,
body[data-theme="clean-executive"] .sidebar-section-title {
    color: #64748b !important;
}

body.theme-light .sidebar-user-card,
body[data-theme="clean-executive"] .sidebar-user-card {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

body.theme-light .sidebar-user-name,
body[data-theme="clean-executive"] .sidebar-user-name {
    color: #0f172a !important;
}

body.theme-light .sidebar-user-role,
body[data-theme="clean-executive"] .sidebar-user-role {
    color: #64748b !important;
}

/* 4. Painéis, Cards e Tickets no Modo Claro */
body.theme-light .panel,
body.theme-light .ticket-item,
body.theme-light .card,
body[data-theme="clean-executive"] .panel,
body[data-theme="clean-executive"] .ticket-item,
body[data-theme="clean-executive"] .card {
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}

body.theme-light .panel-header,
body[data-theme="clean-executive"] .panel-header {
    border-bottom: 1.5px solid #e2e8f0 !important;
}

body.theme-light .panel-title,
body[data-theme="clean-executive"] .panel-title {
    color: #0f172a !important;
}

/* 5. Inputs, Selects e Textareas no Modo Claro */
body.theme-light input[type="text"],
body.theme-light input[type="email"],
body.theme-light input[type="password"],
body.theme-light input[type="search"],
body.theme-light select,
body.theme-light textarea,
body[data-theme="clean-executive"] input[type="text"],
body[data-theme="clean-executive"] input[type="email"],
body[data-theme="clean-executive"] input[type="password"],
body[data-theme="clean-executive"] input[type="search"],
body[data-theme="clean-executive"] select,
body[data-theme="clean-executive"] textarea {
    background-color: #ffffff !important;
    border: 1.5px solid #94a3b8 !important;
    color: #0f172a !important;
}

body.theme-light input::placeholder,
body.theme-light textarea::placeholder,
body[data-theme="clean-executive"] input::placeholder,
body[data-theme="clean-executive"] textarea::placeholder {
    color: #64748b !important;
}

body.theme-light input:focus,
body.theme-light select:focus,
body.theme-light textarea:focus,
body[data-theme="clean-executive"] input:focus,
body[data-theme="clean-executive"] select:focus,
body[data-theme="clean-executive"] textarea:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
    background-color: #ffffff !important;
}

/* 6. Barra de Pesquisa de Chamados no Modo Claro */
body.theme-light .search-input-box,
body[data-theme="clean-executive"] .search-input-box {
    background: #ffffff !important;
    border: 1.5px solid #94a3b8 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light .search-input-box input,
body[data-theme="clean-executive"] .search-input-box input {
    background: #ffffff !important;
    color: #0f172a !important;
    border: none !important;
}

body.theme-light .search-input-box input::placeholder,
body[data-theme="clean-executive"] .search-input-box input::placeholder {
    color: #64748b !important;
}

body.theme-light .search-filter-container,
body[data-theme="clean-executive"] .search-filter-container {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
}

/* 7. Cards KPI Superiores (Chamados Abertos, Em Atendimento, Resolvidos) no Modo Claro */
body.theme-light .elitte-kpi-box,
body[data-theme="clean-executive"] .elitte-kpi-box {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

body.theme-light .elitte-kpi-box:hover,
body[data-theme="clean-executive"] .elitte-kpi-box:hover {
    border-color: #0284c7 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15) !important;
}

body.theme-light .elitte-kpi-label,
body[data-theme="clean-executive"] .elitte-kpi-label {
    color: #475569 !important;
}

/* 8. Tabela de Chamados Executiva no Modo Claro */
body.theme-light .elitte-table-container,
body[data-theme="clean-executive"] .elitte-table-container {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light .elitte-table,
body[data-theme="clean-executive"] .elitte-table {
    color: #1e293b !important;
}

body.theme-light .elitte-table thead th,
body[data-theme="clean-executive"] .elitte-table thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    border-bottom: 1.5px solid #cbd5e1 !important;
}

body.theme-light .elitte-table tbody tr,
body[data-theme="clean-executive"] .elitte-table tbody tr {
    border-bottom: 1px solid #e2e8f0 !important;
}

body.theme-light .elitte-table tbody tr:hover,
body[data-theme="clean-executive"] .elitte-table tbody tr:hover {
    background: #f1f5f9 !important;
}

body.theme-light .td-assunto-main,
body[data-theme="clean-executive"] .td-assunto-main {
    color: #0f172a !important;
}

body.theme-light .td-assunto-sub,
body[data-theme="clean-executive"] .td-assunto-sub {
    color: #64748b !important;
}

body.theme-light .td-solicitante-name,
body[data-theme="clean-executive"] .td-solicitante-name {
    color: #1e293b !important;
}

body.theme-light .td-data-stacked,
body[data-theme="clean-executive"] .td-data-stacked {
    color: #475569 !important;
}

body.theme-light .cat-pill,
body[data-theme="clean-executive"] .cat-pill {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
}

body.theme-light .td-resp-name,
body[data-theme="clean-executive"] .td-resp-name {
    color: #334155 !important;
}

/* 9. Cyber Command Center & KPI Cards no Modo Claro */
body.theme-light #cyber-dashboard-header,
body[data-theme="clean-executive"] #cyber-dashboard-header {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light #cyber-dashboard-header h2,
body[data-theme="clean-executive"] #cyber-dashboard-header h2 {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
}

body.theme-light #cyber-clock,
body[data-theme="clean-executive"] #cyber-clock {
    color: #0284c7 !important;
    text-shadow: none !important;
}

body.theme-light .cyber-kpi-card,
body[data-theme="clean-executive"] .cyber-kpi-card {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light .cyber-kpi-card .stat-value,
body[data-theme="clean-executive"] .cyber-kpi-card .stat-value {
    color: #0f172a !important;
}

body.theme-light .cyber-kpi-card .cyber-kpi-label,
body[data-theme="clean-executive"] .cyber-kpi-card .cyber-kpi-label {
    color: #475569 !important;
}

/* 10. Calendário & Planejamento no Modo Claro */
body.theme-light .calendar-wrapper,
body[data-theme="clean-executive"] .calendar-wrapper {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
}

body.theme-light .calendar-day-header,
body[data-theme="clean-executive"] .calendar-day-header {
    background: #f8fafc !important;
    color: #475569 !important;
    border-bottom: 1.5px solid #cbd5e1 !important;
}

body.theme-light .calendar-cell,
body[data-theme="clean-executive"] .calendar-cell {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.theme-light .calendar-cell:hover,
body[data-theme="clean-executive"] .calendar-cell:hover {
    background: #f1f5f9 !important;
}

body.theme-light .calendar-cell-num,
body[data-theme="clean-executive"] .calendar-cell-num {
    color: #64748b !important;
}

body.theme-light .calendar-event-pill,
body[data-theme="clean-executive"] .calendar-event-pill {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

/* 11. Gestão de Jornada & Ponto no Modo Claro */
body.theme-light .elitte-jornada-card,
body[data-theme="clean-executive"] .elitte-jornada-card,
body.theme-light .elitte-fechamento-section,
body[data-theme="clean-executive"] .elitte-fechamento-section {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light .elitte-jornada-user-nome,
body.theme-light .elitte-fechamento-title,
body[data-theme="clean-executive"] .elitte-jornada-user-nome,
body[data-theme="clean-executive"] .elitte-fechamento-title {
    color: #0f172a !important;
}

body.theme-light .elitte-metric-card,
body[data-theme="clean-executive"] .elitte-metric-card,
body.theme-light .elitte-saldo-card,
body[data-theme="clean-executive"] .elitte-saldo-card {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

body.theme-light .elitte-metric-val,
body.theme-light .elitte-saldo-val,
body[data-theme="clean-executive"] .elitte-metric-val,
body[data-theme="clean-executive"] .elitte-saldo-val {
    color: #0f172a !important;
}

/* 12. Cards de Clientes no Modo Claro */
body.theme-light .elitte-container,
body[data-theme="clean-executive"] .elitte-container {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

body.theme-light .elitte-card,
body[data-theme="clean-executive"] .elitte-card {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light .elitte-card-name,
body[data-theme="clean-executive"] .elitte-card-name,
body.theme-light .elitte-section-title,
body[data-theme="clean-executive"] .elitte-section-title {
    color: #0f172a !important;
}

body.theme-light .elitte-card-info-item,
body[data-theme="clean-executive"] .elitte-card-info-item {
    color: #334155 !important;
}

body.theme-light .elitte-search-input,
body[data-theme="clean-executive"] .elitte-search-input {
    background: #ffffff !important;
    border: 1.5px solid #94a3b8 !important;
    color: #0f172a !important;
}

body.theme-light .elitte-pill-group,
body[data-theme="clean-executive"] .elitte-pill-group {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
}


/* ==========================================================
   SUPER OVERRIDES PARA O TEMA CLARO - ALTA LEGIBILIDADE
   ========================================================== */
html[data-theme="clean-executive"],
html.theme-light,
body.theme-light,
body[data-theme="clean-executive"] {
    --bg-c: #ffffff !important;
    --border-c: #cbd5e1 !important;
    --glow: rgba(2, 132, 199, 0.15) !important;
    --text-main: #0f172a !important;
    --text-sub: #334155 !important;
    --text-muted: #64748b !important;
    --surface-card: #ffffff !important;
    --surface-bg: #f8fafc !important;
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

/* Forçar fundo branco e borda nítida em TODOS os cards no modo claro */
body.theme-light .card,
body.theme-light .panel,
body.theme-light .stat-card,
body.theme-light .cyber-kpi-card,
body.theme-light .elitte-kpi-box,
body.theme-light .elitte-table-container,
body.theme-light .search-filter-container,
body.theme-light .ticket-item,
body[data-theme="clean-executive"] .card,
body[data-theme="clean-executive"] .panel,
body[data-theme="clean-executive"] .stat-card,
body[data-theme="clean-executive"] .cyber-kpi-card,
body[data-theme="clean-executive"] .elitte-kpi-box,
body[data-theme="clean-executive"] .elitte-table-container,
body[data-theme="clean-executive"] .search-filter-container,
body[data-theme="clean-executive"] .ticket-item {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}

/* Top Cyber Dashboard Header no Modo Claro */
body.theme-light #cyber-dashboard-header,
body[data-theme="clean-executive"] #cyber-dashboard-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

body.theme-light #cyber-dashboard-header h2,
body[data-theme="clean-executive"] #cyber-dashboard-header h2 {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

body.theme-light #cyber-clock,
body[data-theme="clean-executive"] #cyber-clock {
    color: #0284c7 !important;
    text-shadow: none !important;
}

/* Textos e Valores dos KPIs no Modo Claro */
body.theme-light .stat-value,
body.theme-light .cyber-kpi-val,
body.theme-light .elitte-kpi-num,
body.theme-light .panel-title,
body[data-theme="clean-executive"] .stat-value,
body[data-theme="clean-executive"] .cyber-kpi-val,
body[data-theme="clean-executive"] .elitte-kpi-num,
body[data-theme="clean-executive"] .panel-title {
    color: #0f172a !important;
}

body.theme-light .stat-label,
body.theme-light .cyber-kpi-label,
body.theme-light .elitte-kpi-label,
body[data-theme="clean-executive"] .stat-label,
body[data-theme="clean-executive"] .cyber-kpi-label,
body[data-theme="clean-executive"] .elitte-kpi-label {
    color: #475569 !important;
    font-weight: 700 !important;
}

/* Barra de Busca de Chamados - 100% Branca com Texto Preto e Placeholder Cinza Médio */
body.theme-light .search-input-box,
body[data-theme="clean-executive"] .search-input-box {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid #94a3b8 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

body.theme-light .search-input-box input,
body.theme-light #campo-busca-chamados,
body[data-theme="clean-executive"] .search-input-box input,
body[data-theme="clean-executive"] #campo-busca-chamados {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: none !important;
}

body.theme-light .search-input-box input::placeholder,
body.theme-light #campo-busca-chamados::placeholder,
body[data-theme="clean-executive"] .search-input-box input::placeholder,
body[data-theme="clean-executive"] #campo-busca-chamados::placeholder {
    color: #64748b !important;
}

/* Todos os inputs e selects no tema claro */
body.theme-light input,
body.theme-light select,
body.theme-light textarea,
body[data-theme="clean-executive"] input,
body[data-theme="clean-executive"] select,
body[data-theme="clean-executive"] textarea {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #94a3b8 !important;
}

body.theme-light select option,
body[data-theme="clean-executive"] select option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

/* Chips de Filtro (Todos, Fila de Espera, Meus Atendimentos, Alta Prioridade, Alerta SLA) */
body.theme-light .chip-filter,
body.theme-light .mobile-quick-chip,
body[data-theme="clean-executive"] .chip-filter,
body[data-theme="clean-executive"] .mobile-quick-chip {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 600 !important;
}

body.theme-light .chip-filter.active,
body.theme-light .mobile-quick-chip.active,
body[data-theme="clean-executive"] .chip-filter.active,
body[data-theme="clean-executive"] .mobile-quick-chip.active {
    background: #e0f2fe !important;
    background-color: #e0f2fe !important;
    border-color: #0284c7 !important;
    color: #0284c7 !important;
    font-weight: 800 !important;
}

body.theme-light .chip-filter:hover,
body.theme-light .mobile-quick-chip:hover,
body[data-theme="clean-executive"] .chip-filter:hover,
body[data-theme="clean-executive"] .mobile-quick-chip:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* Botões do Topo dos Chamados e Alertas */
body.theme-light .btn-secondary,
body.theme-light #btn-topo-download-remoto,
body.theme-light #btn-topo-painel-remoto,
body[data-theme="clean-executive"] .btn-secondary,
body[data-theme="clean-executive"] #btn-topo-download-remoto,
body[data-theme="clean-executive"] #btn-topo-painel-remoto {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #1e293b !important;
}

body.theme-light .btn-secondary:hover,
body.theme-light #btn-topo-download-remoto:hover,
body.theme-light #btn-topo-painel-remoto:hover,
body[data-theme="clean-executive"] .btn-secondary:hover,
body[data-theme="clean-executive"] #btn-topo-download-remoto:hover,
body[data-theme="clean-executive"] #btn-topo-painel-remoto:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* Card de Alerta Push / Notificações */
body.theme-light #banner-push-permissao,
body[data-theme="clean-executive"] #banner-push-permissao {
    background: #f0f9ff !important;
    border: 1.5px solid #bae6fd !important;
    color: #0f172a !important;
}

body.theme-light #banner-push-permissao strong,
body[data-theme="clean-executive"] #banner-push-permissao strong {
    color: #0369a1 !important;
}

body.theme-light #banner-push-permissao span,
body[data-theme="clean-executive"] #banner-push-permissao span {
    color: #334155 !important;
}

/* Alternador Lista / Kanban */
body.theme-light .cal-view-selector,
body[data-theme="clean-executive"] .cal-view-selector {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
}

body.theme-light .cal-view-btn,
body[data-theme="clean-executive"] .cal-view-btn {
    color: #475569 !important;
}

body.theme-light .cal-view-btn.active,
body[data-theme="clean-executive"] .cal-view-btn.active {
    background: #ffffff !important;
    color: #0284c7 !important;
    border: 1px solid #0284c7 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Botões do Rodapé de Ações de Tabela */
body.theme-light button[onclick*="exportarChamadosAtuaisCSV"],
body.theme-light #btn-modo-lote,
body[data-theme="clean-executive"] button[onclick*="exportarChamadosAtuaisCSV"],
body[data-theme="clean-executive"] #btn-modo-lote {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #334155 !important;
}

/* Tabela de Chamados Executiva - Fundo Branco e Linhas Claras */
body.theme-light .elitte-table-container,
body[data-theme="clean-executive"] .elitte-table-container {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
}

body.theme-light .elitte-table thead th,
body[data-theme="clean-executive"] .elitte-table thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

body.theme-light .elitte-table tbody tr,
body[data-theme="clean-executive"] .elitte-table tbody tr {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #1e293b !important;
}

body.theme-light .elitte-table tbody tr:hover,
body[data-theme="clean-executive"] .elitte-table tbody tr:hover {
    background: #f8fafc !important;
}

body.theme-light .elitte-table tbody td,
body[data-theme="clean-executive"] .elitte-table tbody td {
    color: #1e293b !important;
}

body.theme-light .td-protoc,
body[data-theme="clean-executive"] .td-protoc {
    color: #d97706 !important;
    font-weight: 800 !important;
}

body.theme-light .td-assunto-main,
body[data-theme="clean-executive"] .td-assunto-main {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.theme-light .td-assunto-sub,
body[data-theme="clean-executive"] .td-assunto-sub {
    color: #64748b !important;
}

body.theme-light .td-solicitante-name,
body[data-theme="clean-executive"] .td-solicitante-name {
    color: #0f172a !important;
    font-weight: 600 !important;
}

body.theme-light .td-data-stacked,
body[data-theme="clean-executive"] .td-data-stacked {
    color: #475569 !important;
}

body.theme-light .cat-pill,
body[data-theme="clean-executive"] .cat-pill {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
}

body.theme-light .td-resp-name,
body[data-theme="clean-executive"] .td-resp-name {
    color: #334155 !important;
}


/* ==========================================================
   KANBAN NO MODO CLARO - COLUNAS BRANCAS/SLATE E ALTO CONTRASTE
   ========================================================== */
body.theme-light .kanban-column,
body[data-theme="clean-executive"] .kanban-column {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

body.theme-light .col-aberto,
body[data-theme="clean-executive"] .col-aberto {
    border-top: 3.5px solid #0284c7 !important;
}

body.theme-light .col-progresso,
body[data-theme="clean-executive"] .col-progresso {
    border-top: 3.5px solid #d97706 !important;
}

body.theme-light .col-aguardando,
body[data-theme="clean-executive"] .col-aguardando {
    border-top: 3.5px solid #8b5cf6 !important;
}

body.theme-light .col-resolvido,
body[data-theme="clean-executive"] .col-resolvido {
    border-top: 3.5px solid #059669 !important;
}

body.theme-light .kanban-column-header,
body.theme-light .kanban-col-header,
body[data-theme="clean-executive"] .kanban-column-header,
body[data-theme="clean-executive"] .kanban-col-header {
    background: #f8fafc !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    color: #0f172a !important;
}

body.theme-light .kanban-column-title,
body.theme-light .kanban-col-title,
body[data-theme="clean-executive"] .kanban-column-title,
body[data-theme="clean-executive"] .kanban-col-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.theme-light .kanban-card,
body.theme-light .kanban-ticket-card,
body[data-theme="clean-executive"] .kanban-card,
body[data-theme="clean-executive"] .kanban-ticket-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

body.theme-light .kanban-card:hover,
body.theme-light .kanban-ticket-card:hover,
body[data-theme="clean-executive"] .kanban-card:hover,
body[data-theme="clean-executive"] .kanban-ticket-card:hover {
    border-color: #0284c7 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15) !important;
}
