@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

body {
  background-color: #f7f5f2;
  font-family: Inter;
}

.top-header {
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgb(249, 248, 246);
  height: 73px;
  margin-left: max(25vw, 320px);
  border-bottom: 1px solid rgba(26, 25, 24, 0.1);
}

.lang-bar {
  position: absolute;
  bottom: -40px;
  height: 40px;
  width: 100%;
  text-align: right;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  padding-right: 5%;
  padding-top: 8px;
}

#langSelector {
  border: none;
  font-weight: bold;
  font-size: 14px;
  background-color: #ffffff;
  border-radius: 4px;
  border: 1px solid #e1dfdc;
}

.menu-button {
  position: absolute;
  left: 10px;
  bottom: 0;
  display: none;
  padding: 20px;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: #726c65;
  border-radius: 100px;
  margin: 4px 0;
}

.top-header .left {
  position: absolute;
  left: 30px;
  top: 15px;
  border-radius: 4px;
  border: 1px solid #e1dfdc;
}

.top-header .right {
  position: absolute;
  right: 30px;
  top: 28px;
  border-radius: 4px;
  border: 1px solid #e1dfdc;
}

.centered-top-info {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: #1a1918;
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.left-menu {
  z-index: 2;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background: #f7f5f2;
  width: max(25vw, 320px);
  border-right: 1px solid rgba(26, 25, 24, 0.1);
}

.menu-user-button {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f7f5f2;
  border-bottom: 1px solid #e1dfdc;
}

.menu-user-button .user-icon {
  border: 1px solid #e1dfdc;
  border-radius: 8px;
  padding: 8px;
}

.username {
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  color: #1a1918;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.user-menu {
  z-index: 1;
  display: none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: 100%;
  padding-top: 8px;
  padding-bottom: 8px;

  border-radius: 4px;
  background: #f7f5f2;
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.16);
}

.user-menu-element {
  cursor: pointer;
  display: flex;
  padding: 16px 24px;
  align-items: start;
  color: #1a1918;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

#langSelector {
  cursor: pointer;
  border: none;
  font-weight: bold;
  font-family: Inter;
  font-size: 16px;
  background-color: #f7f5f3;
  border-radius: 4px;
  width: 100%;
}

.user-menu.show {
  display: block;
}

