*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  margin-bottom: 10px;
}

body {
  background-color: #fafafa;
}

#app {
  width: auto;
  min-height: 600px;
  height: auto;
  /* iPhone bar fix */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.top-bar {
  height: 50px;
  width: 100%;
  display: flex;
  padding-left: 20px;
  border-bottom: solid 1px #eeeeee;
}

.top-bar form {
  display: flex;
  justify-content: start;
  align-items: center;
}

.top-bar svg {
  width: 28px;
}

.top-bar h1 {
  font-size: 20px;
  font-weight: normal;
  padding: 0 10px;
  color: #636C72;
}

.top-bar p {
  font-size: 16px;
}

/* --------------------------------------------
  #chat_container
-------------------------------------------- */

#chat_container {
  flex: 0 1 calc(100% - 246px);
  gap: 10px;
  width: 100%;
  max-width: 700px;
  height: 100%;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  margin: 0px auto;
}

/* hides scrollbar */
#chat_container::-webkit-scrollbar {
  display: none;
}

.wrapper {
  width: 100%;
  padding: 15px 0;
}

.wrapper.false {
  padding-top: 0;
  padding-bottom: 0;
}

.false .profile {
  display: none;
}

.false .message {
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: start;
  max-width: 50%;
  background: #eeeeee;
  padding: 0.5rem 0.7rem;
  border-radius: 7px;
}

.ai {
  background: #fafafa;
  border-radius: 6px;
  max-width: 700px;
}

.wrapper.false .chat {
  justify-content: flex-end;
}

.chat {
  width: 100%;
  max-width: 1280px;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.result__header-icon-frame {
  width: 40px;
}

.profile {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 2px #e3e3e3;
}

.profile img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.ai .profile img {
  width: 70%;
  height: 70%;
  margin-right: -2px;
  object-fit: contain;
}

.message {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 5px;
  max-width: 700px;
  /*

   * The pre-wrap value allows the browser to wrap long lines of text onto multiple lines if necessary.

   * The default value for the white-space property in CSS is "normal". This tells the browser to collapse multiple white space characters into a single space, and to wrap text onto multiple lines as needed to fit within its container.

*/
  xwhite-space: pre-wrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

ol,
ul,
li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.message ul {
  margin-left: 15px;
  padding-left: 5px;
}

.message ul li {
  list-style-type: square;
  margin: 8px
}

.message ol {
  margin-left: 15px;
  padding-left: 5px;
}

.message ol li {
  list-style-type: decimal;
  margin: 8px
}

/* hides scrollbar */
.message::-webkit-scrollbar {
  display: none;
}

.source-ai-code {
  background-color: #f2f5f5;
  border: solid 1px #dce4e6;
  padding: 10px;
  margin: 20px 0;
  font-size: 11px;
  color: #444;
}

.form-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.textarea-container {
  display: flex;
  padding-bottom: 10px;
  width: 80%;
  margin: 0 auto;
  position: relative;
  /* NEW CODE */
}

.footer p {
  text-align: center;
  font-size: 12px;
  padding: 0;
  color: #636C72;
  font-weight: 500;
}

textarea:focus {
  border: solid 1px #0c84c9;
}

button {
  outline: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
}

form img {
  width: 24px;
  height: 24px;
  margin-left: 10px;
}

.additional-info-wrapper {
  padding: 5px 0 10px;
  border-top: solid 1px #dce4e6;
  margin-top: 16px;
  margin-right: 24px;
  max-width: 600px;
}

.additional-info-wrapper:first-of-type,
.additional-info-wrapper:nth-of-type(2) {
  border-top: 0
}

a {
  color: #004a9f;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* FOLLOW-UP SUGGESTIONS */
.ai-followup {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  font-size: 14px;
}

.ai-followup-suggestion {
  display: flex;
  align-items: self-start;
  border: solid 1px #dce4e6;
  border-radius: 12px;
  padding: 10px 12px;
  background-color: #f2f5f5;
  cursor: pointer;
  gap: 8px;
}

.ai-followup-suggestion:hover {
  border-color: #0c84c9;
}

.suggestion-container {
  padding-bottom: 10px;
  margin: 0 auto;
  column-count: 2;
  column-gap: 8px;
}

.form-container .suggestion-container {
  width: 80%;
  padding-right: 34px;
}

.suggestion-item {
  color: #747474;
  text-align: center;
  border: solid 2px #e8e8e8;
  border-radius: 12px;
  background: white;
  font-size: 14px;
  cursor: pointer;
  padding: 10px;
  margin-bottom: 8px;
  box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.suggestion-item:hover {
  border: solid 2px #0c84c9;
}

/* ----------------------------------------------------------------------------------*/
/* ----------------------------------- AI FEEDBACK ---------------------------------*/
/* ----------------------------------------------------------------------------------*/
#feedback {
  border: 0;
  background-color: #f2f5f5;
  padding: 15px 15px 0;
  max-width: 700px;
  margin: 5px;
  font-family: "Segoe UI", ui-sans-serif, -apple-system, system-ui, Arial, Helvetica, sans-serif;
}

#feedback input {
  text-indent: 0;
}

#feedback .row {
  display: block;
  position: relative;
  clear: both;
  margin: 0 0 15px 0;
}

#feedback p {
  font-size: 13px;
  color: #666666;
  margin-bottom: 15px;
  padding-bottom: 10px;
}

