:root {
  --primary-color: #5882a9;
  --secondary-color: #fffdf5;
  --surface-color: #fff9e6;
  --secondary-surface-color: #c1dcf5;
  --primary-text: #1a1a1a;
  --secondary-text: #5c4a00;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Open Sans";
  background-color: var(--primary-color);
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  font-size: 100%;
}

.auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.panel > .nav-tabs {
  max-width: 289.5px;
  width: 100%;
  border: unset;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(
    90deg,
    rgba(95, 114, 189, 1),
    rgba(155, 35, 234, 1)
  );
}

.settings-column {
  width: 22vw;
  max-width: 22vw;
  width: 100%;
  background-color: #f1f2f3;
  font-size: 15px;
  padding: 1.5rem 1.2rem;
  justify-content: center;
  overflow: auto;
  align-items: center;
}

.nav-tabs .nav-link {
  width: 100%;
  justify-content: flex-start;
  gap: 4px;
  color: hsla(0, 0%, 100%, 0.7);
  border: unset !important;
  border-bottom: unset !important;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 1px;
  cursor: pointer;
}

.nav-tabs .nav-link svg {
  height: 16px;
  width: 16px;
}

.nav-tabs .nav-link span:first-of-type {
  line-height: 22px;
  font-size: 15px;
  transition: all 0.15s;
  display: block;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
  background-color: hsla(0, 0%, 100%, 0.15);
  border-radius: 4px;
  color: #fff;
}

.nav-tabs .nav-link:hover span,
.nav-tabs .nav-link.active span {
  color: #fff;
}

.nav-tabs .nav-link.active span {
  font-weight: 600;
}

.dropdown-toggle::after {
  content: none;
}

.dropdown-menu {
  min-width: 52.5px;
  padding: 0;
}

.tab-pane {
  height: 100%;
}

.tab-pane:not(#message-tab-pane) {
  width: 100%;
  background-color: var(--secondary-color);
  border-radius: 2px;
  padding: 12px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 5fr;
  height: 100%;
}

#message-tab-pane {
  height: 100%;
}

.contact-list {
  margin: 0;
  background-color: #f1f2f3;
  padding: 0;
  min-width: 280px;
}

.contact-area {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.contact-area-message-list {
  display: flex;
  gap: 10px;
  flex-direction: column;
  overflow-y: scroll;
  padding: 0.5rem 1rem;
  padding-bottom: 76.4px;
  padding-top: 58px;
  max-height: 100%;
}

.contact {
  padding: 8px;
  margin: 0 6px 5px 6px;
  display: flex;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s;
  border-radius: 8px;
  height: 60px;
  position: relative;
}
.contact::after {
  bottom: -1px;
  top: auto;
  left: 0;
  background-color: #ddddde;
  content: "";
  height: 1px;
  left: 36px;
  position: absolute;
  right: 10px;
  opacity: 1;
  transition: opacity 0.15s;
}

.contact.unread {
  background: #fffad0;
  box-shadow: 0 1px 1px rgba(45, 44, 48, 0.2);
}

.contact.active::after,
.contact:hover::after,
.contact.unread::after {
  opacity: 0;
}

.contact.active,
.contact:hover {
  background-color: #3b99fc;
  box-shadow: 0 1px 1px rgba(45, 44, 48, 0.2);
}

.contact img {
  width: 50px;
}

.contact__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.contact__image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.contact__image img {
  width: 24px;
}

.contact.active .contact__content span:first-child,
.contact:hover .contact__content span:first-child {
  color: #fff;
}
.contact__content span:first-child {
  font-family: sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #2d2c30;
  text-wrap: nowrap;
  line-height: 16px;
}

.contact.active .contact__content span:nth-child(2),
.contact:hover .contact__content span:nth-child(2) {
  color: #fff;
}

.contact__content > span:nth-child(2) {
  font-size: 15px;
  line-height: 16px;
  font-weight: 400;
  margin-top: auto;
  color: #80807b;
  line-height: 22px;
}

.contact-message {
  width: 100%;
  border-radius: 4px;
  font-size: 15px;
  line-height: 20px;
  position: relative;
}

.contact-message_own {
  align-self: flex-end;
}

.contact-message-date {
  position: absolute;
  right: 5px;
  bottom: 4px;
  color: #333;
  font-size: 12px;
}

.contact-area-interaction {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 66px;
  gap: 10px;
  padding: 0px 1rem 1.4rem 1rem;
  background-color: #fff;
}

.contact-area-interaction textarea {
  resize: none;
  width: 50%;
  border-radius: 10px;
  border: 1px solid #000;
  outline: none;
  padding: 5px;
  height: 100%;
}

.contact-area-interaction .ant-btn {
  border: unset;
  border-radius: 4px;
  background: transparent;
  transition: all 0.15s;
  height: 100%;
  height: 2.625em;
  margin: 0 1em;
  position: relative;
}

.contact-area-interaction button:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.contact-header {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  min-height: 3rem;
  padding: 0 10px;
}

.contact-header h4 {
  color: var(--primary-text);
  text-align: center;
  font-size: 17px;
  margin: auto;
  margin-top: 1.5rem;
  flex-basis: 60%;
  font-weight: 600;
  color: #2d2c30;
  padding: 0 10px;
}

.contact-area-header {
  position: absolute;
  height: 48px;
  width: 100%;
  background-color: #fff;
  left: 0;
  z-index: 2;
  display: flex;
  padding: 0 1.5rem;
  flex-direction: row;
  justify-content: space-between;
}

.contact-area-header-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.contact-area-header-left > span {
  -ms-flex-negative: 1;
  word-wrap: normal;
  flex-shrink: 1;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 3rem;
  color: #2d2c30;
}

.contact-area-header__image {
  width: 24px;
}

.contact-area-header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  padding-right: 12px;
}

