/* ============================================================
   Sinergy Matrix (plano/) — light theme override
   Carregar DEPOIS de /shared/thriveo.css. Não editar o arquivo
   compartilhado (usado por outros módulos) — apenas sobrescrever
   os tokens e seletores com hardcoded dark aqui, escopado ao plano.
   ============================================================ */

:root {
  --th-bg:          #f1f5f9;
  --th-surface:     #ffffff;
  --th-surface-2:   #f8fafc;
  --th-surface-3:   #e2e8f0;
  --th-border:      rgba(15,23,42,0.08);
  --th-border-md:   rgba(15,23,42,0.15);

  --th-primary:     #2563eb;
  --th-primary-h:   #1d4ed8;
  --th-primary-glow:rgba(37,99,235,0.15);

  --th-text:        #0f172a;
  --th-text-2:      #475569;
  --th-text-3:      #64748b;

  --th-shadow:      0 4px 24px rgba(15,23,42,0.10);
  --th-shadow-sm:   0 2px 8px  rgba(15,23,42,0.06);
}

/* navbar usa cor fixa (não var) no arquivo compartilhado */
nav, .navbar, header.navbar, .main-header, .top-nav {
  background: rgba(255,255,255,0.9) !important;
}

/* badges/alerts do design system usam texto claro pensado pra fundo escuro;
   em fundo claro precisam de tons mais saturados/escuros pra manter contraste */
.badge-success, .status-active, .badge-green { color: #059669 !important; }
.badge-warning, .status-pending             { color: #b45309 !important; }
.badge-danger, .badge-red                   { color: #dc2626 !important; }
.badge-info, .badge-primary                 { color: #1d4ed8 !important; }

.alert-success               { color: #047857 !important; }
.alert-error, .alert-danger  { color: #b91c1c !important; }
.alert-warning                { color: #b45309 !important; }
.alert-info                   { color: #1d4ed8 !important; }
