/* ═══════════════════════════════════════════════
   PIXLHUB AI ASSISTANT — ULTIMATE PAGE v4
   Dark pixlhub-cyber aesthetic. Pixlhub Squad Edition.
═══════════════════════════════════════════════ */

/* Import additional display font for AI page */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;800;900&display=swap');

:root {
  --ai-glow: rgba(124,58,237,.35);
  --ai-glow2: rgba(244,63,94,.2);
  --ai-border: rgba(124,58,237,.22);
  --ai-surface: rgba(13,17,32,.85);
  --ai-pulse: #a78bfa;
  --orb: 'Orbitron', var(--display);
}

/* ── Page shell ── */
.ai-page {
  min-height: calc(100vh - var(--hdr));
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* ── Animated background grid + glows ── */
.ai-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ai-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift {
  from { transform: translateY(0); }
  to   { transform: translateY(52px); }
}
.ai-bg-glow1 {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.18) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: floatGlow 14s ease-in-out infinite;
}
.ai-bg-glow2 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,63,94,.12) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: floatGlow 18s ease-in-out infinite reverse;
}
.ai-bg-glow3 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.1) 0%, transparent 70%);
  top: 50%; left: 55%;
  animation: floatGlow 22s ease-in-out infinite 5s;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.08); }
  66%       { transform: translate(-20px, 20px) scale(.94); }
}

/* Scanline effect */
.ai-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,.04) 3px,
    rgba(0,0,0,.04) 4px
  );
  pointer-events: none;
}

/* ── Layout ── */
.ai-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

/* ── Hero header ── */
.ai-hero {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0 24px;
  position: relative;
}
.ai-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.28);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple-l);
  margin-bottom: 24px;
}
.ai-hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple-l);
  box-shadow: 0 0 8px var(--purple-l);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--purple-l); }
  50%       { opacity: .5; box-shadow: 0 0 20px var(--purple-l); }
}

.ai-hero-title {
  font-family: var(--orb);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.ai-hero-title .word1 { color: var(--text); }
.ai-hero-title .word2 {
  background: linear-gradient(135deg, var(--purple-l) 0%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.ai-hero-title .word2::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-l) 0%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(20px);
  opacity: .5;
}

.ai-hero-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Main chat panel ── */
.ai-main-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ai-chat-shell {
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(124,58,237,.06),
    0 24px 80px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.04);
  display: flex;
  flex-direction: column;
  height: 620px;
}

/* Chat header bar */
.ai-chat-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ai-border);
  background: rgba(124,58,237,.05);
  flex-shrink: 0;
}
.ai-avatar {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--purple), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 20px rgba(124,58,237,.4);
}
.ai-avatar-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px var(--green);
}
.ai-chat-info { flex: 1; }
.ai-chat-name {
  font-family: var(--orb);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
}
.ai-chat-name .badge-v {
  font-size: 9px;
  padding: 2px 7px;
  background: linear-gradient(90deg, var(--purple), var(--red));
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  font-family: var(--font);
}
.ai-chat-status {
  font-size: 11px;
  color: var(--green);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ai-chat-status::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulseDot 1.8s ease-in-out infinite;
}
.ai-chat-actions {
  display: flex;
  gap: 6px;
}
.ai-chat-act-btn {
  width: 33px; height: 33px;
  border-radius: 9px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--ai-border);
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
}
.ai-chat-act-btn:hover {
  background: rgba(124,58,237,.15);
  color: var(--purple-l);
  border-color: rgba(124,58,237,.35);
}

/* Chat log */
.ai-log {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-behavior: smooth;
}
.ai-log::-webkit-scrollbar { width: 4px; }
.ai-log::-webkit-scrollbar-track { background: transparent; }
.ai-log::-webkit-scrollbar-thumb { background: rgba(124,58,237,.3); border-radius: 4px; }

