/* ==========================================================================
   LucyChat - Theme Variablen (Clean Modern Light & Midnight Dark)
   ========================================================================== */
:root,
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-sidebar: #ffffff;
  --bg-card: #f1f5f9;
  --bg-hover: rgba(0, 0, 0, 0.04);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --accent: #00a884;
  --accent-hover: #008f6f;
  --accent-soft: rgba(0, 168, 132, 0.12);
  --online-green: #10b981;
  --offline-red: #ef4444;
  --border: #e2e8f0;
  --code-bg: #f1f5f9;

  --bubble-out-bg: #d9fdd3;
  --bubble-out-text: #0f172a;
  --bubble-in-bg: #ffffff;
  --bubble-in-text: #0f172a;
  --chat-pattern-opacity: 0.04;
}

[data-theme="dark"] {
  --bg-primary: #0b141a;
  --bg-secondary: #202c33;
  --bg-sidebar: #111b21;
  --bg-card: #202c33;
  --bg-hover: rgba(255, 255, 255, 0.06);
  --text-main: #e9edef;
  --text-muted: #8696a0;
  --accent: #00a884;
  --accent-hover: #02906f;
  --accent-soft: rgba(0, 168, 132, 0.16);
  --online-green: #25d366;
  --offline-red: #ef4444;
  --border: #222d34;
  --code-bg: #090d15;

  --bubble-out-bg: #005c4b;
  --bubble-out-text: #e9edef;
  --bubble-in-bg: #202c33;
  --bubble-in-text: #e9edef;
  --chat-pattern-opacity: 0.04;
}

html {
  font-size: 15px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  word-spacing: normal;
  letter-spacing: normal;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  overflow: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}
