@charset "UTF-8";

:root {
  --p: 40px;
  --max-width: 1636px;
  --swiper-theme-color: #9d1a1c;
}

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

a:-webkit-any-link:active {
  color: #fff;
}

html {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  height: 100%;
  background: #f5f5f5;
  color: #0d0d0d;
  line-height: initial;
  scrollbar-gutter: stable;
  scroll-padding-top: 95px;
}

html.lock {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  padding-right: var(--scrollbar-width);
}

body {
  overflow-x: clip;
  max-width: 1920px;
  position: relative;
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
}

.page_wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding-top: 60px;
  z-index: 1;
}

.container {
  position: relative;
  max-width: calc(var(--max-width) + var(--p) * 2);
  margin: 0 auto;
  padding-left: var(--p);
  padding-right: var(--p);
  width: 100%;
}

.container.container_main {
  max-width: calc(1300px + var(--p) * 2);
}

img {
  display: block;
  max-width: 100%;
}

hr {
  height: 0;
  border: none;
  margin: 0;
  border-bottom: 1px solid #d4dfe7;
  width: 100%;
}

hr.dash {
  border: none;
  height: 1px;
  background-image: linear-gradient(to right, #d4dfe7 70%, rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 39px 1px;
  background-repeat: repeat-x;
}

.wrapper {
  display: grid;
  grid-template-columns: 260px calc(100% - 260px - 32px);
  align-items: start;
  gap: 32px;
}

.block {
  box-shadow: 0 8px 24px 0 rgba(58, 68, 75, 0.04);
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  position: relative;
  z-index: 0;
  max-width: 100%;
}

.block::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 64px;
  height: 64px;
  background-image: url("./../img/logo.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.5;
  z-index: -1;
}

.block > h2 {
  padding-right: 60px;
  width: 100%;
}

.block + .block {
  margin-top: 24px;
}

.block[style*="display: none"] + .block {
  margin-top: 0;
}

h1 {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 62px;
  line-height: 1;
  color: #403b50;
  margin: 0;
}

h2 {
  font-weight: 500;
  font-size: 32px;
  margin: 0;
  font-family: "Jura", sans-serif;
}

h3 {
  font-weight: 500;
  font-size: 24px;
  margin: 0;
  font-family: "Jura", sans-serif;
}

.hidden {
  display: none !important;
}

.notification_msg {
  box-shadow: 0 0 rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  color: #fff;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background-color: rgb(34, 197, 94);
  border-radius: 0.5rem;
  z-index: 50;
  top: 1rem;
  right: 1rem;
  position: fixed;
}

.dialog_link {
  display: inline-block;
  text-decoration: none;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  color: #9d1a1c;
  font-size: inherit;
  transition: all 250ms ease-in-out;
}

.dialog_link:hover,
.dialog_link:focus {
  color: #60a5fa;
}

.gap-0 {
  gap: 0 !important;
}

.contrast {
  color: #D8525B;
}

section {
  margin-bottom: 150px;
}

ul.checks {
  list-style: none;
  padding-left: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.35294;
  color: #000;
}

ul.checks > li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 0.5em;
}

ul.checks > li::last-child {
  margin-bottom: 0;
}

ul.checks > li::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM12.0303 4.96967C11.7374 4.67678 11.2626 4.67678 10.9697 4.96967C10.9626 4.97674 10.9559 4.98424 10.9498 4.9921L7.4774 9.41674L5.38388 7.32322C5.09098 7.03033 4.61611 7.03033 4.32322 7.32322C4.03032 7.61612 4.03032 8.09099 4.32322 8.38388L6.96966 11.0303C7.26256 11.3232 7.73743 11.3232 8.03032 11.0303C8.03685 11.0238 8.043 11.0169 8.04876 11.0097L12.041 6.01947C12.3232 5.72582 12.3196 5.25897 12.0303 4.96967Z' fill='%23D8525B' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 3px;
  left: 0;
}

ul.checks > li.unchecked::before {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM5.35355 4.64645C5.15829 4.45118 4.84171 4.45118 4.64645 4.64645C4.45118 4.84171 4.45118 5.15829 4.64645 5.35355L7.29289 8L4.64645 10.6464C4.45118 10.8417 4.45118 11.1583 4.64645 11.3536C4.84171 11.5488 5.15829 11.5488 5.35355 11.3536L8 8.70711L10.6464 11.3536C10.8417 11.5488 11.1583 11.5488 11.3536 11.3536C11.5488 11.1583 11.5488 10.8417 11.3536 10.6464L8.70711 8L11.3536 5.35355C11.5488 5.15829 11.5488 4.84171 11.3536 4.64645C11.1583 4.45118 10.8417 4.45118 10.6464 4.64645L8 7.29289L5.35355 4.64645Z' fill='%23D9D9D9' /%3E%3C/svg%3E");
}

.desing_arrow {
  background-image: url("./../img/desing_arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 155px;
  height: 62px;
}

#btn_up {
  transition: all 250ms ease-in-out;
  position: fixed;
  z-index: 50;
  bottom: 50px;
  right: 50px;
  scale: 0;
  pointer-events: none;
  cursor: pointer;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

#btn_up.active {
  scale: 1;
  pointer-events: all;
}

#btn_up:hover {
  opacity: 0.8;
}

.accordion {
  --padding-accordion: 20px;
}

.accordion .accordion-item {
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #efefef;
}

.accordion .accordion-content {
  display: none;
  padding: var(--padding-accordion) 0;
  margin: 0 var(--padding-accordion);
  border-top: 1px solid #d9d9d9;
}

.accordion .accordion-header {
  padding: calc(var(--padding-accordion) + 2px) var(--padding-accordion);
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #403b50;
}

.accordion .accordion-header::after {
  content: "";
  width: 13px;
  min-width: 13px;
  height: 13px;
  display: block;
  margin-top: 4px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='13' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 0C7.21797 0 7.8 0.58203 7.8 1.3V5.2H11.7C12.418 5.2 13 5.78203 13 6.5C13 7.21797 12.418 7.8 11.7 7.8H7.8V11.7C7.8 12.418 7.21797 13 6.5 13C5.78203 13 5.2 12.418 5.2 11.7V7.8H1.3C0.58203 7.8 0 7.21797 0 6.5C0 5.78203 0.58203 5.2 1.3 5.2H5.2V1.3C5.2 0.58203 5.78203 0 6.5 0Z' fill='%23403B50' /%3E%3C/svg%3E");
  transition: transform 0.2s;
}

.accordion .accordion-header.active::after {
  transform: rotate(-45deg);
}

.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 16px;
  height: 16px;
  border: 1px solid #403b50;
  border-radius: 20px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.2;
  color: #403b50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
}

.tooltip-text {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: default;
}

.tooltip-container.active .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-container.active .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

@view-transition {
  navigation: auto;
}

.btn_password_visible {
  cursor: pointer;
}

.btn_password_visible.active::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #403b50;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: center;
}

.page_top_bg {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
  width: 440px;
  height: 412px;
  background-image: url("./../img/bg_header.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain;
  pointer-events: none;
}

.header {
  margin-top: 57px;
  margin-bottom: 50px;
  z-index: 10;
  position: relative;
  position: sticky;
  top: 0;
}

.header_wrapper {
  background-color: #f5f5f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: inset 0 0 3px 1px rgb(255, 255, 255);
  position: relative;
}

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

.header_logo img {
  width: 269px;
}

.header_mobile_wrapper {
  display: contents;
}

.header_nav .nav_list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.header_nav .nav_list a {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2.1024;
  color: #403b50;
  text-decoration: none;
  transition: all 250ms ease-in-out;
}

.header_nav .nav_list a:hover {
  color: #9d1a1c;
}

.header_nav .nav_list a.inview {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.header_actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.burger-checkbox {
  position: absolute;
  visibility: hidden;
}

.burger {
  position: relative;
  z-index: 1;
  cursor: pointer;
  display: block;
  position: relative;
  border: none;
  background: transparent;
  width: 40px;
  height: 26px;
  order: 2;
  display: none;
}

.burger::before,
.burger::after {
  content: "";
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #9d1a1c;
}

.burger::before {
  top: 0;
  box-shadow: 0 11px 0 #9d1a1c;
  transition: box-shadow 0.3s 0.15s, top 0.3s 0.15s, transform 0.3s;
}

.burger::after {
  bottom: 0;
  transition: bottom 0.3s 0.15s, transform 0.3s;
}

.burger-checkbox:checked + .burger::before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.15s, top 0.3s, transform 0.3s 0.15s;
}

.burger-checkbox:checked + .burger::after {
  bottom: 11px;
  transform: rotate(-45deg);
  transition: bottom 0.3s, transform 0.3s 0.15s;
}

.burger-checkbox:checked ~ .header_mobile_wrapper {
  right: 0;
  visibility: visible;
}

.footer {
  margin-top: 100px;
  margin-bottom: 25px;
}

.footer_wrapper {
  display: flex;
  flex-direction: column;
  gap: 59px;
}

.footer_top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 50px;
}

.footer_top .footer_main_info {
  display: flex;
  flex-direction: column;
  gap: 37px;
}

.footer_top .logo {
  max-width: 336px;
  width: 100%;
}

.footer_top .logo img {
  width: 100%;
}

.footer_top p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 19px;
  color: #403b50;
  margin: 0;
}

.footer_top .footer_legal,
.footer_top .footer_contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer_top .footer_legal a,
.footer_top .footer_contacts a {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #403b50;
  text-decoration: none;
  transition: all 250ms ease-in-out;
}

.footer_top .footer_legal a:hover,
.footer_top .footer_contacts a:hover {
  color: #9d1a1c;
}

.footer_top .footer_col_name {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #000;
}

.footer_top .contact_item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #403b50;
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer_bottom p,
.footer_bottom a {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #949494;
  text-decoration: none;
  margin: 0;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  padding: 19px 48px;
  width: -moz-fit-content;
  width: fit-content;
  text-decoration: none;
  border-radius: 10px;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}

.btn.btn_primary {
  box-shadow: 0 13px 15px 0 rgba(104, 14, 15, 0.2);
  background: #9d1a1c;
  color: #fff;
}

.btn.btn_primary:hover {
  background: #d8525b;
  box-shadow: none;
}

.btn.btn_secondary {
  background: #625d72;
}

.btn.btn_secondary:hover {
  background: #d8525b;
}

.btn.btn_outline {
  box-shadow: 0 13px 15px 0 rgba(98, 93, 114, 0.15);
  background: #f9f9f9;
  color: #d8525b;
}

.btn.btn_outline:hover {
  background: #d8525b;
  color: #fff;
}

.btn.btn_s {
  border-radius: 50px;
  padding: 8px 17px;
  border: 1px solid #9d1a1c;
  background: #9d1a1c;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
}

.btn.btn_s:hover {
  background: #d8525b;
  border: 1px solid #d8525b;
  color: #fff;
}

.btn.btn_primary_s {
  border-radius: 50px;
  padding: 8px 17px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  text-align: center;
  color: #b52f38;
  background: #fff;
  border: 1px solid #9d1a1c;
}

.btn.btn_primary_s:hover {
  background: #d8525b;
  border: 1px solid #d8525b;
  color: #fff;
}

.btn.btn_secondary_s {
  border-radius: 50px;
  padding: 8px 17px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  background: #fff;
  color: #988;
  border: 1px solid #988;
}

.btn.btn_secondary_s:hover {
  background: #d8525b;
  border: 1px solid #d8525b;
  color: #fff;
}

select.custom_select {
  opacity: 0;
}

.choices {
  max-width: 100%;
}

.choices.is-flipped .choices__list--dropdown,
.choices.is-flipped .is-flipped .choices__list[aria-expanded] {
  bottom: unset;
}

.choices select.custom_select {
  opacity: 0;
  display: block !important;
  position: absolute;
  top: 0%;
  left: 50%;
  z-index: -999;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  flex: 0 !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
}

.choices select.custom_select + .error {
  display: none !important;
}

.choices .choices__inner .choices__item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: 350px;
}

.choices.is-focused .choices__inner {
  border-color: #d8525b !important;
}

.choices.is-disabled .choices__inner {
  background: rgba(212, 223, 231, 0.2) !important;
  border-color: #d4dfe7 !important;
}

.choices.is-disabled .choices__item {
  color: #6b7280;
}

.choices .choices__item--disabled {
  opacity: 1;
  color: #d1d5db;
  background-color: transparent !important;
}

.choices[data-type*=select-one] {
  margin: 0;
  color: #0d0d0d;
}