.contact-area-header-right .ant-dropdown-trigger {
  width: 30px;
  height: 28px;
  border: 1px solid var(--primary-color);
  border-radius: 100%;
  aspect-ratio: 1/1;
  justify-content: center;
  display: flex;
}

.contact-area:has(.start-screen) {
  display: flex;
}

.start-screen {
  width: 100%;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.start-screen img {
  max-width: 85%;
  opacity: 0.2;
  width: 200px;
}

.context-menu {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--primary-color);
}

.context-menu-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 20px;
  width: 200px;
  height: 40px;
  border: unset;
  gap: 12px;
  background-color: var(--surface-color);
  transition: all 0.3s;
}

.context-menu-item:hover {
  background-color: var(--secondary-surface-color);
}

.context-menu-item svg {
  flex-shrink: 0;
}

.contact-area-preview {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  top: -40px;
  width: 100%;
  height: 40px;
  background-color: var(--surface-color);
  border-top: 1px solid var(--primary-color);
}

.contact-area-preview-left-area {
  display: flex;
  padding: 0 5px;
  align-items: center;
  width: 50%;
}

.contact-area-preview-right-area {
  display: flex;
  padding: 0 5px;
  align-items: center;
  justify-content: flex-end;
  width: 50%;
}

.contact-area-preview-right-area .anticon,
.contact-area-preview-left-area .anticon {
  font-size: 24px;
  cursor: pointer;
}

.input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input:has(input[type="color"]) {
  min-width: 120px;
}

.form-row {
  margin-bottom: 30px;
}

.input:has(textarea) {
  width: 100%;
  height: 100%;
}

.input > input {
  height: 2em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  max-width: 20em;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddddde;
  border-radius: 0.3em;
  box-shadow: none;
  color: #2d2c30;
  padding: 0.2rem 0.5rem;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  transition-property: all;
  -webkit-transition-property: border-color, background-color, box-shadow;
  transition-property: border-color, background-color, box-shadow;
  width: 100%;
  line-height: 1.5;
  font-size: 100%;
  color: rgb(45, 44, 48);
}
input[type="color"]::-moz-color-swatch {
  border: none;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
}
.input > input[type="color"] {
  min-width: 64px;
  min-height: 64px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 5px 1px;
  width: 64px;
  height: 64px;
  padding: 0;
  border: unset;
  border-radius: 10px;
}

.input > textarea {
  color: #2d2c30;
  font-size: 16px;
  padding: 10px;
  padding-left: 0px;
  padding-left: 1em;
  min-height: 2.25em;
  line-height: 1.5;
  border: 1px solid hsla(0, 0%, 50%, 0.2) !important;
  box-shadow: unset !important;
  border-radius: 0.3em;
}

.input > input::file-selector-button {
  display: none;
}

.input > input[type="file"] {
  line-height: 14px;
}

.input > textarea:focus-visible,
.input > input:focus-visible {
  outline: unset;
}

#general-form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 100%;
}

.general-form-left-side {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.general-form-left-side > h3 {
  margin-bottom: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
}

.general-form-left-side .form-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.general-form-right-side {
  max-width: 250px;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 20px;
}

.general-form-right-side > img {
  height: 210px;
  width: 100%;
  object-fit: cover !important;
  aspect-ratio: 1/1;
  border-radius: 100%;
  margin-bottom: 4px;
}

.general-form-right-side > h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 12px;
}

.tab-content {
  flex-grow: 1;
  flex-shrink: 2;
  overflow: auto;
}

.tab-content:not(:has(.contact-wrapper)) {
  background-color: #fff;
  padding-bottom: 1.5rem;
}
.tab-content:not(:has(.contact-wrapper))
  > *:not(.navbar):not(.tab-content-overlay) {
  background-color: #fff;
  padding-left: 1.5rem;
}

.tab-content:has(#regular-widget-form) {
  overflow: auto;
}

.general-form-left-side {
  overflow: auto;
}

.contact-area-header-right .ant-menu .ant-menu-submenu-arrow {
  display: none;
}

.return-back {
  display: none;
}

.message-unread-count {
  position: absolute;
  background: red;
  width: 20px;
  border-radius: 100%;
  height: 20px;
  text-align: center;
  color: #fff;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: -2px;
  left: -32px;
}

.contact.active .message-date,
.contact:hover .message-date {
  color: #fff;
}

.message-date {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #3b99fc;
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
}

.conversation-filter {
  padding: 0 5px;
}

.conversation-filter .btn-group {
  display: flex;
}

