@media (max-height: 799px) {
  .limitcolmobile {
    visibility: hidden;
    display: none!important;
  }
}

.promptlistitemmobile {
  margin-bottom: 6px;
  background: rgba(50,50,50,0.4);
  border-radius: 10px;
  padding: .2rem;
  text-align: center;
  font-size: 12px;
  width: 340px;
}

.promptlistitem {
  margin-top: 10px;
  background: rgba(50,50,50,0.4);
  border-radius: 10px;
  padding: .4rem;
  text-align: center;
  font-size: 14px;
  width: 340px;
}

#promptsmobile {
  position: absolute;
  margin-top: 10px;
  color: rgb(225,225,225);
  z-index: 100;
}

#prompts {
  position: absolute;
  margin-top: 10px;
  color: rgb(225,225,225);
}

@media (min-width: 1200px) {
  #promptsmobile {
    display: none;
    visibility: hidden;
  }
}

@media (max-width: 1199px) {
  #prompts {
    display: none;
    visibility: hidden;
  }
}

.chatcontainer {
  background: #1c1d1f;
  min-height: 90vh;
  padding-bottom: 15px;
  margin-top: 0px;
  margin-right: 0px;
  margin-left: 0px;
  max-width: none;
  margin-bottom: -40px;
  border-top: 2px solid rgb(62,62,62);
  border-bottom: 2px solid rgb(62,62,62);
}

@media (max-width: 500px) {
  .chatcontainer {
    min-height: 80vh;
  }
}

@media (max-width: 1199px) {
  .prompt {
    width: 330px;
  }
}

.prompt:hover, .prompt:focus {
  background: rgb(40,40,40);
}

.prompt {
  background: rgb(50,50,50);
  color: rgb(225,225,225);
  font-size: 15px;
  border-radius: 10px;
  padding: 0.75rem;
  min-width: 200px;
}

@media (max-width: 1200px) {
  .assistant-image {
    visibility: hidden;
    display: none;
  }
}

.assistant-image {
  height: 50px;
  width: 60px;
  position: relative;
  left: -70px;
  bottom: -58px;
}

@media (max-width: 1200px) {
  .user-image {
    visibility: hidden;
    display: none;
  }
}

.user-image {
  height: 50px;
  width: 50px;
  position: relative;
  margin-left: auto;
  right: -70px;
  bottom: -58px;
}

#input {
  /*width: 100%;*/
  /*display: flex;*/
  /*align-items: end;*/
  /*background: rgb(33,35,35);*/
  /*border-radius: 8px;*/
  /*border: white outset 1px;*/
  margin-bottom: 3px!important;
}

#line {
  flex: 1;
  padding: 8px 0 8px 8px;
  outline: medium;
  font-size: 1.2rem;
  border-radius: 8px;
  border: none;
  background: none;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
  resize: none;
  /*overflow: hidden;*/
}

input[type="submit"], button.icon {
  /*padding: 4px 8px;*/
  /*color: green;*/
  /*border-radius: 8px;*/
  /*background: none;*/
  /*border: none;*/
  /*font-size: 1.5rem;*/
  /*cursor: pointer;*/
}

.loader {
  border: 6px solid #efefef;
  /*border-top: 6px solid #111;*/
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  margin: 4px auto;
  width: 20px;
  height: 20px;
  visibility: hidden;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#box {
  width: 100%;
  flex: auto;
  display: flex;
  flex-direction: column;
}

.modal {
  /*background: rgba(0, 0, 0, 0.30);*/
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.model-body {
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  /*background-color: white;*/
  border-radius: 20px;
  padding: 20px 30px;
  margin: 20px;
  overflow: auto;
}

.model-body input, .model-body textarea {
  width: calc(100% - 20px);
  padding: 10px;
  font-size: 1.0rem;
  border-radius: 4px;
  background: none;
  /*white-space: pre-wrap;*/
  word-wrap: break-word;
  word-break: break-word;
}

.model-body label {
  font-size: 1.2rem;
}

.model-body label.label {
  display: block;
  margin: 20px 0 5px 0;
}

.model-body button {
  font-size: 1.1rem;
  padding: 10px 30px;
}

.system, .assistant, .user {
  max-width: 90%;
  width: fit-content;
  padding: 12px 18px;
  margin: 8px 0;
  font-size: 1.1rem;
  /*white-space: pre-wrap;*/
}

.system {
  align-self: center;
  color: rgb(225,225,225);
  font-size: 1.0rem;
}

.assistant {
  background-color: #1392dc1a;
  border-radius: 36px 8px 8px 0;
}

.user {
  background-color: #49a93f42;
  color: rgb(225,225,225);
  border-radius: 8px 36px 0 8px;
  align-self: end;
  margin-left: auto;
}

