/* Basic styles for WP Chatbot */
#wp-chatbot {
  width: 320px;
  height: 420px;
  background: #ffffff;
  position: fixed;
  right: 20px;
  bottom: 80px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 99999;
}

#wp-chatbot.show-mobile { display:flex; }

#chatbot-button {
  width: 60px;
  height: 60px;
  background: #0b74de;
  color: #fff;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 28px;
  z-index: 99999;
}

.chat-header {
  padding: 12px 16px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

.chat-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
}

.chat-footer {
  padding: 8px;
  border-top: 1px solid #eee;
  display: flex;
  gap:8px;
}

.chat-footer input { flex:1; padding:8px; border:1px solid #ddd; border-radius:6px; }
.chat-footer button { padding:8px 12px; border:none; background:#0b74de; color:#fff; border-radius:6px; cursor:pointer;}

.user-msg { text-align:right; margin:8px 0; }
.bot-msg { text-align:left; margin:8px 0; background:#f4f6f8; padding:8px 10px; border-radius:8px; display:inline-block; max-width:85%; }

@media (max-width: 800px) {
  #wp-chatbot { right:10px; left:10px; bottom:80px; width:auto; height:60vh; }
}
