/* CSS that can pollute global styles. Use it with caution. */
/* If you use ShodowRoot for style pollution, this style will not be applied inside the content script. */
/* 我的 bot */
.sidesheet-container {
  display: flex !important;
}

.semi-sidesheet {
  width: 100% !important;
}

.sidesheet-container > div {
  width: 0 !important;
  overflow: hidden;
}

.sidesheet-container > div:last-child {
  width: 100% !important;
  overflow: unset;
}

.sidesheet-container-show-all.sidesheet-container > div {
  flex: 2;
  width: unset !important;
  overflow: unset;
}

.sidesheet-container-show-all.sidesheet-container > div:last-child {
  width: 33% !important;
  flex: 1;
}

/* bot 市场 */

.chat-sdk-container__chat-input {
  width: 100% !important;
  padding-left: 50px !important;
  padding-right: 50px !important;
}

.chat-sdk-message-group__wrap {
  flex: 1;
  padding-left: 50px !important;
  padding-right: 50px !important;
}

/* 右下角切换按钮 */
.content-container {
  position: fixed;
  bottom: 100px;
  right: 0;
  transform: translateX(100%) translateX(-12px);
  z-index: 999;
  background-color: #f7f7fa;
  padding: 12px;
  cursor: pointer;
  border-radius: 12px;
  opacity: 0.6;
  transition: all 0.2s ease-in;
  box-shadow: 0px 0px 20px 1px #ccc;
}

.content-container:hover {
  transform: translateX(0);
  opacity: 1;
}

.content-container p {
  text-align: center;
  font-size: 16px;
  margin-bottom: 6px;
}

.content-toggle-container {
  position: relative;
  width: 40px;
  height: 24px;
  border-radius: 12px;
  background-color: #ccc;
  border: 2px solid #ccc;
  transition: all 0.2s ease-in-out;
}

.content-toggle-container-on {
  background-color: #6e75ee;
  border-color: #6e75ee;
}

.content-toggle-ball {
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #f7f7fa;
  transition: left 0.2s ease-in-out;
}

.content-toggle-ball-on {
  left: calc(100% - 20px);
}
