/**
 * nunu.run console theme (RD-174)
 * Accent #D85A04 — scoped to avoid fighting LibreChat runtime theme.
 */

html:not(.dark),
html.dark {
  --accent-primary: 216 90 4;
  --accent-primary-hover: 184 74 3;
  --surface-submit: 216 90 4;
  --surface-submit-hover: 184 74 3;
  --link: 216 90 4;
  --link-hover: 184 74 3;
}

html:not(.dark) {
  --presentation: 251 249 249;
  --surface-primary-alt: 251 249 249;
  --surface-secondary: 246 243 242;
  --surface-chat: 251 249 249;
  --surface-code: 246 243 242;
  --header-primary: 251 249 249;
  --header-hover: 246 243 242;
  --header-button-hover: 246 243 242;
  --border-light: 229 231 235;
  --border-medium: 229 231 235;
}

html .bg-surface-submit,
html button.bg-surface-submit,
html [data-testid='login-button'] {
  background-color: #d85a04 !important;
}

html .bg-surface-submit:hover,
html button.bg-surface-submit:hover,
html [data-testid='login-button']:hover {
  background-color: #b84a03 !important;
}

html .text-accent-primary,
html a.text-accent-primary {
  color: #d85a04 !important;
}

html a.text-accent-primary:hover {
  color: #b84a03 !important;
}

html .border-accent-primary,
html .focus-visible\:border-accent-primary:focus-visible,
html .focus\:border-accent-primary:focus {
  border-color: #d85a04 !important;
}

html .text-link,
html a.text-link {
  color: #d85a04 !important;
}

html .text-link:hover,
html a.text-link:hover {
  color: #b84a03 !important;
}

/* Login / register — hide LibreChat logo (BlinkAnimation drops wrapper after load) */
html.nunu-auth-page .animate-logo-blink,
html.nunu-auth-page .mt-6.h-10.w-full.bg-cover,
html.nunu-auth-page img[src*='logo.svg'] {
  display: none !important;
}

html.nunu-auth-page main h1.text-3xl::before {
  content: 'nunu';
  display: block;
  margin-bottom: 0.25rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgb(var(--text-primary));
}

/* Static customWelcome — paired with nunu-welcome.js */
.nunu-welcome-row {
  justify-content: center;
}

.nunu-welcome-static {
  display: block;
  max-width: 42rem;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  color: rgb(var(--text-primary));
}

@media (min-width: 640px) {
  .nunu-welcome-static {
    font-size: 1.5rem;
  }
}
