#ll-chatbot-root {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999999;
  font-family: Arial, sans-serif;
}

#ll-chatbot-button {
  width: 72px;
  height: 72px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#ll-chatbot-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

#ll-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 88px;
  width: min(360px, calc(100vw - 36px));
  max-height: min(620px, calc(100vh - 128px));
  background: #fff;
  color: #151515;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  display: none;
  overflow: hidden;
}

#ll-chatbot-panel.ll-open {
  display: flex;
  flex-direction: column;
}

.ll-chatbot-header {
  background: #111;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ll-chatbot-title {
  font-size: 15px;
  font-weight: 700;
}

.ll-chatbot-close {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.ll-chatbot-body {
  flex: 1;
  min-height: 0;
  padding: 14px;
  overflow-y: auto;
}

.ll-message {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.ll-message-bot {
  background: #f1f1f1;
}

.ll-message-user {
  background: #111;
  color: #fff;
  margin-left: 36px;
}

.ll-faq-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ll-faq-hint {
  color: #555;
  font-size: 13px;
  line-height: 1.35;
  padding: 2px 0;
}

.ll-group-button,
.ll-question-button,
.ll-back-button {
  width: 100%;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #151515;
  padding: 10px 12px;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.35;
}

.ll-group-button {
  font-weight: 700;
}

.ll-back-button {
  background: #f5f5f5;
}

.ll-group-button:hover,
.ll-back-button:hover,
.ll-question-button:hover {
  border-color: #111;
}

.ll-chatbot-footer {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e5e5e5;
}

.ll-chatbot-input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
}

.ll-chatbot-send {
  border: 0;
  border-radius: 6px;
  background: #111;
  color: #fff;
  cursor: pointer;
  padding: 0 14px;
  font-size: 14px;
}
