/* Chatbot Styles */
.chatbot-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: var(--font-main, 'Montserrat', sans-serif);
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color, #FF5E00);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 94, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: none;
  outline: none;
}

.chatbot-toggle:hover {
  transform: scale(1.05);
  background-color: var(--accent-hover, #E05200);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 480px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-widget.open .chatbot-window {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chatbot-header {
  background-color: var(--primary-color, #0A1930);
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.chatbot-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #F4F6F8;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-msg {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
  animation: fadeIn 0.3s ease;
}

.chat-msg.bot {
  background-color: white;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.chat-msg.user {
  background-color: var(--accent-color, #FF5E00);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chatbot-footer {
  padding: 15px;
  background: white;
  border-top: 1px solid #EEE;
  display: flex;
  gap: 10px;
}

#chatInput {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #DDD;
  border-radius: 20px;
  outline: none;
  font-family: inherit;
}

#chatInput:focus {
  border-color: var(--primary-color);
}

.chat-send-btn {
  background: var(--primary-color, #0A1930);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.chat-send-btn:hover {
  background: var(--primary-light, #162B4C);
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.chat-suggestion-chip {
  background: rgba(255, 94, 0, 0.1);
  color: var(--accent-color, #FF5E00);
  border: 1px solid var(--accent-color, #FF5E00);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-suggestion-chip:hover {
  background: var(--accent-color, #FF5E00);
  color: white;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .chatbot-window {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }
}
