        .light-theme {
            --bg-primary: #ffffff;
            --bg-secondary: #f1f5f9;
            --text-primary: #1e293b;
            --text-secondary: #475569;
        }

        body.light-theme {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

        .light-theme .bg-slate900 {
            background-color: #ffffff !important;
            border-color: #e2e8f0 !important;
            color: #1e293b !important;
        }

        .light-theme .bg-slate950 {
            background-color: #f8fafc !important;
        }

       .light-theme input,
.light-theme select,
.light-theme textarea {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Adicione isso para garantir que os elementos cinzas mudem para escuros no modo claro */
.light-theme [class*="text-gray-"], 
.light-theme [class*="text-slate-"] {
    color: #334155 !important;
}

/* Força os ícones (Lucide) a ficarem escuros também */
.light-theme i, .light-theme svg {
    stroke: #334155 !important;
}

/* Corrige o fundo do scrollbar no modo claro */
.light-theme ::-webkit-scrollbar-track {
    background: #e2e8f0 !important;
}

.light-theme ::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
}

/* Garante que o texto dentro de inputs não fique cinza */
.light-theme input::placeholder, 
.light-theme textarea::placeholder {
    color: #94a3b8 !important;
}

/* Quando estiver no tema claro, força os textos que eram cinzas a ficarem pretos/escuros */
.light-theme .text-gray-400,
.light-theme .text-gray-300,
.light-theme .text-gray-500 {
    color: #334155 !important; /* Um tom de cinza bem escuro, quase preto, para leitura confortável */
}

/* Garante que títulos e nomes também fiquem escuros */
.light-theme .text-white {
    color: #0f172a !important;
}



/* Títulos */
.light-theme .text-white {
    color: #0f172a !important;
}



.light-theme aside {
    background: #ffffff !important;
}

.light-theme nav button {
    color: #334155 !important;
}

.light-theme nav button:hover {
    background: #f1f5f9 !important;
}

.light-theme .bg-accent\/15 {
    background: #dbeafe !important;
}

            /* profundidade e cor abas tema claro */
.light-theme .bg-slate950 {
    background-color: #f1f5f9 !important;
}

.light-theme .bg-slate900 {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.light-theme .bg-slate800 {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.light-theme .bg-slate700 {
    background-color: #e2e8f0 !important;
}

.light-theme button[class*="bg-slate"] {
    color: #334155 !important;
}

.light-theme .bg-accent {
    color: white !important;
}

.light-theme .bg-opacity-60 {
    opacity: 1 !important;
}


.light-theme .rounded-xl,
.light-theme .rounded-2xl {
    box-shadow:
      0 1px 3px rgba(0,0,0,.05),
      0 1px 2px rgba(0,0,0,.04);
}






/* Textos comuns */
.light-theme .text-gray-300,
.light-theme .text-gray-400,
.light-theme .text-gray-500,
.light-theme .text-gray-600 {
    color: #475569 !important;
}


.light-theme .text-emerald,
.light-theme .text-emerald-400,
.light-theme .text-green-500 {
    color: #10b981 !important;
}

.light-theme .text-rose,
.light-theme .text-rose-500,
.light-theme .text-red-500 {
    color: #ef4444 !important;
}

.light-theme .text-amber,
.light-theme .text-amber-500 {
    color: #f59e0b !important;
}

.light-theme .text-accent {
    color: #3b82f6 !important;
}


.light-theme .bg-slate900 {
    background-color: #ffffff !important;
}

.light-theme .bg-slate800 {
    background-color: #f8fafc !important;
}

/* ==========================
   TEMA CLARO - CORREÇÕES
========================== */

/* Fundo geral */
.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #475569;
}

body.light-theme {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* Sidebar */
.light-theme aside {
    background-color: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
}

/* Inputs */
.light-theme input,
.light-theme select,
.light-theme textarea {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

.light-theme input::placeholder,
.light-theme textarea::placeholder {
    color: #94a3b8 !important;
}

/* Textos */
.light-theme .text-white {
    color: #0f172a !important;
}

.light-theme .text-gray-300,
.light-theme .text-gray-400,
.light-theme .text-gray-500,
.light-theme .text-gray-600,
.light-theme [class*="text-slate"] {
    color: #475569 !important;
}

/* Ícones */
.light-theme i,
.light-theme svg {
    stroke: #334155 !important;
}

/* Hover menu */
.light-theme nav button {
    color: #334155 !important;
}

.light-theme nav button:hover {
    background-color: #f1f5f9 !important;
}

/* Cards principais */
.light-theme .bg-slate950\/40 {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

.light-theme .border-slate800 {
    border-color: #cbd5e1 !important;
}

/* Qualquer card escuro */
.light-theme [class*="bg-slate"] {
    background-color: #ffffff !important;
}

.light-theme [class*="border-slate"] {
    border-color: #cbd5e1 !important;
}

/* Containers secundários */
.light-theme .bg-slate950 {
    background-color: #f8fafc !important;
}

.light-theme .bg-slate900 {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.light-theme .bg-slate800 {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.light-theme .bg-slate700 {
    background-color: #e2e8f0 !important;
}

/* Botões */
.light-theme button[class*="bg-slate"] {
    color: #334155 !important;
}

.light-theme .bg-accent {
    color: #ffffff !important;
}

.light-theme .bg-accent\/15 {
    background-color: #dbeafe !important;
}

/* Sombras */
.light-theme .rounded-lg,
.light-theme .rounded-xl,
.light-theme .rounded-2xl {
    box-shadow:
        0 1px 3px rgba(0,0,0,.05),
        0 1px 2px rgba(0,0,0,.04);
}

/* Scrollbar */
.light-theme ::-webkit-scrollbar-track {
    background: #e2e8f0 !important;
}

.light-theme ::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
}

/* Cores auxiliares */
.light-theme .text-green-500,
.light-theme .text-emerald-400 {
    color: #10b981 !important;
}

.light-theme .text-red-500,
.light-theme .text-rose-500 {
    color: #ef4444 !important;
}

.light-theme .text-amber-500 {
    color: #f59e0b !important;
}

.light-theme .text-accent {
    color: #3b82f6 !important;
}
