/* McCarren brand overrides for Chainlit */

/* Remove "built with Chainlit" watermark */
a[href*="chainlit.io"],
a[href*="github.com/Chainlit"] {
  display: none !important;
}

/* Constrain logo size in header/sidebar only */
header img[alt="logo"],
nav img[alt="logo"] {
  max-height: 24px !important;
  width: auto !important;
}

/* Remove dark overlay from login page cover image */
[class*="login"] img,
[class*="auth"] img {
  filter: brightness(1) !important;
  opacity: 1 !important;
}

/* Blue links in message content — re-scope --primary so text-primary resolves to blue */
.message-content a {
  --primary: 217 91% 60%;
}
.message-content a:hover {
  --primary: 217 91% 53%;
}

/* Message styling — slightly more breathing room */
.message-content {
  line-height: 1.6;
}

/*
 * Subtle scrollbars — mirrors Chainlit's built-in .custom-scrollbar utility
 * (defined in index.css) but applied to all scrollable containers since that
 * class is only used on command lists. Uses the same --muted-foreground CSS
 * variable so colors stay in sync with the active theme.
 */
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background-color: hsl(var(--muted-foreground) / 0.25);
  border-radius: 3px;
}
*::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--muted-foreground) / 0.4);
}
* {
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--muted-foreground) / 0.25) transparent;
}
