/* Floworks brand overlay for self-hosted Dograh */
:root {
  --cta: #ff7a00 !important;
  --cta-foreground: #0a0a0a !important;
  --ring: #ff7a00 !important;
  --chart-1: #ff7a00 !important;
  --sidebar-primary: #ff7a00 !important;
  --sidebar-primary-foreground: #0a0a0a !important;
  --sidebar-ring: #ff7a00 !important;
}

.dark {
  --cta: #ff7a00 !important;
  --cta-foreground: #0a0a0a !important;
  --ring: #ff952e !important;
  --chart-1: #ff7a00 !important;
  --sidebar-primary: #ff7a00 !important;
  --sidebar-primary-foreground: #0a0a0a !important;
  --sidebar-ring: #ff952e !important;
  --background: #0a0a0a !important;
}

/* Primary buttons / CTA surfaces often use bg-cta */
.bg-cta,
[class*="bg-cta"] {
  background-color: #ff7a00 !important;
  color: #0a0a0a !important;
}

.text-cta,
[class*="text-cta"] {
  color: #ff7a00 !important;
}

.border-cta,
[class*="border-cta"] {
  border-color: #ff7a00 !important;
}

/* Focus rings */
*:focus-visible {
  outline-color: #ff7a00 !important;
}

/* Soft orange wash on auth / empty surfaces */
.app-surface::before,
.auth-imprint {
  opacity: 0.9;
}

/* Sidebar: show "Sam" instead of package version (e.g. v1.45.0) */
.app-sidebar-dock a[href="/"] > span.notranslate.text-xs {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

.app-sidebar-dock a[href="/"] > span.notranslate.text-xs::after {
  content: "Sam";
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  color: #a3a3a3;
  letter-spacing: 0.01em;
}

/* Hide Overview from the sidebar */
.app-sidebar-dock a[href="/overview"],
.app-sidebar-dock li:has(a[href="/overview"]),
aside a[href="/overview"],
aside li:has(a[href="/overview"]) {
  display: none !important;
}

/* Hide top-right Join Slack + GitHub Star */
header a[href*="join.slack.com"],
header a[href*="github.com/dograh-hq/dograh"] {
  display: none !important;
}
