/* MCPF brand theme override (2026-05-14)
 * Sobrescreve cores verde/preto do EVO CRM para amarelo/azul do MCPF.
 * Injetado via nginx sub_filter no <head> de toda página HTML.
 * Sobrevive a rebuilds — é arquivo separado, fora do bundle.
 */

:root, :root.dark, :root.light, [data-theme="dark"], [data-theme="light"] {
  /* MCPF Primary: amarelo (botões, ações principais) */
  --primary: #FFD700 !important;
  --primary-foreground: #0a1228 !important;
  --color-primary: #FFD700 !important;
  --color-primary-foreground: #0a1228 !important;

  /* Ring (focus outline) — amarelo */
  --ring: #FFD700 !important;
  --color-ring: #FFD700 !important;

  /* Accent — azul MCPF */
  --accent: #1e3a8a !important;
  --accent-foreground: #FFD700 !important;
  --color-accent: #1e3a8a !important;
  --color-accent-foreground: #FFD700 !important;

  /* Sidebar — dark navy + yellow accents */
  --sidebar-primary: #FFD700 !important;
  --sidebar-primary-foreground: #0a1228 !important;
  --sidebar-accent: rgba(255,215,0,0.12) !important;
  --sidebar-accent-foreground: #FFD700 !important;
  --sidebar-ring: #FFD700 !important;
}

/* Replace specific green hex used across components */
[style*="#00bb7f"], [style*="#00c758"], [style*="#00ffa7"], [style*="#10b981"] {
  /* Targeted overrides for inline styles */
  background-color: #FFD700 !important;
  color: #0a1228 !important;
}

/* Chrome-yellow active conversation row */
button[data-conversation-active="true"],
[data-state="active"][class*="conversation"],
[aria-current="true"] {
  background-color: rgba(255, 215, 0, 0.18) !important;
  border-color: #FFD700 !important;
}

/* Send / Resposta button (verde no original) */
button[type="submit"],
button:where([data-variant="default"]):not([disabled]) {
  background-color: #FFD700;
  color: #0a1228;
}
button[type="submit"]:hover {
  background-color: #E6C200;
}
