/* ==========================================================================
   UnitaGo AI Assistant ("Neo" / Modern Clippy Copilot) Stylesheet
   Dual theme support (Dark / Light), Glassmorphism, Micro-animations
   ========================================================================== */

/* --- Contenedor del Botón Flotante / Avatar --- */
#unitago-assistant-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #06b6d4 100%);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.45), 0 0 20px rgba(6, 182, 212, 0.3);
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  user-select: none;
}

#unitago-assistant-trigger:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.6), 0 0 30px rgba(6, 182, 212, 0.5);
}

#unitago-assistant-trigger:active {
  transform: scale(0.96);
}

#unitago-assistant-trigger.dragover {
  transform: scale(1.22) translateY(-6px);
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.45), 0 20px 50px rgba(6, 182, 212, 0.75);
  animation: neo-drag-pulse 0.8s infinite alternate ease-in-out;
}

@keyframes neo-drag-pulse {
  from { filter: brightness(1) drop-shadow(0 0 8px #6366f1); }
  to { filter: brightness(1.3) drop-shadow(0 0 20px #06b6d4); }
}

/* Animación de flotación sutil */
.neo-avatar-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: neo-float 3.5s ease-in-out infinite;
}

@keyframes neo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Indicador de estado en línea */
.neo-status-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2.5px solid #080c14;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: neo-pulse-status 2s infinite;
}

@keyframes neo-pulse-status {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Burbuja de sugerencia proactiva de Neo (estilo Clippy) */
#unitago-assistant-bubble {
  position: fixed;
  bottom: 96px;
  right: 24px;
  max-width: 270px;
  background: rgba(16, 24, 40, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: #f8fafc;
  padding: 12px 14px;
  border-radius: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  line-height: 1.4;
  z-index: 9998;
  display: none;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

#unitago-assistant-bubble.visible {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

#unitago-assistant-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 26px;
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: rgba(16, 24, 40, 0.92) transparent transparent;
}

.neo-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 0.75rem;
  color: #818cf8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.neo-bubble-close {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
}

.neo-bubble-close:hover {
  color: #f8fafc;
}

/* --- Ventana / Panel Principal del Asistente --- */
#unitago-assistant-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 420px;
  max-width: calc(100vw - 32px);
  height: 610px;
  max-height: calc(100vh - 120px);
  border-radius: 20px;
  background: rgba(13, 20, 36, 0.94);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(99, 102, 241, 0.25);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#unitago-assistant-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Cabecera del Asistente */
.neo-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.neo-header-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.neo-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.neo-header-info h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.neo-header-info p {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.neo-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.neo-btn-icon {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.neo-btn-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Barra de pestañas de modos (4 Pilares) */
.neo-mode-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
}

.neo-mode-tabs::-webkit-scrollbar {
  display: none;
}

.neo-mode-pill {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.neo-mode-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.neo-mode-pill.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  color: #818cf8;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

/* Área de mensajes de chat */
.neo-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.neo-chat-messages::-webkit-scrollbar {
  width: 5px;
}

.neo-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

/* Burbujas de mensaje */
.neo-message {
  display: flex;
  gap: 10px;
  max-width: 88%;
  font-size: 0.88rem;
  line-height: 1.45;
  animation: neo-msg-slide 0.25s ease;
}

@keyframes neo-msg-slide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.neo-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.neo-message.assistant {
  align-self: flex-start;
}

.neo-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.35);
  font-size: 0.85rem;
}

.neo-msg-body {
  padding: 10px 14px;
  border-radius: 14px;
  word-break: break-word;
}

.neo-message.user .neo-msg-body {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.neo-message.assistant .neo-msg-body {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}

.neo-msg-body p {
  margin: 0 0 8px 0;
}

.neo-msg-body p:last-child {
  margin-bottom: 0;
}

.neo-msg-body ul {
  margin: 6px 0;
  padding-left: 18px;
}

.neo-msg-body li {
  margin-bottom: 4px;
}

.neo-msg-body strong {
  color: #ffffff;
}

.neo-msg-body code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: #38bdf8;
}

.neo-msg-body pre {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 8px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
}

.neo-msg-body pre code {
  background: none;
  padding: 0;
  color: #e2e8f0;
}

/* Chips de acciones sugeridas */
.neo-suggestions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.neo-suggestion-chip {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.neo-suggestion-chip:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Indicador de pensamiento (typing dots) */
.neo-typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  width: fit-content;
}

.neo-typing-dot {
  width: 6px;
  height: 6px;
  background: #818cf8;
  border-radius: 50%;
  animation: neo-typing 1.4s infinite ease-in-out both;
}

.neo-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.neo-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes neo-typing {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Zona de Drag & Drop sobre el Asistente */
.neo-drop-overlay {
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.85);
  backdrop-filter: blur(8px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 24px;
  text-align: center;
}

.neo-drop-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.neo-drop-overlay svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  animation: neo-bounce 1s infinite;
}

@keyframes neo-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Barra de Entrada / Input */
.neo-input-box {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.neo-input-wrapper {
  flex: 1;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.neo-input-wrapper:focus-within {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

.neo-textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.88rem;
  resize: none;
  outline: none;
  min-height: 48px; /* Espaciado de 2 líneas de alto */
  max-height: 120px;
  line-height: 1.45;
  box-sizing: border-box;
}


.neo-textarea::placeholder {
  color: #64748b;
}

.neo-send-btn {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border: none;
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.neo-send-btn:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.5);
}

.neo-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Pie de ventana sutil */
.neo-window-footer {
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   Modo Claro [data-theme="light"]
   ========================================================================== */
[data-theme="light"] #unitago-assistant-bubble {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

[data-theme="light"] #unitago-assistant-bubble::after {
  border-color: rgba(255, 255, 255, 0.96) transparent transparent;
}

[data-theme="light"] #unitago-assistant-window {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .neo-window-header {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .neo-header-info h3 {
  color: #0f172a;
}

[data-theme="light"] .neo-header-info p {
  color: #475569;
}

[data-theme="light"] .neo-btn-icon {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

[data-theme="light"] .neo-btn-icon:hover {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .neo-mode-tabs {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .neo-mode-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b; /* Tono oscuro de alto contraste */
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .neo-mode-pill:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

[data-theme="light"] .neo-mode-pill.active {
  background: #e0e7ff;
  border-color: #6366f1;
  color: #312e81; /* Tono azul/índigo oscuro */
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .neo-chat-messages {
  background: #ffffff;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

[data-theme="light"] .neo-message.assistant .neo-msg-body {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .neo-msg-body strong {
  color: #0f172a;
}

[data-theme="light"] .neo-msg-body code {
  background: #e2e8f0;
  color: #0369a1;
  font-weight: 600;
}

[data-theme="light"] .neo-msg-body pre {
  background: #0f172a;
  color: #f8fafc;
}

/* Opciones seleccionables (Chips de sugerencias) en Modo Claro - Tonos oscuros y legibles */
[data-theme="light"] .neo-suggestion-chip,
html[data-theme="light"] .neo-suggestion-chip,
[data-theme="light"] button.neo-suggestion-chip,
[data-theme="light"] .neo-suggestions-bar .neo-suggestion-chip {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important; /* Tono oscuro profundo para máxima legibilidad */
  font-weight: 600 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .neo-suggestion-chip:hover,
html[data-theme="light"] .neo-suggestion-chip:hover,
[data-theme="light"] button.neo-suggestion-chip:hover,
[data-theme="light"] .neo-suggestions-bar .neo-suggestion-chip:hover {
  background: #f1f5f9 !important;
  border-color: #4f46e5 !important;
  color: #1e1b4b !important; /* Tono azul índigo muy oscuro */
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.2) !important;
  transform: translateY(-1px) !important;
}

[data-theme="light"] .neo-msg-avatar {
  background: #e0e7ff;
  border-color: #c7d2fe;
  color: #4338ca;
}

[data-theme="light"] .neo-typing-indicator {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .neo-input-box {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .neo-input-wrapper {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .neo-input-wrapper:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .neo-textarea {
  color: #0f172a !important; /* Letra bien oscura */
  min-height: 48px !important; /* 2 líneas */
}

[data-theme="light"] .neo-textarea::placeholder {
  color: #64748b; /* Placeholder nítido */
}

[data-theme="light"] .neo-window-footer {
  background: #f8fafc;
  color: #64748b;
  border-top-color: #e2e8f0;
}

/* --- Badge de Rol (Admin vs Cliente) --- */
.neo-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #818cf8;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  margin-top: 2px;
}

.neo-role-badge:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: #818cf8;
  transform: scale(1.03);
}

.neo-role-badge.client {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #10b981;
}

/* --- Fuentes RAG (Citations Bar) --- */
.neo-sources-bar {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.neo-sources-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.neo-sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}

.neo-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.73rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.neo-source-badge:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #bae6fd;
  transform: translateY(-1px);
}

.neo-source-badge.local {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

/* --- Alerta de Derivación / Handoff a Soporte Humano --- */
.neo-handoff-alert {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.neo-handoff-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.neo-handoff-text strong {
  font-size: 0.85rem;
  color: #f59e0b;
  display: block;
  margin-bottom: 2px;
}

.neo-handoff-text p {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin: 0 0 8px 0;
}

.neo-handoff-text a.btn {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  background: #f59e0b;
  color: #1e1b4b;
  font-weight: 600;
}

.neo-handoff-text a.btn:hover {
  background: #d97706;
}

/* Light theme overrides */
[data-theme="light"] .neo-sources-bar {
  border-top-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .neo-sources-title {
  color: #64748b;
}
[data-theme="light"] .neo-source-badge {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #0369a1;
}
[data-theme="light"] .neo-source-badge.local {
  background: #f3e8ff;
  border-color: #d8b4fe;
  color: #7e22ce;
}
[data-theme="light"] .neo-handoff-alert {
  background: #fffbeb;
  border-color: #fcd34d;
}
[data-theme="light"] .neo-handoff-text strong {
  color: #b45309;
}
[data-theme="light"] .neo-handoff-text p {
  color: #475569;
}

/* UNITA NeoD Company Logo for Assistant Widget */
.unita-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.logo-dark-mode {
  display: inline-block;
}
.logo-light-mode {
  display: none;
}

[data-theme="light"] .logo-dark-mode,
html[data-theme="light"] .logo-dark-mode {
  display: none !important;
}
[data-theme="light"] .logo-light-mode,
html[data-theme="light"] .logo-light-mode {
  display: inline-block !important;
}

[data-theme="dark"] .logo-dark-mode,
html[data-theme="dark"] .logo-dark-mode {
  display: inline-block !important;
}
[data-theme="dark"] .logo-light-mode,
html[data-theme="dark"] .logo-light-mode {
  display: none !important;
}


