#chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;   
  z-index: 9999;
  font-family: sans-serif;
}


#chatbot-button {
  background: #007bff; 
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
#chatbot-button:hover {
  transform: scale(1.1);
}

#chatbot-button i {
  font-size: 24px;
  color: #fff;
}


#chatbot-popup {
  display: none;
  position: absolute;
  bottom: 80px;
  right: 0;      
  width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  overflow: hidden;
  flex-direction: column;
}
#chatbot-popup.active {
  display: flex;
}


.cb-header {
  background: #007bff; 
  color: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cb-header i {
  margin-right: 8px;
  
  color: #000;
}
.cb-header button {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}

.cb-body {
  padding: 10px;
  background: #f5f5f5;
  max-height: 360px;
  overflow-y: auto;
}
#cb-messages {
  list-style: none;
  margin: 0;
  padding: 0;
}
#cb-messages li {
  margin-bottom: 12px;
}


#cb-messages .bot .msg {
  background: #007bff; 
  color: #fff;         
  padding: 8px 12px;
  border-radius: 12px 12px 12px 0;
  display: inline-block;
}


#cb-messages .user .msg {
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 12px 12px 0 12px;
  display: inline-block;
  border: 1px solid #ccc;
}


.option-btn {
  display: block;
  margin: 6px 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
}
.option-btn:hover {
  background: #eee;
}


.cb-footer {
  display: none;
}
