html,
body,
#app,
.h-full {
  height: 99%;
}

#app {
  display: none;
}

.p-1 {
  padding: 1rem;
}

.container {
  border: 1px solid #e5e7eb;
  display: flex;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
}

.left-fold-menu .left {
  left: -260px;
}

.left-fold-menu .main {
  margin-left: 0;
}

.left-fold-menu .fold-i {
  transform: rotate(180deg);
  transition: all 0.3s ease;
}

.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color),
    0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
}

.main {
  display: flex;
  flex: 1 1 0%;
  margin-left: 260px;
  transition: all 0.3s ease;
  flex-direction: column;
}

.left {
  display: flex;
  flex-direction: column;
  width: 260px;
  border-right: 1px solid #e5e7eb;
  font-size: 14px;
  text-align: center;
  position: absolute;
  height: 100%;
  left: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  background: var(--bg-white);
}

.i-transform {
  transform: rotate(180deg);
  transition: all 0.3s ease;
}

.fold-container {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateX(50%) translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #efeff5;
  z-index: 2000;
  box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.06);
  background: var(--bg-white);
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.add-chat {
  line-height: 34px;
}

.add-chat span {
  display: flex;
  width: auto;
  justify-content: center;
  border: 1px dashed #999;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.add-chat span:hover {
  color: #36ad6a;
  border: 1px dashed #36ad6a;
}

.chat-container {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  line-height: 1.25rem;
  gap: 0.5rem;
  overflow-y: auto;
  flex: 1;
}

.left-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-white);
  z-index: 1000;
}

.new-chat {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  line-height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  align-items: center;
  cursor: pointer;
  margin-bottom: 10px;
}

.line-clamp-1 {
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.new-chat:hover {
  background-color: #f5f5f5;
}

.new-chat-selected {
  color: #4b9e5f;
  border-color: #4b9e5f;
  background-color: #f5f5f5;
}

.new-chat-selected i {
  color: #4b9e5f;
}

.new-chat .input-edit {
  width: 80%;
  border: 1px solid #999;
  border-radius: 4px;
}

.aign-center {
  display: flex;
  align-items: center;
}

.new-chat .aign-center i {
  font-size: 14px;
}

.new-chat .aign-center i:nth-child(1) {
  margin-right: 7px;
}

.left-botton-menu {
  display: flex;
  flex-direction: column;
}

.menu-item {
  border-top: 1px solid #e5e7eb;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-item:hover {
  background: #f5f5f5;
}

.menu-item>i:first-child {
  font-size: 19px;
}

.menu-item>i:last-child {
  font-size: 13px;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.textarea-container {
  position: relative;
  display: flex;
  flex: 1;
}

.textarea {
  height: 22px;
  /* min-height: 22px; */
  max-height: 3em;
  overflow-y: hidden;
  resize: none;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  line-height: 22px;
  transition: all 0.2s ease-in-out;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !important;
}

.textarea:hover,
.textarea:focus {
  border: 1px solid #4b9e5f;
}

.input-container>div:not(:nth-child(1)) {
  margin-left: 8px;
}

/* .input-container>div:not(.textarea-container, .send-message) {
  display: none;
} */

.select-button {
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
}

.select-button span {
  display: block;
  cursor: pointer;
  border-radius: 50%;
}

.select-button span:hover {
  background: #ececec;
}

.internet {
  color: #297aff;
}

.donate,
.history {
  color: #4b9e5f;
}

.dowmload {
  color: #4f555e;
}

.send-message {
  width: 46px;
  height: 34px;
  text-align: center;
  line-height: 34px;
  background: #18a058;
  cursor: pointer;
  border-radius: 4px;
}

.send-message:hover {
  background: #36ad6a;
}

.send-message span {
  display: block;
}

.send-message i {
  color: var(--text-white);
}

.content-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  height: 90%;
}

.main-header {
  display: flex;
  height: 40px;
  line-height: 40px;
  justify-content: space-between;
  margin: 0 20px;
  background: var(--bg-white);
}

.header-menu {
  display: none;
  cursor: pointer;
}

.head-message,
.handle-btn,
.open-vip,
.user-login {
  display: flex;
  align-items: center;
}

.head-message span,
.handle-btn span {
  font-size: 12px;
  margin-left: 9px;
}

.open-vip {
  color: #cf770f;
  cursor: pointer;
  width: max-content;
}

.user-login {
  margin-left: 33px;
  cursor: pointer;
  width: max-content;
}

.user-login img {
  width: 20px;
}

.content {
  background: var(--bg-white);
  padding: 0 12% 0 8%;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
}

.content>div:last-child {
  margin-bottom: 1.5rem;
}

.question,
.answer {
  display: flex;
  margin-top: 1.5rem;
}

.question {
  justify-content: flex-end;
}

.answer {
  justify-content: flex-start;
}

.question-words,
.answer-words {
  display: flex;
  flex-direction: column;
}

.question-words {
  align-items: flex-end;
}

.answer-words {
  align-items: flex-start;
}

.time {
  font-size: 0.75rem;
  line-height: 1rem;
  color: #b8bac8;
}

.content-text {
  width: fit-content;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  min-width: 20px;
  margin-top: 0.5rem;
  font-size: 14px;
  position: relative;
  word-break: break-all;
  line-height: 1.5;
  white-space: pre-line;
}

.content-text p:not(:nth-of-type(1)) {
  margin: 8px 0;
}

.res-code {
  background: var(--bg-white);
  padding: 20px;
  width: inherit;
}
.res-code code{
  white-space: pre-wrap;
}
.bg-question {
  background: #d2f9d1;
}

.bg-answer {
  background: #f4f6f8;
}
.bg-answer>div{
  
}
.user-logo {
  margin-left: 0.5rem;
}

.answer-logo {
  margin-right: 0.5rem;
}

.user-logo img,
.answer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.not-login-text {
  display: flex;
  font-size: 14px;
  align-items: center;
}

.login-btn-text {
  background: rgb(24 160 88);
  color: var(--text-white);
  padding: 4px 7px;
  margin-top: 0.5rem;
  border-radius: 4px;
  margin-left: 4px;
  cursor: pointer;
  line-height: 15px;
  width: 80px;
  box-sizing: border-box;
}

.login-btn-text:hover {
  background: #36ad6a;
}

.popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3000;
  box-sizing: border-box;
}

