/**
 * Firestarter Chatbot - Estilos
 * Diseño moderno inspirado en AI Assist
 * 
 * Características:
 * - Diseño minimalista y elegante
 * - Animaciones suaves
 * - Soporte para modo oscuro/claro
 * - Diseño responsive completo
 */

/* CSS Custom Properties */
:root {
  /* Colores principales */
  --firestarter-primary: #6366f1;
  --firestarter-primary-light: #818cf8;
  --firestarter-primary-dark: #4f46e5;
  --firestarter-primary-foreground: #ffffff;
  
  /* Colores de fondo */
  --firestarter-background: #ffffff;
  --firestarter-foreground: #1f2937;
  --firestarter-muted: #f3f4f6;
  --firestarter-muted-foreground: #6b7280;
  
  /* Colores de borde y sombras */
  --firestarter-border: #e5e7eb;
  --firestarter-ring: #6366f1;
  --firestarter-radius: 16px;
  --firestarter-radius-sm: 12px;
  --firestarter-radius-full: 9999px;
  
  /* Sombras */
  --firestarter-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --firestarter-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --firestarter-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --firestarter-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --firestarter-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Colores de mensajes */
  --firestarter-user-bg: #f3f4f6;
  --firestarter-user-text: #1f2937;
  --firestarter-bot-bg: #ede9fe;
  --firestarter-bot-text: #1f2937;
  
  /* Tamaños */
  --firestarter-header-height: 56px;
  --firestarter-input-height: 72px;
}

/* Reset para elementos del chatbot */
#firestarter-chatbot-container *,
.firestarter-chatbot-inline * {
  box-sizing: border-box;
}

/* ========================
   Botón Toggle Flotante
   ======================== */
.firestarter-toggle-btn {
  position: fixed;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.firestarter-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
}

.firestarter-toggle-btn:focus-visible {
  outline: 2px solid var(--firestarter-ring);
  outline-offset: 2px;
}

.firestarter-toggle-btn.position-bottom-right {
  bottom: 24px;
  right: 24px;
}

.firestarter-toggle-btn.position-bottom-left {
  bottom: 24px;
  left: 24px;
}

.firestarter-toggle-btn.position-top-right {
  top: 24px;
  right: 24px;
}

.firestarter-toggle-btn.position-top-left {
  top: 24px;
  left: 24px;
}

.firestarter-toggle-btn svg {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

.firestarter-toggle-btn.is-open svg {
  transform: rotate(90deg);
}

/* Animación de pulso para llamar la atención */
.firestarter-toggle-btn:not(.is-open)::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--firestarter-primary) 0%, var(--firestarter-primary-dark) 100%);
  animation: firestarter-pulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes firestarter-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ========================
   Ventana del Chat
   ======================== */
.firestarter-chat-window {
  position: fixed;
  z-index: 9998;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 550px;
  max-height: calc(100vh - 100px);
  background: var(--firestarter-background);
  border: 1px solid var(--firestarter-border);
  border-radius: var(--firestarter-radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.firestarter-chat-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.firestarter-chat-window.position-bottom-right {
  bottom: 100px;
  right: 24px;
}

.firestarter-chat-window.position-bottom-left {
  bottom: 100px;
  left: 24px;
}

.firestarter-chat-window.position-top-right {
  top: 100px;
  right: 24px;
}

.firestarter-chat-window.position-top-left {
  top: 100px;
  left: 24px;
}

/* Animación según posición */
.firestarter-chat-window.position-top-right,
.firestarter-chat-window.position-top-left {
  transform: translateY(-20px) scale(0.95);
}

.firestarter-chat-window.position-top-right.is-open,
.firestarter-chat-window.position-top-left.is-open {
  transform: translateY(0) scale(1);
}

/* ========================
   Modo Inline
   ======================== */
.firestarter-chatbot-inline .firestarter-chat-window {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: none;
  bottom: auto;
  right: auto;
  left: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ========================
   Encabezado del Chat
   ======================== */
.firestarter-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--firestarter-background);
  border-bottom: 1px solid var(--firestarter-border);
  flex-shrink: 0;
  min-height: var(--firestarter-header-height);
}

.firestarter-chat-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.firestarter-chat-header-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--firestarter-primary) 0%, var(--firestarter-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.firestarter-chat-header-icon svg {
  width: 16px;
  height: 16px;
  color: var(--firestarter-primary-foreground);
}

.firestarter-chat-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--firestarter-foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.4;
}

