/* Setjoo Network (HumHub). HumHub's compiled theme.css bakes the colours in, so remap its Bootstrap tokens here. */
:root, [data-bs-theme] {
  --bs-primary: #ed1c24; --bs-primary-rgb: 237, 28, 36;
  --bs-link-color: #ed1c24; --bs-link-color-rgb: 237, 28, 36; --bs-link-hover-color: #c8161d; --bs-link-hover-color-rgb: 200, 22, 29;
  --bs-accent: #ed1c24; --bs-accent-rgb: 237, 28, 36;
  --bs-primary-bg-subtle: #fde8e9; --bs-primary-border-subtle: #f9c5c7; --bs-primary-text-emphasis: #c8161d;
  --bs-body-color: #231f20; --bs-body-bg: #f4f2f2; --bs-body-bg-rgb: 244, 242, 242;
  --bs-font-sans-serif: var(--sj-font); --bs-body-font-family: var(--sj-font);
  --hh-text-color-main: #231f20; --hh-text-color-highlight: #231f20; --hh-background-color-page: #f4f2f2;
  --hh-font-family-base: var(--sj-font);
}
body, button, input, select, textarea, .btn { font-family: var(--sj-font); }
.btn-primary {
  --bs-btn-bg: #ed1c24; --bs-btn-border-color: #ed1c24; --bs-btn-hover-bg: #c8161d; --bs-btn-hover-border-color: #c8161d;
  --bs-btn-active-bg: #c8161d; --bs-btn-active-border-color: #c8161d; --bs-btn-disabled-bg: #ed1c24; --bs-btn-disabled-border-color: #ed1c24;
  --bs-btn-focus-shadow-rgb: 237, 28, 36;
}
/* top bar: paper + ink so the red/ink wordmark reads */
#topbar-first { background-color: #fff; color: #231f20; border-bottom: 1px solid var(--sj-line); }
#topbar-first, #topbar-first a, #topbar-first .account .account-name, #topbar-first .account-name, #topbar-first .account-description { color: #231f20 !important; }
#topbar-first .nav > li > a:hover, #topbar-first .nav > .open > a { background-color: var(--sj-mist); }
#topbar-first a.navbar-brand img#img-logo { max-height: 36px; }
/* login */
body.login-container { background: var(--sj-mist) !important; color: #231f20; }
body.login-container .powered, body.login-container .powered a { color: var(--sj-ink-muted) !important; }
/* "Powered by HumHub" footer badge (licence/about pages keep their notices) */
.powered { display: none !important; }
div:has(> a[href^="https://www.humhub.com"]) { display: none !important; }
#topbar-first .nav > li > a, #topbar-first a#account-dropdown-link, #topbar-first .account > a { background: transparent !important; }
#topbar-first a#account-dropdown-link:hover, #topbar-first .account.open > a, #topbar-first .account > a:hover { background: var(--sj-mist) !important; }
#icon-notifications { background: var(--sj-mist) !important; }
#icon-notifications .fa { color: var(--sj-ink) !important; }
#topbar-first .topbar-actions { display: flex; align-items: center; gap: 4px; }
body.login-container a, body.login-container .btn-link { color: var(--sj-ink-muted) !important; }
body.login-container .btn-primary { color: #fff !important; }