.mask,
.left-mask {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.left-mask {
  display: none;
}

.popup-bg {
  z-index: 999;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: var(--bg-white);
  text-align: center;
  border-radius: 10px;
}

.login-bg {
  display: flex;
  position: relative;
  min-height: 310px;
  width: 30%;
  max-width: 650px;
  min-width: 550px;
}

.close {
  position: absolute;
  right: 14px;
  top: 14px;
  cursor: pointer;
  color: #999;
}

.vip-info {
  width: 35%;
  color: #885b16;
  border-radius: 6px 0 0 6px;
  background: url(../img/vip-bg2.png);
  background-position: center;
}

.vip-title {
  margin: 35px 0;
  font-size: 20px;
  font-weight: 600;
}

.vip-title i {
  margin-right: 3px;
  font-size: 20px;
}

.vip-rights {
  font-size: 12px;
  margin-bottom: 16px;
}

.vip-rights i {
  margin-right: 3px;
}

.login-content {
  width: 65%;
  /* border-left: 1px solid #999; */
}

.login-title {
  font-size: 20px;
  margin-top: 35px;
}

.login-tips {
  font-size: 12px;
  color: #999;
  margin-top: 12px;
}

.phone-input {
  margin-top: 27px;
  width: 72%;
  background: #f2f4f6;
  border: 0;
  height: 35px;
  border-radius: 6px;
  padding-left: 4%;
  font-size: 14px;
  padding-right: 0;
}

.captcha-container {
  height: 37px;
  width: 76%;
  margin: 20px auto 25px auto;
  border-radius: 6px;
  font-size: 14px;
  background: #f2f4f6;
  display: flex;
  align-items: center;
  position: relative;
}

.captcha-container input {
  background: #f2f4f6;
  border: 0;
  height: 35px;
  font-size: 14px;
  padding-left: 0%;
  padding-right: 14%;
  width: 48%;
  margin-left: 5%;
}

.captcha-text {
  display: flex;
  flex: 1;
  justify-content: center;
}

.captcha-container .loading {
  margin-left: 10%;
}

.captcha-container span {
  margin-right: 3px;
  position: relative;
  cursor: pointer;
}

.captcha-container span:hover {
  color: #666;
}

.captcha-container::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 50%;
  background: #999;
  top: 0;
  bottom: 0;
  left: 67%;
  margin: auto;
}

.login-comfirm {
  height: 37px;
  line-height: 37px;
  width: 76%;
  margin: auto;
  background: #e0b470;
  color: var(--text-white);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-comfirm:hover {
  /* background: #3abe74; */
  background: #ebc790;
}

.vip-bg {
  display: flex;
  position: relative;
  min-height: 450px;
  width: 90%;
  max-width: 890px;
  min-width: 640px;
}

.vip-bg .close {
  color: #b08f20;
}

.vip-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: url(../img/vip-bg2.png) center top no-repeat;
  background-size: cover;
  border-radius: 6px;
}

.vip-header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #8c3b19;
  border-radius: 6px 6px 0 0;
}

.gpt-logo,
.vip-header-tips {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.gpt-logo {
  margin-left: 30px;
  font-size: 18px;
  font-weight: 600;
}

.gpt-logo img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 50%;
}