.firestarter-chat-header-actions {
  display: flex;
  gap: 4px;
}

.firestarter-header-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--firestarter-muted-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.firestarter-header-btn:hover {
  background: var(--firestarter-muted);
  color: var(--firestarter-foreground);
}

.firestarter-header-btn svg {
  width: 18px;
  height: 18px;
}

/* ========================
   Área de Mensajes del Chat
   ======================== */
.firestarter-chat-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
  /* Habilitar scroll con rueda de ratón */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar personalizada */
.firestarter-chat-messages::-webkit-scrollbar {
  width: 6px;
}

.firestarter-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.firestarter-chat-messages::-webkit-scrollbar-thumb {
  background: var(--firestarter-border);
  border-radius: 3px;
}

.firestarter-chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--firestarter-muted-foreground);
}

/* Firefox scrollbar */
.firestarter-chat-messages {
  scrollbar-width: thin;
  scrollbar-color: var(--firestarter-border) transparent;
}

/* ========================
   Burbujas de Mensajes
   ======================== */
.firestarter-message {
  display: flex;
  gap: 10px;
  max-width: 90%;
  animation: firestarter-message-in 0.3s ease;
}

@keyframes firestarter-message-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.firestarter-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.firestarter-message.assistant {
  align-self: flex-start;
}

.firestarter-message-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.firestarter-message.user .firestarter-message-avatar {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
}

.firestarter-message.assistant .firestarter-message-avatar {
  background: linear-gradient(135deg, var(--firestarter-primary) 0%, var(--firestarter-primary-dark) 100%);
  color: var(--firestarter-primary-foreground);
}

.firestarter-message-avatar svg {
  width: 14px;
  height: 14px;
}

.firestarter-message-content {
  padding: 12px 16px;
  border-radius: var(--firestarter-radius-sm);
  font-size: 14px;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.firestarter-message.user .firestarter-message-content {
  background: var(--firestarter-user-bg);
  color: var(--firestarter-user-text);
  border-bottom-right-radius: 4px;
}

.firestarter-message.assistant .firestarter-message-content {
  background: var(--firestarter-bot-bg);
  color: var(--firestarter-bot-text);
  border-bottom-left-radius: 4px;
}

/* Formato del contenido del mensaje */
.firestarter-message-content p {
  margin: 0 0 8px;
}

.firestarter-message-content p:last-child {
  margin-bottom: 0;
}

.firestarter-message-content a {
  color: var(--firestarter-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.firestarter-message.user .firestarter-message-content a {
  color: var(--firestarter-primary-dark);
}

.firestarter-message-content code {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.firestarter-message-content pre {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 8px 0;
}

.firestarter-message-content pre code {
  background: none;
  padding: 0;
}

.firestarter-message-content ul,
.firestarter-message-content ol {
  margin: 8px 0;
  padding-left: 20px;
}

.firestarter-message-content li {
  margin: 4px 0;
}

/* ========================
   Indicador de Escritura
   ======================== */
.firestarter-typing {
  display: flex;
  gap: 5px;
  padding: 8px 0;
}

.firestarter-typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--firestarter-primary);
  animation: firestarter-typing-bounce 1.4s ease-in-out infinite;
}

.firestarter-typing-dot:nth-child(1) {
  animation-delay: 0s;
}

.firestarter-typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.firestarter-typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes firestarter-typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px);
  }
}

/* ========================
   Sección de Fuentes
   ======================== */
.firestarter-sources {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--firestarter-border);
}

