/* Tumodo Branding: override GLPI logo variables (see css/includes/_base.scss).
   URLs must be absolute: a relative url() inside a CSS variable is resolved
   against the core stylesheet that uses it (/css_compiled/), not this file. */
:root,
html[data-glpi-theme] {
    --glpi-logo-light: url("/plugins/tumodobranding/logo-white.svg");
    --glpi-logo-light-reduced: url("/plugins/tumodobranding/icon-white.png");
    --glpi-logo-dark: url("/plugins/tumodobranding/logo-color.svg");
    --glpi-logo-dark-reduced: url("/plugins/tumodobranding/icon-color.png");
    --glpi-logo-dark-login: url("/plugins/tumodobranding/logo-color.svg");
    --glpi-logo-light-login: url("/plugins/tumodobranding/logo-white.svg");
}

/* Sidebar / top bar logo: the wordmark is wide, so scale it to fit */
.page .glpi-logo {
    background-size: contain !important;
    background-position: left center !important;
    width: 130px;
    height: 40px;
}

/* Login and other anonymous pages */
.page-anonymous .glpi-logo {
    width: 280px !important;
    height: auto !important;
    aspect-ratio: 4666 / 735;
}