.choices[data-type*=select-one]::after,
.choices[data-type*=select-one].is-open::after {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.59 8.29498L12 12.875L7.41 8.29498L6 9.70498L12 15.705L18 9.70498L16.59 8.29498Z' fill='%23403B50' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 24px;
  height: 24px;
  margin-top: 0;
  box-shadow: none;
  border: none;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.choices[data-type*=select-one]:hover .choices__inner {
  border: 1px solid #d8525b;
}

.choices[data-type*=select-one] .choices__inner {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid #d4dfe7;
  border-radius: 16px;
  padding: 0px 16px;
  height: 48px;
  display: flex;
  align-items: center;
  background-color: transparent;
  padding-right: 36px;
}

.choices[data-type*=select-one] .choices__inner .choices__list--single {
  padding: 0;
}

.choices[data-type*=select-one] .choices__placeholder {
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.choices[data-type*=select-one] .choices__list--dropdown .choices__placeholder {
  display: none !important;
}

.choices[data-type*=select-one] .choices__list--dropdown,
.choices[data-type*=select-one] .choices__list[aria-expanded] {
  top: 100%;
  padding-top: 10px;
  border: none;
  background-color: transparent;
  z-index: 2;
  word-break: unset;
}

.choices[data-type*=select-one] .choices__list--dropdown .choices__list,
.choices[data-type*=select-one] .choices__list[aria-expanded] .choices__list {
  background-color: #fff;
  border: 1px solid #d4dfe7;
  border-radius: 16px;
  padding: 6px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.choices[data-type*=select-one] .choices__list--dropdown .choices__item,
.choices[data-type*=select-one] .choices__list[aria-expanded] .choices__item {
  padding: 8px 12px;
  width: 100%;
  border-radius: 12px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  font-family: "Inter", sans-serif;
}

.choices[data-type*=select-one] .choices__list--dropdown .is-highlighted,
.choices[data-type*=select-one] .choices__list[aria-expanded] .is-highlighted {
  background-color: #F2F5F9;
}

.choices[data-type*=select-one] .choices__list--dropdown .is-selected,
.choices[data-type*=select-one] .choices__list[aria-expanded] .is-selected {
  background: #f2f5f9;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 8px;
  color: #d8525b;
  font-weight: 500;
}

.choices[data-type*=select-one] .choices__list--dropdown .is-selected::after,
.choices[data-type*=select-one] .choices__list[aria-expanded] .is-selected::after {
  content: "";
  opacity: 1;
  display: block;
  width: 14px;
  height: 14px;
  margin-left: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.6811 1.08775C12.9877 1.26671 13.0912 1.66036 12.9123 1.96699L7.18062 11.7875C7.18062 11.7876 7.18063 11.7875 7.18062 11.7875C7.06971 11.9782 6.91901 12.1427 6.73883 12.2699C6.55979 12.3963 6.35579 12.4829 6.14054 12.5239C5.92342 12.567 5.69942 12.5615 5.48462 12.5078C5.27009 12.4542 5.07009 12.3538 4.89892 12.2138L1.24129 9.28772C0.964052 9.06593 0.919103 8.66139 1.14089 8.38415C1.36268 8.10691 1.76722 8.06196 2.04446 8.28375L5.71225 11.218C5.73682 11.2382 5.76556 11.2528 5.79645 11.2605C5.82734 11.2682 5.85956 11.269 5.89077 11.2627L5.89929 11.261C5.93459 11.2543 5.96805 11.2403 5.99738 11.2195C6.02672 11.1988 6.05125 11.1721 6.0693 11.141L11.8018 1.31892C11.9808 1.01228 12.3745 0.908786 12.6811 1.08775Z' fill='%23d8525b' /%3E%3C/svg%3E");
}

dialog {
  z-index: 100;
  padding: 0;
  border: none;
  transform-origin: 50% 50%;
  animation: dialog 300ms ease forwards 1;
  will-change: scale, opacity;
  background-color: transparent;
  scale: 1;
}

dialog::backdrop {
  opacity: 0;
  will-change: opacity;
  background: rgba(0, 0, 0, 0.25);
  animation: backdrop 500ms ease forwards 1;
}

dialog[open=""] {
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

dialog[open=""]::backdrop {
  opacity: 1;
}

dialog .dialog_wrapper {
  overflow: auto;
  position: relative;
  max-height: 100%;
  overscroll-behavior: contain;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.08);
  background: #fff;
  border-radius: 32px;
  padding: 40px;
  max-width: 100vw;
  width: -moz-fit-content;
  width: fit-content;
}

dialog .dialog_close {
  cursor: pointer;
  background: none;
  outline: none;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: auto;
  color: #000;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  background: #fff;
  border: 1px solid #000;
  border-radius: 4px;
  transition: all 250ms ease-in-out;
}

dialog .dialog_close svg {
  width: 24px;
  height: 24px;
}

dialog h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: 0;
  margin: 24px 0;
}

@keyframes dialog {
  from {
    scale: 0.5;
    opacity: 0.5;
  }
}

@keyframes backdrop {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.diagnostic_modal .dialog_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  border-radius: 10px;
  padding: 0;
}

.diagnostic_modal .form_inner {
  display: flex;
  flex-direction: column;
  gap: 49px;
  padding: 50px 0 50px 50px;
}

.diagnostic_modal h2 {
  margin: 0;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  color: #403b50;
}

.diagnostic_modal form {
  display: flex;
  flex-direction: column;
  gap: 49px;
}

.diagnostic_modal fieldset.text input,
.diagnostic_modal fieldset.text select {
  border: 1px solid #949494;
  border-radius: 4px;
  padding: 20px;
}

.diagnostic_modal fieldset.text input[type=time] {
  padding: 19px 20px;
}

.diagnostic_modal fieldset.text select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.24775 11.1399L2.45152 5.6585C1.88576 5.01192 2.34494 4 3.20409 4H12.7966C13.6557 4 14.1149 5.01192 13.5491 5.6585L8.7529 11.1399C8.35449 11.5952 7.64616 11.5952 7.24775 11.1399Z' fill='%23949494' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 20px) center;
  background-size: 16px;
  padding-right: 40px;
  color: #000;
}

.diagnostic_modal .row_3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.diagnostic_modal .map_container {
  width: 100%;
  overflow: hidden;
}

.diagnostic_modal .map_container #diagnostic_map {
  width: 100%;
  height: 100%;
}

.diagnostic_modal select option:disabled {
  display: none;
}

.dialog .balls_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.dialog .balls_info h3 {
  margin: 0 0 10px;
}

.dialog .balls_info .ball_item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.dialog .balls_info p {
  margin: 0;
}

.dialog .balls_info span {
  font-weight: 900;
}

input[type=date i] {
  font-family: inherit;
}

label {
  position: relative;
}

label.text {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d4dfe7;
  border-radius: 16px;
  padding: 10px 16px;
  background: #fff;
}

label.text:focus-within {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #9d1a1c;
}

label.text input {
  flex: 1;
  border: none;
  padding: 0;
  line-height: 1.5;
  outline: none;
  font-size: 16px;
}

label.text input::-moz-placeholder {
  color: #0d0d0d;
  opacity: 0.5;
}

label.text input::placeholder {
  color: #0d0d0d;
  opacity: 0.5;
}

label.text button {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  padding: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition-delay: 99999s;
}

fieldset {
  padding: 0;
  border: none;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

fieldset.text,
fieldset.textarea,
fieldset.select {
  margin: 0;
  border: none;
  font-size: 16px;
}

fieldset.text label,
fieldset.textarea label,
fieldset.select label {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

fieldset.text input,
fieldset.text select,
fieldset.text textarea,
fieldset.textarea input,
fieldset.textarea select,
fieldset.textarea textarea,
fieldset.select input,
fieldset.select select,
fieldset.select textarea {
  font-family: "Inter", sans-serif;
  flex: 1;
  border: none;
  padding: 0;
  line-height: 1.5;
  outline: none;
  font-size: 16px;
  border: 1px solid #e7d4d4;
  border-radius: 16px;
  padding: 10px 16px;
  background: #fff;
  width: 100%;
  text-overflow: ellipsis;
  min-height: 48px;
}

fieldset.text input:focus-within,
fieldset.text select:focus-within,
fieldset.text textarea:focus-within,
fieldset.textarea input:focus-within,
fieldset.textarea select:focus-within,
fieldset.textarea textarea:focus-within,
fieldset.select input:focus-within,
fieldset.select select:focus-within,
fieldset.select textarea:focus-within {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #9d1a1c;
}

fieldset.text input::-moz-placeholder, fieldset.text select::-moz-placeholder, fieldset.text textarea::-moz-placeholder, fieldset.textarea input::-moz-placeholder, fieldset.textarea select::-moz-placeholder, fieldset.textarea textarea::-moz-placeholder, fieldset.select input::-moz-placeholder, fieldset.select select::-moz-placeholder, fieldset.select textarea::-moz-placeholder {
  color: #0d0d0d;
  opacity: 0.5;
}

fieldset.text input::placeholder,
fieldset.text select::placeholder,
fieldset.text textarea::placeholder,
fieldset.textarea input::placeholder,
fieldset.textarea select::placeholder,
fieldset.textarea textarea::placeholder,
fieldset.select input::placeholder,
fieldset.select select::placeholder,
fieldset.select textarea::placeholder {
  color: #0d0d0d;
  opacity: 0.5;
}

fieldset.text input:disabled,
fieldset.text select:disabled,
fieldset.text textarea:disabled,
fieldset.textarea input:disabled,
fieldset.textarea select:disabled,
fieldset.textarea textarea:disabled,
fieldset.select input:disabled,
fieldset.select select:disabled,
fieldset.select textarea:disabled {
  cursor: not-allowed;
  background-color: rgba(212, 223, 231, 0.2);
  color: #6b7280;
}

.custom_radio.big .radio_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 69px;
  height: 100%;
}

.custom_radio.big .radio_wrapper::before {
  top: 15px;
  transform: unset;
}

.custom_radio.big .radio_wrapper::after {
  top: 20px;
  transform: unset;
}

.custom_radio input {
  display: none;
}

.custom_radio input:checked + .radio_wrapper {
  border-color: #9d1a1c;
}

.custom_radio input:checked + .radio_wrapper::after {
  background: #9d1a1c;
}

.custom_radio input:checked + .radio_wrapper::before {
  border-color: #9d1a1c;
}

.custom_radio .radio_wrapper {
  font-weight: 500;
  font-size: 14px;
  padding: 16px 25px 16px 40px;
  border: 1px solid #d4dfe7;
  background-color: #fff;
  border-radius: 21px;
  display: block;
  position: relative;
  cursor: pointer;
  line-height: 1;
  transition: all 250ms ease-in-out;
}

.custom_radio .radio_wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: all 250ms ease-in-out;
}

.custom_radio .radio_wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid #d4dfe7;
  border-radius: 50%;
  transition: all 250ms ease-in-out;
}

fieldset.checkbox {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}

fieldset.checkbox.fieldset_error span::before {
  border-color: red;
}

fieldset.checkbox label {
  cursor: pointer;
}

fieldset.checkbox label input {
  visibility: hidden;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
}

fieldset.checkbox label input:checked ~ span::after {
  display: block;
}

fieldset.checkbox label span {
  position: relative;
  display: block;
  padding-left: 28px;
}

fieldset.checkbox label span::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #d4dfe7;
  transform: translateY(-50%);
  border-radius: 5px;
  background-color: #fff;
}

fieldset.checkbox label span::after {
  content: "";
  display: none;
  position: absolute;
  top: -3px;
  left: 0px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='%239d1a1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

fieldset.checkbox a {
  color: inherit;
  text-decoration: underline;
  transition: color 250ms ease-in-out;
}

fieldset.checkbox a:hover {
  text-decoration: none;
}

.auth_wrapper {
  width: 100%;
  background-color: #fff;
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 0;
  align-items: center;
  margin-top: -60px;
  min-height: 100vh;
}

.auth_wrapper .bg_desktop {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 65px;
  background: #403B50;
}

.auth_wrapper .bg_desktop img {
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  max-height: calc(100vh - 130px);
}

.auth_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin: 65px auto;
  padding: 0 20px;
  width: 100%;
}

.auth_content .logo {
  margin-bottom: 68px;
  width: 336px;
}

.auth_links {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 35px;
}

.auth_links .auth_link {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 28px;
  text-align: center;
  color: #988;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
}

.auth_links .auth_link:hover {
  color: #403b50;
}

.auth_links .auth_link.active {
  color: #403b50;
  position: relative;
  pointer-events: none;
}

