.chat-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  max-height: 400px;   /* Reduced from 450px */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;

  /* Animation setup */
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* When open, fade in & slide up */
.chat-container.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-header {
  background: #00897b;
  color: white;
  padding: 8px 10px;  /* Reduced from 10px */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.chat-body {
  flex: 1;
  min-height: 180px;   /* Reduced from 220px */
  overflow-y: auto;
  padding: 8px;        /* Reduced padding */
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
}

.chat-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 16px; /* Slightly smaller */
  border-radius: 50px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Messages */
.user-message, .bot-message {
  padding: 6px 10px;  /* Slightly smaller padding */
  font-size: 13px;    /* Slightly smaller font */
  margin: 4px 0;      /* Reduced margin */
}

.typing-indicator {
  font-size: 13px;
}

.suggested-questions button {
  padding: 8px 12px;  /* Reduced from 10px 14px */
  font-size: 13px;    /* Slightly smaller */
}
