/* ====================================== */
/* CHATBOT WIDGET - CSS ESPECÍFICO        */
/* ====================================== */

.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 350px;
  max-width: 90vw;
}

.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1b254b;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.chat-button:hover {
  background: #2d3748;
  transform: scale(1.1);
}

.chat-container {
  display: none;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  overflow: hidden;
}

.chat-header {
  background: linear-gradient(135deg, #1b254b, #2d3748);
  color: white;
  padding: 15px 20px;
  font-weight: bold;
}

.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 15px;
  background: #f8f9fa;
}

.message {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.message.user {
  justify-content: flex-end;
}

.message-content {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
  word-wrap: break-word;
}

.message.user .message-content {
  background: #1b254b;
  color: white;
}

.message.bot .message-content {
  background: white;
  border: 1px solid #e9ecef;
}

.message-time {
  font-size: 11px;
  color: #6c757d;
  margin-top: 5px;
}

.chat-input {
  padding: 15px;
  border-top: 1px solid #e9ecef;
  background: white;
}

.chat-input input {
  border-radius: 25px;
  border: 1px solid #e9ecef;
  padding: 10px 15px;
}

.chat-input button {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: #1b254b;
  border: none;
  color: white;
}

.typing-indicator {
  display: none;
  padding: 10px 15px;
  color: #6c757d;
  font-style: italic;
} 