@import "https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@100;300;400;500;700;800;900&display=swap";
*, :before, :after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Alegreya Sans, sans-serif;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  font-weight: 400;
}

body {
  background: #343541;
}

.app {
  grid-template-rows: 100vh;
  grid-template-columns: 25rem 1fr;
  display: grid;
}

@media only screen and (width <= 37.5em) {
  .app {
    grid-template-rows: 4rem calc(100vh - 4rem);
    grid-template-columns: 100vw;
  }
}

.chat {
  background-color: #343541;
  position: relative;
}

.chat ::-webkit-scrollbar {
  width: 1.2rem;
}

.chat ::-webkit-scrollbar-track {
  background-color: #202128;
}

.chat ::-webkit-scrollbar-thumb {
  background-color: #40414f;
  border-radius: 3rem;
}

.chat__overlay {
  height: 10rem;
  background: linear-gradient(to top, #343541 55%, #0000);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.chat__form {
  width: 76rem;
  margin-inline: auto;
  display: block;
  position: relative;
}

@media only screen and (width <= 62.5em) {
  .chat__form {
    width: 85%;
  }
}

.chat__input {
  width: 100%;
  height: 2.6rem;
  margin-top: 1rem;
  color: #fff;
  background-color: #40414f;
  border: 1px solid #202128;
  border-radius: .6rem;
  outline: none;
  margin-inline: auto;
  padding: 2.2rem 1.5rem;
  font-size: 1.6rem;
  display: block;
}

.chat__icon {
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  background-size: 2rem 2rem;
  border-radius: 20%;
  justify-content: center;
  align-items: center;
  transition: all .3s;
  display: flex;
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
}

.chat__icon--svg {
  width: 1.6rem;
  height: 1.6rem;
}

.chat__icon:hover {
  background-color: #202128;
}

.list {
  height: 100%;
  list-style: none;
  overflow-y: scroll;
}

.list__item {
  width: 100%;
  color: #fff;
  margin-inline: auto;
  padding: 2.8rem 0;
  font-size: 1.6rem;
}

.list__item[data-index="gpt"], .list__item[data-index="thinking"] {
  min-height: 8rem;
  background-color: #40414f;
}

.list__item:last-child {
  margin-bottom: 17rem;
}

.list__content {
  width: 76rem;
  margin-inline: auto;
  position: relative;
}

.list__content-icon {
  width: 2.6rem;
  height: 2.6rem;
  position: absolute;
  top: -.6rem;
  left: -5rem;
}

@media only screen and (width <= 75em) {
  .list__content {
    width: 80%;
  }
}

@media only screen and (width <= 62.5em) {
  .list__content {
    width: 70%;
  }
}

@media only screen and (width <= 50em) {
  .list__content {
    width: 65%;
  }
}

.sidebar {
  background-color: #202128;
  flex-direction: column;
  justify-content: space-between;
  display: flex;
}

.sidebar__login {
  cursor: pointer;
  color: #fff;
  width: 97%;
  margin-inline: auto;
  background-color: #40414f5c;
  border: 1px solid #40414f;
  border-radius: .8rem;
  margin-bottom: 2rem;
  padding: 1.2rem 1.4rem 1.2rem 2rem;
  font-size: 1.6rem;
  transition: all .1s;
  display: block;
}

.sidebar__login:hover {
  background-color: #40414f;
}

.form {
  width: 100%;
  height: 60%;
  padding-block: 1.8rem;
}

.form__list {
  height: 85%;
  transition: all .3s;
  overflow-y: scroll;
}

.form__list::-webkit-scrollbar {
  width: 1.2rem;
}

.form__list::-webkit-scrollbar-thumb {
  background-color: #0000;
  border-radius: 3rem;
}

.form__list:hover::-webkit-scrollbar-thumb {
  background-color: #40414f;
}

.form__item {
  cursor: pointer;
  height: 5rem;
  border-radius: .8rem;
  align-items: center;
  margin-left: 1rem;
  display: flex;
  overflow: hidden;
}

.form__item:hover {
  background-color: #343541;
}

.form__radio {
  display: none;
}

.form__label {
  cursor: pointer;
  height: 100%;
  color: #fff;
  width: 97%;
  border: 1px solid #0000;
  margin-inline: auto;
  padding: 1.2rem 1.4rem 1.2rem 2rem;
  font-size: 1.6rem;
  transition: all .1s;
  display: block;
}

.form__label--newchat {
  height: auto;
  border-color: #40414f;
  border-radius: .8rem;
  margin-bottom: 2rem;
  padding: 1.2rem 1.4rem 1.2rem 2rem;
}

.form__delete {
  cursor: pointer;
  width: 3rem;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  background-color: #0000;
  border: none;
  padding-right: .3rem;
}

.form__delete-icon {
  width: 100%;
  height: 3rem;
  border-radius: .5rem;
  transition: all .1s;
}

.form__delete-icon:hover {
  transform: scale(.9);
}

.form__radio:checked + .form__label + .form__delete {
  opacity: 1;
  visibility: visible;
  background-color: #40414f5c;
}

.form__radio:checked + .form__label {
  background-color: #40414f5c;
}

/*# sourceMappingURL=index.b2625c6b.css.map */
