.chatbotcontainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid #d1d7e0;
  border-radius: 12px;
  background: #f7f9fc;
  min-height: 70vh;
  overflow: hidden;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #d1d7e0;
  background: #eef3fb;
}

.title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2a3d;
}

.usage {
  font-size: 13px;
  font-weight: 600;
  color: #4c5970;
}

.notice {
  padding: 10px 16px;
  font-size: 13px;
  border-bottom: 1px solid #d1d7e0;
  background: #fff8db;
  color: #6f5200;
}

.messagesbox {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message {
  display: flex;
}

.user {
  margin-left: auto;
}

.assistant,
.system {
  margin-right: auto;
}

.bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.4;
  word-break: break-word;
  white-space: pre-wrap;
  font-size: 14px;
}

.user .bubble {
  background: #2463eb;
  color: #ffffff;
}

.assistant .bubble,
.system .bubble {
  background: #edf2fa;
  color: #182230;
}

.inputbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #d1d7e0;
  background: #f7f9fc;
  position: relative;
}

.inputbox input {
  flex: 1;
  border: 1px solid #c3cedf;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
}

.inputbox input:disabled {
  cursor: not-allowed;
  opacity: 0.75;
  background: #f1f4f9;
}

.iconButton {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c3cedf;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.iconButton:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.emojiicon,
.sendicon {
  color: #2f4f95;
  font-size: 16px;
}

.emojiPicker {
  position: absolute;
  right: 44px;
  bottom: 52px;
  z-index: 20;
}
