html {

}

body {
  background: #EDF0F5;
  color: #242424;
  line-height: 1.5;
}


#responses {
  padding-left: 16px;
  padding-right: 16px;
}

.assistant-message {
}

.assistant-message p {
  margin: 10px 0;
}

.assistant-message p:first-child {
  margin-top: 0 !important;
}

.assistant-message p:last-child {
  margin-bottom: 0 !important;
}

.assistant-message-wrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0;
}

.assistant-message-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #D5E8F5;
  box-shadow: 0 2px 3px rgba(0,0,0,.15);
  background-image: url(../img/bot_icon.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 1;
}

.assistant-message {
  margin: 0;
  background-color: #fff;
  border-radius: 0 10px 10px 10px;
  box-shadow: 0 2px 3px rgba(0,0,0,.15);
  padding: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: inherit;
}

.assistant-message.waiting {
  padding: 4px 0 0 0;
  background-color: transparent;
  box-shadow: none;
}

.loading-text {
  color: #7586A7;
  font-size: 10px;
  font-weight: 500;
}


.assistant-message > div {
  margin-bottom: 4px;
}

.assistant-message > div:last-child {
  margin-bottom: 0;
}

.assistant-message a:hover {
  text-decoration: none;
}

.user-message {
  background-color: #0082DC;
  border-radius: 10px 10px 0 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.75;
  padding: 12px;
  box-shadow: 0 2px 3px rgba(0,0,0,.15);
}


.options-container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 10px 0;
}

.options-container button {
  display: inline-flex;
  font-size: 13px;
  background-color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  color: inherit;
  border: 1px solid #7586A7;
  transition: background-color .2s, color .2s;
  margin: 0;
}

.options-container button:hover {
  background-color: #7586A7;
  color: #fff;
}


.options-container button h3 {
  font-size: 13px;
}

.source_link_area {
  margin-top: 8px;
}

.source_link_area a {
  width: 100%;
  box-sizing: border-box;
  border-radius: 5px;
  padding: 8px 12px;
  transition: .2s background-color;
}

.source_link_area a:hover {
  background-color: #EFF2F6;
}

.source_title {
  font-size: 15px;
}

.description {
  font-size: 12px;
}

.domain {
  font-size: 10px;
  opacity: .5;
}

#inputContainer {
  background-color: transparent;
  border-top: none;
  padding:  16px 16px;
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

#inputText {
  margin-bottom: 0;
  box-shadow: 0 4px 6px rgba(0,0,0,.15);
  border: 1px solid #fff;
  outline: none;
  appearance: none;
  font-family: initial;
  box-sizing: border-box;
  line-height: 1.3;
  font-size: 15px;
  flex: 1;
  min-height: 44px;
  max-height: 90px;
}

#inputText:focus {
  border-color: #0082DC;
  border-radius: 10px;
}

#inputText::placeholder {
  color: rgba(0,0,0,.3);
}

#inputSend {
  appearance: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0082DC;
  transition: background-color .2s;
  cursor: pointer;
}

#inputSend:disabled {
  background-color: #C5CFD6;
  cursor: auto;
}

.feedback {
  margin: 20px 0 30px;
}

.feedback-text {
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

.feedback-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}


.feedback-button {
  appearance: none;
  outline: none;
  border: none;
  border-radius: 999px;
  width: 100px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
  border-color: transparent;
  transition: .2s opacity;
}

.feedback-button:hover {
  opacity: .6;
}

.feedback-button.yes {
  background-color: #0082DC;
  border-color: #0082DC;
  color: #fff;
}

.feedback-button.no {
  background-color: #fff;
  border-color: #C5CFD6;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  transform: translateY(4px);
  margin: 0 1px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.icon.reset {
  background-image: url(../img/icon_reset.svg);
  background-color: #0082DC;
}

.chat-rule {
  background-color: rgba(0,130,220, .05);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 2px;
  color: #777;
  font-size: 11px;
  border-radius: 6px;
  border-top: 1px solid rgba(0,130,220, .1);
  border-left: 1px solid rgba(0,130,220, .11);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.05);
}

.chat-rule strong {
  color: #ee6666;
  font-weight: bold;
  margin-right: 4px;
  white-space: nowrap;
}