/* ==========================================
   HELPDESK UB - LOGOTIPOS GLPI 12
   ========================================== */

/* Identidade visual nos temas claro e escuro */
:root,
html[data-bs-theme="light"],
html[data-bs-theme="dark"] {

    /* Menu expandido: logo completa */
    --glpi-logo-light: url('/pics/logos/logo-unibra.png');
    --glpi-logo-dark: url('/pics/logos/logo-unibra.png');

    /* Menu recolhido: somente o brasão */
    --glpi-logo-light-reduced: url('/pics/logos/logo-unibra-shield.png');
    --glpi-logo-dark-reduced: url('/pics/logos/logo-unibra-shield.png');

    --glpi-logo: url('/pics/logos/logo-unibra.png');
    --glpi-logo-reduced: url('/pics/logos/logo-unibra-shield.png');
}

/* Respeita o tamanho e o posicionamento do GLPI */
.glpi-logo {
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}

/* ==========================================
   HELPDESK UB - BRASAO NO MENU RECOLHIDO
   ========================================== */

@media (min-width: 992px) {

    body.navbar-collapsed .navbar-brand .glpi-logo {
        background-image: url('/pics/logos/logo-unibra-shield.png') !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: contain !important;

        display: block !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;

        margin: 0 auto !important;
    }

}