.firestarter-sources-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--firestarter-muted-foreground);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.firestarter-sources-title svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.firestarter-sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.firestarter-source-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--firestarter-muted);
  border: 1px solid var(--firestarter-border);
  border-radius: var(--firestarter-radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: var(--firestarter-foreground);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.firestarter-source-tag:hover {
  background: var(--firestarter-primary);
  color: var(--firestarter-primary-foreground);
  border-color: var(--firestarter-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

.firestarter-source-tag svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ========================
   Área de Input del Chat
   ======================== */
.firestarter-chat-input-container {
  padding: 12px 16px 16px;
  background: var(--firestarter-background);
  flex-shrink: 0;
}

.firestarter-chat-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--firestarter-muted);
  border: 1px solid var(--firestarter-border);
  border-radius: var(--firestarter-radius-full);
  padding: 6px 6px 6px 16px;
  transition: all 0.15s ease;
}

.firestarter-chat-input-wrapper:focus-within {
  border-color: var(--firestarter-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.firestarter-chat-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 0;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--firestarter-foreground);
  resize: none;
  min-height: 24px;
  max-height: 100px;
  line-height: 1.5;
  outline: none;
}

.firestarter-chat-input::placeholder {
  color: var(--firestarter-muted-foreground);
}

.firestarter-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--firestarter-primary) 0%, var(--firestarter-primary-dark) 100%);
  color: var(--firestarter-primary-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
  border-radius: 40px;
  padding: 5px;
}

.firestarter-send-btn:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.firestarter-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  border-radius: 40px;
  padding: 5px;
}

.firestarter-send-btn svg {
  width: 18px;
  height: 18px;
  transform: translateX(1px);
}

/* ========================
   Estado de Bienvenida
   ======================== */
.firestarter-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  gap: 16px;
  flex: 1;
}

.firestarter-welcome-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.firestarter-welcome-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  animation: firestarter-welcome-pulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes firestarter-welcome-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.2;
  }
}

.firestarter-welcome-icon svg {
  width: 36px;
  height: 36px;
  color: var(--firestarter-primary);
}

.firestarter-welcome h4 {
  font-size: 14px;
  font-weight: 400;
  color: var(--firestarter-muted-foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin-top: 8px;
}

.firestarter-welcome p {
  display: none;
}

/* Acciones Rápidas / Sugerencias */
.firestarter-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 280px;
  margin-top: 16px;
}

.firestarter-quick-action {
  padding: 12px 20px;
  background: var(--firestarter-background);
  border: 1px solid var(--firestarter-border);
  border-radius: var(--firestarter-radius-full);
  font-size: 14px;
  color: var(--firestarter-foreground);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
}

.firestarter-quick-action:hover {
  background: var(--firestarter-muted);
  border-color: var(--firestarter-primary);
  color: var(--firestarter-primary);
  transform: translateY(-1px);
}

/* ========================
   Estado de Error
   ======================== */
.firestarter-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--firestarter-radius-sm);
  color: #dc2626;
  font-size: 13px;
  animation: firestarter-shake 0.5s ease;
}

@keyframes firestarter-shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
  20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.firestarter-error svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ========================
   Footer/Marca
   ======================== */
.firestarter-chat-footer {
  padding: 8px 16px;
  text-align: center;
  border-top: 1px solid var(--firestarter-border);
  background: var(--firestarter-background);
  display: none; /* Oculto por defecto, se puede mostrar vía config */
}

.firestarter-chat-footer.show-branding {
  display: block;
}

