/* SutraWork brand: logo sizing on top of HOMER. The logo is a 1552x459 transparent PNG; the icon is the 192x192 favicon. */

/* Topbar (main layout): full logo about 32 px tall, the square icon when the sidebar is collapsed. */
.logo-topbar .brand-logo {
    height: 32px;
    width: auto;
    vertical-align: middle;
}

.logo-topbar .brand-icon {
    height: 32px;
    width: 32px;
    vertical-align: middle;
}

html[data-sidenav-size=collapse] .logo-topbar {
    min-width: var(--ins-sidenav-width-sm);
}

html[data-sidenav-size=collapse] .logo-topbar .logo-lg {
    display: none;
}

html[data-sidenav-size=collapse] .logo-topbar .logo-sm {
    display: block;
}

/* Auth, error and message pages: centred logo above the card. */
.auth-logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

/* Slim scrollbars everywhere (loaded by both layouts). An 8 px track with a 1 px transparent border gives a 6 px thumb,
   matching the sidebar's SimpleBar. SimpleBar's own rules that hide the native bar are more specific, so they still apply. */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(var(--ins-secondary-color-rgb), .5);
    background-clip: padding-box;
    border: 1px solid transparent;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    background-color: rgba(var(--ins-secondary-color-rgb), .8);
}

/* Firefox only: Chrome and Edge 121+ ignore the rules above if these standard properties are set. */
@supports not selector(::-webkit-scrollbar) {
    * {
        scrollbar-width: thin;
        scrollbar-color: rgba(var(--ins-secondary-color-rgb), .5) transparent;
    }
}
