/*
 * Admin panel (Filament) touches that match the public pages: brand strip under the top bar,
 * navy top bar in the dark theme, and the visible theme toggle. Colours come from tokens.css,
 * loaded just before this file (AdminPanelProvider).
 */
.fi-topbar {
    position: relative;
}

.fi-topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--strip-height);
    background: var(--brand-gradient);
    pointer-events: none;
}

/* tokens.css declares a light color-scheme on :root; Filament marks dark mode with a class. */
.dark {
    color-scheme: dark;
}

.dark .fi-topbar {
    background-color: var(--brand-navy);
}

.b3-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-inline-end: 4px;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.b3-theme-toggle:hover {
    background: color-mix(in srgb, currentColor 10%, transparent);
}

.b3-theme-toggle svg {
    width: 22px;
    height: 22px;
}