/* Messages */
.ai-msg {
  display: flex;
  gap: 11px;
  animation: msgIn .35s cubic-bezier(.22,.68,0,1.2) both;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ai-msg.user { flex-direction: row-reverse; }
.ai-msg-avatar {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.ai-msg.bot .ai-msg-avatar {
  background: linear-gradient(135deg, var(--purple), var(--red));
  box-shadow: 0 0 12px rgba(124,58,237,.3);
}
.ai-msg.user .ai-msg-avatar {
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text2);
  font-size: 13px;
  font-weight: 700;
}
.ai-msg-body { max-width: 78%; display: flex; flex-direction: column; gap: 4px; }
.ai-msg.user .ai-msg-body { align-items: flex-end; }

.ai-bubble {
  padding: 13px 17px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.65;
  word-wrap: break-word;
}
.ai-msg.bot .ai-bubble {
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.18);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.ai-msg.user .ai-bubble {
  background: linear-gradient(135deg, var(--purple-d), var(--purple));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-bubble strong { color: var(--purple-l); font-weight: 700; }
.ai-time {
  font-size: 10px;
  color: var(--text3);
  padding: 0 4px;
}

/* Product result cards inside chat */
.ai-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.ai-prod-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all .2s;
}
.ai-prod-card:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(124,58,237,.2);
}
.ai-prod-img {
  height: 110px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ai-prod-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ai-prod-img-ph {
  font-size: 30px;
  color: var(--border2);
}
.ai-prod-info { padding: 10px 12px; }
.ai-prod-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ai-prod-price {
  font-family: var(--orb);
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-l);
}
.ai-prod-stock {
  font-size: 10px;
  color: var(--green);
  margin-top: 2px;
}
.ai-prod-stock.out { color: var(--red); }

/* Typing indicator */
.ai-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 13px 17px;
  background: rgba(124,58,237,.08);
  border: 1px solid rgba(124,58,237,.15);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.ai-typing-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple-l);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.ai-typing-dot:nth-child(2) { animation-delay: .2s; }
.ai-typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30%            { transform: translateY(-6px); opacity: 1; }
}

/* Input area */
.ai-input-area {
  padding: 16px 22px;
  border-top: 1px solid var(--ai-border);
  background: rgba(5,7,13,.6);
  flex-shrink: 0;
}
.ai-quick-prompts {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ai-qp-btn {
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(124,58,237,.08);
  border: 1px solid rgba(124,58,237,.18);
  color: var(--text2);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.ai-qp-btn:hover {
  background: rgba(124,58,237,.2);
  color: var(--purple-l);
  border-color: rgba(124,58,237,.4);
}
.ai-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.ai-input-wrap {
  flex: 1;
  position: relative;
}
.ai-input {
  width: 100%;
  padding: 14px 46px 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--ai-border);
  border-radius: 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: none;
  min-height: 50px;
  max-height: 140px;
  overflow-y: auto;
}
.ai-input:focus {
  border-color: rgba(124,58,237,.5);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12), 0 0 20px rgba(124,58,237,.08);
}
.ai-input::placeholder { color: var(--text3); }
.ai-voice-btn {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 13px;
  cursor: pointer;
  transition: color .15s;
}
.ai-voice-btn:hover { color: var(--purple-l); }

.ai-send-btn {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), #6d28d9);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all .2s;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(124,58,237,.4);
}
.ai-send-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(124,58,237,.55);
}
.ai-send-btn:active { transform: scale(.96); }
.ai-send-btn.loading {
  animation: sendPulse 1s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sendPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(124,58,237,.4); }
  50%       { box-shadow: 0 4px 28px rgba(124,58,237,.7); }
}

/* ── Right sidebar ── */
.ai-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: calc(var(--hdr) + 24px);
}

/* Sidebar cards */
.ai-side-card {
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(20px);
}
.ai-side-card-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--purple-l);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Capabilities list */
.ai-caps { display: flex; flex-direction: column; gap: 10px; }
.ai-cap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.04);
  cursor: pointer;
  transition: all .15s;
  text-align: left;
}
.ai-cap:hover {
  background: rgba(124,58,237,.1);
  border-color: rgba(124,58,237,.2);
}
.ai-cap-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.ai-cap-text { flex: 1; }
.ai-cap-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.ai-cap-desc {
  font-size: 11px;
  color: var(--text3);
  line-height: 1.4;
}

/* Stats */
.ai-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ai-stat {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.ai-stat-num {
  font-family: var(--orb);
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-l), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ai-stat-lbl {
  font-size: 10px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 3px;
}

/* Popular queries */
.ai-popular { display: flex; flex-direction: column; gap: 6px; }
.ai-pop-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.04);
  cursor: pointer;
  transition: all .15s;
  font-size: 12px;
  color: var(--text2);
  gap: 8px;
}
.ai-pop-item:hover {
  background: rgba(124,58,237,.1);
  color: var(--text);
  border-color: rgba(124,58,237,.2);
}
.ai-pop-item i { color: var(--purple-l); font-size: 11px; flex-shrink: 0; }
.ai-pop-text { flex: 1; }
.ai-pop-arrow { color: var(--border2); font-size: 11px; }

