body.ai-chat-dark {
  background: linear-gradient(180deg, #0b1020 0%, #111827 100%);
  color: #e5e7eb;
}

body.ai-chat-dark #chat-container {
  background: #0b1220;
  color: #e5e7eb;
}

body.ai-chat-dark #logo-wrap img {
  height: 50px;
  width: auto;
}

body.ai-chat-dark .footer-dark {
  background: #0f172a !important;
  color: #e5e7eb !important;
  border-color: rgba(255,255,255,0.08) !important;
}

body.ai-chat-dark .footer-dark a {
  color: #e5e7eb !important;
}

body.ai-chat-dark .footer-dark a:hover {
  color: #a78bfa !important;
}

body.ai-chat-dark .copyright-dark {
  background: #0b1220 !important;
  color: rgba(229,231,235,0.85) !important;
  border-color: rgba(255,255,255,0.08) !important;
}

body.ai-chat-dark .copyright-dark a {
  color: #c7d2fe !important;
}

body.ai-chat-dark .copyright-dark a:hover {
  color: #a78bfa !important;
}

body.ai-chat-dark #chat-left-sidebar,
body.ai-chat-dark #chat-right-sidebar {
  background: #0f172a;
  border-color: rgba(255,255,255,0.08);
}


body.ai-chat-dark #chat-left-sidebar .sidebar-title {
  color: #fff;
}

body.ai-chat-dark .ai-name {
  color: #fff;
}

body.ai-chat-dark #chat-main {
  background: #000 !important;
}

body.ai-chat-dark .chat-header-name {
  color: #fff;
}

body.ai-chat-dark .profile-panel {
  background: #0f172a !important;
}

body.ai-chat-dark .profile-name {
  color: #fff !important;
}

body.ai-chat-dark .profile-desc {
  color: #fff !important;
}

/* Make sure right sidebar background is applied */
body.ai-chat-dark #chat-right-sidebar {
  background: #0f172a !important;
}





body.ai-chat-dark .ai-link {
  color: #e5e7eb;
}

body.ai-chat-dark .ai-link:hover {
  background: rgba(255,255,255,0.06);
}

body.ai-chat-dark .ai-item.active .ai-link {
  background: rgba(99, 102, 241, 0.20);
}

body.ai-chat-dark .ai-msg table {
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

body.ai-chat-dark .ai-msg th {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 2px solid rgba(255,255,255,0.10);
  color: #e5e7eb;
}

body.ai-chat-dark .ai-msg td {
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #e5e7eb;
}

body.ai-chat-dark .elementor-element.elementor-element-73d520c4.e-grid.e-con-boxed.e-con.e-parent.e-lazyloaded {
  background: #000000 !important;
}

body.ai-chat-dark #authmenu .elementor-item {
  color: #ffffff !important;
}

body.ai-chat-dark #authmenu .elementor-item:hover,
body.ai-chat-dark #authmenu .elementor-item:focus {
  color: #ffffff !important;
}

body.ai-chat-dark #chat-right-sidebar .chat-name {
  color: #a78bfa;
}

body.ai-chat-dark #chat-right-sidebar .chat-description {
  color: #e5e7eb;
}

body.ai-chat-dark #chat-ui {
  background: rgba(17, 24, 39, 0.60);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
}

body.ai-chat-dark #chat-log {
  background: #0b1220;
}

body.ai-chat-dark #chat-input-area {
  background: rgba(15, 23, 42, 0.85);
  border-top-color: rgba(255,255,255,0.10);
}

body.ai-chat-dark #chat-input {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255,255,255,0.12);
  color: #e5e7eb;
}

body.ai-chat-dark #chat-input::placeholder {
  color: rgba(229,231,235,0.55);
}

body.ai-chat-dark #chat-send {
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

body.ai-chat-dark #chat-log .user-msg {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22) 0%, rgba(99, 102, 241, 0.22) 100%);
  color: #e5e7eb;
}

body.ai-chat-dark #chat-log .ai-msg {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18) 0%, rgba(167, 139, 250, 0.18) 100%);
  color: #e5e7eb;
}

body.ai-chat-dark .ai-typing-indicator {
  background: rgba(15, 23, 42, 0.85);
}

body.ai-chat-dark .typing-dot {
  background: #e5e7eb;
}

body.ai-chat-dark .feedback-link {
  color: #c7d2fe;
}

body.ai-chat-dark .feedback-link:hover {
  color: #a78bfa;
}

body.ai-chat-dark .mode-btn {
  border-color: rgba(255,255,255,0.14);
  background: rgba(15, 23, 42, 0.70);
  color: #e5e7eb;
}

body.ai-chat-dark .mode-btn:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(15, 23, 42, 0.90);
}