.auth_links .auth_link.active::before {
  content: "+";
  font-size: 0.9em;
  color: #d8525b;
  position: absolute;
  top: -0.3em;
}

.auth_links .auth_link.active.plus_right::before {
  left: calc(100% + 4px);
}

.auth_links .auth_link.active.plus_left::before {
  right: calc(100% + 4px);
}

.auth_form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 542px;
}

.auth_form .grid_2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 10px;
}

.auth_form fieldset.text input,
.auth_form fieldset.text select {
  border: none;
  border-bottom: 1px solid #d9d9d9;
  padding: 6px 3px;
  border-radius: 0;
}

.auth_form .checkbox,
.auth_form .capcha_wrapper {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #988;
}

.auth_form .checkbox a,
.auth_form .capcha_wrapper a {
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  color: #d8525b;
  transition: color 0.3s;
}

.auth_form .checkbox a:hover,
.auth_form .capcha_wrapper a:hover {
  color: #403b50;
}

.auth_form .recover_desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #988;
}

.auth_form .recover_desc a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.auth_form .recover_desc a:hover {
  color: #403b50;
}

.auth_footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.auth_footer a {
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 19px;
  text-align: right;
  color: #988;
  transition: color 0.3s;
}

.auth_footer a:hover {
  color: #403b50;
}

.profile_page {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  width: 100%;
  align-items: start;
  margin-bottom: 50px;
}

.profile_page .aside_toggle {
  display: none;
}

.profile_page .aside {
  display: flex;
  flex-direction: column;
  gap: 50px;
  border-radius: 20px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  padding: 20px 11px;
  position: sticky;
  top: 10px;
}

.profile_page .aside .aside_close {
  display: none;
}

.profile_page .user_block {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: "Inter", sans-serif;
}

.profile_page .user_avatar {
  --p-avatar-width: 63px;
  --p-avatar-height: 63px;
  padding: 6px;
  width: 75px;
  height: 75px;
  min-width: 75px;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg width='75' height='75' viewBox='0 0 75 75' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.3584 63.5078C20.4774 68.9529 28.5387 72.2626 37.374 72.2627C45.8147 72.2627 53.5481 69.2409 59.5576 64.2236L61.5791 66.2451C55.0644 71.7082 46.6672 74.9999 37.5 75C27.874 75 19.0968 71.371 12.457 65.4092L14.3584 63.5078ZM65.6943 12.7773C71.4868 19.3779 75 28.0282 75 37.5C75 47.7419 70.892 57.0232 64.2363 63.791L62.21 61.7646C68.2751 55.5259 72.0127 47.0123 72.0127 37.624C72.0127 28.943 68.8183 21.0084 63.542 14.9297L65.6943 12.7773ZM3.19336 31.9971C2.89415 33.8286 2.73633 35.7079 2.73633 37.624C2.73634 46.6183 6.16531 54.811 11.7861 60.9688L9.88574 62.8691C3.74828 56.192 3.79869e-05 47.2841 0 37.5C0 35.3807 0.177787 33.3027 0.515625 31.2793L3.19336 31.9971ZM37.5 0C47.4382 7.21023e-05 56.4721 3.86752 63.1826 10.1777L61.0332 12.3271C54.8413 6.53368 46.5225 2.98538 37.374 2.98535C21.4161 2.98555 7.98044 13.7776 3.96289 28.4609L1.28418 27.7432C5.57861 11.7636 20.1646 0 37.5 0Z' fill='url(%23paint0_linear_2001_1613)'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_2001_1613' x1='78.9156' y1='17.0683' x2='8.7337e-07' y2='37.5' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23D8525B'/%3E%3Cstop offset='0.288462' stop-color='%23F4B860'/%3E%3Cstop offset='0.677885' stop-color='%23D8525B'/%3E%3Cstop offset='1' stop-color='%23B00C2F'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
}

.profile_page .user_avatar img {
  width: var(--p-avatar-width);
  height: var(--p-avatar-height);
  border-radius: 50%;
  overflow: hidden;
}

.profile_page .user_score {
  position: absolute;
  top: 50px;
  left: 46px;
  min-width: 36px;
  min-height: 36px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  color: #d8525b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  border-radius: 27px;
  padding: 5px;
}

.profile_page .user_info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #403b50;
}

.profile_page .user_name {
  font-weight: 500;
  font-size: 15px;
  color: #403b50;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
}

.profile_page .user_email {
  opacity: 0.6;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #403b50;
}

.profile_page .user_id {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-align: justify;
  color: #988;
}

.profile_page .logo {
  margin-right: auto;
  max-width: 233px;
}

.profile_page .aside_menu {
  padding-left: 6px;
  margin-right: -11px;
}

.profile_page .aside_menu_list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile_page .aside_menu_item {
  position: relative;
  border-bottom: 1px solid #f9f9f9;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 10px 0 0 10px;
}

.profile_page .aside_menu_item:hover {
  background-color: #f9f9f9;
}

.profile_page .aside_menu_item .menu_item_icon {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}

.profile_page .aside_menu_item.active {
  background-color: #f9f9f9;
  overflow: hidden;
  border-bottom: none;
}

.profile_page .aside_menu_item.active > a {
  font-weight: 500;
}

.profile_page .aside_menu_item.active::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(270deg, #e47c5d 0%, #df6c5d 99.95%);
}

.profile_page .aside_menu_item.active .aside_submenu {
  display: flex;
}

.profile_page .aside_menu_item a {
  padding: 17px 12px 17px 40px;
  position: relative;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #403b50;
  width: 100%;
  display: block;
}

.profile_page .aside_submenu {
  display: none;
  flex-direction: column;
}

.profile_page .aside_submenu a {
  padding: 10px 12px 10px 40px;
  font-size: 14px;
}

.profile_page .tariff_change {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border-radius: 30px;
  background: #faf6f6;
  margin: 0 6px;
  padding: 0 34px 19px;
  margin-top: 48px;
}

.profile_page .tariff_change img {
  margin-top: -48px;
}

.profile_page .tariff_change p {
  margin: 0 0 7px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 15px;
  text-align: center;
  color: #1b0031;
}

.profile_page .tariff_change .btn {
  font-size: 15px;
  padding: 18px 20px;
  width: 100%;
}

.profile_page .aside_footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile_content {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
}

.profile_content h2.title {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  color: #403b50;
  margin: 0 0 4px;
}

.profile_content h3.title {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: #403b50;
  margin: 40px 0 15px;
}

.profile_content .subtitle {
  margin: 0;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 26px;
  color: #403b50;
}

.profile_header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.profile_header h1 {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  color: #403b50;
  margin: 6px 0 6px 10px;
}

.profile_header_actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 12px;
  border-radius: 50px;
  padding: 9px 11px 9px 22px;
  background: #f5f5f5;
}

.profile_header_actions .profile_header_tariff {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-align: justify;
  color: #988;
}

.profile_header_actions .profile_notification {
  position: relative;
  cursor: pointer;
}

.profile_header_actions .profile_notification:hover .profile_notification_list {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: scale(1);
}

.profile_header_actions .profile_notification_button {
  position: relative;
  cursor: pointer;
  background: #403b50;
  width: 37px;
  min-width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.profile_header_actions .profile_notification_count {
  position: absolute;
  top: 0;
  left: 26px;
  border-radius: 8px;
  background-color: #d8525b;
  line-height: 1;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  color: #fff;
  min-width: 15px;
  min-height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile_header_actions .profile_notification_list {
  position: absolute;
  top: 100%;
  right: 0;
  width: 500px;
  max-width: calc(100vw - 230px);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #988;
  border: 1px solid rgba(175, 175, 175, 0.25);
  border-radius: 10px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: scale(0);
  transform-origin: top right;
  transition: all 0.3s ease-out;
}

.profile_header_actions .profile_notification_item {
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  position: relative;
  text-decoration: none;
  display: block;
  padding: 12px 35px 12px 84px;
  color: inherit;
}

.profile_header_actions .profile_notification_item:hover {
  background: #f5f5f5;
  color: #403b50;
}

.profile_header_actions .profile_notification_item:hover .icon {
  background: #403b50;
}

.profile_header_actions .profile_notification_item .icon {
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #988;
  border-radius: 50%;
  width: 37px;
  height: 37px;
}

.form_profile {
  display: grid;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  padding: 30px 25px;
}

.form_profile .grid_2 {
  display: grid;
  grid-template-columns: 1fr 1fr 160px;
  gap: 20px;
  justify-content: space-between;
}

.form_profile .form_column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  width: 100%;
}

.form_profile fieldset.text input,
.form_profile fieldset.text select {
  border: none;
  border-bottom: 1px solid rgba(175, 175, 175, 0.25);
  border-radius: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #403b50;
}

.form_profile fieldset.text input::-moz-placeholder, .form_profile fieldset.text select::-moz-placeholder {
  color: #988;
}

.form_profile fieldset.text input::placeholder,
.form_profile fieldset.text select::placeholder {
  color: #988;
}

.form_profile .mini_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-content: space-between;
}

.form_profile .avatar {
  width: 100%;
  aspect-ratio: 1/1;
  cursor: pointer;
  max-width: 160px;
  margin: 0 auto;
}

.form_profile .avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  overflow: hidden;
  border-radius: 50%;
}

.form_profile .avatar input {
  display: none;
}

.form_profile .password_block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px 0;
}

.form_profile .password_block h2 {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 28px;
  color: #403b50;
}

.form_profile .password_fields {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.form_profile .password_fields input {
  padding-right: 20px;
}

.form_profile .password_fields button {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  padding: 0;
}

.form_profile .actions {
  justify-content: flex-start;
}

.result_links_file {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  justify-content: flex-end;
}

.result_links_file .text {
  width: 100%;
  text-align: right;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #403b50;
}

.subtitle_block {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}

.results_tests {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.results_tests .results_tests_col {
  display: flex;
  flex-direction: column;
  gap: 17px;
  justify-content: flex-start;
}

.results_tests .results_tests_item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-radius: 15px;
  padding: 20px;
  background: #f5f5f5;
}

.results_tests .results_tests_item_content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.results_tests .results_tests_item_content h3 {
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #403b50;
}

.results_tests .results_tests_item_content ul {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.30769;
  color: #000;
}

.results_tests .results_tests_item_content ul li:last-child {
  margin-bottom: 0;
}

.results_tests .results_tests_item_content ul li::before {
  top: 1px;
}

.results_tests .results_tests_item_balls {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #403b50;
}

.results_tests .circle {
  --color: #f8220c;
  --size: 55px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: conic-gradient(var(--color) calc(var(--value) * 1%), #E2E2E2 0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: #3a3a3a;
}

.results_tests .circle span {
  position: relative;
  z-index: 2;
  background: white;
  width: calc(var(--size) - 20px);
  height: calc(var(--size) - 20px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #403b50;
}

.gauge_block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  cursor: pointer;
}

.gauge_block h3.title {
  margin: 0;
}

.gauge_block .gauge {
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 427/220;
  position: relative;
}

.gauge_block .gauge img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
}

.gauge_block .gauge .gauge__arrow {
  --rotate: 0;
  position: absolute;
  width: 100%;
  bottom: 4px;
  left: 0;
  text-align: left;
  padding: 0 10%;
  pointer-events: none;
  transform: rotate(calc(var(--rotate) * 1.8 * 1deg));
}

.gauge_block .gauge .gauge__value {
  position: absolute;
  bottom: 10px;
  text-align: center;
  width: 100%;
  left: 0%;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-align: center;
  color: #9a9a9a;
}

.gauge_block .gauge .gauge__value .ball {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.01em;
  color: #060606;
}

.gauge_block .legend {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.recommendations_block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: space-between;
}

.recommendations_block .recommendations_col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  max-width: 680px;
}

.recommendations_block .recommendations_item {
  border: 1px solid #d9d9d9;
  border-radius: 15px;
  padding: 20px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #403b50;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.recommendations_block .recommendations_item.big {
  grid-column: 1/-1;
}

.recommendations_block .recommendations_item.left_bg::before {
  content: "";
  display: block;
  width: 484px;
  height: 196px;
  position: absolute;
  top: -125px;
  left: -125px;
  background-color: #f5f5f5;
  border-radius: 100%;
  z-index: -1;
}

.recommendations_block .recommendations_item_content ul {
  padding-left: 1.25em;
}

.recommendations_block .recommendations_item_text > *:last-child {
  margin-bottom: 0;
}

.recommendations_block .recommendations_item_title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 17px;
}

.recommendations_block .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 10px;
  background: linear-gradient(270deg, #f4b860 0%, #d8525b 100%);
}

.recommendations_block h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #403b50;
  margin: 0;
}