/* Chat history */
.ai-history { display: flex; flex-direction: column; gap: 6px; }
.ai-hist-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s;
  font-size: 12px;
  color: var(--text2);
}
.ai-hist-item:hover {
  background: rgba(255,255,255,.04);
  border-color: var(--border);
  color: var(--text);
}
.ai-hist-item i { color: var(--text3); flex-shrink: 0; }
.ai-hist-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Pixlhub Squad banner */
.ai-pixlhub-banner {
  background: linear-gradient(135deg, rgba(124,58,237,.15), rgba(244,63,94,.1));
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}
.ai-pixlhub-icon {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}
.ai-pixlhub-title {
  font-family: var(--orb);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  background: linear-gradient(90deg, var(--purple-l), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ai-pixlhub-desc { font-size: 12px; color: var(--text3); margin-bottom: 13px; line-height: 1.5; }
.ai-pixlhub-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--purple), var(--red));
  color: #fff;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.ai-pixlhub-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,.4);
}

/* Clear button */
.ai-clear-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 9px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text3);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font);
  margin-left: auto;
}
.ai-clear-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(244,63,94,.06);
}

/* Feedback */
.ai-feedback {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.ai-fb-btn {
  width: 24px; height: 24px;
  border-radius: 7px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text3);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
}
.ai-fb-btn:hover { background: rgba(124,58,237,.1); color: var(--purple-l); border-color: rgba(124,58,237,.3); }
.ai-fb-btn.active { background: rgba(124,58,237,.2); color: var(--purple-l); border-color: var(--purple); }

/* Responsive */
@media (max-width: 900px) {
  .ai-wrap { grid-template-columns: 1fr; }
  .ai-sidebar { position: static; }
  .ai-hero-title { font-size: clamp(28px, 8vw, 50px); }
}
@media (max-width: 600px) {
  .ai-wrap { padding: 24px 14px 60px; gap: 18px; }
  .ai-chat-shell { height: 520px; }
  .ai-products { grid-template-columns: repeat(2, 1fr); }
  .ai-quick-prompts { display: none; }
}

/* ── Light Mode Overrides ── */
[data-theme=light] {
  --ai-surface: rgba(255,255,255,.92);
  --ai-border: rgba(109,40,217,.18);
  --ai-glow: rgba(109,40,217,.15);
}
[data-theme=light] .ai-bg-grid {
  background-image:
    linear-gradient(rgba(109,40,217,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,40,217,.04) 1px, transparent 1px);
}
/* Chat shell */
[data-theme=light] .ai-chat-shell {
  background: rgba(255,255,255,.95);
  box-shadow: 0 8px 48px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.8);
  border-color: rgba(109,40,217,.18);
}
/* Input area */
[data-theme=light] .ai-input-row { background: rgba(0,0,0,.03) }
[data-theme=light] .ai-input-row textarea {
  background: transparent;
  color: var(--text);
}
/* Sidebar panel */
[data-theme=light] .ai-panel {
  background: rgba(255,255,255,.92);
  border-color: rgba(109,40,217,.15);
}
/* Stats boxes - were invisible rgba(255,255,255,.02) */
[data-theme=light] .ai-stat {
  background: rgba(109,40,217,.05);
  border-color: rgba(109,40,217,.15);
}
[data-theme=light] .ai-stat-num { color: var(--violet) }
[data-theme=light] .ai-stat-lbl { color: var(--text2) }
/* Panel items */
[data-theme=light] .ai-panel-item {
  background: rgba(109,40,217,.04);
  border-color: rgba(109,40,217,.12);
}
[data-theme=light] .ai-panel-item:hover { background: rgba(109,40,217,.09) }
/* Quick prompts */
[data-theme=light] .ai-quick-btn {
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.10);
  color: var(--text2);
}
[data-theme=light] .ai-quick-btn:hover {
  background: rgba(109,40,217,.08);
  border-color: rgba(109,40,217,.25);
}
/* Trending section */
[data-theme=light] .ai-trending-item {
  background: rgba(0,0,0,.03);
  border-color: rgba(0,0,0,.07);
}
[data-theme=light] .ai-trending-item:hover { background: rgba(109,40,217,.06) }
/* Input field background that was dark */
[data-theme=light] .ai-input-bg { background: rgba(0,0,0,.03) }
/* Message bubble light fix */
[data-theme=light] .ai-msg.bot .ai-bubble {
  background: rgba(109,40,217,.06);
  border-color: rgba(109,40,217,.15);
}
/* Input-area overlay */
[data-theme=light] .ai-input-area { background: rgba(0,0,0,.03) }
