.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1000;
}

.chat-section {
  width: 90vw;
  max-width: 400px;
  height: 70vh;
  max-height: 700px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;

  transform: scale(0);
  transform-origin: 100% 100%;
  opacity: 0;

  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.35s ease;

  pointer-events: none;
  display: none; 
  flex-direction: column;
  overflow: hidden;
}

.chat-section.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto; 
}

.chat-iframe {
  flex-grow: 1;
  width: 100%;
  border: none;
}

.chat-circle-button {
  width: 60px;
  height: 60px;
  border-radius: 50%; /* Default: Makes it round on desktop */
  background-color: #FB9D51;
  color: white;
  font-size: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

  transition: background-color 0.2s,
    transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.35s ease;
}

.chat-circle-button.hidden-by-chat {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
    .chat-circle-button {
        border-radius: 5px; 
          width: 49px;
  height: 49px;
    }
    
    .chatbot-container {
        bottom: 60px; 
        right:  10px; 
    }
}