/* KugbaHost Chat Widget Styles */

#kugba-chat-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

#kugba-chat-button {
  background-color: #00923f;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#kugba-chat-box {
  width: 320px;
  height: 500px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  bottom: 60px;
  right: 0;
  z-index: 10000;
}


#kugba-chat-header {
  background-color: #00923f;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

#kugba-chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
}


.kugba-chat-message {
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 20px;
  max-width: 80%;
  clear: both;
  display: inline-block;
  line-height: 1.4;
}

.kugba-chat-message.user {
  background-color: #dcf8c6;
  color: #000;
  float: right;
  text-align: left;
  border-radius: 18px 0 18px 18px;
  margin-left: 20%;
}

.kugba-chat-message.bot {
  background-color: #B3E5FC;
  color: #000;
  float: left;
  text-align: left;
  border-radius: 0 18px 18px 18px;
  margin-right: 20%;
}

#kugba-chat-input {
  display: flex;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #ccc;
  background: #fff;
  gap: 8px;
}

#kugba-chat-input input {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 25px;
  background: #f1f1f1;
  font-size: 14px;
  outline: none;
}

#kugba-chat-emoji-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #007bff;
}

#kugba-chat-send-btn {
  background: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 16px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#kugba-typing {
  font-size: 12px;
  color: #888;
  text-align: center;
  padding: 5px;
}

.kugba-chat-footer {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  padding: 6px 0;
  border-top: 1px solid #eee;
}

#kugba-chat-send-btn::after {
  content: '➤'; /* Unicode arrow */
  display: inline-block;
}
.kugba-welcome-popup {
  position: fixed;
  bottom: 100px;
  right: 100px;
  background: #fff;
  color: #333;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 280px;
  font-size: 14px;
  z-index: 9999;
  animation: fadeIn 0.5s ease-in-out;
}

.kugba-here-badge {
  position: fixed;
  bottom: 95px;
  right: 90px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: #2b7a78;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 9998;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

