/* Chat Widget Core Styles */
#ai-chat-widget {
  position: fixed;
  bottom: 68px;
  right: 20px;
  z-index: 99999;
  font-family: Arial, sans-serif;
}

#chat-toggle {
  background-color: #c70027;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 2px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}

#chat-box {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.4s ease;
  margin-top: 10px;
  width: 320px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 2px;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#chat-box.hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

#chat-messages {
  height: auto;
  max-height: 500px;
  overflow-y: auto;
  padding: 12px;
  font-size: 14px;
  line-height: 1.5;
}

#chat-form {
  display: flex;
  border-top: 1px solid #eee;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: none;
  font-size: 14px;
}

#chat-form button {
  background-color: #c70027;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0 16px;
  font-weight: bold;
  cursor: pointer;
}

svg[alt="Ask Warehouse AI Assistant"] {
  margin-top: -2px;
}