#feedback label {
  display: block;
  margin-bottom: 15px;
  font-size: 15px;
}

#feedback label.float {
  width: 60px;
  float: left;
  padding-top: 8px;
}

#feedback .small {
  color: #666666;
  display: block;
  font-size: 11px;
  font-weight: normal;
  text-align: right;
  width: 80px;
}

#feedback .inputfield,
#feedback select,
#feedback textarea,
#feedback .indentedfield {
  font-size: 15px;
  padding: 4px 12px;
  border: solid 1px #A5AEB5;
  max-width: 650px;
}

#feedback textarea {
  padding: 10px 12px;
  resize: none;
}

#feedback textarea {
  width: 100%;
  color: #222;
  font-size: 16px;
  padding: 10px;
  border-radius: 5px;
  outline: none;
  border: solid 1px #A5AEB5;
  padding-left: 16px;
  background: white;
}

#feedback .indentedfield {
  float: left;
}

#feedback .check {
  display: none;
}

#feedback input[type=submit],
#feedback input[type=button] {
  padding: 10px 20px;
  margin-right: 10px;
  border: 1px solid #CCC;
  cursor: pointer;
  background-color: #EFEFEF;
}

#feedback input[type=submit] {
  background-color: #1e6bb3;
  border: 1px solid #1e6bb3;
  color: #fff;
}

#feedback .status-text {
  xborder-left: 3px solid #ab0000;
  xpadding: 10px 0 10px 15px;
}

.feedback {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}

.feedback img {
  cursor: pointer;
  opacity: 0.6;
}

.feedback img:hover {
  opacity: 1;
}

.feedback iframe {
  height: 230px;
  border: 1px solid #CCC;
  overflow: hidden;
}

.feedback-controls {
  xposition: absolute;
  xright: 8px;
  xtop: 8px;
  padding: 2px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #FFF;
  width: 102px;
  height: 30px;
  text-align: center;
  margin-bottom: 10px;
}

.thumb {
  height: 20px;
  width: 22px;
  background-image: url("images/icons/thumb.svg");
  background-position: 50% 50%;
  display: inline-block;
  background-repeat: no-repeat;
  margin: 2px 3px;
  opacity: 0.7;
  cursor: pointer;
}

.thumb:hover {
  opacity: 1;
}

.thumb-down {
  transform: rotate(180deg);
}

.filled {
  background-image: url("images/icons/thumb-filled.svg");
  opacity: 1;
}

.btn-copy {
  height: 20px;
  width: 20px;
  background-image: url("images/icons/copy.svg");
  background-position: 50% 50%;
  background-size: contain;
  display: inline-block;
  background-repeat: no-repeat;
  margin: 2px 1px 2px 3px;
  opacity: 0.7;
  cursor: pointer;
}