.all-conversations {
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.header {
  color: #8c8c8b;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
}

.conversation-list {
  height: calc(100vh - 330px);
  overflow: auto;
}

.conversation-element {
  width: 100%;
  border-radius: 2px;
  margin-top: 8px;
  padding: 16px;
  cursor: pointer;
  position: relative;
  padding-right: 42px;
  border: 1px solid transparent;

  color: #1a1918;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.conversation-element img {
  display: none;
}

.conversation-element.active {
  background: #f4efe8;
  border-radius: 4px;
  border: 1px solid #e1dfdc;
}

.conversation-element.active img {
  display: inline;
  position: absolute;
  right: 18px;
}

.left-menu-footer {
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.left-menu-footer .button-secondary {
  border: 1px solid #e1dfdc;
}

.wrapped {
  display: none !important;
}

.container {
  padding-bottom: 112px;
}

.generation-in-progress .container {
  padding-bottom: 173px;
}

.container-wrapper {
  margin-top: 86px;
  margin-left: max(25vw, 320px);
}

.input-group.prompt-input {
  border-top: 2px solid rgb(247 245 242);
  margin-bottom: 10px;
}

.below-send-text {
  color: #8c8c8b;
  text-align: center;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 10px;
}

.chat-footer {
  position: fixed;
  bottom: 0;
  left: max(25vw, 320px);
  padding-left: 48px;
  right: 0;
  padding-right: 48px;
  height: 115px;
  background-color: #f7f5f2;
  display: flex;
  justify-content: center;
}

.chat-footer-content {
  position: relative;
  max-width: 864px;
  width: 100%;
  background-color: #f7f5f2;
}

.footer-bottom {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-info {
  color: #000;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.footer-links {
  color: #285ff5;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: block;
}
.footer-links a {
  color: #285ff5;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.input-group.prompt-input textarea {
  padding-right: 48px;
  border-radius: 4px;
  border: 1px solid #e1dfdc;
  background: #fff;
  box-shadow: 0px 8px 24px 0px rgba(140, 140, 139, 0.24);
}

.input-group.prompt-input textarea::placeholder {
  color: #8c8c8b;
  font-weight: 400;
}

.top-alert {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  display: none;
  border-radius: 0;
  z-index: 999;
  padding: 4vh;
}

.new-session-wrapper {
  position: absolute;
  bottom: 40px;
  left: 48px;
  right: 48px;
}

.new-session-button {
  float: right;
  border-radius: 4px;
  border-width: 0;
  background-color: #285ff5;
  color: #ffffff;
  padding: 15px;
  padding-left: 25px;
  padding-right: 25px;
  width: 100%;
}

.upgrade-button {
  display: none;
  padding: 17px;
  border-radius: 4px;
  background: var(--neutrals-neutral-200, #f4efe8);
  color: var(--neutrals-black, #1a1918);
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 100%;
  border-width: 0;
  margin-bottom: 16px;
}

.upgrade-button.show {
  display: block;
  background: var(--neutrals-neutral-200, #f4efe8);
  color: var(--neutrals-black, #1a1918);
}

.question-wrapper {
  text-align: right;
  position: relative;
}

.question-wrapper img {
  position: absolute;
  bottom: 10px;
  right: 0;
  border-radius: 4px;
  border: 1px solid #e1dfdc;
}

.answer-wrapper {
  position: relative;
}

.answer-wrapper img {
  position: absolute;
  bottom: 10px;
  left: 0;
  border-radius: 4px;
  border: 1px solid #e1dfdc;
}

.question {
  display: inline-block;
  background-color: #f4efe8;
  color: #1a1918;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
  margin-bottom: 10px;
  margin-left: 36px;
  margin-right: 36px;
  max-width: calc(100% - 72px);
  overflow-wrap: break-word;
  border-radius: 4px;
  border: 1px solid #e1dfdc;
}

.answer {
  display: inline-block;
  background-color: #ffffff;
  color: #1a1918;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
  margin-bottom: 10px;
  margin-left: 36px;
  margin-right: 36px;
  max-width: calc(100% - 72px);
  overflow-wrap: break-word;
  border-radius: 4px;
  border: 1px solid #e1dfdc;
}

.answer a {
  text-decoration: underline !important;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.welcome-info-demo,
.welcome-info-creative {
  display: none;
}

.welcome-info-demo.show,
.welcome-info-creative.show {
  display: inline-block;
}

.form-control {
  border-radius: 0;
  border-width: 0;
}

.send-button {
  position: absolute !important;
  right: 1px;
  top: 1px;
  bottom: 1px;
  border-radius: 0;
  border-width: 0;
  background: white;
  transition-duration: 0s;
  z-index: 99999 !important;
}

.send-button:hover .r {
  display: none;
}

.send-button:hover .h {
  display: inline;
}
.send-button .h {
  display: none;
}

.send-button img {
  vertical-align: unset;
}

.show-more {
  border-radius: 0;
}

.top-question {
  margin-top: 10px;
  margin-left: 36px;
}

.blinking-cursor {
  font-weight: 100;
  color: #2e3d48;
  -webkit-animation: 1s blink step-end infinite;
  -moz-animation: 1s blink step-end infinite;
  -ms-animation: 1s blink step-end infinite;
  -o-animation: 1s blink step-end infinite;
  animation: 1s blink step-end infinite;
}

@keyframes "blink" {
  from,
  to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-moz-keyframes blink {
  from,
  to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-webkit-keyframes "blink" {
  from,
  to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-ms-keyframes "blink" {
  from,
  to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-o-keyframes "blink" {
  from,
  to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

.stop-button {
  z-index: -1;
  visibility: hidden;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -54px;

  width: fit-content;
  display: inline-flex;
  padding: 6px 16px;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  color: #1a1918;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid #e1dfdc;

  transition-property: bottom, visibility;
  transition-duration: 0.5s;
}

.generation-in-progress .stop-button {
  visibility: visible;
  bottom: 123px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.help-tiles {
  display: none;
  position: absolute;
  background: #f7f5f2;
  left: 0;
  bottom: calc(100% + 24px);
  right: 0;
  grid-template-columns: repeat(2, 2fr);
  grid-template-rows: repeat(2, 2fr);
  gap: 16px;
}

.help-tiles.visible {
  display: grid;
}

.help-tile {
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
  display: flex;
  background: #f7f5f2;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid #e1dfdc;
}

.help-tile:hover {
  background: #f4efe8;
}

.help-tile-label {
  color: #1a1918;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.help-tile-content {
  color: #726c65;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px; /* 160% */
  opacity: 0.87;
}

.a-modal-dialog {
  max-width: 896px;
}

.a-modal-content {
  width: 896px;
  height: 739px;
  background-color: #f7f5f2;
  stroke-width: 1px;
  stroke: #e1dfdc;
  border: none;
  padding: 32px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.a-modal-content .heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.a-modal-content .heading .title {
  color: #1a1918;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px; /* 133.333% */
}

.a-modal-content .heading .subtitle {
  color: #1a1918;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.a-modal-content .plans {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.a-modal-content .plans .plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;

  width: 408px;
  height: 552px;
  padding: 24px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--neutrals-neutral-300, #e1dfdc);
  background: var(--neutrals-neutral-100, #f7f5f2);

  color: var(--neutrals-black, #1a1918);
  /* Headlines/Headline-S */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
}

.a-modal-content .plans .plan.highlighted {
  background: var(--neutrals-neutral-200, #f4efe8);
}

.a-modal-content .plan-price .big {
  color: var(--neutrals-black, #1a1918);
  /* Headlines/Headline-L */
  font-family: Inter;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px; /* 150% */
}

.a-modal-content .gray {
  color: var(--neutrals-neutral-400, #8c8c8b);
  /* Paragraphs/Paragraph-M */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}
.a-modal-content .plan-bullets {
  display: flex;
  width: 360px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.a-modal-content .bullet {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 32px;

  color: var(--neutrals-black, #1a1918);
  /* Paragraphs/Paragraph-M */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.a-modal-content .bullet img {
  width: 20px;
  height: 20px;
}

.a-modal-content .primary-enabled {
  cursor: pointer;
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  align-self: stretch;

  border-radius: 4px;
  background: var(--brand-blue, #285ff5);
  color: var(--neutrals-white, #fff);
  text-decoration: none;
  text-align: center;
  /* Paragraphs/Paragraph-M */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.a-modal-content .secondary-disabled {
  cursor: pointer;
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;

  color: var(--neutrals-neutral-400, #8c8c8b);
  text-align: center;
  /* Paragraphs/Paragraph-M */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.a-modal-content .close {
  cursor: pointer;
  position: absolute;
  right: 28px;
  top: 28px;
}
.a-modal-content .close img {
  width: 28px;
}

.mode-toggle {
  width: 100%;
  margin-bottom: 24px;
}

.mode-toggle .mode-toggle-bg {
  border-radius: 8px;
  width: 100%;
  justify-content: space-between;
  gap: 0;
}

.mode-toggle .mode-toggle-element {
  border-radius: 4px;
  padding-top: 7px;
  padding-bottom: 7px;
  width: 50%;
}

.mode-toggle .mode-toggle-help-wrapper img {
  display: block;
}

.mode-toggle .mode-toggle-help-wrapper .mode-toggle-info {
  left: calc(50% - 120px);
}

.no-conversation-screen {
  background: #f7f5f3;
  z-index: 1;
  position: absolute;
  top: 0;
  bottom: 70px;
  right: 0;
  left: max(25vw, 320px);

  padding-top: 82px;
  padding-left: 48px;
  padding-right: 48px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.logo {
  padding: 24px;
}

.search-label {
  color: var(--neutrals-black, #1a1918);
  text-align: center;
  /* Headlines/Headline-L */
  font-family: Inter;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px; /* 150% */
  margin-top: 28px;
  margin-bottom: 12px;
}

.under-search-label .wistia-link {
  color: #285ff5;
  font-weight: bold;
}

.no-conversation-screen .input-group.prompt-input {
  position: relative;
  border-top: 2px solid rgb(247 245 242);
  margin-bottom: 10px;
  width: 100%;
  max-width: 704px;
}

.no-conversation-screen .input-group.prompt-input textarea {
  padding-right: 48px;

  border-radius: 8px !important;
  border: 2px solid #e1dfdc;
  background: #fff;
  box-shadow: 0px 8px 24px 0px rgba(140, 140, 139, 0.24);

  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */

  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2.5rem;
}

.no-conversation-screen .input-group.prompt-input textarea::placeholder {
  color: #8c8c8b;
  font-weight: 400;
}

.no-conversation-screen .input-group.prompt-input textarea:focus-visible {
  outline: none;
}

.no-conversation-screen .send-button {
  border-radius: 8px;
  right: 2px;
  top: 2px;
  bottom: 2px;
}

.no-conversation-screen .below-send-text {
  max-width: 704px;
}

.input-group.prompt-input textarea.no-shadow {
  box-shadow: none;
}

@media screen and (max-width: 767px) {
  .no-conversation-screen {
    position: fixed;
    left: 0;
    top: 60px;
    padding: 16px;
  }

  .no-conversation-screen .search-label {
    margin-top: 0;
  }

  .send-button {
    top: 1px;
    bottom: -2px;
  }

  .send-button img {
    vertical-align: middle;
  }

  .a-modal-content {
    width: 100%;
    height: 100%;
  }

  .a-modal-content .plans,
  .a-modal-content .plans .plan,
  .a-modal-content .plans .plan .plan-bullets {
    width: 100%;
  }

  .a-modal-content .plans {
    flex-direction: column;
  }

  .a-modal-content .plans .plan {
    height: auto;
    padding-bottom: 100px;
  }

  .left-menu {
    display: none;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
  }
  .left-menu .visible-part {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: #f7f5f2;
    width: 80%;
    border-right: 1px solid rgba(26, 25, 24, 0.1);
  }
  .all-conversations {
    padding: 24px;
  }
  .header {
    font-size: 16px;
    margin-bottom: 16px;
  }
  .conversation-list {
    height: calc(100vh - 260px);
  }
  .conversation-element {
    font-size: 14px;
  }
  .container-wrapper {
    margin-top: 68px;
    margin-left: 0;
    padding-bottom: 106px;
  }
  .centered-top-info {
    font-size: 14px;
    font-weight: 400;
    padding-left: 70px;
  }

  .top-header {
    background: #ffffff;
    height: 60px;
    margin-left: 0;
  }
  .top-header .left {
    display: none;
  }
  .top-header .right {
    display: none;
  }
  .menu-button {
    display: inline;
  }
  .new-session-button {
    font-size: 14px;
  }
  .closing-part {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    width: 20%;
  }

  .container {
    padding-bottom: 50px;
  }

  .container.extended {
    padding-bottom: 170px;
  }

  .generation-in-progress .container {
    padding-bottom: 100px;
  }

  .chat-footer {
    height: 134px;
    left: 0;
    right: 0;
    padding-left: 0;
    padding-right: 0;
    background: rgb(255 255 255);
  }

  .chat-footer-content {
    background-color: #ffffff;
  }
  .input-group.prompt-input {
    height: 56px;
    border-top: 1px solid rgba(26, 25, 24, 0.1);
  }
  .input-group.prompt-input textarea {
    padding: 16px;
    padding-right: 48px;
    border-bottom: 1px solid rgba(26, 25, 24, 0.1);
  }
  .footer-bottom {
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 3px;
  }
  .footer-info {
    font-size: 10px;
  }
  .footer-links {
    font-size: 10px;
  }
  .footer-links a {
    font-size: 10px;
  }

  .generation-in-progress .stop-button {
    bottom: 146px;
  }

  .help-tiles {
    gap: 10px;
    bottom: 100%;
    padding-bottom: 10px;
  }

  .help-tile {
    padding: 10px;
    align-items: center;
    text-align: center;
  }

  .help-tile-content {
    display: none;
  }

  .help-title-label {
    font-size: 14px;
  }

  .mode-toggle {
    bottom: -98px;
  }
}
