/* Biradar Academy Chatbot */
.chatbot-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.chatbot-button:hover {
  transform: translateY(-1px);
}

.chatbot-box {
  position: fixed;
  bottom: 86px;
  right: 24px;
  width: 350px;
  max-width: calc(100vw - 32px);
  height: 460px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 99999;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.chatbot-header {
  background: #0b1f3a;
  color: #ffffff;
  padding: 14px 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.chatbot-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  background: #f8fafc;
}

.bot-message,
.user-message {
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  word-wrap: break-word;
}

.bot-message {
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
  margin-right: 24px;
}

.user-message {
  background: #f97316;
  color: #ffffff;
  margin-left: 48px;
}

.chatbot-input-area {
  display: flex;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.chatbot-input-area input {
  flex: 1;
  padding: 13px 12px;
  border: none;
  outline: none;
  font-size: 14px;
}

.chatbot-input-area button {
  background: #f97316;
  color: #ffffff;
  border: none;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.chatbot-suggestion {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .chatbot-box {
    right: 12px;
    bottom: 78px;
    width: calc(100vw - 24px);
    height: 70vh;
  }

  .chatbot-button {
    right: 12px;
    bottom: 16px;
  }
}

/* Keep Chat button aligned with Call and WhatsApp when placed inside .floating-actions */
.floating-actions .chatbot-button{
  position:static!important;
  right:auto!important;
  bottom:auto!important;
}