.btn-copy:hover {
  opacity: 1;
}

/* ---SHIMMER--- */
.w80 {
  width: 80%;
}

.shimmer_wrapper {
  width: 0px;
  animation: fullView 0.5s forwards cubic-bezier(0.250, 0.460, 0.450, 0.940);
  margin-top: -8px;
}

.profilePic {
  height: 65px;
  width: 65px;
  border-radius: 50%;
}

.shimmer_line {
  height: 15px;
  background: #777;
  margin-top: 12px;
  border-radius: 4px;
}

@keyframes fullView {
  100% {
    width: 100%;
  }
}

.animate {
  animation: shimmer 5s infinite linear;
  background: linear-gradient(to right, #eff1f3 4%, #e2e2e2 25%, #eff1f3 36%);
  background-size: 1000px 100%;
}

.delay1 {
  animation-delay: .3s;
}

.delay2 {
  animation-delay: .6s;
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

/* LEARN MORE LINKS */
.ai-learn-more-item {
  display: flex;
  align-items: self-start;
  cursor: pointer;
  gap: 8px;
  border: 0;
  background: none;
  padding: 3px 12px;
}

.ai-learn-more-link {
  text-decoration: none
}

.ai-learn-more-link:hover {
  text-decoration: none
}

.ai-learn-more-item-site {
  margin-bottom: 6px;
}

.ai-learn-more-item-icon {
  width: 28px;
  height: 28px;
  text-align: center;
  border: 1px solid #ececec;
  background-color: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-learn-more-item-icon img {
  width: 18px;
  height: 18px;
}

.ai-learn-more-item-site p {
  margin: 0;
}

.ai-learn-more-item-site p:last-child {
  font-size: 14px;
  color: #444;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

.ai-learn-more-item-site .ai-learn-more-item-site-title {
  color: #004a9f;
  line-height: 1.25;
  font-size: 16px;
}

/* FOLLOW-UP QUESTION FORM */
.ai-followup-input-form {
  margin: 16px 0 0 0;
  margin-right: -29px;
}

/* --------------------------------------------
FOLLOW-UP VIOLATOR
-------------------------------------------- */

.ai-followup-input-form .textarea-container {
  margin: 0;
}

.ai-followup-input-notification {
  font-size: 16px;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: bold;
  z-index: 9;
}

.ai-followup-input-notification.hidden {
  display: none;
}

.ai-followup-input-notification span {
  top: 50%;
  position: relative;
  transform: translateY(-50%);
  display: block;
  width: 55%;
  margin: 0 auto;
  text-align: center;
}

/* ---AI INPUT basics css--- */
.ai-input-form .button-new:hover {
  background-color: #eee;
}

.ai-input-form .legal-notice {
  flex: 0 1 400px;
  color: #999;
  font-size: 13px;
  line-height: 1.15;
}

/* --------------------------------------------
AI-INPUT-FORM CONTROLS
-------------------------------------------- */
[class*="ai-input-form__controls"] {
  display: flex;
  justify-content: space-between;
}

.ai-input-form__controls--inner {
  align-items: flex-end;
  flex: 0 1 32px;
  padding: 0 5px 3px 0;
}

.ai-input-form__controls--outer {
  align-items: center;
  padding: 17px 4px 0 8px;
}

/*  CHARACTER COUNTER */
.counter {
  position: absolute;
  right: 35px;
  color: gray;
  font-size: 12px;
  bottom: -12px;
}

/* AI USER OPTION CONTROLS */
.toggle-checkbox {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  font-size: 16px;
  color: #636C72;
}

.toggle-checkbox input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border-radius: 18px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 100%;
}

input:checked+.slider {
  background-color: #2196f3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}

.label-usertype {
  margin-left: 8px;
  font-size: 16px;
  color: #636C72;
}

.label-toggle {
  margin-left: 4px;
  font-size: 16px;
  color: #636C72;
}

#userType {
  border: solid 1px #d6d3d3;
  border-radius: 4px;
  height: 24px;
  font-size: 14px;
  color: #636C72;
  margin-left: 4px;
}

.image-results_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.image-results-suggestions .result__header {
  margin-left: -7px;
  margin-bottom: 10px;
}

.image-results-suggestions .title {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-item {
  flex: 1 1 calc(25% - 10px);
  min-width: 110px;
  max-width: 150px;
  margin: 5px;
  overflow: hidden;
  cursor: pointer;
}

.image {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  /* Maintain aspect ratio for a square shape */
  background-size: cover;
  background-position: center center;
  border-radius: 7px;
  border: 1px solid #ccc;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
}

.image-item-wrapper {
  width: 100%;
  height: 100%;
}

.image-expand {
  position: absolute;
  height: 24px;
  bottom: 4px;
  right: 4px;
  opacity: 0.8;
}

.image:hover .image-expand {
  opacity: 1;
}

.title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.image-modal-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgb(255, 255, 255);
  border-radius: 6px;
  overflow: hidden;
}

.image-modal-header {
  width: 100%;
  padding: 10px 10px 10px 15px;
  border-bottom: 2px solid #ECECEC;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.image-modal-header .modal-header-link-title-area {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: .2rem;
  width: 90%;
}

.image-modal-name {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

#modal #site-name {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: rgb(0 0 0 / 63%);
}

#site-icon-image {
  width: 22px;
}

.image-result_sitename {
  color: #444;
  height: 22px;
  margin-top: 6px;
  line-height: 21px;
  font-size: 12px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-result_icon {
  top: 7px;
  left: 7px;
  width: 18px;
  height: 18px;
  position: absolute;
  border-radius: 3px;
}

.image-result_sitename a {
  color: #444;
}

#modal-image {
  padding: 10px 15px;
  max-height: 80vh;
}

#site-title {
  width: 100%;
  font-size: 20px;
  font-weight: 500;
}

.modal-close {
  cursor: pointer;
  width: 10%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.modal-close .icon {
  height: 20px;
  width: auto;
}

.additional-info-wrapper .journal-results-suggestions .journal-results-list {
  margin-left: 0;
  padding-left: 0;
}

.additional-info-wrapper .journal-results-suggestions .journal-results-list li {
  list-style: none;
  margin-left: 0;
}

.journal-results-list .journal-result-title a {
  color: #004a9f;
  line-height: 1.25;
  font-size: 16px;
  text-decoration: none;
}

.journal-results-list .journal-result-subtitle .journal-resut-name {
  color: #4278a0;
  font-size: 14px;
}

.journal-results-list .journal-result-subtitle .journal-result-date {
  color: #636C72;
  font-size: 14px;
  margin-left: 32px;
}

.image-results-suggestions {
  display: flex;
  flex-wrap: wrap;
}

/* --- MAIN SEARCH --- */
.main--search {
  background-color: #fafafa;
}

.main--search .main__container {
  max-width: 100%;
}

.header__container {
  display: flex;
  justify-content: space-between;
}

.header__container #mobile-menu-toggle,
.header__container .settings-menu-mobile {
  display: none;
}

.header__container .open-md-logo {
  width: fit-content;
  display: flex;
  align-items: flex-end;
}

.header__container.filter__container {
  background-color: #fff;
  height: auto;
  justify-content: flex-start;
}

.header--inner {
  padding-bottom: 10px;
  box-shadow: none;
  border-bottom: 1px solid #dae2e4;
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
}

#bottom-panel-background-spacer {
  height: 118px;
  background-color: #fafafa;
}

/* --------------------------------------------
.main-counter
-------------------------------------------- */
.main-counter {
  all: revert;
  font-size: 13px;
  color: #ccc;
}

/**
 * Search-ai filters form styles
 *
 * @todo consider move these into main.css
 * -----------------------------------------------------------------------------
 */

.filter .filter__btn {
  padding: 0 15px 0 0;
  margin-right: 15px;
  color: inherit;
}

.filter .filter__btn:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23909090"><path d="m50 75 40-50H10z"/></svg>');
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}