.vip-header-tips {
  margin-right: 105px;
}

.vip-main {
  display: flex;
  flex: 1;
}

.vip-main-left {
  width: 25%;
  color: #8c3b19;
  height: auto;
  /* background: url('../img/vip-left.png'); */
}

.vip-main-left .vip-title {
  margin-top: 10px;
}

.vip-main-right {
  padding: 0 20px;
  height: auto;
  width: 75%;
  right: 0;
  z-index: 10;
  background: var(--bg-white);
  border-bottom-right-radius: 6px;
}

.vip-select-tips {
  text-align: left;
  margin-top: 15px;
  font-weight: 600;
}

.vip-select-list {
  display: flex;
  margin-top: 25px;
  justify-content: space-between;
}

.vip-item {
  background: #eeeeee;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  flex: 0.22;
  border: 2px solid transparent;
}

.vip-select-pay {
  border: 2px solid #dc952b;
}

.vip-item i {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 30px;
  color: #f24f4f;
}

.vip-name {
  margin: 10px 0 0 0;
}

.vip-name,
.price-per-day {
  text-align: left;
}

.vip-price {
  margin: 10px 0 0 0;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
}

.new-price {
  color: #f24f4f;
  font-size: 22px;
  margin-right: 6px;
  margin-bottom: 10px;
}

.new-price-logo {
  font-size: 14px;
}

.org-price {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  text-decoration-color: #999;
  margin-bottom: 10px;
}

