/*
 * YCarrot lockup on the sign-in, sign-up, and password pages of LibreChat
 * v0.8.9. Upstream renders assets/logo.svg there in a 2.5rem-high header; the
 * lockup is drawn as that header's background instead, so the light and dark
 * themes can each get their own artwork (LibreChat marks dark mode with
 * html.dark). Re-check the selector whenever the LibreChat version changes.
 */
.min-h-screen .mt-6.h-10.w-full.bg-cover {
  height: 3rem;
  background: url('/assets/ycarrot-lockup-light.svg') center / contain no-repeat;
}

html.dark .min-h-screen .mt-6.h-10.w-full.bg-cover {
  background-image: url('/assets/ycarrot-lockup-dark.svg');
}

.min-h-screen .mt-6.h-10.w-full.bg-cover > img {
  visibility: hidden;
}

/*
 * Primary buttons (Continue, Submit, Save) in YCarrot green #007113 instead of
 * upstream's teal. LibreChat stores these colours as "R G B" triplets.
 */
:root,
.dark {
  --surface-submit: 0 113 19;
  --surface-submit-hover: 0 92 15;
}
