/* Floating button */
.chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
}

/* Chat window */
.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 360px;
  max-height: 520px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}

/* Header */
.chat-header {
  background: #111827;
  color: #fff;
  padding: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

/* Body */
.chat-body {
  padding: 12px;
  overflow-y: auto;
  flex: 1;
  background: #f3f4f6;
}

/* Bubbles */
.bot {
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  max-width: 85%;
}

.user {
  background: #2563eb;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  margin: 10px 0 10px auto;
  max-width: 85%;
}

/* Inputs */
.chat-body input {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Options */
.option {
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  cursor: pointer;
}

.option.selected {
  background: #2563eb;
  color: #fff;
}

/* Button */
.chat-body button {
  width: 100%;
  padding: 10px;
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 6px;
  margin-top: 8px;
  cursor: pointer;
}


#chatbot-root {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 99999;
}

/* Toggle Button */
.chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Chat Box */
.chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  background: #f5f5f5;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  display: none;
  z-index: 99999;
  overflow: hidden;
}

.chat-box.open {
  display: block;
}