.conversation-filter .btn {
  flex: 1;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

.contact__content .badge {
  flex-shrink: 0;
  margin-left: auto;
}

.conversation-filter .btn {
  border: unset;
  border-bottom: 1px solid;
  background: unset !important;
  color: #2d2c30 !important;
  border-bottom-color: #ddddde;
  padding: 0 6px;
  line-height: 1.5;
  height: 32px;
  border-radius: unset;
  font-size: 14px;
}

.conversation-filter .btn.btn-primary {
  font-weight: 600;
  border-bottom-color: rgba(45, 44, 48, 0.7);
}

.conversation-filter .btn:not(.btn.btn-primary):hover {
  border-bottom-color: #3b99fc;
  color: #3b99fc !important;
}

.message-input-container {
  width: 100%;
  display: flex;
  gap: 10px;
  min-height: 44px;
}
.message-input-container textarea {
  flex-grow: 1;
}
.message-input-container .ant-upload {
  height: 100%;
}

.contact-area-interaction textarea {
  color: #2d2c30;
  font-size: 16px;
  padding: 0.5em 0 0.6em;
  padding-left: 1em;
  min-height: 2.25em;
  line-height: 1.5;
  border: 1px solid hsla(0, 0%, 50%, 0.2) !important;
  box-shadow: unset !important;
  border-radius: 0.3em;
}

.message-image-wrapper img {
  max-width: 200px;
  display: block;
  margin: 0 auto;
}

.settings-input-group {
  margin-bottom: 1rem;
}

.settings-input-title {
  word-wrap: normal;
  height: 20px;
  margin-bottom: 0;
  max-width: 100%;
  opacity: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-transition: 0.15s;
  transition: 0.15s;
  transition-property: all;
  -webkit-transition-property: height, opacity;
  transition-property: height, opacity;
  white-space: nowrap;
  color: #6d6c70;
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 0.4em;
  text-transform: uppercase;
  user-select: none;
}
.settings-input {
  vertical-align: middle;
  resize: none;
  overflow: hidden;
  height: 31.2px;
  border-color: transparent !important;
  background-color: transparent;
  box-shadow: none;
  outline: unset;
}

.settings-input[disabled] {
  padding-left: 0;
  margin-left: -2px;
  pointer-events: none;
}

.settings-input[disabled]:hover {
  box-shadow: unset;
}

.settings-input:focus,
.settings-input:hover {
  box-shadow:
    0 0 1px 0 rgba(0, 0, 0, 0.1),
    0 4px 15px 0 rgba(0, 0, 0, 0.1);
}
.message-control {
  position: absolute;
  right: 25px;
  display: flex;
}

.message-group {
  display: flex;
  flex-direction: row;
  padding: 0.5rem;
}
.message-day-separator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  color: #9e9ea6;
  font-size: 0.85em;
  font-weight: 600;
  white-space: nowrap;
}
.message-day-separator::before,
.message-day-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5ea;
}
.message-group-image img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 8px;
}
.message-group-header {
  display: block;
}
.message-group-title {
  margin-right: calc(0.33em + 4.13336px);
  display: inline;
  font-weight: 600;
}
.message-group-date {
  color: #9e9ea6;
  display: inline;
  font-size: 0.9em;
  margin-right: 0.2rem;
  line-height: 1.5;
}

.bot-settings-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.bot-settings-header .img-thumbnail {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: unset;
  padding: unset;
}
.bot-settings-header > h2 {
  margin: unset;
}
.nav-tabs-header {
  display: flex;
  flex-direction: row;
  cursor: pointer;
  color: hsla(0, 0%, 100%, 0.7);
}
.nav-tabs-header-image-wrapper {
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  text-align: center;
  text-indent: 1px;
  text-transform: uppercase;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #3b99fc;
  border-radius: 50%;
  margin-right: 0.5em;
}
.nav-tabs-header-title {
  margin-right: 0.33em;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
  transition: all 0.15s;
}
.nav-tabs-header svg {
  width: 6.53333px;
  margin-bottom: 4px;
}
.nav-tabs-header {
  display: flex;
  flex-direction: row;
  cursor: pointer;
}
.nav-tabs-header-image-wrapper {
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  text-align: center;
  text-indent: 1px;
  text-transform: uppercase;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #3b99fc;
  border-radius: 50%;
  margin-right: 0.5em;
}
.nav-tabs-header-title {
  margin-right: 0.33em;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}
.nav-tabs-header:hover {
  color: #fff;
}
.sidebar-group {
  padding: 0 1.2rem;
}
.sidebar-group-title {
  font-size: 14px;
  margin: 0 3px;
  opacity: 0.5;
  padding: 6px 17px;
  color: hsla(0, 0%, 100%, 0.7);
  line-height: 22px;
  display: block;
  margin-bottom: 1px;
}

.sidebar-logo {
  margin-bottom: 24px;
  margin-top: auto;
  color: hsla(0, 0%, 100%, 0.7);
  text-align: center;
}

.form-section {
  border-bottom: 1px solid #e6e6e7;
  padding-bottom: 1.5em;
  max-width: 768px; /* TODO */
}

.input:has(input[type="color"]) {
  align-items: center;
}

.input-title {
  display: block;
  font-size: 1.17em;
  font-weight: 600;
}