.recommendations_block h4.contrast {
  color: #D8525B;
}

.recommendations_block .recommendations_ball {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 13px;
  text-align: center;
  color: #000;
  display: none;
}

.recommendations_block .recommendations_ball .value {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.25);
  aspect-ratio: 1;
  min-width: 36px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color);
}

.recommendations_block .recommendations_ball::after {
  content: "";
  display: block;
  width: 172px;
  height: 172px;
  position: absolute;
  top: -53px;
  right: -53px;
  background-color: #f5f5f5;
  border-radius: 50%;
  z-index: -1;
}

.recommendations_block .individual_recommendations .item {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #403b50;
}

.recommendations_block .individual_recommendations h5 {
  font-weight: 700;
  margin: 0 0 0.5em;
  font-size: 14px;
}

.gray_block {
  border-radius: 15px;
  padding: 20px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.gray_block + h2.title {
  margin-top: 60px;
  margin-bottom: 35px;
}

.gray_block + .gray_block {
  margin-top: 20px;
}

.gray_block .block_header {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  justify-content: space-between;
}

.gray_block .block_header .filter {
  min-width: 210px;
  position: relative;
}

.gray_block .block_header .filter::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 10.5C6 10.2239 6.22386 10 6.5 10H9.5C9.77614 10 10 10.2239 10 10.5C10 10.7761 9.77614 11 9.5 11H6.5C6.22386 11 6 10.7761 6 10.5Z' fill='%23403B50' /%3E%3Cpath d='M4 7.5C4 7.22386 4.22386 7 4.5 7H11.5C11.7761 7 12 7.22386 12 7.5C12 7.77614 11.7761 8 11.5 8H4.5C4.22386 8 4 7.77614 4 7.5Z' fill='%23403B50' /%3E%3Cpath d='M2 4.5C2 4.22386 2.22386 4 2.5 4H13.5C13.7761 4 14 4.22386 14 4.5C14 4.77614 13.7761 5 13.5 5H2.5C2.22386 5 2 4.77614 2 4.5Z' fill='%23403B50' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.gray_block .block_header .choices[data-type*=select-one] .choices__inner {
  border: none;
  border-bottom: 1px solid #d9d9d9;
  padding: 0 40px;
  border-radius: 0;
}

.gray_block h2 {
  margin: 0;
}

.progress_block {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  display: none;
}

.progress_block .progress {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  flex: 1;
}

.progress_block .progress_bar {
  border-radius: 20px;
  width: 100%;
  height: 6px;
  background: #d9d9d9;
  position: relative;
}

.progress_block .progress_bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(var(--progress) / 6 * 100%);
  border-radius: 20px;
  background: #d8525b;
}

.progress_block .value {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-align: right;
  color: #949494;
  white-space: nowrap;
}

.test_list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.test_card {
  font-family: "Inter", sans-serif;
  padding: 12px 13px 8px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 10px;
  text-decoration: none;
  justify-content: space-between;
  position: relative;
  color: #403b50;
  overflow: hidden;
  background-color: #d9d9d9;
}

.test_card::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg width='270' height='100' viewBox='0 0 270 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='mask0_2156_2606' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='270' height='100'%3E%3Crect width='270' height='100' rx='10' fill='%23F44771' /%3E%3C/mask%3E%3Cg mask='url(%23mask0_2156_2606)'%3E%3Crect width='156.546' height='89.3192' rx='10' transform='matrix(-0.920798 -0.390039 0.505918 -0.862581 282.055 169.104)' fill='%23EBE8EE' /%3E%3Crect x='-130.197' y='71' width='270' height='100' rx='10' fill='white' fill-opacity='0.2' /%3E%3Crect x='0.680985' y='-0.348533' width='206.144' height='131.279' rx='9.5' transform='matrix(0.38756 -0.921845 0.97441 0.224779 93.9071 50.3127)' stroke='white' stroke-opacity='0.3' /%3E%3C/g%3E%3C/svg%3E");
}

.test_card.active {
  background: linear-gradient(335deg, #f4b860 0%, #d8525b 100%);
  color: #fff;
}

.test_card.active::before {
  background-image: url("data:image/svg+xml,%3Csvg width='270' height='100' viewBox='0 0 270 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='mask0_2128_8584' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='270' height='100'%3E%3Crect width='270' height='100' rx='10' fill='%23F44771' /%3E%3C/mask%3E%3Cg mask='url(%23mask0_2128_8584)'%3E%3Crect width='156.546' height='89.3192' rx='10' transform='matrix(-0.920798 -0.390039 0.505918 -0.862581 282.055 169.104)' fill='%23D8525B' /%3E%3Crect x='-130.197' y='71' width='270' height='100' rx='10' fill='white' fill-opacity='0.2' /%3E%3Crect x='0.680985' y='-0.348533' width='206.144' height='131.279' rx='9.5' transform='matrix(0.38756 -0.921845 0.97441 0.224779 93.9071 50.3127)' stroke='white' stroke-opacity='0.3' /%3E%3C/g%3E%3C/svg%3E");
}

.test_card .name {
  font-weight: 600;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.test_card .status {
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  text-align: right;
  position: relative;
  z-index: 1;
}

.prob_card {
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #000;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #f4b860;
  border-radius: 5px;
  padding: 0px 0px 15px;
  overflow: hidden;
}

.prob_card img {
  width: 100%;
  aspect-ratio: 255/158;
  -o-object-fit: cover;
  object-fit: cover;
}

.prob_card img.muted {
  opacity: 0.2;
}

.prob_card .status {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 12px;
  align-items: flex-start;
  margin: 10px 14px 27px;
  line-height: 1;
}

.prob_card .status .item {
  border-radius: 9px;
  padding: 4px 10px;
  color: #1f2937;
  background: #f3f4f6;
}

.prob_card .status .item.red {
  color: #991b1b;
  background: #fee2e2;
}

.prob_card .status .item.green {
  color: #166534;
  background: #dcfce7;
}

.prob_card .status .item.yellow {
  color: #92400e;
  background: #fef3c7;
}

.prob_card .name {
  margin: 0 14px;
}

.block_65 {
  grid-column: span 2;
  border: 1px solid rgba(175, 175, 175, 0.25);
  border-radius: 10px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  max-width: 496px;
  margin: auto;
}

.block_65 p {
  margin: 0;
  text-align: center;
}

.smz_block {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  gap: 18px;
}

.smz_block .szm_form {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  padding: 40px 60px;
  border-radius: 9px;
  justify-content: space-between;
  grid-column: span 3;
}

.smz_block .szm_form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.smz_block .szm_form form h3 {
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #403b50;
}

.smz_block .szm_form form p {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #403b50;
  margin: 0q;
}

.smz_block .szm_form form fieldset.text + fieldset.text {
  margin-top: 5px;
}

.smz_block .szm_form form fieldset.text label {
  gap: 4px;
}

.smz_block .szm_form form fieldset.text label span {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #988;
}

.smz_block .szm_form form fieldset.text input {
  border: none;
  border-bottom: 1px solid rgba(175, 175, 175, 0.25);
  border-radius: 0;
  padding: 0 10px;
  min-height: unset;
}

.smz_block .szm_form img {
  max-height: 100%;
}

.smz_block .szm_tests {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  grid-column: span 2;
}

.swiper-button-prev {
  left: -24px;
}

.swiper-button-next {
  right: -24px;
}

.swiper-button-prev,
.swiper-button-next {
  border-radius: 28px;
  padding: 12px;
  width: 48px;
  height: 48px;
  background: #fff;
  color: #B01831;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.swiper-button-prev svg,
.swiper-button-next svg {
  width: 24px;
  height: 24px;
}

.hero {
  display: grid;
  align-items: start;
  justify-content: space-between;
  gap: 60px;
  grid-template-columns: repeat(2, calc(50% - 30px));
}

.hero .hero_content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.hero .hero_title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35294;
  color: #000;
  display: inline;
}

.hero .hero_text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: #000;
  line-height: 1.35294;
  display: inline;
  margin: 0;
}

.hero .hero_images {
  width: 100%;
  position: relative;
}

.hero .hero_images img {
  aspect-ratio: 600/367;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.hero .hero-swiper,
.hero .swiper-slide img {
  border-radius: 20px;
  overflow: hidden;
}

.hero .swiper-slide {
  display: flex;
}

.hero .swiper-pagination {
  display: none;
}

.hero .hero-swiper_text {
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: #988;
  margin-top: 8px;
  text-align: center;
}

.hero .hero-swiper_text p {
  margin: 0;
}

.hero .hero_slide_text {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 62px;
  line-height: 1;
  color: #403b50;
  position: absolute;
  bottom: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  width: 100%;
  text-align: center;
  mix-blend-mode: overlay;
}

.block_theme {
  display: flex;
  align-items: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  gap: 15px;
  border-radius: 50px;
  padding: 3px 17px 3px 5px;
  background: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  text-align: center;
  color: #403b50;
  margin: 0 auto 10px;
}

.block_theme::before {
  content: "";
  width: 31px;
  height: 31px;
  background-image: url("./../img/circles.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.block_title {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.2;
  text-align: center;
  color: #403b50;
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
}

.block_subtitle {
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: #625d72;
  margin-top: 30px;
  margin-bottom: 44px;
  text-align: center;
  width: 100%;
}

.block_text {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.35294;
  text-align: center;
  color: #403b50;
  width: -moz-fit-content;
  width: fit-content;
  margin: 44px auto 68px;
}

.main_about .block_text {
  position: relative;
}

.main_about .desing_arrow {
  position: absolute;
  top: 20%;
  right: 100%;
  transform: translateY(-50%) scaleY(-1) rotate(326deg);
}

.main_about .main_about_blocks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px 30px;
}

.main_about .main_about_blocks + .block_subtitle {
  text-align: left;
  margin-bottom: 0;
  margin-left: 0;
}

.main_about .main_about_block {
  box-shadow: 0 1px 2px 0 rgba(64, 59, 80, 0.25);
  background: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.35294;
  color: #403b50;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 20px;
  padding: 28px 20px;
  grid-column: span 6;
}

.main_about .main_about_block:nth-child(1) {
  grid-column: span 8;
  background-color: #403b50;
  color: #fff;
}

.main_about .main_about_block:nth-child(1) h3 {
  color: inherit;
}

.main_about .main_about_block:nth-child(2) {
  grid-column: span 4;
}

.main_about .main_about_block:nth-child(3) {
  grid-column: span 6;
}

.main_about .main_about_block:nth-child(4) {
  grid-column: span 6;
}

.main_about .main_about_block_head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.main_about .main_about_block_head .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  min-width: 56px;
  height: 56px;
  background: linear-gradient(270deg, #f4b860 0%, #d8525b 99.35%);
}

.main_about h3 {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: #d8525b;
  margin: 9px 0 0;
}

.main_about ul {
  margin: 0;
  font-size: inherit;
  color: inherit;
  padding-left: 20px;
}

.main_stages .main_stages_col {
  display: flex;
  flex-direction: column;
}

.main_stages .btn[js-open-modal] {
  margin-top: auto;
}

.main_stages .main_stages_bg {
  margin-top: 16px;
  max-width: 100%;
  overflow: hidden;
}

.main_stages .main_stages_bg img {
  max-width: 100%;
  margin-bottom: -1px;
}

.main_stages .block_theme {
  margin-left: 0;
}

.main_stages .block_title,
.main_stages .block_subtitle,
.main_stages .block_text {
  text-align: left;
  margin: 0 0 30px;
  position: relative;
}

.main_stages .block_title .desing_arrow,
.main_stages .block_subtitle .desing_arrow,
.main_stages .block_text .desing_arrow {
  position: absolute;
  top: 10%;
  right: 100%;
  transform: rotate(322deg);
}

.main_stages .main_stages_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.main_stages .main_stages_steps {
  background: linear-gradient(270deg, #f5f5f5 0%, #e9e9e9 100%);
  padding: 16px 0 60px 21px;
  border-left: 1px solid #625d72;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.main_stages .step_head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: #403b50;
}

.main_stages .step_num {
  font-weight: 900;
  font-size: 39px;
  line-height: 1;
  color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #403b50;
  border-radius: 44px;
  min-width: 71px;
  aspect-ratio: 1;
  background: linear-gradient(180deg, #403b50 0%, #625d72 100%);
}

.main_stages .step_title {
  margin: 0;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: #403b50;
}

.main_stages ul {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #625d72;
  padding-left: 1.5em;
}

.main_results_blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: min-content;
  gap: 16px 40px;
}

.main_results_blocks .main_results_img {
  grid-row: span 3;
  box-shadow: 0 9px 10px 0 rgba(175, 175, 175, 0.25);
  background: #f6f6f6;
  border: 2px solid #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main_results_blocks img {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.main_results_blocks .main_results_item {
  background: #efefef;
  border-radius: 20px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.main_results_blocks h4 {
  background: #fff;
  border-radius: 50px;
  padding: 8px 25px 8px 60px;
  position: relative;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #403b50;
  margin: 0;
}

.main_results_blocks h4::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM12.0303 4.96967C11.7374 4.67678 11.2626 4.67678 10.9697 4.96967C10.9626 4.97674 10.9559 4.98424 10.9498 4.9921L7.4774 9.41674L5.38388 7.32322C5.09098 7.03033 4.61611 7.03033 4.32322 7.32322C4.03032 7.61612 4.03032 8.09099 4.32322 8.38388L6.96966 11.0303C7.26256 11.3232 7.73743 11.3232 8.03032 11.0303C8.03685 11.0238 8.043 11.0169 8.04876 11.0097L12.041 6.01947C12.3232 5.72582 12.3196 5.25897 12.0303 4.96967Z' fill='%23D8525B' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 6.5px;
  left: 12px;
}

.main_results_blocks p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #403b50;
  margin: 0;
}

.main_results_actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 29px;
  border-radius: 20px;
  padding: 30px;
  background: #fff;
}

.main_results_actions ul {
  padding-left: 1.5em;
}

.main_results_actions ul li {
  margin-bottom: 0.5em;
}

.main_results_actions ul li:last-child {
  margin-bottom: 0;
}

.main_specialists_blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  justify-content: space-between;
}

