/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", -apple-system, Roboto, SegoeUI, "Segoe UI",
    "Helvetica Neue", Helvetica, "Microsoft YaHei", "Meiryo UI", Meiryo,
    Arial Unicode MS, sans-serif;
  font-size: 14px;
  color: #333;
}

#app,
#min {
  margin-top: auto;
  max-width: 370px;
  min-width: 300px;
  width: 100%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.header {
  height: 130px;
  background: #5783b9;
  padding: 16px;
  position: relative;
  border-radius: 10px 10px 0 0;
}

.header .chat {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header .bot {
  width: 56px;
}

.header .close {
  width: 20px;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 26px;
  display: none;
  color: white;
  cursor: pointer;
}
.header .line {
  width: 20px;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 4px;
  margin-left: 2px;
  cursor: pointer;
}

.header .text {
  margin-left: 8px;
  color: #fff;
  font-weight: 400;
  font-size: 12px;
}
.header .sub-title {
  font-weight: 700;
  font-size: 14px;
}

.header .tip {
  cursor: pointer;
  top: 80px;
  left: 16px;
  position: absolute;
}

.header .tip .box {
  padding: 16px 24px;
  height: 51px;
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
  -webkit-filter: drop-shadow(0px 1px 8px rgba(102, 102, 102, 0.2));
  filter: drop-shadow(0px 1px 8px rgba(102, 102, 102, 0.2));
}

.header .tip img {
  width: 12px;
  display: block;
  margin-left: 16px;
}

#mock-chat-body {
  height: 30px;
  background-color: #fff;
  display: block;
}

#chat-body {
  display: none;
  height: 620px;
  background-color: #fff;
  border: 1px solid rgba(102, 102, 102, 0.2);
  filter: drop-shadow(0px 1px 2px rgba(102, 102, 102, 0.2));
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 16px;
  position: relative;
}

.footer {
  height: 92px;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  padding: 16px;
}

input {
  border: none;
  outline: none;
  height: 24px;
  width: 100%;
}
input[type="text"]:disabled {
  background-color: #fff;
}

.status-bar {
  margin-top: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.status-bar .count {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 400;
  font-size: 12px;
  color: #666;
}

.status-bar img {
  width: 20px;
  cursor: pointer;
  visibility: hidden;
}
.content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-bottom: 30px;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #2260ec;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-right: 10px;
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 1px;
  background: transparent;
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.4);
}
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid transparent;
}

.card {
  height: auto;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #9eb2c7;
  border-radius: 10px;
  margin-bottom: 16px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  white-space: pre-wrap;
}

.card a {
  color: #007bc3;
  text-decoration: none;
}

.card .answer {
  color: #333;
}
.card.question {
  background-color: #007bc3;
  color: #fff;
  -ms-flex-item-align: end;
  align-self: flex-end;
  border: none;
}

svg {
  fill: #fff;
  height: 32px;
}

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  -webkit-animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.hint-list {
  margin: 5px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: self-end;
  -ms-flex-align: self-end;
  align-items: self-end;
}

.hint-list .tips {
  font-size: 12px;
  color: #666;
  margin-bottom: 16px;
}
.hint-item {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  background: #ffffff;
  -webkit-box-shadow: 0px 1px 8px rgba(102, 102, 102, 0.2);
  box-shadow: 0px 1px 8px rgba(102, 102, 102, 0.2);
  border-radius: 10px;
  max-width: 100%;
  padding: 4px 6px;
  margin-bottom: 4px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 12px;
  background-color: #007bc3;
  color: #fff;
}

.hint-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 5px;
}
.hint-title span {
  color: #123bb6;
  font-size: 12px;
  margin-left: 5px;
  font-weight: 500;
}
.hint-list svg {
  fill: #123bb6;
  height: 24px;
}

#again {
  padding: 8px 16px;
  background: #ffe6e6;
  -webkit-box-shadow: 0px 1px 8px rgba(102, 102, 102, 0.2);
  box-shadow: 0px 1px 8px rgba(102, 102, 102, 0.2);
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  width: 150px;
  -ms-flex-item-align: end;
  align-self: flex-end;
  margin-bottom: 8px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#again img {
  margin-right: 8px;
  height: 18px;
}

#stop {
  position: absolute;
  bottom: 115px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  left: 0;
  right: 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#stop .wrap {
  padding: 5px 10px;
  border-radius: 5px;
  color: #007bc3;
  border: 1px solid #007bc3;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
#stop .wrap .dot {
  height: 12px;
  width: 12px;
  background-color: #007bc3;
  margin-right: 6px;
}

#min {
  border: 1px solid #5783b9;
  padding: 4px 6px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  max-width: 130px;
  min-width: 130px;
  flex-direction: row;
  justify-content: space-between;
  color: #5783b9;
  cursor: pointer;
  display: none;
  margin-top: 100px;
  margin-right: 20px;
}

#min img {
  width: 20px;
}

#content {
  word-break: break-all;
}

.min-size {
  width: 130px;
}
