/*
 * Tema Agroflor — sobrescreve variáveis CSS do GLPI para aplicar o verde #00835c
 * Carregado em todas as páginas via override de head.html.twig
 */

:root {
   /* Cor primária (botões, badges, ativas) */
   --tblr-primary-rgb: 0, 131, 92 !important;

   /* Cor de links */
   --tblr-link-color-rgb: 0, 131, 92 !important;
   --tblr-link-hover-color-rgb: 0, 90, 63 !important;

   /* Sidebar / top menu */
   --glpi-mainmenu-bg: #00835c !important;
   --glpi-mainmenu-fg: #ffffff !important;

   /* Header helpdesk (interface requerente) */
   --glpi-helpdesk-header: hsl(162deg, 40%, 88%) !important;

   /* Paleta de cores customizadas */
   --glpi-palette-color-1: #00835c !important;
   --glpi-palette-color-2: #005a3f !important;
   --glpi-palette-color-3: #006b4f !important;
   --glpi-palette-color-4: #e8b800 !important;

   /* Gradientes das ilustrações (helpdesk) */
   --glpi-illustrations-gradient-1: hsl(162deg, 40%, 92%) !important;
   --glpi-illustrations-gradient-2: hsl(162deg, 40%, 65%) !important;
   --glpi-illustrations-gradient-3: hsl(162deg, 40%, 38%) !important;
}

/* Logo Agroflor no header autenticado — container branco no menu escuro */
.navbar-brand .navbar-brand-image,
.navbar-brand-image {
   background: #ffffff;
   padding: 4px 10px;
   border-radius: 6px;
   max-height: 36px;
   max-width: 160px;
   object-fit: contain;
   display: block;
}

/* Ajuste vertical para alinhar com os ícones do menu */
.navbar-brand {
   display: flex;
   align-items: center;
}
