/*
 * Qnets brand for Bootstrap 6. Bootstrap 6 lives in cascade layers, so these unlayered rules always win.
 * Every component (links, focus rings, checks, menus, list groups, .theme-primary) reads the
 * --bs-primary-* tokens, so recolouring them is enough; no per-component fixes as in the Bootstrap 5 version.
 */
:root {
    --qnets-primary: #dd2631;
    --qnets-primary-hover: #c01f29;
    /* Lighter red for text on dark backgrounds, to keep it readable. */
    --qnets-primary-text: light-dark(#dd2631, #f0646c);

    --bs-primary-base: var(--qnets-primary);
    --bs-primary-fg: var(--qnets-primary-text);
    --bs-primary-fg-emphasis: light-dark(#580f14, #eb7d83);
    --bs-primary-bg: var(--qnets-primary);
    --bs-primary-bg-subtle: light-dark(#f8d4d6, #2c080a);
    --bs-primary-bg-muted: light-dark(#f1a8ad, #580f14);
    --bs-primary-border: light-dark(#f1a8ad, #851720);
    --bs-primary-focus-ring: light-dark(color-mix(in oklch, #dd2631 50%, var(--bs-bg-body)), color-mix(in oklch, #dd2631 75%, var(--bs-bg-body)));
    --bs-primary-contrast: #fff;
}

/* DataTables declares its own blue on :root and loads after this file, hence html:root. */
html:root {
    --dt-row-selected: 221, 38, 49;
    --dt_background-selected: 221, 38, 49;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar {
    --bs-navbar-active-color: var(--bs-primary-fg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}
