#response,
#chat-inputs,
.send-button,
.send {
  transition-duration: var(--transition-3th);
}
.flex {
  display: flex;
}
.flex-row {
  flex-flow: row;
}
.flex-column {
  flex-flow: column;
}

#response {
  height: 70vh;
  width: 100vw;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  gap: 30px;
  overflow-y: scroll;
}

#banner-greetings {
  font-size: var(--font-size-1);
  font-weight: 500;
}

#banner-sub {
  font-size: var(--font-size-1-5);
}

#banner-sub-gradient {
  background-image: linear-gradient(to right, #7b59ff, #08aed6);
  background-clip: text;
  color: transparent;
}

#chat {
  position: fixed;
  bottom: 2vh;
  z-index: 10;
  display: flex;
  gap: 20px;
  flex-flow: column;
  align-items: center;
}

#chat-inputs {
  gap: 10px;
  width: 90vw;
  border: 1px solid var(--gray-700);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  padding: 15px 10px 10px 10px;
  display: flex;
  flex-flow: column;
}

#chat-inputs:has(#chat-prompt:focus) {
  box-shadow: 6px 6px 15px var(--lightgray-color);
}

#chat-prompt {
  border: none;
  field-sizing: content;
  width: 100%;
  background-color: transparent;
  font-size: var(--font-size-3);
  resize: none;
  color: var(--main-text-color);
  min-height: 20px;
  max-height: 10lh;
  line-height: 1.5;
  padding: 0 10px;
}

#chat-prompt:focus {
  outline: none;
}

#function-flow {
  width: 100%;
  display: inline-flex;
  gap: 10px;
}

.function-button {
  background: transparent;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gray-700);
  color: var(--main-text-color);
  transition-duration: var(--transition-3th);
}

#think-toggle[data-think="true"] {
  background-color: var(--alt-bg-color);
  color: var(--alt-text-color);
}

#models-dialog {
  border-radius: 30px;
  backdrop-filter: blur(4px);
  border: 1px solid var(--gray-700);
}

.models {
  list-style-type: none;
}

.model-type {
  width: 300px;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 1fr 10fr;
  column-gap: 10px;
  border: none;
  background-color: transparent;
  font-family: "Syne";
  color: var(--main-text-color);
  text-align: left;
}

.model-type-icon {
  display: grid;
  place-items: center;
  grid-row: span 2;
}

.model-name {
  font-weight: bold;
  font-size: var(--font-size-2);
  color: var(--main-text-color);
  display: flex;
  flex-flow: column;
}

.model-type-description {
  color: var(--primary-gray-color);
  font-size: var(--font-size-3);
}

#select-model-button {
  width: 100px;
  height: 35px;
  border-radius: 30px;
  border: none;
  font-weight: bold;
  font-family: "Syne";
  font-size: var(--font-size-3);
  letter-spacing: 1px;
  border: 1px solid var(--gray-700);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--main-text-color);
  transition-duration: var(--transition-3th);
  background-color: transparent;
}

/*#select-model-button[data-model-show="true"] {
  background-color: var(--lightgray-color);
  border: 1px solid transparent;
}*/

.lucide-chevron-up {
  stroke: var(--main-text-color);
  transition-duration: var(--transition-3th);
}

/*.function-button:not(.negative-button):active,*/
.function-button:not(.negative-button):hover {
  background-color: var(--lightgray-color);
}

.add {
  margin-right: auto;
}

#chat-prompt::selection,
.negative-button {
  background-color: var(--alt-bg-color);
  color: var(--alt-text-color);
}

.send-button:disabled {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.5;
}

#hint {
  color: var(--primary-gray-color);
  text-align: center;
  font-size: var(--font-size-3);
  padding: 0 30px;
}

#hint>span {
  text-decoration: underline;
}
.auth-window {
  height: 120dvh;
  width: 100vw;
  padding: 0;
  position: absolute;
  top: 0;
  background-color: var(--main-bg-color);
  z-index: 20;
  display: none;
  border: none;
}
#login-form, #signup-form {
  display: flex;
  flex-flow: column;
  align-items: center;
  align-items: ;
}
#btn-signup-call, #btn-login-call {
  all: unset;
  font-size: inherit;
  text-decoration: underline;
  
}
[popover] {
border: none;
}
#attachment-wrap {
z-index: 500;
  inset: unset;
  bottom: 0;
}
#attachment-wrap::backdrop {
  animation: backdropShow 0.3s 1 ease-in-out forwards;
}
#attachment-wrap:popover-open {
  animation: attachment 0.3s ease-in-out forwards;
}
#attachment-wrap:where(:not(:popover-open)) {
  animation: attachmentClose 1s ease-in-out forwards;
}

#attachment {
background-color: var(--main-bg-color);
display: flex;
flex-flow: column;
width: 100vw;
border-radius: 50px 50px 0 0;
padding: 20px;
border-top: 1px solid var(--gray-700);
}

.a-element {
font-size: 1.1em;
  color: var(--main-text-color);
  border: none;
  width: 100%;
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  font-family: "Rubik";
}

#hide-attachment {
  color: var(--main-text-color);
  align-self: flex-end;
}
.bubble {
  border-radius: 30px 0 30px 30px;
  padding: 12px;
  background-color: var(--bubble-gray);
  color: var(--main-text-color);
  max-width: 50vw;
  animation: fade var(--transition-3th);
}
::selection {
  color: var(--alt-text-color);
  background-color: var(--alt-bg-color);
}
#prompt-bubble-container {
  display: flex;
  flex-flow: column;
  gap: 10px;
}
#prompt-bubble-icons {
  display: inline-flex;
  gap: 8px;
  justify-content: flex-end;
}