.price-per-day {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.pay-for-vip {
  display: flex;
  align-items: center;
  background: #eeeeee;
  margin: 15px 0;
  padding: 10px;
}

.qrcode img {
  width: 110px;
  margin-right: 10px;
}

.pay-type-select {
  display: flex;
  height: fit-content;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.pay-type-list {
  display: flex;
  flex-wrap: wrap;
}

.pay-type-item {
  display: flex;
  position: relative;
  width: 120px;
  height: 34px;
  border: 1px solid #999;
  border-radius: 4px;
  align-items: center;
  color: #999;
  background: transparent;
  cursor: pointer;
  margin-right: 10px;
}

.wechat-pay {
  border: 1px solid #09bb07;
  color: #09bb07;
  background: rgba(9, 187, 7, 0.05);
}

.ali-pay {
  border: 1px solid #37a2ff;
  color: #37a2ff;
  background: rgba(55 162 255 / 5%);
}

.select-click {
  position: absolute;
  right: 0;
  bottom: 0;
}

.pay-type-logo {
  margin: 0 2px 0 3px;
}

.pay-type-item span {
  color: #333;
  font-size: 15px;
}

.pay-price {
  margin: 18px 0;
  display: flex;
  align-items: flex-end;
}

.pay-price .new-price {
  margin: 0;
}

.pay-price-text {
  font-size: 14px;
  margin-right: 8px;
  margin-bottom: 2px;
  color: #999;
  text-align: left;
  line-height: 1.3;
}

.discount-amount {
  font-size: 12px;
  margin-left: 10px;
  color: #f24f4f;
  background: rgb(242 79 79 / 15%);
  padding: 3px 6px;
  border-radius: 2px;
}

.agreement-time {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}

.pay-price-time {
  display: flex;
  align-items: center;
}

.countdown {
  font-size: 15px;
  color: #f24f4f;
}

.loading {
  border: 2px solid #e5e5e5;
  border-top: 2px solid #e0b470;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.question .more-hover {
  position: absolute;
  left: -15px;
  bottom: 0;
}

.more-hover i {
  color: #999;
  font-size: 14px;
  cursor: pointer;
}

.more-content {
  position: absolute;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  height: 66px;
  justify-content: center;
  left: 0;
  top: -20px;
  color: #999;
  transition: 0.2s;
  width: 0;
  opacity: 0;
  z-index: 998;
  overflow: hidden;
}

.more-content-item {
  display: flex;
  align-items: center;
  padding-left: 10px;
  flex: 1;
  cursor: pointer;
}

.more-content-item:hover {
  background: #eee;
}

.more-hover:hover .more-content,
.more-content:hover {
  width: 84px;
  box-shadow: 0px 1px 6px 1px rgba(0, 0, 0, 0.16);
  opacity: 1;
  left: -82px;
}

.more-content-item span {
  margin-left: 4px;
}

.delete-bg {
  display: flex;
  position: relative;
  min-height: 107px;
  width: 15%;
  max-width: 650px;
  min-width: 344px;
  flex-direction: column;
  padding: 15px 11px;
}

.delete-header {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #666;
}

.delete-header i {
  margin-right: 5px;
  color: #e0b470;
}

.delete-tips {
  margin: 22px;
  font-size: 14px;
}

.delete-btn {
  display: flex;
  justify-content: space-evenly;
}

.delete-btn button {
  border: 1px solid #999;
  border-radius: 4px;
  cursor: pointer;
  background: var(--bg-white);
  padding: 3px 12px;
}

.delete-btn button:nth-child(1):hover {
  color: #e94527;
  border-color: #e94527;
}

.delete-btn button:nth-child(2) {
  border: 1px solid #e0b470;
  background: #e0b470;
  color: var(--text-white);
}

.delete-btn button:nth-child(2):hover {
  background: #f1d4a8;
  border-color: #f1d4a8;
}

.alert-popup {
  position: fixed;
  z-index: 999;
  height: 48px;
  line-height: 48px;
  min-width: 280px;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  top: 31%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: var(--bg-white);
  text-align: center;
  overflow: hidden;
  display: flex;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s;
}

.alert-popup i {
  font-size: 18px;
  color: #e94527;
  margin-right: 6px;
}

.alert-popup span {
  color: #666666;
  margin-right: 6px;
}

.popup-tran {
  opacity: 1;
  visibility: initial;
  top: 41% !important;
}

.vip-main-left .gpt-logo {
  display: none;
}

.vip-header-tips span:nth-child(2) {
  display: none;
}

.phone-pay-btn {
  display: none;
}

@media screen and (max-width: 640px) {

  html,
  body,
  #app,
  .h-full {
    height: 100%;
    padding: 0;
  }

  .container {
    border-radius: 0;
  }

  .head-message,
  .fold-container {
    display: none;
  }

  .header-menu {
    display: flex;
    align-items: center;
  }

  .main {
    margin: 0;
  }

  .main-header {
    margin: 0 10px;
  }

  .header-menu i {
    font-size: 24px;
  }

  .content {
    padding: 0 10px;
  }

  .left-mask {
    display: block;
    top: 1px;
    left: 1px;
    bottom: 1px;
    right: 1px;
  }

  .left-menu-hide {
    visibility: hidden;
    opacity: 0;
    left: -260px;
  }

  .login-bg {
    background: url(../img/vip-bg2.png);
    background-position: center;
    flex-direction: column-reverse;
    align-items: center;
    width: 70%;
    max-width: 550px;
    min-width: 320px;
  }

  .login-bg .vip-info {
    margin-bottom: 15px;
  }

  .login-bg .vip-title {
    margin: 14px 0;
  }

  .vip-info {
    width: 100%;
    background: none;
    color: #4e340e;
  }

  .login-content {
    width: 100%;
    border: 0;
  }

  .login-title {
    color: #39393a;
  }

  .login-tips {
    font-size: 14px;
    color: #3b3838;
  }

  .login-comfirm {
    background: #cf8f2b;
  }

  .vip-bg {
    max-width: 640px;
    min-width: 320px;
  }

  .vip-header {
    height: 50px;
    justify-content: center;
  }

  .vip-header .gpt-logo {
    display: none;
  }

  .vip-main {
    flex-direction: column;
    align-items: center;
  }

  .vip-main-left {
    width: 89%;
    display: flex;
    border: 1px solid;
    border-radius: 6px;
    height: 88px;
    justify-content: space-around;
  }

  .vip-phone-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 15px;
  }

  .vip-phone-top>div {
    font-size: 16px;
  }

  .vip-title {
    margin-bottom: 0;
  }

  .vip-rights-list {
    margin-left: 10%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
  }

  .vip-rights {
    margin: 0;
  }

  .vip-main-right {
    position: relative;
    width: 78%;
    margin: 5px 0;
    border-radius: 6px;
  }

  .vip-header-tips {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
  }

  .vip-header-tips span:nth-child(2) {
    display: block;
  }

  .vip-header-tips span:nth-child(1) {
    display: none;
  }

  .vip-main-left .gpt-logo {
    display: flex;
    margin: 0;
  }

  .vip-select-list-container {
    overflow: auto;
  }

  .vip-select-list {
    width: max-content;
    margin-top: 10px;
  }

  .vip-select-tips {
    margin-top: 10px;
  }

  .vip-item {
    width: 84px;
  }

  .pay-type-item {
    margin-bottom: 10px;
    height: 24px;
    width: 100%;
    margin-right: 0;
  }

  .qrcode,
  .pay-price {
    display: none;
  }

  .phone-pay-btn {
    display: flex;
    width: 90%;
    justify-content: center;
    align-items: center;
    background: #f24f4f;
    color: var(--bg-white);
    border-color: transparent;
  }

  .pay-type-select {
    align-items: center;
  }

  .pay-type-list {
    flex-direction: column;
    width: 90%;
  }

  .agreement-time {
    width: 90%;
  }

  .ali-pay .pay-type-logo {
    margin: 0 11px 0 4px;
  }
}