.firestarter-chat-footer a {
  font-size: 11px;
  color: var(--firestarter-muted-foreground);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.firestarter-chat-footer a:hover {
  color: var(--firestarter-primary);
}

.firestarter-chat-footer svg {
  width: 12px;
  height: 12px;
}

/* ========================
   Responsive para Móviles
   ======================== */
@media (max-width: 480px) {
  .firestarter-chat-window {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    border: none;
  }
  
  .firestarter-chat-window.position-bottom-right,
  .firestarter-chat-window.position-bottom-left,
  .firestarter-chat-window.position-top-right,
  .firestarter-chat-window.position-top-left {
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
  }
  
  .firestarter-toggle-btn {
    width: 56px;
    height: 56px;
  }
  
  .firestarter-toggle-btn svg {
    width: 24px;
    height: 24px;
  }
  
  .firestarter-toggle-btn.position-bottom-right {
    bottom: 20px;
    right: 20px;
    padding:5px;
  }
  
  .firestarter-toggle-btn.position-bottom-left {
    bottom: 20px;
    left: 20px;
  }
  
  .firestarter-toggle-btn.position-top-right {
    top: 20px;
    right: 20px;
  }
  
  .firestarter-toggle-btn.position-top-left {
    top: 20px;
    left: 20px;
  }
  
  .firestarter-chat-header {
    padding: 12px 16px;
    border-radius: 0;
  }
  
  .firestarter-chat-messages {
    padding: 16px;
  }
  
  .firestarter-message {
    max-width: 95%;
  }
  
  .firestarter-quick-actions {
    max-width: 100%;
    padding: 0 16px;
  }
  
  .firestarter-quick-action {
    font-size: 13px;
    padding: 10px 16px;
  }
  
  .firestarter-welcome-icon {
    width: 70px;
    height: 70px;
  }
  
  .firestarter-welcome-icon svg {
    width: 32px;
    height: 32px;
  }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .firestarter-chat-window {
    width: 360px;
    height: 500px;
  }
}

/* ========================
   Soporte Modo Oscuro
   ======================== */
@media (prefers-color-scheme: dark) {
  :root {
    --firestarter-primary: #818cf8;
    --firestarter-primary-light: #a5b4fc;
    --firestarter-primary-dark: #6366f1;
    --firestarter-primary-foreground: #ffffff;
    --firestarter-background: #1f2937;
    --firestarter-foreground: #f9fafb;
    --firestarter-muted: #374151;
    --firestarter-muted-foreground: #9ca3af;
    --firestarter-border: #4b5563;
    --firestarter-ring: #818cf8;
    --firestarter-user-bg: #374151;
    --firestarter-user-text: #f9fafb;
    --firestarter-bot-bg: #4338ca;
    --firestarter-bot-text: #ffffff;
  }
  
  .firestarter-welcome-icon {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
  }
  
  .firestarter-welcome-icon::before {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
  }
  
  .firestarter-message-content code {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .firestarter-error {
    background: #450a0a;
    border-color: #7f1d1d;
    color: #fca5a5;
  }
  
  .firestarter-message.user .firestarter-message-avatar {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  }
}

/* ========================
   Estilos de Impresión
   ======================== */
@media print {
  #firestarter-chatbot-container,
  .firestarter-toggle-btn {
    display: none !important;
  }
}

/* ========================
   Movimiento Reducido
   ======================== */
@media (prefers-reduced-motion: reduce) {
  .firestarter-toggle-btn::after,
  .firestarter-typing-dot,
  .firestarter-message,
  .firestarter-welcome-icon::before {
    animation: none;
  }
  
  .firestarter-chat-window,
  .firestarter-toggle-btn,
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ========================
   Temas de Color Personalizados
   ======================== */
/* Tema Azul */
.firestarter-theme-blue {
  --firestarter-primary: #3b82f6;
  --firestarter-primary-light: #60a5fa;
  --firestarter-primary-dark: #2563eb;
  --firestarter-bot-bg: #dbeafe;
}

/* Tema Verde */
.firestarter-theme-green {
  --firestarter-primary: #10b981;
  --firestarter-primary-light: #34d399;
  --firestarter-primary-dark: #059669;
  --firestarter-bot-bg: #d1fae5;
}

/* Tema Rojo */
.firestarter-theme-red {
  --firestarter-primary: #ef4444;
  --firestarter-primary-light: #f87171;
  --firestarter-primary-dark: #dc2626;
  --firestarter-bot-bg: #fee2e2;
}

/* Tema Naranja */
.firestarter-theme-orange {
  --firestarter-primary: #f97316;
  --firestarter-primary-light: #fb923c;
  --firestarter-primary-dark: #ea580c;
  --firestarter-bot-bg: #ffedd5;
}

/* Tema Rosa */
.firestarter-theme-pink {
  --firestarter-primary: #ec4899;
  --firestarter-primary-light: #f472b6;
  --firestarter-primary-dark: #db2777;
  --firestarter-bot-bg: #fce7f3;
}

/* Tema Púrpura (predeterminado) */
.firestarter-theme-purple {
  --firestarter-primary: #8b5cf6;
  --firestarter-primary-light: #a78bfa;
  --firestarter-primary-dark: #7c3aed;
  --firestarter-bot-bg: #ede9fe;
}

/* Tema Gris/Neutro */
.firestarter-theme-gray {
  --firestarter-primary: #6b7280;
  --firestarter-primary-light: #9ca3af;
  --firestarter-primary-dark: #4b5563;
  --firestarter-bot-bg: #f3f4f6;
}