.setting-modal-modal-overlay {
  background: rgba(96, 96, 96, 0.046);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.setting-modal-modal-wrapper {
  width: 95vw;
  height: 98vh;
  background: rgb(255, 255, 255);
  position: fixed;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);

  border: 1px solid #bdbdbd;
  border-radius: 10px;
}

.settings-menu-mobile-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close-modal-btn {
  padding: 0px;
  margin-left: auto;
  margin-top: 0px;
  margin-right: 10px;
  cursor: pointer;
}

.close-modal-btn .close-btn-img {
  height: 16px;
  width: 16px;
}

.close-btn-wrapper {
  display: flex;
  padding: 1rem;
}

.close-btn-wrapper .title-settings {
  font-size: 1rem;
  font-weight: 500;
}

.setting-modal-modal-content {
  width: auto;

  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.setting-modal-modal-content .setting-modal-divider {
  height: 1px;
  background-color: #ECECEC;
}

.hide {
  display: none;
}

h1 {
  text-align: center;
}

.settings-options {
  margin: 0px 20px;
}

.settings-options p {
  font-size: 1rem;
  color: #57606D;

}

.setting-modal-dropdown-btn img {
  height: 20px;
  width: auto;
}

.setting-modal-dropdown-btn {
  -webkit-tap-highlight-color: transparent;
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 1rem;
  color: #818181;
  display: block;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.setting-modal-dropdown-container {
  display: none;
  padding-left: 20px;
}

.setting-modal-dropdown-container a {
  display: block;
  color: #818181;
  padding: 10px 20px;
}

.setting-modal-dropdown-container a.active {
  background-image: url(../../images/icons/icon-check.svg);
  background-position: 3px 13px;
  background-repeat: no-repeat;
  background-size: 13px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}

.menu.filter__container {
  background-color: #fff;
  margin-top: 1rem;
}

.menu.filter__container .filter .filter__btn {
  cursor: pointer;
  margin-left: .5rem;
  color: #666666;
  font-size: 16px;
}

.menu.filter__container .filter .filter__btn:after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url('./images/icons/arrow-down.png');
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.menu.filter__container {
  border: none;
}

.menu .menu-filter-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
  text-wrap: nowrap;
}

.menu .menu-filter-container .filter-divider {
  height: 1px;
  background-color: #EEEEEE;
  width: 100%;
}

.menu-filter-container .filter {
  width: 100%;
}

.menu-filter-container .filter a {
  width: 95%;
}

.menu-filter-container .filter p {
  color: #333333;
  font-size: 16px;
}

.menu.filter__container .filter .dropdown-content {
  display: none;
  background: #fff;
  border: 0px;
  box-shadow: unset;
  color: #333;
  position: relative;
  z-index: 103;
  line-height: 17px;
  padding-top: 8px;
  padding-bottom: 8px;
  top: unset;
  transition: visibility .5s, opacity 0.5s linear;
}

.menu.filter__container .filter .dropdown-content.show {
  display: block !important;
  width: 98%;
  visibility: visible;
  opacity: 1;
}

.menu.filter__container .filter .dropdown-content a.active {
  background-size: 14px;
}

.menu.filter__container .filter .dropdown-content a {
  font-size: 14px;
  padding: 10px 0px 10px 30px;
}

.sidebar {
  padding: 1rem;
  width: 250px;
  height: 100vh;
  background: white;
  color: black;
  position: fixed;
  left: 0;
  border-right: 1px solid #eee;
  transition: 0.3s;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
}

.sidebar.collapsed {
  width: 60px;
}

.toggle-btn {
  background: none;
  color: black;
  border: none;
  cursor: pointer;
}

.toggle-btn img {
  width: auto;
  height: 18px;
}

.menu {
  list-style: none;
  padding: 0;
  width: 100%;
}

.menu li {
  padding: 0px;
  text-align: start;
}

.menu li a {
  color: rgb(125, 97, 97);
  text-decoration: none;
  display: block;
}

.menu li a:hover {
  background: #f5f5f5;
}

.main--search {
  margin-left: 250px;
  transition: margin-left 0.3s ease, width 0.3s ease;
  width: calc(100% - 250px);
  padding: 0px 20px 20px 20px;
  margin-top: 70px;
}

.sidebar.collapsed .menu {
  display: none;
}

.sidebar.collapsed .toggle-btn {
  display: none;
}

.sidebar.collapsed .settings-title {
  display: none;
}

.sidebar.collapsed~.main--search {
  margin-left: 60px;
  width: calc(100% - 60px);
}

.side-bar-dropdown {
  color: #666666;
  text-align: start;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eeeeee;
}

.side-bar-dropdown-label {
  font-weight: 500;
  text-align: start;
  margin-bottom: 5px;
  color: #333333;
}

.side-bar-dropdown-content {
  display: none;
  text-align: left;
}

.side-bar-dropdown-content .side-bar-dropdown-options {
  padding: 0.5rem 1.6rem;
  cursor: pointer;
  color: #666666;
}

.side-bar-dropdown-content .side-bar-dropdown-options.active {
  background-image: url(https://dev1.openmd.dev/images/icons/icon-check.svg);
  background-position: 5px 10px;
  background-repeat: no-repeat;
  background-size: 13px;
}

.side-bar-dropdown-content .side-bar-dropdown-options:hover {
  color: #444444;
}

.side-bar-dropdown.active .side-bar-dropdown-content {
  display: block;
}

.arrow {
  margin-left: 5px;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.sidebar .settings-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.sidebar .settings-buttons .setting-icon {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0rem;
}

.sidebar.collapsed .settings-buttons .setting-icon {
  display: block;
}

.sidebar .settings-buttons .setting-icon img {
  height: 24px;
  width: 24px;
}

.sidebar .settings-buttons .all-setting-div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.sidebar .settings-buttons .all-setting-div .settings-title {
  color: #656565;
  margin: 0rem;
  font-size: 16px;
  font-weight: 500;
  text-wrap: nowrap;
  transition: .2s;
}

#mobile-menu {
  display: none;
}

#bottom-panel {
  position: fixed;
  bottom: 0;
  left: 250px;
  right: 0;
  width: calc(100% - 250px);
  max-width: 700px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
  background-color: #f8f9fa;
  transition: left 0.3s ease, width 0.3s ease;
}

#textarea-input-div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#app-main-form {
  cursor: text;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 10px 15px;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #bdcbd6;
  border-radius: 8px;
  width: 100%;
  background: #fff;
}

