@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
    "Source Han Sans CN", sans-serif;
}

* {
  font-family: Outfit, var(--default-font-family) !important;
  font-weight: 400;
}

pre,
pre code {
  white-space: normal;
}

pre {
  background: #f5f5f5;
}

.bubble pre code,
.bubble pre code.hljs,
.bubble pre code.language-twig {
  background: transparent !important;
}

sup {
  font-size: xx-small;
}

body {
  margin: 0;
}

a {
  color: #40739a;
}

hr {
  width: 100%;
  border-color: #d6dbe6;
  border-style: solid;
  margin: 0.5em 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hidden {
  opacity: 0;
  pointer-events: none !important;
}

.main-container {
  overflow: hidden;
}

.main-container,
.main-container * {
  box-sizing: border-box;
}

input,
select,
textarea,
button {
  outline: 0;
}

h2 {
  font-weight: bold;
}

#create_project_sidebar {
  font-size: 14px;
  text-decoration: underline;
  margin-bottom: 10px;
  margin-left: 10px;
}

.main-container {
  position: relative;
  width: 100%;
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  background: #ffffff;
}

.main-container.guest #sidebar_icons {
  order: 1;
}

.main-container.guest .mobile-header {
  flex-direction: row-reverse;
}

.main-container.guest #sidebar_icons #sidebar_btn_header,
.main-container.guest #sidebar_container,
.main-container.guest #chat_menu_toggle {
  display: none;
}

.container {
  /* position: absolute; */
  /* border-radius: 24px; */
  padding: 5px;
  width: 283px;
  top: 16px;
  bottom: 16px;
  left: 16px;
  background: #F4F7FA;
  z-index: 21;
  overflow: hidden;
  transition: all 0.5s ease;
  /* Smooth transition */
}

.container-menu {
  opacity: 100;
  transition: 0.3s opacity ease;
}

.container-menu.collapsed {
  opacity: 0;
}

.collapsed:not(.container-menu) {
  width: 0;
  padding: 0;
  overflow: hidden;
}

.start-a-new-chat {
  display: none;
}

.button {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #003041;
  z-index: 23;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  color: white;
  padding: 10px 1em;
}

.button.secondary {
  border: 1px solid #d7dbe5;
  background: #f6f7fa;
  color: #003041;
}

.button#login_btn {
  background: #dd315a;
  width: 100px;
}

.button.warning {
  background: #dd315a;
  align-self: baseline;
}

.button.login-with-shopwired {
  height: 44px;
  border-radius: 50px;
  gap: 7px;
}

.button.menu {
  background: none;
  justify-content: left;
}

.button.menu span {
  color: #003041;
}

.button.menu.selected {
  background: #eaecf2;
}

/* Subsequent buttons appear closer together */
.button+.button {
  margin-top: 12px;
}

.menu-split-column {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin: 1em 0;
  gap: 1em;
  min-height: 350px;
}

.menu-split-column .content {
  padding-left: 1.2em;
  border-left: 1px solid #d6dbe6;
}

.new-chat {
  display: block;
  align-items: flex-start;
  justify-content: flex-start;
  /* position: absolute; */
  height: 22px;
  top: calc(50% - 11px);
  left: calc(50% - 19.5px);
  color: #f5f7fa;
  font-family: Noto Sans, var(--default-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  white-space: nowrap;
  z-index: 24;
}

.container-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
}

.frame {
  width: 18px;
  height: 18px;
  background: url(/icons/plus.svg) no-repeat center;
  background-size: cover;
  border: 1.5px solid black;
  border-radius: 3px;
  cursor: pointer;
}

.sidebar {
  width: 20px;
  height: 21px;
  background: url(/icons/sidebar.svg) no-repeat center;
  background-size: cover;
  cursor: pointer;
}

#sidebar_icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

#chat_menu_toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

#advanced-settings label.checkbox {
  display: none;
}

#delete_chats_btn .warning {
  margin-top: 0.5em;
}

#chat_menu_mobile,
#project_menu_mobile,
#atp_mobile_menu {
  display: none;
}

.advanced-settings {
  margin-top: 8px;
}

