/* Estilos minimalistas oscuros para el chat widget */

 .angel-chat-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  background: #1e40af; /* azul oscuro */
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.45);
  transition: background 0.2s, box-shadow 0.2s;
}
.angel-chat-btn:hover {
  background: #2563eb;
}

.angel-chat-window {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 420px;
  max-width: calc(100% - 40px);
  height: 600px;
  max-height: 90vh;
  z-index: 9999;
  background: #111827; /* gris oscuro */
  border-radius: 16px;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(0,0,0,0.55);
  overflow: hidden;
  font-family: system-ui, sans-serif;
}
/* Etiqueta flotante para el chat */
.angel-chat-label {
  position: fixed;
  right: 110px;
  bottom: 40px;
  background: #1e293b;
  color: #f9fafb;
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
  z-index: 10000;
  max-width: 320px;
  min-width: 180px;
  text-align: left;
  line-height: 1.4;
  cursor: pointer;
}

.angel-chat-header {
  padding: 12px;
  background: #1e293b; /* más oscuro */
  color: #f9fafb;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.angel-chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #0f172a; /* fondo principal */
}

.angel-msg {
  margin: 8px 0;
  display: flex;
}

.angel-msg.user {
  justify-content: flex-end;
}
.angel-msg.bot {
  justify-content: flex-start;
}

.bubble {
  padding: 10px 12px;
  border-radius: 10px;
  max-width: 75%;
  line-height: 1.4;
  font-size: 14px;
  word-wrap: break-word;
}

.bubble.user {
  background: #2563eb;
  color: #fff;
  border-bottom-right-radius: 6px;
}
.bubble.bot {
  background: #1f2937;
  color: #e5e7eb;
  border-bottom-left-radius: 6px;
}

.angel-chat-input {
  display: flex;
  border-top: 1px solid #1e293b;
  padding: 8px;
  background: #111827;
}

.angel-chat-input textarea {
  flex: 1;
  resize: none;
  border: none;
  border-radius: 8px;
  padding: 8px;
  background: #1f2937;
  color: #f3f4f6;
  font-size: 14px;
}
.angel-chat-input textarea:focus {
  outline: none;
  border: 1px solid #2563eb;
}

.angel-send {
  margin-left: 8px;
  background: #2563eb;
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 0 14px;
  cursor: pointer;
}
.angel-send:hover {
  background: #1d4ed8;
}

.angel-typing {
  font-style: italic;
  color: #9ca3af;
  font-size: 12px;
}