body.ai-chat-dark .mode-btn.active {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.18);
  color: #c7d2fe;
}

body.ai-chat-dark .voice-mode-toggle-container,
body.ai-chat-dark .ai-theme-toggle-container {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255,255,255,0.10);
}

body.ai-chat-dark .voice-mode-text,
body.ai-chat-dark .ai-theme-toggle-text {
  color: #e5e7eb;
}

body.ai-chat-dark #voice-mode-toggle {
  accent-color: #667eea;
}

body.ai-chat-dark .issue-modal {
  background: #0b1220;
}

body.ai-chat-dark .issue-modal-overlay {
  background: rgba(0, 0, 0, 0.72);
}

body.ai-chat-dark .issue-modal-header {
  border-bottom-color: rgba(255,255,255,0.10);
}

body.ai-chat-dark .issue-modal-header h3 {
  color: #e5e7eb;
}

body.ai-chat-dark .issue-modal-close {
  color: rgba(229,231,235,0.85);
}

body.ai-chat-dark .issue-modal-close:hover {
  background: rgba(255,255,255,0.06);
  color: #e5e7eb;
}

body.ai-chat-dark .form-group label {
  color: rgba(229,231,235,0.85);
}

body.ai-chat-dark .form-control {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255,255,255,0.12);
  color: #e5e7eb;
}

body.ai-chat-dark .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
}

body.ai-chat-dark .form-control[readonly] {
  background: rgba(15, 23, 42, 0.55);
  color: rgba(229,231,235,0.65);
}

body.ai-chat-dark .btn-secondary {
  background: rgba(255,255,255,0.10);
  color: rgba(229,231,235,0.90);
}

body.ai-chat-dark .btn-secondary:hover {
  background: rgba(255,255,255,0.14);
}

body.ai-chat-dark #screenshot-preview img {
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}

body.ai-chat-dark .age-verification-modal {
  background: #0b1220;
}

body.ai-chat-dark .age-verification-content h2 {
  color: #e5e7eb;
}

body.ai-chat-dark .age-verification-content p {
  color: rgba(229,231,235,0.85);
}

body.mobile-chat-active.ai-chat-dark .mobile-chat-wrapper {
  background: #0b1220 !important;
}

body.mobile-chat-active.ai-chat-dark .mobile-drawer {
  background: #0f172a !important;
  border-left-color: rgba(255,255,255,0.12) !important;
}

body.mobile-chat-active.ai-chat-dark .mobile-drawer-overlay {
  background: rgba(0,0,0,0.78) !important;
}

body.mobile-chat-active.ai-chat-dark .mobile-ai-item {
  color: #e5e7eb !important;
  border-bottom-color: rgba(255,255,255,0.08) !important;
}

body.mobile-chat-active.ai-chat-dark .mobile-ai-item:active {
  background: rgba(255,255,255,0.06) !important;
}

body.mobile-chat-active.ai-chat-dark .mobile-ai-item.active {
  background: rgba(99, 102, 241, 0.18) !important;
  border-left-color: #667eea !important;
}

body.mobile-chat-active.ai-chat-dark .mobile-ai-item-name {
  color: #e5e7eb !important;
}

body.mobile-chat-active.ai-chat-dark #chat-log {
  background: #0b1220 !important;
}

body.mobile-chat-active.ai-chat-dark .user-msg {
  background: rgba(34, 211, 238, 0.18) !important;
  color: #e5e7eb !important;
}

body.mobile-chat-active.ai-chat-dark .ai-msg,
body.mobile-chat-active.ai-chat-dark .ai-typing-indicator {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #e5e7eb !important;
}

body.mobile-chat-active.ai-chat-dark #chat-input {
  background: rgba(15, 23, 42, 0.90) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: #e5e7eb !important;
}

body.mobile-chat-active.ai-chat-dark #chat-input::placeholder {
  color: rgba(229,231,235,0.55) !important;
}

body.mobile-chat-active.ai-chat-dark .mobile-mode-section {
  border-bottom-color: rgba(255,255,255,0.10) !important;
}

body.mobile-chat-active.ai-chat-dark .mobile-mode-section h4 {
  color: rgba(229,231,235,0.70) !important;
}

body.mobile-chat-active.ai-chat-dark .mobile-mode-btn {
  background: rgba(15, 23, 42, 0.80) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: #e5e7eb !important;
}

body.mobile-chat-active.ai-chat-dark .mobile-mode-btn.active {
  background: rgba(102, 126, 234, 0.18) !important;
  border-color: #667eea !important;
  color: #c7d2fe !important;
}

body.mobile-chat-active.ai-chat-dark .ai-theme-toggle-container.mobile-theme {
  background: rgba(15, 23, 42, 0.85) !important;
  border-bottom-color: rgba(255,255,255,0.10) !important;
}