#app-main-form textarea.clearable {
  overflow: visible;
}

#input-field {
  outline: none;
  border: none;
  resize: none;
  overflow: hidden;
  min-height: 22px;
  /* One line height */
  height: 22px;
  /* Initial height */
  max-height: 110px;
  /* Five lines height */
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.4;
}

#input-field.has-scroll {
  overflow-y: auto;
}

.send-button-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.button-send {
  display: block;
  height: 30px;
  width: 50px;
  background: url("https://dev1.openmd.dev/ai2/images/icons/send-filled.svg") no-repeat center right;
  background-size: 22px;
}

.button-send:hover {
  outline: none;
  height: 30px;
}

.legal-notice-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.legal-notice-area p {
  width: 65%;
  margin: 0;

  color: #999;
  font-size: 13px;
  line-height: 1.15;
}

.button-new {
  flex: 0 0 100px;
  font-size: 14px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: url(https://dev1.openmd.dev/ai2/images/icons/create-new.svg) no-repeat center left 8px;
  background-size: 18px;
  padding: 3px 8px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.button-new:hover {
  opacity: 1;
  background-color: #eee;
}

.sidebar.collapsed~#bottom-panel {
  left: 60px;
  width: calc(100% - 60px);
}



@media screen and (max-width: 768px) {

  .header__container {
    display: flex;
    justify-content: space-between;
  }

  .wrapper {
    padding: 15px 15px;
  }

  .false .message {
    max-width: 70%;
  }

  .page-home .header .nav--header,
  .header--inner .nav--header {
    display: none;
  }

  .header__container #mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: lightslategray;
    -webkit-tap-highlight-color: transparent;
  }

  .header__container .sidebar__hamburger-mobile {
    height: 24px;
    width: 24px;
  }

  .header__container .settings-menu-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  .header__container .settings-menu-mobile:disabled {
    opacity: .5;
  }

  .header__container .sidebar__settings-mobile {
    height: 24px;
    width: 24px;
  }

  .main--search .main__container {
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (max-width: 768px) {

  .header--inner .header__logo {
    margin-right: 0px
  }

  .wrapper.ai .profile {
    display: none;
  }

  .ai-input-form .textarea__container {
    height: 96px;
  }

  #bottom-panel {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }

  .sidebar.collapsed~#bottom-panel {
    left: 50%;
    width: 100%;
  }

  #sidebar_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 100;
  }

  #sidebar_overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .sidebar button,
  .sidebar a {
    -webkit-tap-highlight-color: transparent;
  }

  .main--search {
    margin-left: 0;
    width: 100%;
  }

  .sidebar.collapsed~.main--search {
    margin-left: 0;
    width: 100%;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: unset;
    width: 250px;
    height: 100vh;
    background: #fff;
    transform: translateX(-250px);
    transition: transform 0.3s ease-in-out, left 0.3s ease-in-out;
  }

  .sidebar .settings-buttons {
    display: none;
  }

  .sidebar .menu {
    display: none;
  }

  .sidebar.collapsed {
    width: 250px;
    left: unset;
    padding: 1rem;
    padding-top: 85px;
    transform: translateX(0);
  }

  .sidebar.collapsed .settings-buttons {
    display: flex;
  }

  .sidebar.collapsed .toggle-btn {
    display: block;
  }

  .sidebar.collapsed .menu {
    display: block;
  }

  .sidebar.collapsed .settings-buttons .all-setting-div .settings-title {
    display: block;
  }

  .sidebar.active {
    left: 0;
  }

  .main--search {
    margin-left: 0;
  }

  .main--search .main__content {
    padding-top: 0px;
  }

  #mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
  }

  #mobile-menu-toggle img {
    height: 1.5rem;
    width: auto;
  }

  #mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-top: 2rem;
    background: #ffffff;
    border-bottom: 1px solid #dae2e4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  #mobile-menu.mobile-menu-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(50px);
    z-index: 99;
  }

  #mobile-menu.mobile-menu-closing {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  #mobile-menu ul {
    list-style: none;
    padding: 0;
    width: 100%;

  }

  #mobile-menu ul li {
    margin: 0px 0;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 7px 25px;
    transition: border-left 0.3s;
  }

  #mobile-menu .divider {
    height: 2px;
    width: 100%;
    background: #dae2e4;
    margin: 1.7rem 0rem 1rem 0rem;
  }

  #mobile-menu .mobile-menu-other-links li {
    margin: 0px 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: .7rem;
    padding: 0px 25px;
    transition: border-left 0.3s;
  }

  #mobile-menu .mobile-menu-other-links li a {
    color: #222222;
    font-size: 16px;
  }

  #mobile-menu ul li.is-active {
    border-left: 3px solid #004a9f;
    padding-left: 22px;
  }

  #mobile-menu ul li.is-active .mobile-menu-link {
    color: #004a9f;
  }

  .mobile-menu-link {
    color: #232323 !important;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .menu-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 600px) {
  .textarea-container {
    width: 100%;
  }
}

@media screen and (min-width: 600px) {
  .ai-followup-input-form {
    margin-right: 0
  }

  .footer p {
    padding: 10px
  }

}



@media (max-width: 550px) {

  .wrapper {
    padding: 15px 2px;
  }

  .page--search .header--inner {
    height: auto;
  }

  .sidebar.collapsed {
    padding-top: 65px;
  }

  #mobile-menu {
    padding-top: 1rem;
  }
}

