/* Floating Button Container */
#chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
}

/* Main Chat Button */
#chatbot-btn {
  background-color: #c1272c;
  color: white;
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  font-size: 18px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
}

/* Chat Icon */
#chat-icon {
  background-color: white;
  color: #c1272c;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 18px;
}

/* Chat Modal Container */
#chat-iframe-container {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 400px;
  height: 600px;
  background: white;
  border-radius: 20px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  overflow: hidden;
}

/* Wrapper for Tabs and Close Button */
.chat-tabs-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #c1272c;
  padding: 10px;
  border-radius: 20px 20px 0 0;
}

/* Tabs Container */
.chat-tabs {
  display: flex;
}

.chat-tab {
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 35px;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
}

.chat-tab.active {
  background: #a01f23;
}

/* Close Button (Styled like Tabs) */
#close-chat {
  background: #c1272c;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 35px;
  transition: background 0.3s ease, transform 0.2s ease;
}

#close-chat:hover {
  background: #a01f23;
  transform: scale(0.95);
}

/* Modal Content */
.chat-content {
  width: 100%;
  height: calc(100% - 60px);
  border: none;
}

/* WhatsApp Mockup Styles */
#whatsapp-mockup {
  width: 100%;
  height: 100%;
  background: #F7F7F7;
  display: flex;
  flex-direction: column;
}
#whatsapp-header {
  background: #075e54;
  color: white;
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
}
#whatsapp-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}
#whatsapp-chat {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}
.whatsapp-message {
  background: white;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 5px;
}
#whatsapp-button {
  background: #25d366;
  color: black;
  font-size: 16px;
  font-weight: bold;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#whatsapp-button img {
  width: 24px;
  margin-right: 10px;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  #chat-iframe-container {
    width: 90%;
    height: 80vh;
    bottom: 20px;
    right: 5%;
  }
  #chatbot-btn {
    padding: 10px 15px;
    font-size: 16px;
  }
}