.main_specialists_blocks .specialist {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #625d72;
  text-align: center;
}

.main_specialists_blocks .specialist .specialist_photo {
  border-radius: 50%;
  overflow: hidden;
  width: 184px;
  height: 184px;
  margin-bottom: 10px;
}

.main_specialists_blocks .specialist .specialist_photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
}

.main_specialists_blocks .specialist .specialist_name {
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  color: #403b50;
  margin-bottom: 6px;
}

.main_specialists_blocks .specialist .specialist_position {
  margin-bottom: 15px;
}

.main_specialists_blocks .specialist .specialist_email {
  color: inherit;
  text-decoration: none;
  transition: all 250ms ease-in-out;
}

.main_specialists_blocks .specialist .specialist_email:hover,
.main_specialists_blocks .specialist .specialist_email:focus {
  color: #d8525b;
}

.main_specialists_blocks .specialist .specialist_text {
  padding-top: 10px;
}

.main_reviews {
  --bg-font-size: 180px;
  position: relative;
  z-index: 1;
  padding-top: var(--bg-font-size);
  padding-bottom: var(--bg-font-size);
}

.main_reviews::before,
.main_reviews::after {
  content: "";
  width: 310px;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 10;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
}

.main_reviews::before {
  right: 100%;
  background: linear-gradient(90deg, #f5f5f5 0%, rgba(245, 245, 245, 0) 100%);
}

.main_reviews::after {
  background: linear-gradient(270deg, #f5f5f5 0%, rgba(245, 245, 245, 0) 100%);
  left: 100%;
}

.main_reviews .bg_text {
  font-family: "Jost", sans-serif;
  font-weight: 900;
  line-height: 230px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  opacity: 0.5;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 100vw;
  font-size: var(--bg-font-size);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
}

.main_reviews .bg_shadow {
  box-shadow: 0px 0px 300px 145px #d8d8d8;
  z-index: -2;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0px;
}

.main_reviews .swiper {
  overflow: visible;
}

.main_review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 16px;
  padding: 23px;
  background: #fff;
}

.main_review .main_review_head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.main_review .review_photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main_review .review_photo img {
  border-radius: 17px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  -o-object-fit: cover;
  object-fit: cover;
}

.main_review .review_info {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

.main_review .review_rating {
  display: flex;
  align-items: center;
  gap: 3px;
}

.main_review .review_rating span {
  display: block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.main_review .review_rating .full {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.61224 15.4427C3.2258 15.6413 2.78823 15.2942 2.86603 14.8508L3.69576 10.1213L0.173428 6.76462C-0.155753 6.45092 0.0146475 5.87737 0.455637 5.81472L5.35411 5.11885L7.53823 0.792305C7.73498 0.402565 8.26795 0.402565 8.4647 0.792305L10.6488 5.11885L15.5473 5.81472C15.9883 5.87737 16.1587 6.45092 15.8295 6.76462L12.3072 10.1213L13.1369 14.8508C13.2147 15.2942 12.7771 15.6413 12.3907 15.4427L8.00146 13.1868L3.61224 15.4427Z' fill='%23F4B860' /%3E%3C/svg%3E");
}

.main_review .review_rating .half {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.35411 5.11885L7.53823 0.792305C7.63633 0.597985 7.81801 0.500551 7.99992 0.500002C8.18286 0.499451 8.36604 0.596887 8.4647 0.792307L10.6488 5.11885L15.5473 5.81472C15.8144 5.85267 15.9823 6.0781 15.9999 6.31968C16.002 6.34769 16.002 6.37593 15.9999 6.40411C15.9904 6.53408 15.9362 6.66299 15.8295 6.76462L12.3072 10.1213L13.1369 14.8508C13.2147 15.2942 12.7771 15.6413 12.3907 15.4427L8.00146 13.1868L3.61224 15.4427C3.56393 15.4675 3.51483 15.4838 3.46603 15.4925C3.12446 15.5531 2.79796 15.2388 2.86603 14.8508L3.69576 10.1213L0.173428 6.76462C0.0551295 6.65189 0.00135121 6.50559 0.00146502 6.36151C0.00154915 6.25501 0.0310762 6.14972 0.0857544 6.06009C0.162946 5.93355 0.290266 5.83821 0.455637 5.81472L5.35411 5.11885ZM7.99992 12.0265C8.07945 12.0263 8.15902 12.045 8.23229 12.0826L11.918 13.977L11.2238 10.0197C11.1911 9.83316 11.2526 9.64214 11.3865 9.5145L14.2934 6.7444L10.2411 6.16874C10.0736 6.14494 9.92728 6.03795 9.84826 5.88141L8.00146 2.22308L7.99992 2.22614V12.0265Z' fill='%23F4B860'/%3E%3C/svg%3E%0A");
}

.main_review .review_rating .empty {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.86603 14.8508C2.78823 15.2942 3.2258 15.6413 3.61224 15.4427L8.00146 13.1868L12.3907 15.4427C12.7771 15.6413 13.2147 15.2942 13.1369 14.8508L12.3072 10.1213L15.8295 6.76462C16.1587 6.45092 15.9883 5.87737 15.5473 5.81472L10.6488 5.11885L8.4647 0.792305C8.26795 0.402565 7.73498 0.402565 7.53823 0.792305L5.35411 5.11885L0.455637 5.81472C0.0146475 5.87737 -0.155753 6.45092 0.173428 6.76462L3.69576 10.1213L2.86603 14.8508ZM7.77063 12.0826L4.08488 13.977L4.77914 10.0197C4.81187 9.83316 4.75033 9.64214 4.61639 9.5145L1.70955 6.7444L5.76186 6.16873C5.92938 6.14494 6.07565 6.03795 6.15467 5.88141L8.00146 2.22308L9.84826 5.88141C9.92728 6.03795 10.0736 6.14494 10.2411 6.16873L14.2934 6.7444L11.3865 9.5145C11.2526 9.64214 11.1911 9.83316 11.2238 10.0197L11.918 13.977L8.23229 12.0826C8.0867 12.0078 7.91623 12.0078 7.77063 12.0826Z' fill='%23F4B860' /%3E%3C/svg%3E");
}

.main_review .review_name {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #403b50;
}

.main_review .divider {
  border-bottom: 1px dashed #f1f0ee;
}

.main_review .review_text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #403b50;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main_review .review_text p {
  margin: 0;
}

.main_contacts_map {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1272/718;
  min-height: 300px;
}

.main_faq_wrapper .accordion {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  gap: 20px 12px;
}

.main_faq_wrapper .accordion .accordion-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main_faq_wrapper .accordion .faq_text p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #403b50;
}

.main_tarif .block_title {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.main_tarif .block_title .desing_arrow {
  position: absolute;
  top: 20%;
  left: 100%;
  transform: rotate(145deg);
}

.main_tarif .tarif_desc {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 28px;
  color: #403b50;
}

.main_tarif .tarif_desc::before {
  top: 11px;
}

.main_tarif_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: start;
}

.main_tarif_list .tarif_item:last-child .tooltip-text {
  left: unset;
  right: 100%;
}

.main_tarif_list .tarif_top {
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 39px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.30769;
  color: #000;
  padding: 20px;
  width: 100%;
}

.main_tarif_list .tarif_name {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #d8525b;
}

.main_tarif_list .tarif_text {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.main_tarif_list .tarif_text p {
  margin: 0;
}

.main_tarif_list .tarif_price {
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 0.97282;
  color: #403b50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: -moz-fit-content;
  width: fit-content;
}

.main_tarif_list .tarif_price .old {
  font-size: 20px;
  line-height: 1;
  text-decoration: line-through;
  text-align: right;
  color: #949494;
}

.main_tarif_list ul {
  font-size: 13px;
  margin: 0;
}

.main_tarif_list ul li:not(:last-child) {
  margin-bottom: 1em;
}

.main_tarif_list ul li::before {
  top: 0;
}

.main_tarif_list .tarif_bottom {
  border-radius: 0 0 10px 10px;
  padding: 20px;
  margin: 0 15px;
  background: #d9d9d9;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #403b50;
}

.main_tarif_list .tarif_bottom h5,
.main_tarif_list .tarif_bottom p {
  margin: 0;
  font-size: inherit;
}

.main_tarif_list .tooltip-text {
  background-color: transparent;
  padding: 15px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.30769;
  color: #625d72;
  max-width: 500px;
  width: -moz-max-content;
  width: max-content;
  transform: translateY(50%);
  left: 100%;
  margin: 0;
}

.main_tarif_list .tooltip-text::after {
  display: none;
}

.main_tarif_list .tooltip-text .tooltip-close {
  margin-left: auto;
  display: none;
}

.main_tarif_list .tooltip-text ul {
  padding-left: 1.5em;
}

.main_callback {
  background: #403b50;
  border-radius: 16px;
  padding: 30px 50px;
  color: #fff;
  display: flex;
  margin-bottom: 0;
}

.main_callback .callback_bg {
  background-image: url("./../img/callback_main_bg.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex: 1;
}

.main_callback .callback_form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: auto;
  width: 507px;
  max-width: 100%;
}

.main_callback .callback_form h3 {
  margin: 0 0 10px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 28px;
}

.main_callback .callback_form button[type=submit] {
  margin-top: 30px;
  margin-left: auto;
}

.main_callback .callback_form textarea {
  height: 152px;
  resize: none;
}

.main_callback .callback_form .checkbox a:hover {
  color: #9d1a1c;
}

.app-card {
  margin: auto;
  background: #ffffff;
  width: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  /* performance check */
}

.app-card .app-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app-card .app-title {
  margin-bottom: 24px;
}

.app-card .app-subtitle {
  margin-top: 0;
}

.app-card .screen {
  display: none;
  flex-direction: column;
  height: 100%;
}

.app-card .screen.active {
  display: flex;
}

.app-card .app-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.app-card .perf-title {
  font-weight: bold;
}

.app-card fieldset small {
  display: block;
  margin-top: 4px;
}

.app-card .info-block {
  background: rgba(243, 244, 246, 0.94);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.5;
  min-height: 177px;
}

.app-card .info-block p {
  margin: 0 0 8px;
}

.app-card .info-block p:last-child {
  margin-bottom: 0;
}

.app-card fieldset.age-input {
  margin: 0 16px;
}

.app-card .center-block {
  margin: auto;
}

.app-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 14px;
}

.app-card .test-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.app-card .counter-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 13px;
  margin-top: 18px;
}

.app-card .stimulus-container {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 4px;
  position: relative;
}

.app-card .stimulus-container:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  box-shadow: 0 0 2px 0px #000000;
  pointer-events: none;
}

.app-card .mobile_zero,
.app-card .mobile_one {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background-color: #e5e7eb;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  display: none;
}

.app-card .mobile_zero.pressed,
.app-card .mobile_one.pressed {
  background-color: #f9f9f9;
}

.app-card .stimulus {
  width: 180px;
  min-width: 180px;
  height: 180px;
  border-radius: 50%;
  transition: transform 0.12s ease;
}