.conversations {
  display: block;
  position: relative;
  height: 20px;
  margin: 1em 0;
  color: #003041;
  font-family: Outfit, var(--default-font-family);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
  white-space: nowrap;
  z-index: 30;
  margin-left: 10px;
}

.sidebar-menu {
  position: relative;
  height: 620px;
  background: rgba(0, 0, 0, 0);
  z-index: 26;
  overflow: visible auto;
}

.sidebar-menu {
  height: 90vh;
  /* width: 250px; */
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-menu::-webkit-scrollbar {
  width: 0;
  height: 0;
  transition: width 0.3s ease;
}

.sidebar-menu::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-menu::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

.sidebar-menu:hover::-webkit-scrollbar {
  width: 5px;
  height: 8px;
}

.sidebar-menu:hover::-webkit-scrollbar-thumb {
  background-color: #dfe7efc2;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.sidebar-menu:hover::-webkit-scrollbar-thumb:hover {
  background-color: #dfe7ef;
}

.container .chat-menu-mobile {
  display: none;
}

.chats-now {
  margin-bottom: 2em;
}

.projects-list {
  margin-bottom: 2em;
}

.conversation-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.frame-1 {
  position: relative;
  margin: 0 0 0 0;
  background: rgba(0, 0, 0, 0);
  z-index: 27;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  /* margin-bottom: 0.8em; */
}

.project {
  gap: 5px;
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 3px 10px;
  border-radius: 5px;
}

.project .shopwired-icon-folder {
  transform: translateY(5px);
}

.project:hover {
  background: #eaecf2;
}

.helpful-ai-ready {
  flex: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  /* height: 22px; */
  color: #003041;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  z-index: 28;
}

.frame-2 {
  width: 18px;
  height: 18px;
  background: url(/icons/arrow-right.svg) no-repeat center;
  background-size: contain;
  z-index: 29;
  flex: 10%;
  display: none;
}

.image {
  position: absolute;
  width: 36px;
  height: 31px;
  top: 22px;
  left: 20px;
  z-index: 31;
  overflow: hidden;
}

.any-chat {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: absolute;
  height: 30px;
  top: 23px;
  left: 21px;
  color: #003041;
  font-family: Outfit, var(--default-font-family);
  font-size: 20px;
  font-weight: 800;
  line-height: 30px;
  text-align: left;
  white-space: nowrap;
  z-index: 22;
}

.icon-button {
  width: 36px;
  height: 36px;
  z-index: 18;
  position: relative;
  border-radius: 18px;
  cursor: pointer;
}

.icon-button.filled.email {
  background: #4ba587;
}

.icon-button.email .shopwired-icon-email-mobile {
  filter: invert(1);
  margin-left: 1px;
}

.icon-button .tooltip {
  position: absolute;
  right: 50px;
  top: 0;
  white-space: nowrap;
  background-color: #123d45;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.icon-button .tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #123d45;
}

.icon-button.email:hover .tooltip {
  opacity: 1;
}

/* icons */

.shopwired-icon {
  width: 30px;
  height: 30px;
  background: url(/icons/shopwired-icon.png) no-repeat center;
  background-size: contain;
}

.shopwired-icon-reversed {
  width: 30px;
  height: 30px;
  background: url(/icons/shopwired-icon-reverse.png) no-repeat center;
  background-size: contain;
}

.shopwired-icon-edit {
  width: 14px;
  height: 14px;
  background: url(/icons/edit.svg) no-repeat center;
  background-size: contain;
  transform: translateX(-5px);
}

.shopwired-icon-light-bulb {
  background: url(/icons/light-bulb.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.shopwired-icon-folder {
  background: url(/icons/folder.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

.shopwired-icon-chat-menu {
  background: url(/icons/chat-menu.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-left: auto;
  opacity: 0;
  cursor: pointer;
  transform: translateY(5px);
}

.shopwired-icon-close {
  background: url(/icons/close.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-left: auto;
}

.shopwired-icon-chevron-left {
  background: url(/icons/arrow.svg) no-repeat center;
  transform: rotate(180deg);
  background-size: contain;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-left: auto;
}

.shopwired-icon-chevron-right {
  background: url(/icons/arrow.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-left: auto;
}

.shopwired-icon-arrow-left {
  background: url(/icons/arrows-right.svg) no-repeat center;
  transform: rotate(180deg);
  background-size: contain;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.shopwired-icon-hamburger {
  background: url(/icons/menu.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.shopwired-icon-add-file {
  background: url(/icons/add-post.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.shopwired-icon-share {
  background: url(/icons/share.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.shopwired-icon-email-mobile {
  background: url(/icons/email.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.shopwired-icon-settings {
  background: url(/icons/settings.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.shopwired-icon-logout {
  background: url(/icons/logout.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.shopwired-icon-delete {
  background: url(/icons/delete.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.shopwired-icon-view {
  background: url(/icons/buttons-view.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.shopwired-icon-archive {
  background: url(/icons/archive.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* end icons */

.project:hover .shopwired-icon-chat-menu {
  opacity: 1;
}

.conversation-title {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.7;
}

.conversation-edit {
  font-size: 12px;
  color: hsl(207.63deg 34.86% 42.75%);
  text-decoration: underline;
}

.filled {
  border: none;
  background: hsl(207.63deg 34.86% 42.75%);
}

.flex-column {
  display: flex;
  height: 100vh;
}

.flex-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.flat {
  position: relative;
  width: 22px;
  height: 22px;
  margin: 7px 0 0 7px;
  background: url("/icons/menu.svg") no-repeat center;
  background-size: cover;
  z-index: 19;
  overflow: hidden;
}

.email-chat {
  border-radius: 5px;
  font-size: initial;
  font-weight: initial;
  border: 1px solid #d9d9d9;
  padding: 0.5em 1em;
  cursor: pointer;
  background: #F4F7FA;
  font-size: 14px;
}

.user-icon {
  position: relative;
  height: 22px;
  background: url(/icons/user.svg) no-repeat center;
  background-size: contain;
  z-index: 19;
  overflow: hidden;
  filter: invert(1);
}

/* dropdown menu */

.chat-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.chat-dropdown-menu.active {
  display: block;
}

.chat-menu-open .container-inner {
  display: none;
}

.chat-title-link {
  text-decoration: none;
}

.chat-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

.chat-box-inner {
  height: 100dvh;
  display: flex;
  flex-direction: column-reverse;
  overflow: hidden;
}

.chat-box-inner.initial .container-d {
  flex: 1.3;
}

.chat-box-inner.initial #messages-wrapper {
  display: flex;
  flex-direction: column-reverse;
}

.chat-box-inner.initial .welcome-text {
  display: block;
}

.chat-box-inner.project-home {
  flex-direction: column;
}

.chat-dropdown-menu {
  padding: 0.5em;
  min-width: 140px;
}

.chat-dropdown-menu .menu-item {
  font-size: 12px;
  padding: 0.5em 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 5px;
  position: relative;
}

.chat-dropdown-menu .menu-item .chevron {
  position: absolute;
  width: 7px;
  height: 7px;
  right: 5px;
}

.chat-dropdown-menu .menu-item:hover:not(.delete) {
  background: #eaecf2;
}

.chat-dropdown-menu .menu-item.delete {
  color: #c40246;
  background: #fdf1f5;
}

.chat-dropdown-menu .menu-item .icon {
  width: 14px;
  height: 14px;
  transform: translateX(-5px);
  margin-left: unset;
}

.submenu {
  position: absolute;
  left: 106%;
  top: -50%;
  background: white;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  pointer-events: auto;
}

.submenu .menu-item {
  align-items: flex-start !important;
}

.project-home-input {
  display: none;
}

.project-conv a {
  color: #003041;
  font-weight: 700;
  text-decoration: none;
}

.project-conv>*:not(hr) {
  margin-left: 2em;
}

.project-conv {
  font-size: 14px;
  position: relative;
}

.project-conv::after {
  background: #dfe7efc2;
  cursor: pointer;
  pointer-events: none;
  content: '';
  display: none;
  height: 100%;
  width: 100%;
  position: absolute;
  top: -9px;
  mix-blend-mode: multiply;
}

.project-conv:hover::after {
  display: block;
}

#project_home {
  color: #003041;
  padding: 2em 5em !important;
}

#project_home .project-home-input {
  display: block;
  text-align: left;
  margin-bottom: 1em;
}

#project_home .privacy-notice {
  display: none;
}

#project_home .text-box {
  width: 100%;
}

#project_home .tip {
  justify-content: flex-start;
  padding: 2em 2em;
}

#project_home .tip>div {
  width: 100%;
}

#project_home .tip a {
  color: #003041;
}

#project_home .container-d {
  margin: 2em auto;
  text-align: center;
}

#project_home hr {
  margin: 1.2em 0;
}

#project_name {
  margin: 0.5em 0;
}

.weather-dynamics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1em;
  color: #003041;
  font-family: Outfit, var(--default-font-family);
  font-size: 14px;
  line-height: auto;
  text-align: left;
  white-space: nowrap;
  z-index: 17;
}

.line {
  position: absolute;
  width: 1045px;
  height: 3px;
  top: 67.5px;
  left: 346.999px;
  background: #003041;
  z-index: 20;
}

#messages-wrapper {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  position: relative;
}

.message {
  position: relative;
  margin-bottom: 16px;
  /* width: 666px; */
}

.message.user .bubble {
  border-radius: 24px 24px 0 24px;
}

.message.assistant .bubble {
  /* background: #d5efeb; */
  /* border: 2px solid #f3f4f6; */
  border-radius: 0 24px 24px 24px;
}

.message+.message .bubble {
  border-top: 1px solid #eee;
  border-radius: 0;
  padding-top: 2em;
}

.bubble {
  padding: 2em;
  font-family: Noto Sans, var(--default-font-family);
  font-size: 14px;
  line-height: 24px;
  color: #003041;
}

.bubble a {
  text-decoration: underline;
}

.bubble p {
  margin-top: 2px;
}

.bubble-role {
  font-weight: 700;
  margin-bottom: 5px;
}

.bubble-role::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 500px;
  margin-right: 8px;
  vertical-align: middle;
  background-color: #003041;
}

.bubble-role.user::before {
  background-image: url(/icons/user.svg);
  filter: invert(1);
  background-color: #fecebd;
}

.bubble-role.assistant::before {
  background-image: url(/icons/shopwired-icon-reverse.png);
}

.message.user {
  margin-left: auto;
}

.user .bubble {
  white-space: pre-line;
}

.controls {
  /* position: absolute; */
  /* background: #f3f4f6; */
  /* border: 2px solid #ffffff; */
  right: -144px;
  bottom: 0;
  width: 144px;
  height: 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0px;
  opacity: 1;
}

.controls button {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.controls button.copy {
  background: url("/icons/copy.svg") no-repeat center;
  background-size: 17px 17px;
}

.controls button.iq3 {
  width: 34px;
  height: 23px;
  background-color: #dd305a;
  -webkit-mask: url("/icons/iq3.svg") no-repeat center;
  mask: url("/icons/iq3.svg") no-repeat center;
  -webkit-mask-size: 34px 23px;
  mask-size: 34px 23px;
  border: none;
  padding: 0;
}

.controls button.up {
  background: url("/icons/thumbs-up.svg") no-repeat center;
  background-size: 17px 17px;
}

.controls button.down {
  background: url("/icons/thumbs-up.svg") no-repeat center;
  background-size: 17px 17px;
  transform: rotate(180deg);
}

.controls button.up.clicked {
  background: url("/icons/thumbs-up-clicked.svg") no-repeat center;
  background-size: 17px 17px;
}

.controls button.down.clicked {
  background: url("/icons/thumbs-down-clicked.svg") no-repeat center;
  background-size: 17px 17px;
  transform: rotate(180deg);
}

.container-d {
  /* position: absolute; */
  min-height: 52px;
  right: 170px;
  bottom: 224px;
  left: 470px;
  z-index: 12;
  border-radius: 12px;
  /* box-shadow: 0 8px 17px 0 rgba(43, 117, 158, 0.15); */
  margin: 1em auto;
  text-align: center;
}

.welcome-text {
  color: #003041;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

.text-box {
  position: relative;
  width: 100%;
  min-height: 51px;
  background: #ffffff;
  border: 1px solid #2b759e;
  z-index: 13;
  border-radius: 12px;
  display: flex;
  width: 666px;
  padding: 0.3em;
}

.send-message {
  flex: 1;
  border: none;
  padding-left: 19px;
  padding: 10px;
  border-radius: 12px;
  resize: none;
  overflow-y: auto;
  max-height: 120px;
  background: none;
}

.send-message::placeholder {
  line-height: 2.3;
}

textarea:focus::placeholder {
  opacity: 0;
}

.submit-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border: none;
  margin: auto 0.5em;
  padding: 0.7em;
  background: #003041;
  border-radius: 10px;
  cursor: pointer;
}

.add-file-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border: none;
  margin: auto 0.5em;
  padding: 0.7em;
  background: #2b759e;
  border-radius: 10px;
  cursor: pointer;
}

.submit-container:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.flat-e {
  width: 20px;
  height: 20px;
  background: url("/icons/send.svg") no-repeat center;
  background-size: contain;
  filter: invert(1);
  border: none;
}

.flat-e:hover {
  /* background-color:#f10357; */
  border-radius: 4px;
}

.privacy-notice {
  height: 18px;
  color: #003041;
  font-family: Noto Sans, var(--default-font-family);
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  margin-top: 15px;
  z-index: 16;
  display: block;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.side {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 8px;
  color: #003041;
  width: 400px;
  font-size: 14px;
}

.menu-content textarea {
  flex-grow: 1;
  resize: none;
  min-height: 260px;
  border-radius: 12px;
  border: 1px solid #d6dbe6;
  padding: 1em;
}

.modal-content {
  background: #fff;
  padding: 1.5em;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 700px;
  color: #003041;
}

.modal-content .heading {
  font-size: 20px;
  font-weight: 500;
}

.modal-content input {
  border: 1px solid #ccc;
  padding: 1.2em;
  border-radius: 4px;
  margin: 5px 0;
}

.modal-content textarea {
  border: 1px solid #ccc;
  padding: 1.2em;
  border-radius: 4px;
  margin: 5px 0;
  height: 100px;
}

.modal-content select {
  border: 1px solid #ccc;
  padding: 1.2em;
  border-radius: 4px;
  margin: 5px 0;
  display: block;
  width: 100%;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 8px;
}

.checkbox input {
  display: none;
}

.checkbox .checkmark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #40749a;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.checkbox input:checked+.checkmark {
  background-color: #40749a;
}

.checkbox input:checked+.checkmark::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  top: 45%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.tip {
  display: flex;
  gap: 13px;
  background: #f5f7fa;
  padding: 1em;
  align-items: center;
  font-size: 12px;
}

.gray-header {
  font-weight: 700;
}

.manage-container a,
.add-instructions-container a {
  text-decoration: none;
}

.modal-content button {
  align-self: flex-end;
}

.modal-content .not-logged-in {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #565e6c;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.thinking-loader {
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  position: relative;
  background: linear-gradient(90deg, #477093, #dddddd, #477093);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}



@keyframes shimmer {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

.dots::after {
  content: '';
  animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
  0% {
    content: '';
  }

  33% {
    content: '.';
  }

  66% {
    content: '..';
  }

  100% {
    content: '...';
  }
}

.notification {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: Noto Sans, var(--default-font-family);
  font-size: 14px;
  display: none;
  z-index: 1000;
}

.overlay {
  display: none;
}

@media (max-width: 768px) {
  .overlay {
    display: block;
  }

  .main-container {
    min-height: auto;
  }

  .container {
    position: static;
    width: auto;
    margin: 16px;
  }

  #messages-wrapper {
    position: static;
    margin: 16px;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    padding-right: 0;
  }

  .container-d {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 24px;
    z-index: 35;
  }
}

.mobile-header {
  height: 60px;
  border-bottom: 1px solid #d5dbe7;
  width: 100%;
  display: none;
  justify-content: space-between;
  align-items: center;
}

.mobile-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-logo,
.mobile-logo sup {
  font-weight: 700;
}

.mobile-account-menu {
  background: #003041;
  color: white;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 999;
  top: 0;
  transition: 0.5s ease all;
  left: 100%;
}

.mobile-account-menu.open {
  left: 0;
}

.mobile-account-menu .row {
  padding: 1.5em;
  display: flex;
  border-bottom: 1px solid #285d70;
  justify-content: space-between;
  align-items: center;
}

.mobile-account-menu .row-icon {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-account-menu .icon {
  filter: invert(1);
}

.mobile-account-menu-item {
  display: none;
}

.menu-open {
  display: block;
}

#sidebar_container.open {
  left: 0;
}

#close_chat_menu_btn {
  display: none;
  position: absolute;
  right: 1.5em;
  top: 1.3em;
}

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

  #close_chat_menu_btn {
    display: block;
  }

  #sidebar_container {
    position: absolute;
    margin: 0;
    top: 0;
    height: 100%;
    z-index: 991;
    left: -100%;
    width: 75%;
  }

  #sidebar_btn {
    display: none;
  }

  #project_home {
    padding: 1em !important;
  }

  #project_home .tip {
    padding: 1.5em;
    flex-direction: column;
    align-items: normal;
    gap: 2em;
  }

  #project_modal {
    z-index: 1000;
  }

  #chat_menu_mobile .row {
    display: flex;
    gap: 10px;
    padding: 0.7em;
    font-size: 14px;
  }

  #chat_menu_mobile .icon {
    margin: 0;
    width: 16px;
    height: 16px;
  }

  #chat_menu_mobile .shopwired-icon-edit {
    transform: none;
  }

  #chat_menu_mobile hr {
    width: calc(100% + 1.5em);
    transform: translateX(-1em);
  }

  #chat_menu_mobile .row.delete {
    color: #c40246;
  }

  #project_menu_mobile .row {
    display: flex;
    gap: 10px;
    padding: 0.7em;
    font-size: 14px;
  }

  #project_menu_mobile .icon {
    margin: 0;
    width: 16px;
    height: 16px;
  }

  #project_menu_mobile .shopwired-icon-edit {
    transform: none;
  }

  #project_menu_mobile hr {
    width: calc(100% + 1.5em);
    transform: translateX(-1em);
  }

  #project_menu_mobile .row.delete {
    color: #c40246;
  }

  #atp_mobile_menu .row {
    display: flex;
    gap: 10px;
    padding: 0.7em;
    font-size: 14px;
  }

  #atp_mobile_menu .icon {
    margin: 0;
    width: 16px;
    height: 16px;
  }

  #atp_mobile_menu .shopwired-icon-edit {
    transform: none;
  }

  #atp_mobile_menu hr {
    width: calc(100% + 1.5em);
    transform: translateX(-1em);
  }

  #new_chat_btn span {
    margin-left: 25px;
    line-height: 1.2;
  }

  #new_chat_btn {
    white-space: nowrap;
  }

  .bubble-role {
    margin-top: 1em;
  }

  .chat-title-link {
    pointer-events: none;
  }

  /* removes mobile overflow */
  .chat-dropdown-menu {
    padding: unset;
  }

  .modal {
    position: absolute;
  }

  .modal-content {
    margin: 1em;
    width: 100%;
    min-width: unset;
  }

  .start-a-new-chat {
    display: block;
    font-size: 14px;
  }

  .weather-dynamics {
    display: none;
  }

  .mobile-header {
    display: flex;
    padding: 0 1em;
  }

  .mobile-logo .shopwired-icon {
    margin-right: 5px;
  }

  .container {
    padding: 0.7em;
  }

  .container-d {
    margin: 0;
    background: white;
    bottom: 0;
    position: sticky;
    padding: 0 1em 1em 1em;
  }

  .container-d #input-form {
    width: 100%;
    background-color: white;
  }

  .privacy-notice {
    white-space: normal;
    font-size: x-small;
    height: unset;
  }

  .mobile-fields {
    border-bottom: none !important;
    display: block !important;
  }

  .mobile-fields .label {
    font-size: 14px;
    margin-bottom: 0.5em;
  }

  .mobile-fields input {
    margin-bottom: 1em;
    width: 100%;
    height: 40px;
    padding: 0.5em;
  }

  .mobile-fields textarea {
    width: 100%;
    min-height: 150px;
    padding: 0.5em;
  }

  .chat-box {
    width: 100%;
  }

  .bubble {
    padding: 0.2em !important;
  }

  .shopwired-icon-chat-menu {
    display: none;
  }

  .chat-box-inner.initial .welcome-text {
    width: 100%;
    text-align: center;
    position: relative;
    margin: 0;
  }
}