body,
button,
input,
textarea {
  font-size: 100%;
}

.form-section:first-of-type h3 {
  margin-top: 0;
}
.form-section h3 {
  font-size: 1.7em;
  margin-bottom: 0.7em;
  margin-top: 0.7em;
  font-weight: 400;
  line-height: 1.3;
}

.input:has(input[type="color"]) {
  flex-direction: row;
  width: 20em;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* Стили для плавного раскрывающегося подменю */
.nav-tabs-header {
  position: relative;
  cursor: pointer;
  padding: 12px 12px 12px 12px;
  margin-top: calc(1.5rem - 8px);
  margin-left: 1.2rem;
  margin-right: 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tabs-header:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.nav-tabs-header.active {
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 6px 6px 0 0;
}

.account-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 0 0 6px 6px;
  margin: 0 1.2rem;
}

.account-dropdown-menu.active {
  max-height: 95px;
  padding: 8px 0;
}

.dropdown-item {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #333;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.logout-button {
  color: hsla(0, 0%, 100%, 0.7);
  height: 32px;
  font-size: 15px;
  position: relative;
  margin: 0 6px 1px 6px;
}

.account-dropdown-menu ul {
  margin: 0;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.account-dropdown-menu ul > .nav-link {
  margin: 0 6px 1px 6px;
  padding: 12px 16px;
}
.account-dropdown-menu ul > .nav-link svg {
  margin-right: 4px;
}

.account-dropdown-menu ul::before {
  background-image: linear-gradient(
    90deg,
    hsla(0, 0%, 100%, 0.3),
    hsla(0, 0%, 100%, 0)
  );
  color: hsla(0, 0%, 100%, 0.7);
  content: "";
  height: 1px;
  left: 10px;
  position: absolute;
  right: 10px;
  top: 0;
}

.logout-button:hover {
  background-color: rgba(216, 29, 53, 0.5);
  color: #fff;
}

/* Дополнительные стили для элементов навигации */
.nav-tabs-header-image-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 14px;
  font-weight: 500;
}

.nav-tabs-header-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4caf50;
  border: 2px solid white;
}

.nav-tabs-header-title {
  user-select: none;
  flex: 1;
  font-weight: 500;
  font-size: 14px;
}

.form-section-row {
  display: flex;
  justify-content: space-between;
}

.contacts-count {
  text-align: center;
  box-sizing: border-box;
  color: #9e9ea6;
  min-height: 64px;
  padding: 1rem;
  position: relative;
  text-align: center;
  word-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
  border-radius: 0;
  margin: 0;
  text-decoration: none;
}

.bot-settings,
#general-form1 {
  height: 100%;
}

.bot-settings {
  display: flex;
  flex-direction: column;
}

.bot-settings > .mt-3 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.code-form-wrapper {
  display: flex;
}
#code-form button {
  margin-top: 10px;
}
#code-form textarea {
  resize: none;
  height: 77.5px;
  font-size: 14px;
}
html body #code-form {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

.instructions-list .card {
  border-radius: 10px;
}

.button-f {
  background-color: rgb(90, 50, 175);
  background-image: linear-gradient(
    0deg,
    rgb(62, 46, 160),
    rgba(155, 35, 234, 1)
  );
  color: #fff;
  border-radius: 15px;
  border: unset;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px 0px;
  box-sizing: border-box;
  display: inline-block;
  border: 2px solid #fff;
  padding: 15px 45px 16px 45px;
  line-height: 16px;
  text-align: center;
  transition: 0.1s ease;
  transition-property: all;
  font-size: 17px;
}
.button-f_small {
  padding: 15px 12px 16px 12px;
}
button.button-f:hover {
  /* border: 2px solid; */
  border-color: rgb(90, 50, 175);
  background: #fff;
  color: #000;
}

.input > p {
  font-size: 0.9em;
  margin: 0.3em 0 0;
  color: #9e9ea6;
}

* {
  word-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
  border-radius: 0;
  margin: 0;
  text-decoration: none;
}

.logout-button:focus,
.logout-button:hover {
  background-color: rgba(216, 29, 53, 0.5);
  color: #fff;
}

.plan-table__heading {
  font-size: 1.17em;
  font-weight: 700;
  padding-top: 0.15em;
  color: #2d2c30;
}

.button-block__button:not(:last-child) {
  border-bottom-right-radius: 0;
  border-right: 0;
  border-top-right-radius: 0;
}
.button,
.button.is-loading {
  border-color: #ddddde;
  color: #2d2c30;
}

.button {
  background-color: transparent;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=");
  border-radius: 8px;
  border-style: solid;
  border-width: 1px;
  box-sizing: border-box;
  display: inline-block;
  min-width: 2em;
  padding: 0 0.6em;
  text-align: center;
  text-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.25);
  -webkit-transition: 0.1s ease;
  transition: 0.1s ease;
  -webkit-transition-property:
    background-color, border-color, color, text-shadow, box-shadow;
  transition-property:
    background-color, border-color, color, text-shadow, box-shadow;
  vertical-align: middle;
}