.app-card .stimulus.red {
  background: #f00;
}

.app-card .stimulus.green {
  background: #0f0;
}

.app-card .hint {
  margin-bottom: 24px;
  font-size: 14px;
  color: #6b7280;
  min-height: 36px;
}

.app-card .results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.app-card .result-box {
  border-radius: 12px;
  background: #f9fafb;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid #e5e7eb;
}

.app-card .result-box strong {
  display: block;
  margin-bottom: 4px;
}

.app-card .result-highlight {
  background: #eff6ff;
  border-left: 3px solid #2563eb;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.app-card .extra-messages {
  margin-top: 16px;
  padding-left: 18px;
}

.app-card .extra-messages li {
  margin-bottom: 6px;
  font-size: 14px;
}

.app-card .perf-loader {
  margin: 24px auto 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(37, 99, 235, 0.18);
  border-top-color: #2563eb;
  animation: spin 0.9s linear infinite;
}

.app-card .perf-progress {
  margin-top: 6px;
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
}

.app-card .perf-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #93c5fd, #2563eb);
  animation: progress-pulse 1.4s ease-in-out infinite;
}

.app-card .perf-progress-label {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes progress-pulse {
  0% {
    transform: scaleX(0.2);
    opacity: 0.6;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }

  100% {
    transform: scaleX(0.4);
    opacity: 0.7;
  }
}

.app-card .range__wrap {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  width: 700px;
  max-width: 100%;
}

.app-card .range__wrap input {
  margin: 0;
  accent-color: #2563eb;
}

.app-card .range__wrap .range_data {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding-left: 3px;
}

.app-card .range__wrap .range_data span {
  padding-top: 6px;
  position: relative;
  left: 2px;
}

.app-card .range__wrap .range_data span:first-child,
.app-card .range__wrap .range_data span:last-child {
  left: 0;
}

.app-card .range__wrap .range_data span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 4px;
  background: rgb(16, 16, 16);
}

.app-card .range__wrap .range_select {
  font-size: 16px;
  margin-top: 24px;
}

.app-card .range__wrap .range_select strong {
  color: #2563eb;
}

.app-card .range__wrap .range_legend {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #818c9b;
}

.lk_results_list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.lk_results_list li {
  width: 100%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px 0 rgba(58, 68, 75, 0.04);
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(58, 68, 75, 0.4);
}

.lk_results_list li img {
  width: 72px;
}

.lk_results_list .results_list__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}

.lk_results_list .results_list__links a {
  padding: 8px;
  text-align: center;
  display: block;
  width: 100%;
  text-decoration: none;
  border: 1px solid rgba(58, 68, 75, 0.4);
  border-radius: 8px;
  color: inherit;
  transition: all 250ms ease-in-out;
}

.lk_results_list .results_list__links a:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
  background: rgba(157, 26, 28, 0.08);
  color: #9d1a1c;
}

