@import url("https://fonts.googleapis.com/css?family=Manrope:300,700");
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700;800&display=swap");
.prompt-form, .prompt-suggestion {
  margin-top: 30px;
}

.prompt-suggestion label {
  font-weight: 600;
  font-size: 21px;
}

.description-model,
.prompt-generated,
.prompt-name,
.prompt-meta-title,
.prompt-meta-description .prompt-bad-words,
.prompt-keywords,
.prompt-meta-tags {
  font-family: "Archivo";
  font-size: 16px;
  border-radius: 10px;
}

#voicetone {
  font-size: 16px;
  font-family: "Archivo";
}

.prompt-meta-title,
.prompt-meta-description,
.prompt-bad-words textarea,
.prompt-keywords textarea {
  height: 140px !important;
  padding: 10px;
  font-family: "Archivo";
  font-size: 16px;
  resize: none;
  border-radius: 10px;
}

.prompt-bad-words label,
.prompt-keywords label {
  font-weight: 600;
  font-size: 21px;
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

.prompt-generated, .prompt-name {
  background-color: #fff;
}

.prompt-name {
  height: 70px !important;
}

.description-model {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border: none;
  background: transparent;
  height: 100%;
}

body[data-theme=light] .prompt-description-model {
  border: 1px solid light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
}

.prompt-description-model {
  height: 50vh;
  overflow: auto;
  background: #fff;
  color: #e1e1e1;
  padding: 10px;
  border-radius: 10px;
  position: relative;
}
.prompt-description-model > div.hidden {
  display: none;
}

.prompt-description-model::-webkit-scrollbar, .prompt-name::-webkit-scrollbar {
  width: 8px;
}

.prompt-generated::-webkit-scrollbar-track,
.prompt-description-model::-webkit-scrollbar-track,
.prompt-name::-webkit-scrollbar-track {
  background: transparent;
}

.prompt-generated::-webkit-scrollbar-thumb,
.prompt-description-model::-webkit-scrollbar-thumb,
.prompt-name::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
  transition: all 200ms linear;
}

.prompt-generated:hover::-webkit-scrollbar-thumb,
.prompt-description-model:hover::-webkit-scrollbar-thumb,
.prompt-name:hover::-webkit-scrollbar-thumb {
  background: #2D2B2B;
}

.prompt-generated:disabled,
.prompt-name:disabled {
  background-color: #e1e1e1;
  cursor: not-allowed;
}

.prompt-suggestion, .prompt-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.prompt-suggestion > button, .prompt-form > button {
  margin-top: 10px;
  align-self: flex-end;
}
.prompt-suggestion > label, .prompt-form > label {
  margin-bottom: 10px;
  height: 35px;
}
.prompt-suggestion .btn-wrap, .prompt-form .btn-wrap {
  display: none;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-end;
}
.prompt-suggestion .btn-wrap.show, .prompt-form .btn-wrap.show {
  display: flex;
}
.prompt-suggestion .btn-wrap.visualize, .prompt-form .btn-wrap.visualize {
  display: flex;
  justify-content: center;
}
.prompt-suggestion textarea, .prompt-form textarea {
  resize: none;
  height: 50vh;
  padding: 10px;
}

.divider {
  display: flex;
}
.divider.mid {
  gap: 10px;
}
.divider.column {
  flex-direction: column;
  gap: 30px;
}

.prompt-tone-voice {
  display: flex;
  flex-direction: column;
}
.prompt-tone-voice span {
  margin-bottom: 10px;
}
.prompt-tone-voice label {
  font-weight: 600;
  font-size: 21px;
}
.prompt-tone-voice input {
  padding: 10px;
  width: 515px;
}

body[data-theme=darkish] .modal-test > .wrap-inputs-dialog input,
body[data-theme=dark] .modal-test > .wrap-inputs-dialog input {
  background: transparent;
  color: #fbfbfb;
  border: 1px solid #fbfbfb;
  font-family: "Archivo";
}

body[data-theme=darkish] .modal-test-name input,
.modal-test-name input {
  background: transparent;
  color: #fbfbfb;
  border: 1px solid #fbfbfb;
  font-family: "Archivo";
}

body[data-theme=darkish] button[title=Fechar],
body[data-theme=dark] button[title=Fechar] {
  color: #fbfbfb !important;
}

