/* Kunden-Theme fuer LibreChat. Wird per nginx eingebunden (siehe nginx-Konfiguration), kein eigenes Image noetig.
   Pro Kunde nur die drei Markenfarben unten anpassen (RGB mit Leerzeichen, wie LibreChat sie nutzt).
   Beispielwerte: Schuba (Orange EF7F1A, Schrift Arial wie schuba-shop.com). */
:root {
  --brand:        239 127 26;  /* Markenfarbe: Akzente, Links, Fokus */
  --brand-strong: 196 94 8;    /* dunklere Variante fuer Buttons mit weisser Schrift (Kontrast) */
  --brand-hover:  160 76 6;    /* Hover-Zustand */
}
html, html.dark {
  --surface-submit: var(--brand-strong);
  --surface-submit-hover: var(--brand-hover);
  --accent-primary: var(--brand);
  --accent-primary-hover: var(--brand-strong);
  --link: var(--brand);
  --link-hover: var(--brand-strong);
  --brand-purple: var(--brand);
}
html.dark {
  --link: 245 160 80;          /* helleres Orange auf dunklem Grund */
  --link-hover: 250 185 120;
}
html body, html input, html textarea, html button, html select {
  font-family: Arial, Helvetica, sans-serif;
}
::selection { background: rgb(var(--brand) / 0.35); }
/* Senden-Button in Markenfarbe (LibreChat nutzt hier sonst Weiss/Schwarz) */
[data-testid="send-button"] { background-color: rgb(var(--brand-strong)) !important; color: #fff !important; }
[data-testid="send-button"]:hover { background-color: rgb(var(--brand-hover)) !important; }
[data-testid="send-button"] svg { color: #fff !important; }

/* Markenstreifen oben, wie die orange Leiste im Shop */
body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 3px; background: rgb(var(--brand)); z-index: 99999; pointer-events: none; }
/* Warme Hover-/Aktiv-Flaechen (aktiver Chat, Menues) */
html.dark { --surface-active-alt: 64 44 28; --surface-active: 78 52 30; --surface-hover: 52 44 38; --surface-hover-alt: 58 46 36; --border-xheavy: 239 127 26; }
html:not(.dark) { --surface-active-alt: 253 232 212; --surface-active: 251 220 190; --surface-hover: 250 241 232; --surface-hover-alt: 250 238 226; }
/* Tastaturfokus in Markenfarbe */
*:focus-visible { outline-color: rgb(var(--brand)) !important; }
