
/* Chatbot widget styles - minimal, non-intrusive */
#cg-chatbot-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00bfff, #1e90ff, #0066cc);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  font-weight:700;
  z-index:99999;
  cursor:pointer;
}
#cg-chatbot-window {
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: 340px;
  max-width: calc(100% - 40px);
  height: 420px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  overflow: hidden;
  z-index:99999;
  display: none;
  flex-direction: column;
  font-family: sans-serif;
}
#cg-chatbot-header {
  background: linear-gradient(135deg,#4a4aff,#6b8cff);
  color: white;
  padding: 12px;
  font-weight:700;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
#cg-chatbot-body {
  padding: 12px;
  flex:1;
  overflow:auto;
  background: #f7f7fb;
}
.cg-msg {
  margin:8px 0;
  padding:8px 12px;
  border-radius:14px;
  max-width:80%;
  clear:both;
}
.cg-msg.bot {
  background:#ffffff;
  float:left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.cg-msg.user {
  background: linear-gradient(135deg, #00bfff, #1e90ff, #0066cc);
  color:white;
  float:right;
}
#cg-chatbot-footer {
  padding:10px;
  border-top:1px solid #eee;
  display:flex;
  gap:8px;
  align-items:center;
  background:white;
}
#cg-chatbot-footer select, #cg-chatbot-footer button {
  padding:8px;
  border-radius:8px;
  border:1px solid #ddd;
  background:white;
}
#cg-chatbot-footer button {
  background: linear-gradient(135deg, #00bfff, #1e90ff, #0066cc);
  color:white;
  border:none;
  cursor:pointer;
  padding:8px 12px;
}
@media(min-width:900px){
  /* keep desktop layout unaffected: smaller window size */
  #cg-chatbot-window { width:360px; height:480px; }
}