.modal-test > .wrap-content-description {
  height: 210px;
  overflow: hidden;
  margin-bottom: 20px;
  overflow-y: auto;
  display: none;
  padding: 10px;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  background-color: #fff;
  color: #151515;
}
.modal-test > .wrap-content-description h1, .modal-test > .wrap-content-description h2, .modal-test > .wrap-content-description h3, .modal-test > .wrap-content-description h4, .modal-test > .wrap-content-description h5, .modal-test > .wrap-content-description h6 {
  color: #151515;
  margin-top: 10px;
}
.modal-test > .wrap-content-description.show {
  display: block;
}
.modal-test > .wrap-inputs-dialog {
  margin: 20px 0 20px 0;
  display: flex;
  gap: 10px;
}
.modal-test > .wrap-inputs-dialog > div:first-of-type {
  flex: 2;
  width: 320px;
}
.modal-test > .wrap-inputs-dialog > div:last-of-type {
  flex: 1;
}
.modal-test > .wrap-inputs-dialog label {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}
.modal-test > .wrap-inputs-dialog input {
  padding: 10px;
  display: block;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e1e1e1;
}
.modal-test .wrap-btn-dialog {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.modal-test .wrap-btn-dialog .editing-prompt {
  background-color: transparent;
  border: 1px solid #FFB82A;
  color: #FFB82A;
}
.modal-test .wrap-btn-dialog > .editing-prompt {
  align-self: flex-end;
}
.modal-test .wrap-btn-dialog-two {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.modal-test .wrap-btn-dialog-two > .next-step-prompt {
  display: none;
}
.modal-test .wrap-btn-dialog-two > .next-step-prompt.show {
  display: inline-block;
}

.modal-test-name h4,
.modal-test-name input {
  margin-bottom: 20px;
}
.modal-test-name label {
  margin-bottom: 10px;
  display: inline-block;
}
.modal-test-name input {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e1e1e1;
}

.info-save {
  display: inline-block;
  margin-left: 20px;
  color: #019601;
  text-transform: uppercase;
}

.model-list-propmt-head div {
  font-weight: bold;
}

.model-list-integrations {
  display: flex;
  align-items: center;
}
.model-list-integrations img {
  width: 21px;
  margin-right: 10px;
  display: inline-block;
}
.model-list-integrations-btn {
  border: 1px solid #e1e1e1;
  color: #e1e1e1;
  background: transparent;
  width: 21px;
  height: 21px;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-left: 0 !important;
}

body[data-theme=light] .model-list-integrations-btn {
  border: 1px solid #FFB82A;
  color: #FFB82A;
}

.model-list-propmt-head,
.model-list-propmt {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-prompts h3,
.list-prompts h4 {
  text-align: center;
}

.controls-integration {
  white-space: nowrap !important;
  text-align: right !important;
  display: flex;
  gap: 10px;
  align-items: center;
}
.controls-integration img {
  width: unset !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: 300ms ease-in-out;
}
.controls-integration img:active {
  transform: scale(0.9);
}
.controls-integration img:hover {
  transform: scale(1.1);
}

.model-list-integrations {
  display: flex;
  align-items: center;
  gap: 5px;
}
.model-list-integrations > div {
  position: relative;
}
.model-list-integrations > div .model-list-close-integration {
  opacity: 0;
  transition: opacity 0.2s linear;
}
.model-list-integrations > div:hover .model-list-close-integration {
  opacity: 1;
}

.model-list-propmt {
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 10px;
}

.model-list-propmt-head {
  margin-bottom: 30px;
  border-bottom: 1px solid #e1e1e1;
}
.model-list-propmt-head div:last-of-type {
  padding-right: 24px;
}

.wrap-integration {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 30px 0 30px 0;
}
.wrap-integration > label {
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  transition: all 200ms linear;
}
.wrap-integration > label:hover {
  background-color: rgba(225, 225, 225, 0.5);
}
.wrap-integration > label > input {
  cursor: pointer;
  border: none;
}
.wrap-integration > label:has(input:checked) {
  background-color: #e1e1e1;
}
.wrap-integration > label > input:checked ~ span {
  font-weight: 500;
  color: #151515;
}

.wrap-buttons-modal-list {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.wrap-buttons-modal-list .close-modal {
  background-color: transparent;
  border: 1px solid #FFB82A;
  color: #FFB82A;
}

.custom_prompts label {
  width: 100%;
}
.custom_prompts label,
.custom_prompts select {
  display: inline-block;
  vertical-align: middle;
}
.custom_prompts select {
  background: transparent;
  border: 1px solid;
  border-radius: 4px;
  font-size: 1.1em;
  color: #fbfbfb;
  padding: 8px;
  margin-top: 8px;
}
.custom_prompts select option {
  color: #151515;
}
.custom_prompts select option:disabled {
  color: #e1e1e1;
}

body[data-theme=light] .custom_prompts select {
  color: #151515;
}

.modal-links {
  width: 60vw;
  margin-top: 10px;
}
.modal-links__close {
  background: transparent;
  font-size: 30px;
  position: absolute;
  top: 10px;
  right: 10px;
  font-weight: bold;
}
.modal-links__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.modal-links__overlay.active {
  display: block;
}
.modal-links__overlay > .overlay-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.modal-links__overlay > .overlay-message h4 {
  margin-top: 30px;
}
.modal-links__overlay > .overlay-bg {
  background-color: rgba(255, 255, 255, 0.6);
  filter: blur(10px);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.modal-links__panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-links__panel-buttons {
  display: flex;
  gap: 10px;
}
.modal-links__content {
  margin-top: 20px;
  display: none;
}
.modal-links__content.active {
  display: block;
}
.modal-links__content p {
  margin-bottom: 10px;
}
.modal-links__content select {
  padding: 10px;
  background: transparent;
  border-color: #ccc;
  color: #fff;
}
.modal-links__content select option {
  color: #000;
}
.modal-links__content .action {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.modal-links__content .action #add-context {
  display: none;
  height: 40px;
}
.modal-links__table {
  border: 1px solid #ccc;
  margin-top: 20px;
}
.modal-links__table > .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  background: #212121;
}
.modal-links__table > .header span {
  padding: 10px;
}
.modal-links__table > .header span:not(:last-of-type) {
  border-right: 1px solid #ccc;
}
.modal-links__table > .header span:not(:first-of-type) {
  flex: 1;
}
.modal-links__table > .content {
  height: 250px;
  overflow-y: auto;
}
.modal-links__table > .content > label {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #ccc;
  padding: 10px;
}
.modal-links__table > .content > label span {
  flex: 1;
}
.modal-links__table > .content > label span span:first-of-type {
  margin-right: 18px;
}

.loading__spinner {
  animation: rotate 2s linear infinite;
}
.loading__path {
  stroke-dasharray: 90, 150;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: -125;
  }
}

.model-list-close-integration {
  position: absolute;
  left: 10px;
  top: -10px;
  z-index: 1;
  cursor: pointer;
  background: #FFB82A;
  color: #151515;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 200ms linear;
}

body[data-theme=light] .modal-links .modal-links__content select {
  color: #151515 !important;
}

body[data-theme=light] .modal-links .modal-links__table .header {
  background: #edebeb;
}

body[data-theme=light] .input-dialog-name {
  color: #151515;
}

.link-prompt-save {
  margin-right: 10px;
}

body[data-theme=dark] .dropdown-option,
body[data-theme=darkish] .dropdown-option {
  color: #151515;
}

.add-item-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0;
  transition: height 0.2s cubic-bezier(0.49, -0.23, 0.35, 1.4);
  overflow: hidden;
  will-change: auto;
}
.add-item-btn.active {
  height: 36px;
  margin-top: 7px;
}
.add-item-btn button {
  background-color: transparent;
  border: none;
  color: #FFB82A;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.4s linear;
  padding: 4px 6px !important;
}
.add-item-btn button:hover {
  background-color: rgba(255, 184, 42, 0.3);
}
.add-item-btn button span:first-of-type {
  font-size: 18px;
  margin-top: -2px;
}

.dropdown-options {
  box-shadow: 0px 3px 5px rgba(112, 112, 112, 0.1);
}

.dropdown-option {
  display: flex;
  gap: 10px;
  align-items: center;
}
.dropdown-option img {
  width: 14px !important;
  height: 14px !important;
}
.dropdown-option:hover, .dropdown-option:active {
  background-color: #3535fd;
  color: #fff;
}
.dropdown-option:hover img, .dropdown-option:active img {
  background-color: #fff;
  border-radius: 50%;
  padding: 1px;
}