/*
 * Sizing + coloring for the Brother wordmark on every Filament page in
 * the user panel. The wordmark SVG (resources/views/snippets/logo.blade.php)
 * is shared with the public site and ships without explicit width/height,
 * which collapses to 0×0 inside Filament's flex `.fi-logo` wrapper.
 */
.fi-logo svg {
    height: 100%;
    width: auto;
    color: #0d2ea0;
}

/*
 * Inside the authenticated topbar (now styled with a blue background to
 * match the public-site header), flip the wordmark to white so it stays
 * readable. Auth pages render outside .fi-topbar with a light background
 * and keep the blue wordmark above.
 */
.fi-topbar .fi-logo svg {
    color: #ffffff;
}

html.dark .fi-logo svg {
    color: #ffffff;
}

/*
 * Inside the authenticated topbar, shrink the brand mark to half the
 * brandLogoHeight (6.5rem -> 3.25rem). The SVG keeps height: 100% from
 * the rule above and fills the smaller container, so the topbar collapses
 * to match. Auth pages (login/register) are unaffected — they render
 * outside .fi-topbar and keep the full-size brand mark.
 */
.fi-topbar .fi-logo {
    height: 3.25rem !important;
}
