/* Halden Rock branding for the SFTPGo WebClient. Supported extra_css only, no template changes.
   Palette read from the inline styles of https://www.haldenai.com on 2026-11-04:
   maroon #8b1f52, cyan #74d0e5, near-black #030c11, off-white #fcfcfc, navy #1c2b40. */
:root,
[data-bs-theme="light"] {
  --bs-primary: #8b1f52;
  --bs-primary-rgb: 139, 31, 82;
  --bs-primary-active: #6f1942;
  --bs-primary-light: #f7f4f6;
  --bs-primary-clarity: rgba(139, 31, 82, 0.2);
  --bs-primary-inverse: #ffffff;
  --bs-text-primary: #8b1f52;
  --bs-link-color: #8b1f52;
  --bs-link-color-rgb: 139, 31, 82;
  --bs-link-hover-color: #6f1942;
  --bs-link-hover-color-rgb: 111, 25, 66;
}
[data-bs-theme="dark"] {
  --bs-primary: #74d0e5;
  --bs-primary-rgb: 116, 208, 229;
  --bs-primary-active: #5bbfd6;
  --bs-primary-light: #0d1a22;
  --bs-primary-clarity: rgba(116, 208, 229, 0.2);
  --bs-primary-inverse: #030c11;
  --bs-text-primary: #74d0e5;
  --bs-link-color: #74d0e5;
  --bs-link-color-rgb: 116, 208, 229;
  --bs-link-hover-color: #9ddcec;
  --bs-link-hover-color-rgb: 157, 220, 236;
}
/* The H/ mark is solid black. The sidebar is dark in both themes, so always invert it there.
   Elsewhere (login page, mobile header) invert it only on the dark theme. */
.app-sidebar-logo-default { filter: invert(1); }
[data-bs-theme="dark"] img[src*="halden-logo"] { filter: invert(1); }
