.chat-container {
  --light-color: #fff;
  /* height: 420px; */
  width: 350px;
  background: var(--light-color);
  position: fixed;
  bottom: -500px;
  right: 10px;
  box-shadow: 0px 0px 15px 0px black;
  z-index: 9999;
  /* display: none; */
  opacity: 0;
  transition: all 0.4s;
  border-radius: 4px;
  overflow: hidden;
}
.chat-container > * {
  opacity: 0;
  transition: all 0.4s;
}

#check ~ .btn .bi-x-circle {
  display: none;
}

#check:checked ~ .btn .bi-chat-dots {
  display: none;
}

#check:checked ~ .btn .bi-x-circle {
  display: block;
}

#check:checked ~ .chat-container {
  /* display: block; */
  opacity: 1;
  bottom: 30px;
}

#check:checked ~ .chat-container > * {
  opacity: 1;
}

#check ~ #chatbox-icon{
  transition: 1s;
}


#check:checked ~ #chatbox-icon{
  bottom: -500px;
}

.chat-header {
  /* height: 60px; */
  display: flex;
  align-items: center;
  padding: 0px 30px;
  background-color: #b61719;
  color: var(--light-color);
  font-size: 1.1rem;
  padding: 10px 16px;
  border-bottom: 1px solid white;
}

.chat-header .logo {
  height: 35px;
  width: 35px;
  box-shadow: 0px 0px 10px 0px black;
}
.chat-header img {
  height: 100%;
  width: 100%;
}
.chat-header .title {
  /* padding-left: 10px; */
}
.chat-body {
  height: 300px;
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  align-items: flex-end;
  overflow-y: auto;
  font-size: 14px;
}
.chat-input.chat-ended,
.chat-body.chat-ended {
  pointer-events: none;
  opacity: 0.4 !important;
}
.chat-input {
  height: 45px;
  display: flex;
  align-items: center;
  border-top: 1px solid #ccc;
}
.input-sec {
  flex: 9;
}
.send {
  flex: 1;
  padding-right: 4px;
}
#txtInput {
  line-height: 24px;
  padding: 4px 10px;
  border: none;
  outline: none;
  caret-color: black;
  font-size: 14px;
  width: 100%;
}

.chatbot-message,
.user-message {
  padding: 8px;
  background: #ccc;
  margin: 5px;
  width: max-content;
  border-radius: 10px 3px 10px 10px;
}
.chatbot-message {
  background: #b61719;
  color: var(--light-color);
  align-self: flex-start;
  border-radius: 10px 10px 3px 10px;
  max-width: calc(100% - 30px);
}

.chatbot-option-outline {
  background-color: var(--light-color);
  border: 1px solid #b61719;
  color: black;
  align-self: flex-start;
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 14px;
  margin: 3px 0 3px 5px;
}

.chatbot-option-outline:hover {
  background-color: #b6171a36;
  border: 1px solid #b6171a36;
}

.chatbot-option-outline.selected {
  background-color: #b6171a36;
  border: 1px solid #b6171a36;
}

.bot-row {
  display: flex;
  width: 100%;
  max-width: 100%;
}

.bot-row .bot-icon {
  width: 33px;
  display: flex;
  align-items: end;
  padding-bottom: 2px;
}

.bot-row .bot-message {
  max-width: calc(100% - 40px);
}

.user-row {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.user-row .msg-status {
  text-align: end;
  font-size: 11px;
  margin-top: -4px;
  padding-right: 6px;
}
