/* YG rebrand override — logto admin console */
:root {
  --color-brand-default: #54504F !important;
  --color-brand-hover: #3F3C3B !important;
  --color-brand-pressed: #2A2827 !important;
}

/* Hide Logto's inline SVG wordmark; JS injects <img> replacement */
svg[viewBox="0 0 52 18"] { display: none !important; }

/* Nav items to hide by text content — targeted via [class*="_item"] fallback */
/* JS will do the actual text-match hiding; these are safety nets */

/* Version box in the sidebar footer */
[class*="_versionInfo"],
[class*="_footer"] [class*="_version"],
[class*="_sidebar"] [class*="_footer"] {
  display: none !important;
}

/* Get started / Help / Docs entries in main nav */
[class*="_navItem"][data-yg-hidden="1"],
a[href*="get-started"],
a[href*="/get-started"],
[class*="_sidebar"] a[href*="docs.logto.io"],
[class*="_sidebar"] a[href*="/tutorial"] {
  display: none !important;
}

/* Help widget bubble (Inkeep / support) bottom-right */
[class*="_helpTip"],
[class*="_helpWidget"],
[class*="_inkeep"],
[data-testid="help-widget"] {
  display: none !important;
}