.form_test {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form_test .form_block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.form_test .form_block.form_block_2 {
  grid-template-columns: repeat(2, 1fr);
}

.form_test .form_block.form_block_1 {
  grid-template-columns: 100%;
}

.test_item {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-bottom: 1px solid #d4dfe7;
  transition: all 0.3s ease-out;
  opacity: 1;
  background-color: #fff;
  padding: 20px 0;
  gap: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
}

.test_item.hide {
  opacity: 0;
  visibility: hidden;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.test_item .text {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.test_item p {
  margin: 0;
}

.test_item .test_item_index {
  color: #9d1a1c;
}

.test_item .test_item_name {
  font-weight: 500;
}

.test_item .test_item_desc {
  font-weight: 300;
  padding: 4px 8px;
  background-color: #f3f4f6;
  border-radius: 8px;
  width: -moz-fit-content;
  width: fit-content;
}

.test_item .answers {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  grid-column: 2/-1;
}

.test_item:not(.text) label {
  display: flex;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border: 1px solid rgba(58, 68, 75, 0.4);
  border-radius: 8px;
  transition: all 250ms ease-in-out;
}

.test_item:not(.text) label.label_disabled {
  pointer-events: none;
}

.test_item:not(.text) label.label_disabled input {
  background-color: #fff;
  border-color: #fff;
}

.test_item:not(.text) label:hover,
.test_item:not(.text) label:has(input:focus) {
  border-color: #9d1a1c;
  background-color: rgba(157, 26, 28, 0.08);
}

.test_item:not(.text) label:has(input:checked) {
  border-color: #9d1a1c;
  background-color: #9d1a1c;
  color: #fff;
}

.test_item:not(.text) label input[type=radio] {
  width: 20px;
  height: 20px;
  accent-color: #9d1a1c;
  cursor: pointer;
  margin: 0;
  outline: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 0;
  width: 100%;
  margin: 0 auto;
}

.card-grid .card-item {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px 0 rgba(58, 68, 75, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.card-grid .card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-grid .card-item .card-wrapper {
  text-decoration: none;
  color: inherit;
  position: relative;
  height: 100%;
  display: block;
}

.card-grid .card-item .card-wrapper__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-grid .card-item .card-wrapper__image.full {
  aspect-ratio: unset;
}

.card-grid .card-item .card-wrapper__image.exercise_img img {
  max-height: 320px;
  width: auto;
  margin: 0 auto;
}

.card-grid .card-item .card-wrapper__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-grid .card-item .card-wrapper__title {
  padding: 15px;
  margin: 0;
  color: inherit;
  font-size: 1.1rem;
  text-align: center;
}

.card-grid .card-item .card-wrapper__status {
  text-align: center;
  position: absolute;
  top: 5px;
  right: 5px;
}

.card-grid .card-item .card-wrapper__status-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
}

.card-grid .card-item .card-wrapper .progress-done {
  background-color: #EDF7ED;
  color: #4CAF50;
}

.card-grid .card-item .card-wrapper .progress-not-done {
  background-color: #FEECEB;
  color: #f44336;
}

.test_result {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(57, 72, 227, 0.08);
}

.test_result .test_result__score {
  margin: 0;
}

.test_result .test_result__score .value {
  font-weight: 600;
  color: #9d1a1c;
}

.test_result .result_short {
  color: #9d1a1c;
}

.test_result .result_row {
  display: flex;
  gap: 12px;
}

.test_result .result_row .name {
  font-weight: 500;
  color: #0d0d0d;
}

.test_result .result_row span {
  font-weight: 600;
  font-size: 16px;
  color: #9d1a1c;
}

.exercise_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
}

.exercise_block {
  margin-top: 20px;
  box-shadow: 0 8px 24px 0 rgba(58, 68, 75, 0.04);
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exercise_block h3 {
  color: #9d1a1c;
}

.exercise_block h4 {
  margin: 12px 0 4px;
}

.exercise_block p {
  margin: 0;
  max-width: 1000px;
  text-wrap: balance;
}

.exercise_block img {
  width: 300px;
  height: auto;
}

.exercise_block .tips,
.exercise_block .description {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exercise_block .tips h4,
.exercise_block .description h4 {
  margin-bottom: 0;
}

.exercise_block .tips ol,
.exercise_block .tips ul,
.exercise_block .description ol,
.exercise_block .description ul {
  margin: 0;
}

.form-visit {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.form-visit .form-visit_block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: rgba(157, 26, 28, 0.08);
  padding: 16px 20px;
  border-radius: 16px;
}

.form-visit .time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.form-visit .time-slots .time-slot.disabled span {
  pointer-events: none;
  opacity: 0.5;
  background-color: #e5e5e5;
}

.form-visit .time-slots .time-slot span {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 10px;
  background-color: #fff;
  cursor: pointer;
}

.form-visit .time-slots .time-slot span:hover {
  color: #9d1a1c;
}

.form-visit .time-slots .time-slot input {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
}

.form-visit .time-slots .time-slot input:checked + span {
  background-color: #9d1a1c;
  color: #fff;
}

.form-visit .radio_block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.form-visit h4 {
  margin: 0;
}

.form-visit .notification_info {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-right: 16px;
}

.form-visit .notification_info svg {
  min-width: 24px;
  margin-top: 4px;
}

.form-visit .notification_info div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-visit .notification_info p {
  margin: 0;
  opacity: 0.9;
}

.table.table-visits {
  border-collapse: collapse;
  border: none;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  overflow: auto;
}

.table.table-visits tr {
  cursor: auto;
}

.table.table-visits tr th {
  text-align: left;
  border: none;
  color: inherit;
  font-weight: 400;
  padding: 16px 12px;
}

.table.table-visits tr td {
  text-align: left;
  border-radius: 0;
  border: none;
  border-top: 1px solid #E6E6E6;
  padding: 16px 12px;
}

.table.table-visits tr td .mobile_name {
  display: none;
}

.table.table-visits .status {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.table.table-visits .status-scheduled {
  background-color: #CDF1F9;
  color: #055160;
}

.table.table-visits .status-completed {
  background-color: #dcfce7;
  color: #166534;
}

.table.table-visits .status-missed {
  background-color: #fef3c7;
  color: #92400e;
}

.table.table-visits .status-canceled {
  background-color: #fee2e2;
  color: #991b1b;
}

.table.table-visits .notification {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.table.table-visits .notification-email {
  background-color: #dbeafe;
  color: #1e40af;
}

.table.table-visits .notification-sms {
  background-color: #f3e8ff;
  color: #6b21a8;
}

.table.table-visits .notification-none {
  background-color: #f3f4f6;
  color: #1f2937;
}

.table.table-visits .result_links {
  display: flex;
  gap: 8px;
}

.table.table-visits .result_links:empty {
  display: none;
}

.table.table-visits .result_links .result__item {
  display: block;
  width: 100%;
  padding: 8px 6px;
  border-radius: 16px;
  background-color: #9d1a1c;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 400;
  transition: all 250ms ease-in-out;
}

.table.table-visits .result_links .result__item:hover {
  background-color: #60a5fa;
}

.table.table-visits .cancel {
  display: block;
  width: 100%;
  padding: 8px 16px;
  text-decoration: none;
  text-align: center;
  font-weight: 400;
  margin-left: auto;
  background-color: #f87171;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 35px;
  font-size: inherit;
  font-weight: 500;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  transition: all 250ms ease-in-out;
}

.table.table-visits .cancel:hover {
  background-color: #fca5a5;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-spin circle {
  opacity: 0.25;
}

.animate-spin path {
  opacity: 0.75;
}

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

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

.graph {
  width: 100%;
  max-width: 100%;
}

.graph button {
  margin-left: auto;
  margin-bottom: 20px;
}

.graph .graph-canvas {
  width: 100%;
  max-height: 500px;
}

.graph .graph-canvas canvas {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}

.graph .table {
  overflow: auto;
}

.graph-table {
  overflow: auto;
  max-width: 100%;
  font-size: 14px;
}

.graph-table thead th {
  text-align: center;
  width: -moz-min-content;
  width: min-content;
}

.graph-table thead th:first-child {
  width: 250px;
  position: sticky;
  left: 0;
  background-color: #fff;
}

.graph-table tbody tr.highlighted {
  background-color: rgba(157, 26, 28, 0.08);
}

.graph-table tbody tr.highlighted th {
  background-color: rgba(157, 26, 28, 0.08);
}

.graph-table tbody tr:hover th {
  background-color: rgba(157, 26, 28, 0.08);
}

.graph-table tbody tr th {
  text-align: right;
  cursor: pointer;
  position: sticky;
  left: 0;
  background-color: #fff;
  border-radius: 0 !important;
  transition: none !important;
  z-index: 1;
}

.graph-table tbody tr td {
  width: -moz-min-content;
  width: min-content;
}

.alerts {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

.alert {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 16px;
  background-color: #f3f4f6;
  color: #f03e3e;
  border-left: 4px solid #f03e3e;
}

.alert .alert__title {
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

.alert .alert__text {
  font-size: 16px;
  margin: 0;
}

.step_depression {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
}

.step_depression .step_depression_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step_depression .step_item {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.step_depression .step_item .value {
  display: flex;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding: 1px 0 0 1px;
}

.step_depression .step_item .value.green {
  background-color: #20C997;
}

.step_depression .step_item .value.yellow {
  background-color: #FFC107;
}

.step_depression .step_item .value.orange {
  background-color: #FD7E14;
}

.step_depression .step_item .value.red {
  background-color: #DC3545;
}

.step_depression .step_item .text {
  font-weight: 400;
}

.fields_counter {
  counter-reset: fields;
}

.fields_counter fieldset {
  counter-increment: fields;
}

.fields_counter fieldset .input-label::before {
  content: counter(fields) ". ";
  color: #9d1a1c;
}

article {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

article .result_block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

article .result_block.block_o p {
  margin: 0;
}

article h4 {
  font-size: 20px;
  margin: 0;
  font-weight: 500;
  color: #9d1a1c;
  margin: 0;
}

article .сonclusion {
  max-width: 1100px;
  text-wrap: balance;
}

article .сonclusion h5 {
  font-size: 16px;
  margin: 12px 0 12px;
}

article .сonclusion p {
  margin: 0;
}

article .сonclusion ol {
  margin-top: 12px;
}

article .table {
  font-size: 14px;
  max-width: 100%;
  overflow: auto;
}

article .table th {
  font-weight: 500;
}

article .table tbody tr {
  display: none;
  cursor: default;
}

article .table tbody tr:hover {
  background-color: #fff;
  color: #0d0d0d;
}

article .table tbody tr.active {
  display: table-row;
}

.short_article .empty {
  width: 100%;
  text-align: center;
  padding: 40px 0;
  min-height: 327px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.short_article ul,
.short_article ol {
  margin: 0;
}

.traning_item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 1000px;
}

.traning_item img {
  width: 264px;
  height: auto;
  min-width: 264px;
}

.traning_item .traning_text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  color: #0d0d0d;
}

.traning_item .traning_text h5 {
  margin: 0;
  font-weight: 700;
  font-size: inherit;
}

.traning_item .traning_text p {
  margin: 0;
}

.form-data {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form_block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-columns: repeat(3fr, calc(33.3333333333% - 16px));
  gap: 24px;
  align-items: end;
}

.form_block .footer_block {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form_block .foot_wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.form_block .foot_wrapper:not(:last-child):after {
  content: "";
  position: absolute;
  bottom: -32px;
  right: -12px;
  width: 1px;
  height: calc(100% + 64px);
  background-color: #d4dfe7;
}

.actions {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.estimated {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(157, 26, 28, 0.08);
}

.estimated label,
.estimated input {
  cursor: default;
  pointer-events: none;
}

.pacient_info {
  display: flex;
  gap: 12px;
}

.diagramma_wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  position: relative;
}

.diagramma_wrapper .data-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: -20px;
  width: calc(100% + 40px);
  height: 100%;
  background-color: #fff;
  z-index: 2;
}

.diagramma_wrapper .vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.diagramma_wrapper .diagramma {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  position: relative;
  padding-top: 70px;
  padding-bottom: 30px;
}

.diagramma_wrapper .diagramma .diagramma_x {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: calc(100% - 410px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.diagramma_wrapper .diagramma .diagramma_x::before {
  content: "";
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(122, 122, 122, 0.5);
}

.diagramma_wrapper .diagramma .diagramma_x h3 {
  text-align: center;
}

.diagramma_wrapper .diagramma .diagramma_x .vertical_line {
  position: absolute;
  top: 30px;
  left: 0;
  width: 2px;
  height: calc(100% - 70px);
  background-color: rgba(122, 122, 122, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 0;
}

.diagramma_wrapper .diagramma .diagramma_x .vertical_line:nth-child(1) {
  top: 70px;
  height: calc(100% - 110px);
}

.diagramma_wrapper .diagramma .diagramma_x .vertical_line:nth-child(2) {
  left: 25%;
}

.diagramma_wrapper .diagramma .diagramma_x .vertical_line:nth-child(3) {
  left: 50%;
}

.diagramma_wrapper .diagramma .diagramma_x .vertical_line:nth-child(4) {
  left: 75%;
}

.diagramma_wrapper .diagramma .diagramma_x .vertical_line:nth-child(5) {
  left: 100%;
}

.diagramma_wrapper .diagramma .diagramma_x .vertical_line span {
  background-color: #fff;
}

.diagramma_wrapper .diagramma .diagramma__row {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 20px;
  width: 100%;
  padding: 6px 0;
  z-index: 1;
}

.diagramma_wrapper .diagramma .diagramma__row:hover {
  background: rgba(157, 26, 28, 0.08);
  color: #9d1a1c;
}

.diagramma_wrapper .diagramma .diagramma__row .name {
  text-align: right;
  line-height: 24px;
}

.diagramma_wrapper .diagramma .bar {
  border-radius: 30px;
  padding: 2px;
  position: relative;
  height: 24px;
  z-index: 1;
}

.diagramma_wrapper .diagramma .bar .value {
  transform: translateX(1px);
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: #0d0d0d;
  border-radius: 50px;
  background: #fff;
  line-height: 1;
  height: 20px;
  min-width: 20px;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.diagramma_wrapper .diagramma .bar.rang_0 {
  width: 25%;
  background: #0267e7;
}

.diagramma_wrapper .diagramma .bar.rang_1 {
  width: 50%;
  background: #14a33f;
}

.diagramma_wrapper .diagramma .bar.rang_2 {
  width: 75%;
  background: #d0b100;
}

.diagramma_wrapper .diagramma .bar.rang_3 {
  width: 100%;
  background: #b90000;
}

.form-registration,
.form-entry,
.form-recover {
  box-shadow: 0 8px 24px 0 rgba(58, 68, 75, 0.04);
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-registration h2,
.form-entry h2,
.form-recover h2 {
  text-align: center;
}

.form-registration .fieldsets,
.form-entry .fieldsets,
.form-recover .fieldsets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 24px;
}

.form-registration .submit,
.form-entry .submit,
.form-recover .submit {
  margin: 0 auto;
}

.form-registration .actions,
.form-entry .actions,
.form-recover .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.form-registration .agree,
.form-entry .agree,
.form-recover .agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 20px;
}

.form-registration .agree input,
.form-entry .agree input,
.form-recover .agree input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin: 0;
}

.form-pacients {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: 550px 350px;
}

.table {
  border: 1px solid #000;
  border-radius: 16px;
  border-radius: 16px;
}

.table table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.table table tr:first-child th:first-child {
  border-top-left-radius: 16px;
}

.table table tr:first-child th:last-child {
  border-top-right-radius: 16px;
}

.table table tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}

.table table tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

.table thead tr:last-child th {
  border-bottom: 1px solid #000;
}

.table thead th[rowspan="2"] {
  border-bottom: 1px solid #000;
}

.table th {
  font-weight: 600;
  border: 1px solid #d4dfe7;
  padding: 6px 12px 6px 12px;
}

.table td {
  border-bottom: 1px solid #d4dfe7;
  border-right: 1px solid #d4dfe7;
  padding: 6px 12px;
  text-align: center;
}

.table td:first-child {
  text-align: left;
}

.table tbody tr {
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}

.table tbody tr:hover {
  background: rgba(157, 26, 28, 0.08);
  color: #9d1a1c;
}

.table-pacients .sortable {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  position: relative;
}

.table-pacients .sortable:hover {
  color: #9d1a1c;
}

.pacients__item {
  min-height: 45px;
}

.pacients__item .pacients__visits {
  padding: 0;
}

.pacients__item .pacients__visits .choices__inner {
  border-radius: 0;
  border: none !important;
  height: auto;
  min-height: 32px;
  padding-left: 12px;
}

.form-entry,
.form-recover {
  max-width: 900px;
  margin: 0 auto;
}

.form-entry .fieldsets,
.form-recover .fieldsets {
  grid-template-columns: 1fr;
}

.form-entry .actions .btn,
.form-recover .actions .btn {
  flex: 1;
}

@media (max-width: 1700px) {
  .gauge_block .legend {
    font-size: 14px;
  }

  .test_list {
    grid-template-columns: repeat(4, 1fr);
  }

  .smz_block {
    grid-template-columns: repeat(4, 1fr);
  }

  .smz_block .szm_form {
    grid-column: span 2;
  }
}

@media (max-width: 1500px) {
  .wrapper {
    grid-template-columns: 100%;
  }

  .results_tests {
    grid-template-columns: 100%;
  }

  .results_tests .results_tests_col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .test_list {
    grid-template-columns: repeat(3, 1fr);
  }

  .smz_block {
    grid-template-columns: repeat(3, 1fr);
  }

  .smz_block .szm_form {
    grid-column: span 2;
  }

  .smz_block .szm_tests {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .main_reviews {
    --bg-font-size: 160px;
  }
}

@media (max-width: 1380px) {
  html {
    scroll-padding-top: 136px;
  }

  body {
    max-width: 943px;
    overflow-x: visible;
  }

  h1 {
    font-size: 48px;
  }

  .accordion {
    --padding-accordion: 16px;
  }

  .page_top_bg {
    display: none;
  }

  .header {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .header_wrapper {
    flex-wrap: wrap;
  }

  .header_nav {
    order: 2;
    margin: 0 auto;
  }

  .footer {
    margin-top: 50px;
  }

  .btn {
    font-size: 16px;
    padding: 12px 30px;
  }

  .diagnostic_modal .form_inner {
    padding: 24px 0 24px 24px;
    gap: 24px;
  }

  .diagnostic_modal h2 {
    font-size: 26px;
  }

  .diagnostic_modal form {
    gap: 24px;
  }

  .diagnostic_modal fieldset.text input,
  .diagnostic_modal fieldset.text select {
    padding: 4px 16px;
  }

  .diagnostic_modal fieldset.text input[type=time] {
    padding: 4px 0;
  }

  .diagnostic_modal .row_3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .auth_wrapper {
    grid-template-columns: 100%;
  }

  .auth_wrapper .bg_desktop {
    display: none;
  }

  .auth_form .grid_2 {
    grid-template-columns: 100%;
  }

  .profile_page {
    gap: 20px;
    grid-template-columns: 250px 1fr;
  }

  .profile_page .aside {
    gap: 30px;
  }

  .profile_page .aside_menu_item a {
    font-size: 16px;
    padding: 10 12px 10px 40px;
  }

  .profile_content h2.title {
    font-size: 26px;
  }

  .profile_content h3.title {
    font-size: 22px;
  }

  .profile_content .subtitle {
    font-size: 20px;
  }

  .profile_header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
  }

  .profile_header h1 {
    font-size: 26px;
  }

  .profile_header_actions {
    justify-content: space-between;
  }

  .form_profile {
    padding: 20px;
  }

  .form_profile .grid_2 {
    grid-template-columns: 120px 1fr;
  }

  .form_profile .form_column {
    grid-column-start: 2;
  }

  .form_profile .mini_grid {
    grid-template-columns: 1fr;
  }

  .form_profile .avatar {
    order: -1;
  }

  .form_profile .password_block h2 {
    font-size: 20px;
  }

  .form_profile .password_fields {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .results_tests .results_tests_col {
    gap: 10px;
    grid-template-columns: 100%;
  }

  .recommendations_block {
    grid-template-columns: 1fr;
  }

  .gray_block + h2.title {
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .test_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .smz_block {
    grid-template-columns: repeat(2, 1fr);
  }

  .smz_block .szm_form {
    padding: 20px;
  }

  .smz_block .szm_tests {
    grid-column: span 2;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .hero_slide_text {
    font-size: 48px;
  }

  .main_about .main_about_block:nth-child(1) {
    grid-column: span 6;
  }

  .main_about .main_about_block:nth-child(2) {
    grid-column: span 6;
  }

  .main_about .main_about_block:nth-child(3) {
    grid-column: span 6;
  }

  .main_about .main_about_block:nth-child(4) {
    grid-column: span 6;
  }

  .main_stages .step_num {
    font-size: 30px;
    min-width: 60px;
  }

  .main_stages .step_title {
    font-size: 22px;
  }

  .main_results_blocks {
    grid-template-columns: 100%;
  }

  .main_results_blocks .main_results_img {
    order: -1;
    grid-row: span 1;
  }

  .main_results_blocks .main_results_item {
    padding: 20px;
  }

  .main_results_blocks h4 {
    border-radius: 10px;
  }

  .main_specialists_blocks {
    grid-template-columns: repeat(3, 1fr);
  }

  .main_reviews {
    --bg-font-size: 90px;
  }

  .main_faq_wrapper .accordion {
    grid-template-columns: 100%;
    gap: 16px;
  }

  .main_faq_wrapper .accordion .accordion-col {
    gap: 16px;
  }

  .main_tarif_list {
    grid-template-columns: 100%;
  }

  .main_tarif_list .tarif_item:last-child .tooltip-text {
    left: 10px;
    top: 145px;
  }

  .main_tarif_list .tarif_top {
    gap: 20px;
  }

  .main_tarif_list .tooltip-text {
    position: fixed;
    left: 10px;
    top: 145px;
    width: calc(100vw - 20px);
    max-width: 100vw;
    max-height: calc(100vh - 145px);
    overflow: auto;
    bottom: unset;
    transform: unset;
    overscroll-behavior: contain;
  }

  .main_tarif_list .tooltip-text .tooltip-close {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
  }

  .main_callback .callback_bg {
    margin-right: -150px;
  }
}

@media (max-width: 1279px) {
  .lk_results_list {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .exercise_wrapper {
    grid-template-columns: 1fr;
  }

  .form-registration .fieldsets,
  .form-entry .fieldsets,
  .form-recover .fieldsets {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1200px) {
  .form-visit {
    grid-template-columns: 100%;
    background-color: rgba(157, 26, 28, 0.08);
    padding: 20px;
    border-radius: 16px;
    gap: 12px;
  }

  .form-visit .form-visit_block {
    display: contents;
    width: 100%;
    padding: 0;
  }

  .form-visit .actions {
    order: 1;
  }
}

@media screen and (max-width: 1023px) {
  :root {
    --p: 16px;
  }
}

@media (max-width: 1023px) {
  body {
    max-width: 767px;
    overflow-x: clip;
  }

  h1 {
    font-size: 36px;
  }

  section {
    margin-bottom: 100px;
  }

  #btn_up {
    bottom: 30px;
    right: 30px;
  }

  .footer_top {
    grid-template-columns: 100%;
    gap: 20px;
  }

  .footer_top .footer_main_info {
    gap: 12px;
  }

  .footer_top p {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .footer_top .footer_legal br,
  .footer_top .footer_contacts br {
    display: none;
  }

  .diagnostic_modal .dialog_wrapper {
    grid-template-columns: 100%;
    padding: 24px;
  }

  .diagnostic_modal .form_inner {
    padding: 0;
  }

  .diagnostic_modal .row_3 {
    grid-template-columns: 100%;
  }

  .diagnostic_modal .map_container {
    display: none;
  }

  .profile_header_actions .profile_notification:hover .profile_notification_list {
    transform: translateX(-50%) scale(1);
  }

  .profile_header_actions .profile_notification_list {
    left: 50%;
    right: unset;
    transform-origin: top center;
    max-width: calc(100vw - 40px);
  }

  .profile_header_actions .profile_notification_item {
    padding-left: 40px;
    padding-right: 12px;
  }

  .profile_header_actions .profile_notification_item .icon {
    left: 10px;
    width: 24px;
    height: 24px;
    transform: none;
    top: 12px;
  }

  .profile_header_actions .profile_notification_item svg {
    width: 16px;
    height: 16px;
  }

  .form_profile .grid_2 {
    grid-template-columns: 1fr;
  }

  .form_profile .form_column {
    grid-column-start: 1;
  }

  .recommendations_block .individual_recommendations .item {
    align-items: flex-start;
  }

  .smz_block .szm_form form h3 {
    font-size: 22px;
  }

  .hero {
    gap: 20px;
    grid-template-columns: repeat(2, calc(50% - 10px));
  }

  .hero .swiper-pagination {
    display: block;
  }

  .hero .swiper-navigation {
    display: none;
  }

  .hero .hero-swiper_text {
    font-size: 16px;
  }

  .hero .hero_slide_text {
    bottom: 20px;
  }

  .block_title {
    font-size: 40px;
  }

  .block_text {
    font-size: 16px;
    margin: 44px auto;
  }

  .main_about .main_about_block {
    font-size: 16px;
    grid-column: span 12;
  }

  .main_about .main_about_block:nth-child(1) {
    grid-column: span 12;
  }

  .main_about .main_about_block:nth-child(2) {
    grid-column: span 12;
  }

  .main_about .main_about_block:nth-child(3) {
    grid-column: span 12;
  }

  .main_about .main_about_block:nth-child(4) {
    grid-column: span 12;
  }

  .main_about h3 {
    font-size: 24px;
  }

  .main_stages .main_stages_wrapper {
    grid-template-columns: 100%;
  }

  .main_specialists_blocks .specialist .specialist_name {
    font-size: 16px;
  }

  .main_tarif .tarif_desc {
    font-size: 20px;
  }

  .main_tarif .tarif_desc::before {
    top: 4px;
  }

  .main_callback .callback_bg {
    display: none;
  }

  .main_callback .callback_form {
    width: 100%;
  }
}

@media (max-width: 992px) {
  main {
    padding-top: 40px;
    padding-bottom: 100px;
  }

  dialog .dialog_wrapper {
    width: 100vw;
  }

  .auth_wrapper {
    margin-top: -40px;
    margin-bottom: -100px;
    min-height: 100vh;
  }

  .profile_page {
    grid-template-columns: 1fr;
  }

  .profile_page .aside_toggle {
    display: block;
    width: 32px;
    height: 32px;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  }

  .profile_page .aside {
    position: fixed;
    top: 0;
    right: -100vw;
    z-index: 3;
    border-radius: 20px 0 0 20px;
    transition: all 0.3s ease;
    opacity: 0;
    max-height: 100dvh;
    overflow: auto;
    overflow-x: clip;
  }

  .profile_page .aside.active {
    right: 0;
    opacity: 1;
  }

  .profile_page .aside .aside_close {
    display: block;
    margin-left: auto;
    padding: 4px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    margin-bottom: -20px;
  }

  .profile_header_actions {
    flex-direction: column;
  }

  .lk_results_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .form_test .form_block {
    grid-template-columns: repeat(2, calc(50% - 12px));
  }

  .form_test .form_block.form_block_2 {
    grid-template-columns: 100%;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .table.table-visits tr th {
    padding: 12px 6px;
  }

  .table.table-visits tr td {
    padding: 12px 6px;
  }

  .table.table-visits .result_links {
    flex-direction: column;
  }

  .alerts {
    grid-template-columns: repeat(1, 1fr);
  }

  .form_block {
    grid-template-columns: repeat(2, calc(50% - 12px));
  }

  .diagramma_wrapper .data-empty {
    width: 100%;
  }

  .diagramma_wrapper .vertical {
    display: none;
  }

  .diagramma_wrapper .diagramma .diagramma_x {
    width: 100%;
  }

  .diagramma_wrapper .diagramma .diagramma__row {
    grid-template-columns: 100%;
    gap: 2px;
  }

  .diagramma_wrapper .diagramma .diagramma__row .name {
    text-align: left;
    line-height: 1.2;
    background-color: rgba(255, 255, 255, 0.8);
    margin-left: 2px;
    width: -moz-fit-content;
    width: fit-content;
  }

  .table table {
    font-size: 14px;
  }

  .pacients__item .pacients__visits .choices__inner {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 77px;
  }

  section {
    margin-bottom: 50px;
  }

  #btn_up {
    bottom: 20px;
    right: 20px;
  }

  .header_logo img {
    width: 200px;
  }

  .header_mobile_wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    right: -100vw;
    visibility: hidden;
    position: absolute;
    top: 100%;
    background: #fff;
    box-shadow: 0 8px 24px 0 rgba(58, 68, 75, 0.04);
    border-radius: 16px;
    padding: 16px 14px;
    z-index: 1;
    transition: right 0.3s ease-in-out;
  }

  .header_nav .nav_list {
    flex-direction: column;
    gap: 12px;
  }

  .header_actions {
    flex-direction: column;
    gap: 12px;
  }

  .header_actions .action_item {
    width: 100%;
  }

  .header_actions .btn {
    width: 100%;
  }

  .burger {
    display: block;
  }

  .footer {
    margin-top: 30px;
    padding-bottom: 50px;
  }

  .footer_wrapper {
    gap: 30px;
  }

  .footer_bottom {
    flex-direction: column;
    gap: 20px;
  }

  dialog {
    max-width: 100vw;
    max-height: 100vh;
  }

  dialog .dialog_wrapper {
    box-shadow: none;
    height: 100vh;
    padding: 26px 20px;
    border-radius: 0;
  }

  .auth_links {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }

  .auth_links .auth_link {
    font-size: 18px;
  }

  .auth_footer {
    flex-direction: column;
    align-items: center;
  }

  .auth_footer button {
    width: 100%;
  }

  .auth_footer a {
    font-size: 18px;
  }

  .result_links_file {
    margin-left: auto;
  }

  .subtitle_block {
    flex-direction: column;
    align-items: flex-start;
  }

  .recommendations_block .recommendations_item {
    padding: 12px;
  }

  .recommendations_block .icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 4px;
  }

  .recommendations_block .icon svg {
    width: 100%;
  }

  .recommendations_block h4 {
    font-size: 16px;
  }

  .recommendations_block .recommendations_ball .value {
    font-size: 16px;
    min-width: 30px;
  }

  .recommendations_block .recommendations_ball::after {
    width: 150px;
    height: 150px;
  }

  .gray_block .block_header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gray_block .block_header .filter {
    margin-left: auto;
  }

  .block_65 {
    grid-column: span 1;
  }

  .hero {
    grid-template-columns: 100%;
  }

  .hero .hero_content {
    display: contents;
  }

  .hero .hero_main_text {
    order: -2;
  }

  .hero .hero_images {
    order: -1;
  }

  .hero .hero_images img {
    max-height: 400px;
    margin: 0 auto;
  }

  .block_title {
    font-size: 32px;
  }

  .block_subtitle {
    margin: 24px 0;
  }

  .block_text br {
    display: none;
  }

  .main_results_actions {
    flex-direction: column;
    padding: 20px;
  }

  .main_specialists_blocks {
    grid-template-columns: repeat(2, 1fr);
  }

  .main_reviews {
    --bg-font-size: 11vw;
  }

  .main_tarif_list .tarif_item:last-child .tooltip-text {
    top: 77px;
    max-height: calc(100vh - 77px);
  }

  .main_tarif_list .tooltip-text {
    top: 77px;
    max-height: calc(100vh - 77px);
  }

  .main_callback {
    padding: 24px;
  }

  .main_callback .callback_form h3 {
    font-size: 22px;
  }

  .form_test .form_block {
    grid-template-columns: 100%;
  }

  .form-visit .radio_block {
    grid-template-columns: 100%;
    gap: 8px;
  }

  .form-visit .notification_info {
    padding-right: 0;
  }

  .table.table-visits thead {
    display: none;
  }

  .table.table-visits tbody {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .table.table-visits tr {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(157, 26, 28, 0.08);
    border-radius: 16px;
    padding: 12px;
    background-color: rgba(157, 26, 28, 0.08);
  }

  .table.table-visits tr th {
    display: none !important;
  }

  .table.table-visits tr td {
    border: none;
    padding: 8px 0;
    display: flex;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
  }

  .table.table-visits tr td .mobile_name {
    display: inline;
    font-weight: 400;
  }

  .table.table-visits tr .notification-col {
    display: block;
  }

  .table.table-visits tr .result-col {
    display: flex;
    flex-direction: column;
  }

  .table.table-visits tr .result-col .mobile_name {
    font-size: 16px;
    font-weight: 500;
  }

  .table.table-visits .status {
    padding: 4px 10px;
  }

  .table.table-visits .notification {
    padding: 4px 10px;
  }

  .table.table-visits .result_links {
    flex-direction: row;
    width: 100%;
  }

  .table.table-visits .result_links .result__item {
    padding: 8px 6px;
  }

  .form_block {
    grid-template-columns: 100%;
  }

  .form_block .footer_block {
    grid-template-columns: 100%;
  }

  .form_block .foot_wrapper:not(:last-child):after {
    display: none;
  }

  .form-registration .fieldsets,
  .form-entry .fieldsets,
  .form-recover .fieldsets {
    grid-template-columns: 100%;
  }
}

@media (max-width: 640px) {
  .app-card .mobile_zero,
  .app-card .mobile_one {
    display: flex;
  }

  .app-card .app-card {
    border-radius: 0;
    max-width: 100%;
  }

  .app-card .app-footer {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .test_list {
    grid-template-columns: repeat(1, 1fr);
  }

  .smz_block .szm_form img {
    display: none;
  }

  .smz_block .szm_tests {
    grid-template-columns: repeat(1, 1fr);
  }

  .main_results_blocks h4 {
    padding-left: 40px;
  }

  .main_results_blocks h4::before {
    width: 24px;
    height: 24px;
    top: 9px;
    left: 9px;
  }

  .main_specialists_blocks {
    grid-template-columns: 100%;
    gap: 20px;
  }

  .main_specialists_blocks .specialist .specialist_photo {
    width: 130px;
    height: 130px;
  }

  .lk_results_list {
    grid-template-columns: repeat(1, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .table.table-visits .cancel {
    font-size: 14px;
  }

  .form-registration .actions,
  .form-entry .actions,
  .form-recover .actions {
    flex-direction: column;
    align-items: stretch;
  }
}