:root {
    --hirose-mark: url("../pics/hirose-mark.png?v=20261012");
}

/* Hirose square logo for authenticated GLPI interfaces. */
.page .glpi-logo {
    content: none !important;
    display: inline-block !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    background-color: #fff !important;
    background-image: var(--hirose-mark) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 74.1% 74.1% !important;
    border-radius: 20.75% !important;
}

/* Login / anonymous pages use a larger version of the same mark. */
.page-anonymous .glpi-logo {
    --logo: none !important;
    content: none !important;
    display: inline-block !important;
    width: 132px !important;
    height: 132px !important;
    min-width: 132px;
    background-color: #fff !important;
    background-image: var(--hirose-mark) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 74.1% 74.1% !important;
    border-radius: 20.75% !important;
}

/* Preserve the compact square treatment when the standard sidebar is collapsed. */
body.navbar-collapsed .navbar-brand .glpi-logo {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    background-size: 74.1% 74.1% !important;
}

/* Avoid the old wide GLPI-logo spacing in horizontal/self-service headers. */
.navbar-brand {
    min-width: auto;
}
