/* Align the sidebar logo to the left */
.site-body-left-column-site-logo {
  text-align: left !important;
}

.site-body-left-column-site-logo img {
  display: block;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Accent colour for light and dark modes */
.published-container {
  --accent-h: 199;
  --accent-s: 100%;
  --accent-l: 53%;

  --color-accent: #0DB2FF;
  --interactive-accent: #0DB2FF;
  --text-accent: #0DB2FF;
  --link-color: #0DB2FF;
  --link-external-color: #0DB2FF;
}

/* Hide “Powered by Obsidian Publish” */
/* Custom footer */
.site-footer {
  display: block !important;
  padding: 24px 16px;
  border-top: 1px solid var(--background-modifier-border);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

/* Hide the interactive graph and its heading */
.graph-view-outer {
  display: none !important;
}

/* Show the footer container */
.published-container .site-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 24px 16px;
  border-top: 1px solid var(--background-modifier-border);
  font-size: 0 !important;
  line-height: 1.8;
  text-align: center;
}

/* Hide original branding only */
.published-container .site-footer > * {
  display: none !important;
}

/* Custom footer heading */
.published-container .site-footer::before {
  content: "GstarCAD Malaysia Knowledge Base";
  display: block !important;
  color: #0DB2FF;
  font-size: 14px !important;
  font-weight: 600;
}

/* Copyright */
.published-container .site-footer::after {
  content: "© 2026 Neofame Technologies Sdn Bhd. All rights reserved.";
  display: block !important;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px !important;
}

:root {
  --chat--color-primary: #0DB2FF;
  --chat--color-primary-shade-50: #009ee6;
  --chat--color-primary-shade-100: #008bcc;
  --chat--color-secondary: #0DB2FF;

  --chat--toggle--background: #0DB2FF;
  --chat--toggle--hover--background: #009ee6;
  --chat--header--background: #10243a;
  --chat--header--color: #ffffff;
  --chat--message--user--background: #0DB2FF;
  --chat--message--user--color: #082032;
}