/* Light Theme CSS */
:root {
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-tertiary: #374151;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-tertiary: #9ca3af;
  --border-color: #4b5563;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  transition: all 0.3s ease;
}

.light-theme {
  --bg-primary: #f3f4f6;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e5e7eb;
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-tertiary: #6b7280;
  --border-color: #d1d5db;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
}

.light-theme body,
.light-theme #app {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

.light-theme .bg-gray-900 {
  background-color: var(--bg-primary) !important;
}

.light-theme .bg-gray-800 {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
}

.light-theme .bg-gray-700 {
  background-color: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
}

.light-theme .bg-gray-600 {
  background-color: #d1d5db !important;
  color: var(--text-primary) !important;
}

.light-theme .text-gray-400 {
  color: var(--text-tertiary) !important;
}

.light-theme .text-gray-300 {
  color: var(--text-secondary) !important;
}

.light-theme .text-white {
  color: var(--text-primary) !important;
}

.light-theme .border-gray-700 {
  border-color: var(--border-color) !important;
}

.light-theme .border-gray-600 {
  border-color: var(--border-color) !important;
}

.light-theme .hover\:bg-gray-700:hover {
  background-color: var(--bg-tertiary) !important;
}

.light-theme .hover\:bg-gray-600:hover {
  background-color: #d1d5db !important;
}

/* Keep gradients and special colors unchanged */
.light-theme .bg-gradient-to-r,
.light-theme .bg-gradient-to-br,
.light-theme .from-purple-900,
.light-theme .to-pink-900,
.light-theme .from-gray-900,
.light-theme .via-purple-900 {
  /* Gradients remain unchanged for visual consistency */
}

/* Message bubbles in light mode */
.light-theme .bg-purple-600 {
  background-color: #9333ea !important;
  color: white !important;
}
