body {
    --user-bubble-color: chartreuse;
  }

  .chat {
    max-height: calc(100vh - 50px);
    min-height: calc(100vh - 250px);
    color-scheme: dark;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .messages {
    height: 100%;
    flex-grow: 1;
    overflow: scroll;
    margin-bottom: 30px;
  }

  .idk {
    position: fixed;
    display: flex;
    bottom: 0;
    left: 0;
    width: 100%;
    flex-direction: column;

  }

  .idk div {
    gap: 8px;
    display: flex;

    width: 100%;
    padding: 8px;
    box-sizing: border-box;
  }

  .disclaimer {
    font-size: 0.6em;
    text-align: center;
    color: gray;
  }

  .sned {
    width: 37px;
    overflow: scroll;
  }

  .chat input:not(.sned) {
    width: 100%;
    padding: 4px;
  }

  .message-bubble {
    background-color: gray;
    padding: 12px 16px;
    box-sizing: border-box;
    border-radius: 8px;
    max-width: 80%;
  }

  .message-bubble > span * {
    margin: 0;
  }

  .message {
    display: flex;
    gap: 8px;
    padding: 8px;
  }

  .message.user {
    text-align: right;
    justify-content: end;
  }

  .message.user .message-bubble {
    background-color: var(--user-bubble-color);
    color: black;
  }

  .message.ai .message-bubble {
    background-color: rebeccapurple;
  }

  .message.user::after {
    content: "🙍";
  }

  .message.ai::before {
    content: "🤖";
  }

  .message span.msg {
    /*background-color: darkgrey;
        padding: 8px;
        margin: 0;
        padding-left: 16px;
        padding-right: 16px;
        border-radius: 8px;*/
  }

  #footer {
    display: none;
  }

  #back {
    display: none;
  }

  main {
    overflow-x: visible;
  }

  .chat-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .chat-info p {
    width: 80%;
  }

  #suggestions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
  }

  #suggestions span {
    padding: 16px;
    border: grey 1px solid;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
  }


  .panel {
    position: absolute;
    top: 0;
    left: -8px;
    transform: translateX(-100%);
    background-color: #00000095;
    border: #80808032 1px solid;
    backdrop-filter: blur(8px) saturate(10);
    -webkit-backdrop-filter: blur(8px) saturate(10);
    width: 30%;
    max-width: 270px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: left 250ms, right 250ms, transform 250ms, top 250ms, width 250ms;
  }

  .panel .card {
    border: 1px grey solid;
    padding: 4px;
    border-radius: 8px;
    cursor: pointer;
  }

  .chats-panel .item {
    padding: 4px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .chats-panel .item.current {
    background-color: grey;
  }

  .chats-panel .card.current {
    background-color: grey;
  }

  .chats-panel .title-date {
    display: flex;
    flex-direction: column;
  }

  .chats-panel .title-date .date {
    color: gray;
    font-size: 0.7em;
  }

  .chats-panel .item.current .title-date .date {
    color: lightgray;
  }

  .mobile-top-bar {
    display: none;
  }

  .right-panel {
    left: unset;
    right: -8px;
    transform: translate(100%);
  }

  @media (max-width: 800px) {
    .mobile-top-bar {
      display: flex;
      justify-content: space-between;
    }

    .panel {
      transform: translateX(-100%) rotate(90deg);
      left: -90vh;
      height: 80vh;
      overflow: scroll;
    }

    .right-panel {
      transform: translateX(100%) rotate(90deg);
      left: unset;
      right: -90vh;
    }

    .panel.mobile-show {
      left: 0;
      top: 96px;
      transform: translateX(0);
      z-index: 1000;
      max-width: 80%;
      width: 320px;
    }

    .right-panel.mobile-show {
      right: 0;
      left: unset;
    }

    main {
      overflow-x: hidden;
    }
  }

  /* Model switcher styles */
.model-switcher {
  margin-bottom: 20px;
}

.model-list {
  position: relative;
}

.model-switch-button {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.model-switch-button:hover {
  background-color: #3e8e41;
}

.model-list-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #00000095;
  border: #80808032 1px solid;
  backdrop-filter: blur(8px) saturate(10);
  -webkit-backdrop-filter: blur(8px) saturate(10);
  padding: 10px;
  display: none;
  z-index: 100;
}

.model-list-dropdown li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.model-list-dropdown li:hover {
  background-color: #ffffff50;
}

.model-list-dropdown li:last-child {
  border-bottom: none;
}

.model-list-dropdown li i {
  margin-right: 10px;
}

.current-model {
  font-size: 14px;
  color: #666;
}

.current-model-name {
  font-weight: bold;
}

.model-list-dropdown.show {
  display: block; /* show when .show class is added */
}


  .lds-ellipsis,
  .lds-ellipsis div {
    box-sizing: border-box;
  }

  .lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }

  .lds-ellipsis div {
    position: absolute;
    top: 33.33333px;
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }

  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }

  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }

  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }

  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }

  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }

    100% {
      transform: scale(1);
    }
  }

  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }

    100% {
      transform: scale(0);
    }
  }

  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }

    100% {
      transform: translate(24px, 0);
    }
  }

  .delete-button {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 6px 13px;
    border: 1px solid #785510;
    border-radius: 8px;
    background: #debc71;
    background: -webkit-gradient(linear, left top, left bottom, from(#debc71), to(#ffae0d));
    background: -moz-linear-gradient(top, #debc71, #ffae0d);
    background: linear-gradient(to bottom, #debc71, #ffae0d);
    -webkit-box-shadow: #efa40e 0px 0px 16px 0px;
    -moz-box-shadow: #efa40e 0px 0px 16px 0px;
    box-shadow: #efa40e 0px 0px 16px 0px;
    text-shadow: #644506 1px 1px 1px;
    font: normal normal bold 10px "Saffari Sans";
    color: #ffffff;
    text-decoration: none;
}
.delete-button:hover,
.delete-button:focus {
    border: 1px solid #c0881a;
    background: #ffe288;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffe288), to(#ffd110));
    background: -moz-linear-gradient(top, #ffe288, #ffd110);
    background: linear-gradient(to bottom, #ffe288, #ffd110);
    color: #ffffff;
    text-decoration: none;
}
.delete-button:active {
    background: #857144;
    background: -webkit-gradient(linear, left top, left bottom, from(#857144), to(#ffae0d));
    background: -moz-linear-gradient(top, #857144, #ffae0d);
    background: linear-gradient(to bottom, #857144, #ffae0d);
}
.delete-button:after{
    content:  "\0000a0";
    display: inline-block;
    height: 24px;
    width: 24px;
    line-height: 24px;
    margin: 0 -4px -6px 4px;
    position: relative;
    top: 0px;
    left: 0px;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAGSUlEQVRIiXWWXYxV1RmGn7XW3vvsOfPDmRmYOczMOXCGYVCCHhGVGLUkSIWoNQK9MPGqd5gGUyJGjFw0GCgNxZ+kDTMXpNe9QUJssZQaitAxUQal0IDIYWBQBhjOzPnb/3uvXsyUVh1X8iYr38X7fsn3vXk/wY+8P+3alV+YTj9jaToMpZBSIoQEQJMQxwlxEuND+Wa1euylXbuuz8Uj5iru3LZt/vN26sCyJYMv2FpZUhgIqUAKBBpNgtYRiUjw4jj46tKlI0eC4JXd7703+X0u9f3Ca1u2ZB+vVnc/Wii8NC+MTcOLUSGoMEGFMTKIUKGPinyMwMNOEtWWSg1GpdL8ntWrPxsZHa3/qMCvN25c8aTWB57I5zdnHEdRr4HvgN8Arw5uDbxZuHVwXajXSUWRXNDa+lBq4lZxcMmSL05cunT7BwKbNmzIPpkkBx7v7l7X6XlSNhqErguBh4xCCGb+hB74Hvg+cb1O7Looz8OMY9Fipwr127eXJoXC8Yul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E18AAbjaLTFn0jo5Sf/99zHIZ2/PQ587R2dfH9KJFKCnp/PILpoaHMeIYyzD4trk5OgMfVFtahtT4xESlZ8WKE2PVaseydHplXgjREseI06fpW7CA7okJnLffxg5Dmk2TtGFg+T7Jxx+TKxTIlK7gvPsuVhiSMk1upNPJX5LkYCWXe+30mTM37y33+qefzvaWSn/cAM8sj2NpJgkp08TQGpUkKCEQgPivg7VGK0UkBGEYEkjJv5RK/qr1sVI+/4vjJ09OfCcPrly9Wl/24INfXnecJQtNs39QSmEJgS0lacOgSSnsWVhKYRsGhhCYQJNhcNa0kqNCHKv29Lx+5JNPSnMm2vlr127/5OWX/350bGzeYtMsDpimbLYsLMvCSKVQlvU/mCamaYJpckqp6PdwcP7atb86eOhQ6f855w79nTvnjx/96A/PGcaLvb5ntQD2bLdSCGKtCbXGQXDDTgUfRNHh7Lp1v/zN3r0/CP05BQC2bXkl31Srrcv4Xkc70CIEthBIINIaT2tqCKbsVHm6peX4b4eG5jxb/gOwIQNK803P1QAAAABJRU5ErkJggg==") no-repeat left center transparent;
    background-size: 100% 100%;
}

.aiappstabs {
  margin: 0;
  display: flex;
  padding: 0;
}

.aiappstabs ul {
  padding: 8px;
  margin: 0;
  cursor: pointer;
  
}

.aiappstabs a {
  color: white;
  text-decoration: none;
}
.aiappstabs .active {
  border: 10px solid;
  border-image-slice: 1;
  border-width: 5px;
  /*border-bottom: rgb(253,187,45) 3px solid;*/
  border-image-source: linear-gradient(90deg, rgba(253,187,45,1) 0%, rgba(34,193,195,1) 100%);
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.chat.paint .idk {
  position: static;
}

.chat.paint {
  max-height: none;
}

.hqaitoolbar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.image-gallery {
  display: grid;
  place-items: center;
}

.image-gallery img {
  width: 100%;
}

/* CSS */
.button-71 {
  background-color: #0078d0;
  border: 0;
  border-radius: 56px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: system-ui,-apple-system,system-ui,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",sans-serif;
  font-size: 18px;
  font-weight: 600;
  outline: 0;
  padding: 16px 21px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  scale: 0.7;
}

.button-71:before {
  background-color: initial;
  background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
  border-radius: 125px;
  content: "";
  height: 50%;
  left: 4%;
  opacity: .5;
  position: absolute;
  top: 0;
  transition: all .3s;
  width: 92%;
  z-index: 101;
}

.button-71:hover {
  box-shadow: rgba(255, 255, 255, .2) 0 3px 15px inset, rgba(0, 0, 0, .1) 0 3px 5px, rgba(0, 0, 0, .1) 0 10px 13px;
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .button-71 {
    padding: 16px 48px;
  }
}

/* CSS */
.button-53 {
  background-color: #3DD1E7;
  border: 0 solid #E5E7EB;
  box-sizing: border-box;
  color: #000000;
  display: flex;
  font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.75rem;
  padding: .75rem 1.65rem;
  position: relative;
  text-align: center;
  text-decoration: none #000000 solid;
  text-decoration-thickness: auto;
  width: 100%;
  max-width: 460px;
  position: relative;
  cursor: pointer;
  transform: rotate(-2deg) scale(0.7);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-53:focus {
  outline: 0;
}

.button-53:after {
  content: '';
  position: absolute;
  border: 1px solid #000000;
  bottom: 4px;
  left: 4px;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
}

.button-53:hover:after {
  bottom: 2px;
  left: 2px;
}

@media (min-width: 768px) {
  .button-53 {
    padding: .75rem 3rem;
    font-size: 1.25rem;
  }
}