.button--toggleable.is-active {
  background: #f1f2f3;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

.button-block__button:not(:first-child) {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.button,
.button.is-loading {
  border-color: #ddddde;
  color: #2d2c30;
}

.button__inner {
  display: inline-block;
  line-height: 1.9em;
  pointer-events: none;
  -webkit-transform: translate(0);
  transform: translate(0);
}

.plan-table__plan-title--ru {
  font-size: 1em;
}

.plan-table__plan-title {
  font-size: 1.3em;
}

.plan-table__plan-title {
  font-weight: 700;
}

.plan-table__head-cell {
  font-weight: 400;
  text-align: left;
}

.plan-table__plan-title--free {
  border-bottom-color: #5fdcc0 !important;
}

.plan-table__plan-title--essential {
  border-bottom-color: #ffbc00 !important;
}

.plan-table__plan-title--pro {
  border-bottom-color: #cf1eeb !important;
}

.plan-table__plan-price {
  font-size: 2.3em;
}

.plan-table__plan-price .token-cur {
  font-size: 0.6em;
}

.plan-table__plan-price-note {
  font-size: 0.8em;
  line-height: 1.3;
  opacity: 0.8;
  padding-top: 0.2em;
}

.not-desktop {
  display: none;
}

.plan-table__plan-title {
  border-bottom: 2px solid;
  font-weight: 700;
  padding-bottom: 0.2em;
}

.plan-table__head-cell--plan-col {
  padding-right: 1em;
}
.plan-table__head-cell--plan-col {
  padding-right: 0.5em;
  width: 21%;
}
.plan-table__head-cell--plan-name-row {
  background-image: -webkit-linear-gradient(
    top,
    hsla(0, 0%, 100%, 0.9) 90%,
    hsla(0, 0%, 100%, 0)
  );
  background-image: linear-gradient(
    180deg,
    hsla(0, 0%, 100%, 0.9) 90%,
    hsla(0, 0%, 100%, 0)
  );
  padding-bottom: 0.5em;
  padding-top: 1em;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  vertical-align: bottom;
  z-index: 1;
}

.plan-table__title {
  font-size: 1em;
  font-weight: 700;
  padding-bottom: 0.6em;
  padding-top: 0.6em;
}

.color--light-error {
  color: #ef8a97;
}
.color--info {
  color: #3b99fc;
}

.plan-table__cell--plan {
  padding-left: 1em;
}
.plan-table__cell {
  padding-bottom: 0.6em;
  padding-top: 0.6em;
}
.plan-table__cell--feature {
  font-size: 1em;
  padding-right: 2em;
}

body,
input,
textarea {
  color: #2d2c30;
}

.plan-table__cell--feature a {
  color: #2d2c30;
  text-decoration: underline;
  -webkit-text-decoration-color: rgba(45, 44, 48, 0.35);
  text-decoration-color: rgba(45, 44, 48, 0.35);
}

html.hover a:hover {
  color: #2a80b9;
}

.plan-table__cell--feature a:hover {
  color: #3b99fc;
  -webkit-text-decoration-color: rgba(59, 153, 252, 0.35);
  text-decoration-color: rgba(59, 153, 252, 0.35);
}

.icon-and-text--small-gap .icon-and-text__icon {
  margin-right: 0.3em;
}

.button--chtr,
.button--chtr.is-loading {
  background-color: #4ea3fc;
  border-color: rgba(78, 163, 252, 0.3);
  color: #fff;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
}

.button--wide {
  padding-left: 1.1em;
  padding-right: 1.1em;
}

.button--like-fat-input .button__inner {
  line-height: 2.15em;
}

.button--chtr-o:active:not(.is-loading):not(.is-active),
.button--chtr-o:focus:not(.is-loading):not(.is-active):not(.is-mouse-focused),
.button--chtr:active:not(.is-loading):not(.is-active),
.button--chtr:focus:not(.is-loading):not(.is-active):not(.is-mouse-focused),
html:not(.mobile) .button--chtr-o:hover:not(.is-loading):not(.is-active),
html:not(.mobile) .button--chtr:hover:not(.is-loading):not(.is-active) {
  background-color: #3b99fc;
  border-color: #3b99fc;
  color: #fff;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
}
.color--tinted {
  color: #9e9ea6;
}

.plan-table__cell--plan-sub {
  background-image: -webkit-linear-gradient(
    bottom,
    hsla(0, 0%, 100%, 0.9) 90%,
    hsla(0, 0%, 100%, 0)
  );
  background-image: linear-gradient(
    0deg,
    hsla(0, 0%, 100%, 0.9) 90%,
    hsla(0, 0%, 100%, 0)
  );
  bottom: 0;
  margin-top: 8em;
  padding-bottom: 1em;
  padding-right: 0.5em;
  padding-top: 1em;
  position: -webkit-sticky;
  position: sticky;
  vertical-align: middle;
  z-index: 1;
}

.header--h3,
.header--h4 {
  margin-bottom: 0.5em;
  margin-top: 1em;
}

.header--h3 {
  display: block;
  font-size: 1.17em;
  font-weight: 600;
}

.text blockquote,
.text ol,
.text p,
.text pre,
.text ul {
  margin-bottom: 1em;
  margin-top: 0;
}

.text b,
.text strong {
  font-weight: 600;
}

a {
  color: #3b99fc;
}
html.hover a:hover {
  color: #2a80b9;
}
a:active,
a:hover {
  outline: 0;
}
* {
  word-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
  border-radius: 0;
  margin: 0;
  text-decoration: none;
}

.air-button {
  background-color: transparent;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=");
  border: none;
  box-sizing: border-box;
  color: inherit;
  cursor: pointer;
  display: inline-block;
  margin: 0 -1em;
  padding: 0 1em;
  position: relative;
  text-align: center;
  text-decoration: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.navbar__mobile-button-text {
  display: none;
}

.air-button__icon {
  opacity: 0.6;
  -webkit-transition: 0.15s;
  transition: 0.15s;
  -webkit-transition-property: opacity;
  transition-property: opacity;
}

.fa {
  display: inline-block;
  font-size: inherit;
  height: 1em;
  vertical-align: -0.16em;
}

.air-button:active .air-button__icon,
.air-button:focus .air-button__icon,
html .air-button:hover .air-button__icon {
  opacity: 1;
  -webkit-transition: none;
  transition: none;
}

html:not(.mobile) .main-layout__left-sidebar {
  visibility: hidden;
}

.contact-area-header::after {
  border-bottom: 1px solid #ebebeb;
  bottom: -1px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 6;
}

.contact-header-trigger {
  background-color: transparent;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=");
  border: none;
  box-sizing: border-box;
  color: inherit;
  cursor: pointer;
  display: inline-block;
  margin: 0 -1em;
  padding: 0 1em;
  position: relative;
  text-align: center;
  text-decoration: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .contact-list {
    max-width: 32vw;
  }
}

@media screen and (min-width: 480px) {
  .navbar__mobile-button-text {
    display: inline;
  }
}

@media (max-width: 1024px) {
  .settings-column {
    position: fixed;
    right: 0;
    max-width: 80%;
    height: 100%;
    transform: translateX(100%);
    transition: all 0.15s;
    z-index: 1000;
  }
  .settings-column.active {
    transform: translateX(0%);
  }
  .panel > .nav-tabs {
    position: fixed;
    max-width: 32vw;
    height: 100%;
    transform: translateX(-100%);
    transition: all 0.15s;
    z-index: 1000;
  }
  .tab-content:not(:has(.contact-wrapper)) {
    padding-right: 0;
  }
  .panel > .nav-tabs.active {
    transform: translateX(0%);
  }
  .form-section-row {
    flex-direction: column;
  }
}

@media (min-width: 1025px) {
  .contact-area-header-right,
  .contact-header-trigger {
    display: none;
  }
}

:host(em-emoji-picker) #preview {
  display: none;
}

.message-control .ant-btn {
  color: #000;
}

.navbar {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  position: relative;
  width: 100%;
  padding: 0;
}

.navbar__inner {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  background-color: #fff;
  width: 100%;
  color: #2d2c30;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 3rem;
  justify-content: space-between;
  -webkit-transition: 0.15s;
  transition: 0.15s;
  -webkit-transition-property: background-color;
  transition-property: background-color;
}
.navbar--no-client .navbar__inner,
.navbar--settings .navbar__inner {
  height: auto;
}

.navbar__left-mobile-button,
.navbar__right-mobile-button {
  -ms-flex-negative: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  line-height: 3rem;
  padding: 0 1rem;
}

.navbar__title-text {
  -ms-flex-negative: 1;
  word-wrap: normal;
  flex-shrink: 1;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar--no-client .navbar__inner,
.navbar--settings .navbar__inner {
  height: auto;
}
.navbar__title {
  -webkit-box-flex: 1;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex: 1;
  flex: 1;
  line-height: 3rem;
  overflow: hidden;
  padding: 0 1rem;
}

.navbar::after {
  border-bottom: 1px solid #ebebeb;
  bottom: -1px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 6;
}

body:has(.auth) {
  background-color: #fff;
}

.bot-settings-header h2 {
  line-height: 2rem;
  font-size: 1.5rem;
}

.button-row button {
  width: 48.5%;
  display: inline;
}
.button-row button:last-child {
  float: right;
}

.bot-analytics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

#code-form .input:has(textarea) {
  height: unset;
}

.bot-analytics-item {
  width: 100%;
  padding: 5px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 24px 155px 24px;
  gap: 10px;
  align-items: center;
  background: hsla(0, 0%, 100%, 0.35);
  border: 1px solid rgba(155, 35, 234, 1);
}
.bot-analytics-item-value {
  position: relative;
  bottom: 1px;
  border-bottom: 1px solid rgba(155, 35, 234, 1);
  text-align: center;
}

.bot-analytics-item > span:first-child,
.bot-analytics-item-number {
  width: 24px;
  height: 24px;
  display: flex;
  font-size: 10px;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: 10px;
  border-radius: 100%;
  background-image: linear-gradient(
    90deg,
    rgba(95, 114, 189, 1),
    rgba(155, 35, 234, 1)
  );
}

.bot-analytics {
  margin-top: 10px;
}

.code-form-wrapper {
  margin-top: auto;
}

.bot-settings-data-progress {
  border-radius: 10px;
  width: 100%;
  margin-top: 10px;
  min-height: 28px;
  height: 28px;
  border: 1px solid #ccc;
  overflow: hidden;
  position: relative;
}
.bot-settings-progress {
  border-radius: 10px;
  width: 150px;
  margin-left: auto;
  height: 28px;
  border: 1px solid #ccc;
  overflow: hidden;
  position: relative;
}

.bot-settings-progress-line {
  text-wrap: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
  color: #fff;
  justify-content: center;
  background-image: linear-gradient(
    90deg,
    rgba(95, 114, 189, 1),
    rgba(155, 35, 234, 1)
  );
}

.bot-settings-limits {
  position: absolute;
  right: 10px;
  top: 2px;
}

.bot-banner {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.bot-banner span {
  margin-top: 20px;
  text-align: center;
}

.bot-banner img {
  width: 30%;
  margin: 0 auto;
  opacity: 0.4;
}
.sidebar-logo img {
  width: 30%;
}

.plan-table__plan-title--ru {
  font-size: 1em;
}

.plan-table__plan-price {
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1;
  margin-right: 0.15em;
}
.plan-table__heading {
  font-size: 1.17em;
  font-weight: 700;
  padding-top: 0.15em;
}
.plan-table__cell--feature {
  font-size: 0.9em;
  padding-right: 1em;
}

.button-f {
  transition: all 0.15s;
}

.button-f:hover {
  opacity: 0.95;
}

/* notifies */

.notify-page-tabs {
  margin-bottom: 22px;
}

.notify-page-tabs .button-f {
  margin-right: 22px;
}

.notify {
  display: flex;
  align-items: center;
  background: #ececec;
  border-radius: 12px;
  border: 1px solid rgb(155, 35, 234);
  position: relative;
  padding: 22px;
  margin-bottom: 22px;
}
.notify-close {
  position: absolute;
  right: -5px;
  top: -5px;
  color: #fff;
  background-image: linear-gradient(
    90deg,
    rgb(95, 114, 189),
    rgb(155, 35, 234)
  );
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  border-radius: 100%;
  cursor: pointer;
  justify-content: center;
  font-size: 15px;
  padding-bottom: 3px;
  user-select: none;
}

.notify-left {
  transition: all 0.15s;
  color: rgba(0, 0, 0, 0.8);
  display: flex;
  gap: 10px;
}
.notify:hover .notify-left {
  color: rgba(0, 0, 0, 1);
}

.notify-text {
  margin: 0;
}

.count {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1px;

  background-color: #fb4a46;
  border-radius: 1em;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  min-width: 16px;
  min-height: 16px;
  position: relative;
  top: 2px;
}

/* notifies */

.notify-page > h3 {
  margin-bottom: 24px;
}

/* account-settings */
.message-settings {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.account-settings-avatar {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.account-settings-avatar img {
  width: 51px !important;
  height: 51px !important;
}

.input {
  position: relative;
}

.input .sketch-picker-wrapper.active {
  display: flex;
}
.input .sketch-picker-wrapper {
  display: none;
  position: absolute;
  top: 74px;
  right: 0px;
  z-index: 1000;
}

.sketch-picker > div:first-child,
.sketch-picker > div:nth-child(2) {
  user-select: none;
}

.navbar__right {
  display: none;
}
/* navbar new */
@media (max-width: 1024px) {
  .tab-content:not(:has(.contact-wrapper)) .navbar {
    display: flex !important;
  }
  .navbar__right {
    display: flex;
    align-items: center;
    aspect-ratio: 1/1;
    justify-content: center;
    cursor: pointer;
    padding-right: 4px;
  }
}

@media (min-width: 1025px) {
  .notify-page {
    padding-right: 1.5rem;
  }
}

/* chat widget html formatting */

.contact-message h1,
.contact-message h2,
.contact-message h3,
.contact-message h4,
.contact-message h5,
.contact-message h6 {
  font-size: 20px;
}
.contact-message h1:first-child,
.contact-message h2:first-child,
.contact-message h3:first-child,
.contact-message h4:first-child,
.contact-message h5:first-child,
.contact-message h6:first-child {
  padding-top: 5px;
}
.contact-message table {
  border: 1
}

.contact-message tbody tr td:not(:last-child), .contact-message tbody tr th:not(:last-child) {
  border-right: 1px solid #BBBCBC;
}
.contact-message table td, .contact-message table th {
  padding-left: 10px;
  padding-right: 10px;
}
.contact-message tbody td, .contact-message tbody th {
  font-size: 14px;
}
.contact-message tbody td {
  padding-top: 10px;
  padding-bottom: 10px;
}
.contact-message table tr:not(:last-child) {
  border-bottom: 1px solid #BBBCBC;
}

.contact-message table {
  display: block;
  overflow-x: auto;
  margin: 18.94px 0px;
}
.contact-message table {
  border: 1px solid #BBBCBC;
  border-collapse: collapse;
}

.contact-message code {
  display: block;
  padding: 5px;
  background-color: #f5f5f5;
  border: 1px solid #BBBCBC;
  margin: 18.94px 0px;
  color: #8b949e;
  padding-right: 5px;
  overflow-x: auto;
}
.message-group-content {
  width: calc(100% - 40px);
}

.general-form-left-side > .form-section:nth-child(2) {
  z-index: 222;
}

/* payment history */

.payment-history {
  margin-top: 24px;
  margin-bottom: 24px;
}

.payment {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr;
  width: 90%;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 7.5px;
  border-bottom: 1px solid #3E2EA0;
  border-left: 1px solid #3E2EA0;
  border-right: 1px solid #3E2EA0;
}
.payment:first-of-type {
  border-top: 1px solid #3E2EA0;
  border-radius: 12px 12px 0 0;
  font-weight: 600;
  margin-top: 12px;
}
.payment:not(:first-of-type) {
  font-size: 14px;

} 
.payment:last-of-type {
  border-radius: 0 0 12px 12px;
}
.payment:not(:first-of-type) .payment__date {
  opacity: 0.8;
}
.payment:not(:first-of-type) .payment__status-amount {
  opacity: 1;
}
.payment:not(:first-of-type) .payment__description {
  opacity: 0.9;
}
.payment__status-icon {
  fill: #3E2EA0;
  stroke: #3E2EA0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment__status-icon svg {
  width: 20px;
  height: 20px;
}
.payment-failure-icon {
  transform: scale(1.5);
}
.payment-processing-icon {
  transform: scale(1.2);
}

@media (max-width: 500px) {
  .payment {
    grid-template-columns: 50px 1fr 1fr 1fr;
    width: 100%;
  }
  .payment-history {
    display: grid;
  }
}

.generate-token {
  font-size: 13px;
  height: 34px !important;
  width: 202px;
}
@media (max-width: 640px) {
  .input:has(.generate-token) {
    flex-direction: column !important;
  }
}

/* tarif popup */
.tarif-popup {
  position: relative;
  overflow: hidden;
}
.tarif-popup .popup-1__section:first-of-type {
  margin-top: 25px;
}
.tarif-popup__periods,
.tarif-popup__payment-methods {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
  user-select: none;
}
.tarif-popup__period,
.tarif-popup__payment-method {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
  border-radius: 12px;
  transition: all .25s;
}

.tarif-popup__period:hover,
.tarif-popup__period.active,
.tarif-popup__payment-method.active,
.tarif-popup__payment-method:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.tarif-popup__period.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.tarif-popup button {
  margin-top: auto;
}
.tarif-popup__body {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: opacity .25s, transform .25s;
  transform: translateY(0);
  opacity: 0;
  flex-shrink: 0;
}

.tarif-popup__body.active {
  opacity: 1;
}
.tarif-popup__body.hidden {
  position: absolute;
  pointer-events: none;
  transform: translateY(75px);
  height: calc(100% - 48px);
  width: calc(100% - 48px);
}

@media (max-width: 767px) {
  .tarif-popup__periods,
  .tarif-popup__payment-methods {
    flex-wrap: wrap;
  }
  .tarif-popup__body {
    overflow-y: auto !important;
  }
}
/* tarif popup */

/* lk popups */

.popup-1-overlay {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100000;
}
.popup-1 {
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 500px;
  max-height: 550px;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.popup-1__point-title {
  font-weight: 600;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .popup-1-overlay {
    padding: 0 20px;
  }
}
/* lk popups */

/* lk popups status*/


  /* loading*/
.popup-1__loading {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .25s;
  position: absolute;
  height: calc(100% - 48px);
  width: calc(100% - 48px);
  pointer-events: none;
}
.popup-1__loading.active {
  opacity: 1;
  pointer-events: all;
}
.popup-1__error-title,
.popup-1__success-title,
.popup-1__loading-title {
  text-align: center;
  margin-top: 20px;
  font-weight: 600;
  font-size: 20px;
}

  /* loading */

  /* success */

  .popup-1__success-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3E2EA0;
    border-radius: 100%;
    padding: 10px;
  }
  .popup-1__success-icon-wrapper svg {
    width: 64px;
    height: 64px;
    fill: #fff;
  }
  .popup-1__success {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .25s;
    position: absolute;
    height: calc(100% - 48px);
    width: calc(100% - 48px);
    pointer-events: none;
  }
  .popup-1__success.active {
    position: all;
    opacity: 1;
    pointer-events: all;
  }

  /* success */

  /* error */

  .popup-1__error-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3E2EA0;
    border-radius: 100%;
    padding: 16px;
  }
  .popup-1__error-icon-wrapper svg {
    width: 54px;
    height: 54px;
    fill: #fff;
  }
  .popup-1__error {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .25s;
    position: absolute;
    height: calc(100% - 48px);
    width: calc(100% - 48px);
    pointer-events: none;
  }
  .popup-1__error.active {
    position: all;
    opacity: 1;
    pointer-events: all;
  }

  /* error */

.lds-ring,
.lds-ring div {
  box-sizing: border-box;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid currentColor;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: currentColor transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* lk popups status */

.telegram-block {
  background-color: #f4f5f7;
  padding: 24px;
  border-radius: 12px;
}
@media (max-width: 480px) {
  .actions-row {
    flex-direction: column !important;
  }
}

.email-hint-wrapper {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}

@media (max-width: 647px) {
  .email-hint-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

.email-hint-wrapper button {
  flex-shrink: 0;
}