:root {
  --900: "5kasansdesign-black", sans-serif;
  --600: "5kasansdesign-semibold", sans-serif;
  --400: "5kasansdesign-regular", sans-serif;
  --250: "5kasansdesign-thin", sans-serif;
  --intro: "intro", sans-serif;
  --bg: #ffffff;
  --white: #ffffff;
  --color: #333333;
  --black: #333333;
  --grey: #d5d5d5;
  --red: #e6193a;
  --invalid: #ff002b;
}

@font-face {
  font-family: "5kasansdesign-black";
  src: url("../fonts/5kasansdesign-black.woff2") format("woff2"), url("../fonts/5kasansdesign-black.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "5kasansdesign-regular";
  src: url("../fonts/5kasansdesign-regular.woff2") format("woff2"), url("../fonts/5kasansdesign-regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "5kasansdesign-thin";
  src: url("../fonts/5kasansdesign-thin.woff2") format("woff2"), url("../fonts/5kasansdesign-thin.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "5kasansdesign-semibold";
  src: url("../fonts/5kasansdesign-semibold.woff2") format("woff2"), url("../fonts/5kasansdesign-semibold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "intro";
  src: url("../fonts/intro.woff2") format("woff2"), url("../fonts/intro.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
:root {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  -ms-scroll-chaining: none;
      overscroll-behavior: none;
  -webkit-overflow-scrolling: auto;
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--black);
  font-family: var(--400);
  font-weight: 400;
  line-height: 1.4;
  overflow-x: hidden;
  overflow-y: auto;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  max-width: 420px;
  height: auto;
  min-height: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  gap: 30px;
  padding: 30px 15px 40px 15px;
}
@media (max-width: 359px) {
  .main {
    padding: 30px 10px 40px 10px;
  }
}

img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
b,
strong {
  font-family: var(--900);
  font-weight: 900;
  color: inherit;
}

button {
  position: relative;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
  transition: 0.3s;
}
button:disabled {
  cursor: auto;
  pointer-events: none;
}

ul,
menu {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.custom-scrollbar {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  display: block;
  width: 100%;
  padding-right: 24px;
}

.simplebar-track.simplebar-vertical {
  width: 6px;
  border-radius: 3px;
  background: #dfdfdf;
}

.simplebar-scrollbar:before {
  background-color: var(--black);
  width: 6px;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  opacity: 1 !important;
  border-radius: 3px;
}

.ellipsis {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navigation {
  text-align: center;
}
.navigation ul {
  display: flex;
  position: relative;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 40px;
}
.navigation ul li {
  width: 100%;
}
.navigation .button {
  margin-top: 70px;
}

.navigation__link {
  font-family: var(--900);
  font-size: 20px;
  text-transform: uppercase;
  color: var(--color);
}

.section {
  display: block;
  position: relative;
  width: calc(100% + 40px);
  left: 0px;
  overflow: hidden;
}

.slider {
  width: 100%;
  position: relative;
}

.swiper {
  width: 300px;
  position: relative;
  overflow: visible;
}

.swiper-wrapper {
  overflow: visible;
}

.swiper-slide {
  width: 300px;
  opacity: 0;
  transition: 0.8s;
}
.swiper-slide.swiper-slide-active {
  opacity: 1;
}

.swiper-arrow {
  display: flex;
  position: absolute;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 1;
  transition: background-color 0.3s, opacity 0.3s;
  z-index: 4;
  top: 50%;
  margin-top: -20px;
}
.swiper-arrow[data-arrow-prev] {
  left: 20px;
  background-image: url("../img/svg/arrow-prev.svg");
  background-size: 50px 50px;
}
.swiper-arrow[data-arrow-next] {
  right: 20px;
  background-image: url("../img/svg/arrow-next.svg");
  background-size: 50px 50px;
}
.swiper-arrow.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.button {
  display: inline-flex;
  gap: 20px;
  overflow: hidden;
  z-index: 1;
  min-height: 60px;
  min-width: 260px;
  justify-content: center;
  align-items: center;
  align-content: center;
  position: relative;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--white);
  font-family: var(--900);
  padding: 10px 30px;
  z-index: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  outline: none;
  border-radius: 12px;
  text-transform: uppercase;
  background: var(--color);
}
.button svg,
.button span {
  flex-shrink: 0;
  pointer-events: none;
}
.button.medium {
  min-height: 54px;
  font-size: 16px;
  padding: 10px 14px;
}
.button[data-shere-link] {
  text-transform: none;
  gap: 10px;
  font-family: var(--400);
}
.button.button--radius {
  font-size: 24px;
  text-shadow: 2px 2px 0px #000000;
  border-radius: 50px;
}
.button.button--border {
  background: none;
  color: var(--color);
  border: 1px solid var(--color);
}
.button.button--red {
  background: var(--red);
}
.button.full {
  width: 100%;
  min-width: 100%;
}
.button.small {
  min-height: 30px;
  font-size: 14px;
  border-radius: 30px;
}

.title-wrapper {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 100%;
  padding: 15px 15px;
}
@media (hover: none) and (pointer: coarse) {
  .title-wrapper {
    padding: 18px 15px 12px 15px;
  }
}
.title-wrapper:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0%;
  top: 0px;
  background: var(--black);
  inset: 0;
  -webkit-clip-path: polygon(26px 0%, 100% 0%, calc(100% - 26px) 100%, 0% 100%);
          clip-path: polygon(26px 0%, 100% 0%, calc(100% - 26px) 100%, 0% 100%);
  z-index: -1;
}
.title-wrapper.full:before {
  content: "";
  width: 100vw;
  left: auto;
  right: 5%;
  top: 0px;
}
.title-wrapper.full .title {
  text-align: left;
}

.title {
  display: inline-block;
  font-family: var(--intro);
  font-size: 34px;
  line-height: 0.97;
  text-align: left;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 2px 2px 0px #000000;
  font-style: italic;
}
.title.title--h1 {
  text-align: center;
}
.title.title--h2 {
  text-align: center;
  font-size: 32px;
}
@media (max-width: 374px) {
  .title.title--h2 {
    font-size: 30px;
  }
}

.about-title {
  display: inline-block;
  text-align: right;
  margin: 35px 0px;
  font-size: 32px;
  text-transform: uppercase;
  line-height: 1;
}
.about-title b {
  display: inline;
}
@media (max-width: 374px) {
  .about-title {
    margin: 25px 0px;
    font-size: 26px;
  }
}

.about-list {
  display: flex;
  position: relative;
  width: 100%;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 20px;
}
.about-list li {
  display: flex;
  position: relative;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  gap: 10px;
}
.about-list li img {
  width: 100px;
}
.about-list li p b,
.about-list li p span {
  display: block;
  width: 100%;
  font-size: 16px;
  line-height: 1.2;
}
.about-list li p b {
  text-transform: uppercase;
  font-size: 18px;
  padding-bottom: 4px;
}

.prizes {
  display: flex;
  position: relative;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}
.prizes li {
  width: 100%;
}
.prizes article {
  width: 100%;
  padding: 20px 0px;
}
.prizes img {
  margin: 4px auto;
  width: 220px;
}
.prizes p,
.prizes b {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.prizes b {
  text-transform: uppercase;
}
.prizes .prizes__title {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.my-prizes {
  margin-top: -20px;
  margin-bottom: 0px;
}
.my-prizes .swiper-arrow {
  top: 35%;
}
.my-prizes .swiper-slide a {
  position: relative;
  margin-top: 30px;
}
.my-prizes .swiper-slide:before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 150px;
  background-color: #252f44;
  left: 50%;
  margin-left: -75px;
  top: 20px;
  z-index: -1;
  opacity: 0.1;
}
.my-prizes .swiper-slide img {
  position: relative;
  transform: scale(0.9) translate(0%, 5%);
}

.profile {
  width: 100%;
  padding: 18px 20px;
  color: var(--white);
  background: var(--black);
  border-radius: 20px;
}

.profile__name {
  display: block;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
  font-family: var(--600);
}

.profile__text {
  display: flex;
  gap: 10px;
  align-items: center;
  align-content: center;
  width: 100%;
  text-align: left;
  text-transform: uppercase;
  position: relative;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1;
}
.profile__text:before {
  content: "";
  width: 24px;
  height: 24px;
}
.profile__text.phone:before {
  background: url("../img/svg/phone.svg") no-repeat center center/cover;
}
.profile__text.email:before {
  background: url("../img/svg/email.svg") no-repeat center center/cover;
}
.profile__text.logout:before {
  opacity: 0.5;
  background: url("../img/svg/logout.svg") no-repeat center center/cover;
}

.empty {
  display: flex;
  position: relative;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 20px;
}
.empty b {
  text-transform: uppercase;
  display: block;
  width: 100%;
  text-align: center;
  font-size: 20px;
}

.checks {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.checks li {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
  padding: 17px 0px;
  border-top: 1px solid rgba(51, 51, 51, 0.1);
  text-transform: uppercase;
}
.checks li .button--red {
  margin-top: -10px;
  margin-bottom: -10px;
}
.checks li:first-child {
  border-top: none;
}
.checks li span,
.checks li b {
  display: block;
  font-size: 14px;
  line-height: 1;
  width: 100%;
}
.checks li span:last-child {
  opacity: 0.3;
}
.checks li span:first-child {
  opacity: 1;
}

.checks__left,
.checks__right {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 8px;
}

.checks__left {
  width: 126px;
}
@media (max-width: 359px) {
  .checks__left {
    width: 108px;
  }
}

.checks__right {
  flex: 1;
}

.custom-scrollbar {
  position: relative;
  max-height: 283px;
  overflow-x: hidden;
  overflow-y: auto;
}

.table {
  display: block;
  position: relative;
  width: 100%;
}
.table:before {
  content: "";
  position: absolute;
  left: 0px;
  top: -2px;
  width: calc(100% - 24px);
  height: 2px;
  background: var(--black);
}
.table.table--winners .custom-scrollbar {
  max-height: 460px;
}
.table.table--winners .custom-scrollbar .checks__left span:nth-child(2) {
  text-transform: lowercase;
}

.filters {
  width: 100%;
}

.winners__text {
  display: block;
  position: relative;
  width: calc(100% + 18px);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}
.winners__text a {
  display: inline;
  text-decoration: underline;
}

.form--filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form--filters .label {
  display: inline-block;
  width: auto;
  flex: 1;
}
.form--filters .label.label-select {
  max-width: 132px;
}
@media (max-width: 359px) {
  .form--filters .label.label-select {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
  }
}
.form--filters .label .input {
  height: 35px;
  padding: 0px 16px;
  font-size: 16px;
  padding-right: 35px;
  font-family: var(--900);
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
}
.form--filters .label .input-icon {
  height: 35px;
  width: 35px;
}
.form--filters .label .radio + span {
  display: inline-flex;
  position: relative;
  justify-content: center;
  align-items: center;
  align-content: center;
  font-family: var(--900);
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  text-transform: uppercase;
  font-size: 16px;
  height: 35px;
  line-height: 1;
  border-radius: 35px;
  margin: 0;
  padding: 0px 16px;
  flex-shrink: 0;
  transition: 0.3s;
}
.form--filters .label .radio + span:before {
  content: none;
}
.form--filters .label .radio:checked + span {
  background: var(--black);
  color: var(--white);
}

.form--search {
  margin-top: 20px;
}
.form--search .input {
  background: var(--white);
  border: 2px solid var(--black);
  font-size: 16px;
  font-family: var(--900);
  height: 35px;
}
.form--search .input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #ffffff inset !important;
  -webkit-text-fill-color: var(--input-color) !important;
  font-size: 16px !important;
  font-family: var(--900) !important;
  -webkit-transition: background-color 9999s ease-in-out 0s;
  transition: background-color 9999s ease-in-out 0s;
}
.form--search .input.input--with-icon-left {
  padding-left: 44px;
}
.form--search .input-icon {
  height: 35px;
  width: 35px;
}
.form--search .input-icon.left {
  left: 8px;
}
.form--search .input-icon img,
.form--search .input-icon svg {
  width: 50%;
  height: 50%;
}

.form--slider {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 20px;
}
.form--slider fieldset {
  border: none;
  font-family: var(--600);
  font-size: 18px;
  line-height: 1;
  display: flex;
  position: relative;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.form--slider fieldset .label {
  width: auto;
}
.form--slider fieldset .input.input--select {
  padding: 0px 10px;
  height: 22px;
  font-size: 18px;
  padding-right: 20px;
  font-family: var(--600);
  border: none;
  background: none;
}
.form--slider fieldset .input-icon {
  width: 22px;
  height: 22px;
}
.form--slider fieldset .input-icon img,
.form--slider fieldset .input-icon svg {
  width: 8px;
  height: 6px;
}

.form-navigation {
  position: relative;
  left: -20px;
  overflow: hidden;
  width: calc(100% + 40px);
}
.form-navigation .slider {
  width: 150px;
  height: 44px;
  margin-left: 20px;
}
.form-navigation .slider .swiper {
  width: 150px;
  height: 44px;
}
.form-navigation .slider .swiper .swiper-slide {
  width: 150px;
  height: 44px;
  opacity: 1;
}
.form-navigation .slider .swiper .swiper-slide .label {
  width: 144px;
  height: 44px;
}
.form-navigation .slider .swiper .swiper-slide .label .radio + span {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  align-content: center;
  border: 1px solid var(--color);
  background: var(--white);
  color: var(--color);
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-family: var(--600);
  border-radius: 44px;
  width: 100%;
  height: 44px;
  transition: 0.3s;
}
.form-navigation .slider .swiper .swiper-slide .label .radio + span:before {
  content: none;
}
.form-navigation .slider .swiper .swiper-slide .label .radio:checked + span {
  background: var(--color);
  color: var(--white);
}

.table.table--black {
  background: var(--black);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 20px;
}
.table.table--black:before {
  content: none;
}
.table.table--black .custom-scrollbar {
  padding-right: 6px;
}
.table.table--black .custom-scrollbar .simplebar-track.simplebar-vertical {
  width: 2px;
  border-radius: 0px;
  background: #4d4d4d;
}
.table.table--black .custom-scrollbar .simplebar-scrollbar:before {
  background-color: var(--white);
  width: 2px;
  border-radius: 0px;
}
.table.table--black ol {
  list-style: none;
  counter-reset: list-counter;
  padding-left: 0;
}
.table.table--black ol li {
  display: flex;
  position: relative;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  padding: 8px 0px;
  padding-left: 1em;
  gap: 8px;
  counter-increment: list-counter;
  position: relative;
}
.table.table--black ol li:before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  color: white;
  font-size: 12px;
}
.table.table--black ol li .checks__left {
  width: 77px;
}
.table.table--black ol li .checks__left span {
  font-size: 13px;
}
.table.table--black ol li .checks__right {
  flex: 1;
  display: flex;
  position: relative;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  gap: 8px;
}
.table.table--black ol li .checks__right img {
  width: 30px;
}
.table.table--black ol li .checks__right p {
  display: inline-block;
  width: auto;
  flex: 1;
}
.table.table--black ol li .checks__right p span,
.table.table--black ol li .checks__right p b {
  font-size: 13px;
  text-transform: none;
  line-height: 1.1;
}

.section--form {
  position: relative;
  width: 100%;
}
.section--form .popup-close {
  top: 1px;
  width: 20px;
  height: 20px;
}
.section--form .popup__title {
  font-size: 28px;
  margin-top: 30px;
}
.section--form .popup__subtitle {
  text-transform: uppercase;
}
.section--form .checkbox--save + span {
  display: inline-flex;
  justify-content: flex-end;
  width: auto;
  font-size: 14px;
  text-transform: uppercase;
}
.section--form .checkbox--save + span:before {
  border-radius: 50px;
  border: 4px solid var(--color);
  width: 22px;
  height: 22px;
  left: 4px;
  top: -3.5px;
  background: rgba(0, 0, 0, 0);
}
.section--form .checkbox--save:checked + span:before {
  border-radius: 50px;
  width: 22px;
  height: 22px;
  left: 4px;
  top: -3px;
  background: var(--red);
}
.section--form fieldset {
  border: none;
}
.section--form fieldset .label:first-child .checkbox + span {
  margin-top: 0;
}
.section--form fieldset .inputError {
  display: none !important;
}

.form--page {
  margin-top: 30px;
  display: flex;
  position: relative;
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  gap: 20px;
}

.login-menu {
  display: flex;
  position: relative;
  width: 100%;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 10px;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}
.login-menu .login-menu__link {
  opacity: 0.3;
  cursor: pointer;
}
.login-menu .login-menu__link.active {
  opacity: 1;
}

.form-links {
  display: flex;
  position: relative;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 20px;
  margin-top: 10px;
}
.form-links a {
  display: inline-block;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color);
  font-size: 14px;
  line-height: 1.1;
}

.howtoget p,
.howtoget li {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.howtoget ol {
  width: calc(100% - 20px);
  margin-left: 20px;
  margin-top: 20px;
}

.footer {
  display: block;
  position: relative;
  z-index: 1;
  padding: 30px 0px 40px 0px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  margin: 0 auto;
}

.footer__content {
  width: 100%;
  max-width: 375px;
  padding: 0px 12px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.footer__content p,
.footer__content a {
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
}
.footer__content a {
  text-decoration: underline;
}

:root {
  --input-font-family: var(--400);
  --input-font-size: 18px;
  --input-height: 52px;
  --input-background: #e0e0e0;
  --input-border: #e0e0e0;
  --input-color: var(--color);
  --input-placeholder-color: rgba(51, 51, 51, 0.4);
}

.label {
  display: block;
  width: 100%;
  position: relative;
  color: inherit;
}
.label.label--right {
  display: flex;
  justify-content: flex-end;
}

.label__text {
  display: block;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 5px;
}

.input-icon {
  display: flex;
  position: absolute;
  width: var(--input-height);
  height: var(--input-height);
  right: 0px;
  top: 0px;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-shrink: 0;
  transition: 0.3s;
  transform: rotate(0deg);
}
.input-icon.left {
  right: 0px;
  left: 0px;
}
.input-icon svg,
.input-icon img {
  width: 35%;
  height: auto;
  pointer-events: none;
}
.input-icon.full {
  right: 4px;
}
.input-icon.full svg {
  width: 100%;
  height: auto;
}

span.input-icon {
  pointer-events: none;
}

.input,
.textarea {
  width: 100%;
  height: var(--input-height);
  background: var(--input-background);
  border: 2px solid var(--input-border);
  border-radius: 26px;
  font-family: var(--input-font-family);
  font-size: var(--input-font-size);
  color: var(--input-color);
  padding: 0px 15px;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: 0.3s;
  box-shadow: none;
  resize: none;
  text-transform: uppercase;
}
.input.input--select, .input.input--with-icon,
.textarea.input--select,
.textarea.input--with-icon {
  padding-right: calc(var(--input-height) - 4px);
}
.input.input--with-icon-left,
.textarea.input--with-icon-left {
  padding-left: calc(var(--input-height) - 4px);
}
.input.placeholder,
.textarea.placeholder {
  color: var(--input-placeholder-color);
}
.input.placeholder + .input-icon,
.textarea.placeholder + .input-icon {
  color: var(--input-placeholder-color);
}
.input::-moz-placeholder, .textarea::-moz-placeholder {
  opacity: 1;
  -moz-transition: 0.3s;
  transition: 0.3s;
  color: var(--input-placeholder-color);
  font-family: var(--input-font-family);
  font-size: var(--input-font-size);
}
.input:-ms-input-placeholder, .textarea:-ms-input-placeholder {
  opacity: 1;
  -ms-transition: 0.3s;
  transition: 0.3s;
  color: var(--input-placeholder-color);
  font-family: var(--input-font-family);
  font-size: var(--input-font-size);
}
.input::placeholder,
.textarea::placeholder {
  opacity: 1;
  transition: 0.3s;
  color: var(--input-placeholder-color);
  font-family: var(--input-font-family);
  font-size: var(--input-font-size);
}
.input.invalid,
.textarea.invalid {
  border: 2px solid var(--invalid);
  color: var(--invalid);
}
.input.invalid + .input-icon,
.textarea.invalid + .input-icon {
  color: var(--invalid);
}
.input.invalid::-moz-placeholder, .textarea.invalid::-moz-placeholder {
  color: var(--invalid);
}
.input.invalid:-ms-input-placeholder, .textarea.invalid:-ms-input-placeholder {
  color: var(--invalid);
}
.input.invalid::placeholder,
.textarea.invalid::placeholder {
  color: var(--invalid);
}
.input:focus,
.textarea:focus {
  border: 2px solid var(--color);
}
.input:focus::-moz-placeholder, .textarea:focus::-moz-placeholder {
  opacity: 0;
}
.input:focus:-ms-input-placeholder, .textarea:focus:-ms-input-placeholder {
  opacity: 0;
}
.input:focus::placeholder,
.textarea:focus::placeholder {
  opacity: 0;
}

.textarea {
  display: block;
  padding: 22px 30px;
}

textarea::-webkit-scrollbar {
  width: 6px;
}

textarea::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 16px;
}

textarea::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  border: 1px solid transparent;
  background-clip: content-box;
}

/* Firefox */
textarea {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
}

.radio,
.checkbox {
  display: none;
}
.radio + span,
.checkbox + span {
  display: inline-block;
  position: relative;
  width: 100%;
  font-family: var(--400);
  padding-left: 35px;
  font-size: 12px;
  line-height: 1.2;
  color: inherit;
  cursor: pointer;
  margin-top: 10px;
}
.radio + span a,
.checkbox + span a {
  display: inline;
  font-size: 12px;
  text-decoration: underline;
  width: auto;
  color: var(--black);
}
.radio + span:before,
.checkbox + span:before {
  content: "";
  display: block;
  position: absolute;
  left: 15px;
  top: 1px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid var(--black);
  background: rgba(0, 0, 0, 0);
  transition: border 0.3s;
}
.radio:checked + span:before,
.checkbox:checked + span:before {
  background: var(--black) url("../img/svg/checkbox.svg") no-repeat center center;
  background-size: 80% 80%;
}
.radio.invalid + span,
.checkbox.invalid + span {
  color: var(--invalid);
}
.radio.invalid + span:before,
.checkbox.invalid + span:before {
  border: 1px solid var(--invalid);
}

.input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #f1f1f1 inset !important;
  -webkit-text-fill-color: var(--input-color) !important;
  font-size: var(--input-font-size) !important;
  font-family: var(--input-font-family) !important;
  -webkit-transition: background-color 9999s ease-in-out 0s;
  transition: background-color 9999s ease-in-out 0s;
}

.inputError {
  display: block;
  width: 100%;
  height: 0px;
  position: relative;
  text-align: left;
  overflow: hidden;
  transition: 0.3s;
  color: var(--invalid);
  font-size: 12px;
  font-family: var(--400);
}
.inputError span {
  display: block;
  padding-top: 4px;
}

.password-wrapper {
  position: relative;
}
.password-wrapper .input-icon {
  cursor: pointer;
  pointer-events: all;
}
.password-wrapper .input-icon img {
  width: 100%;
  height: 100%;
}

/* Chrome, Safari, Edge */
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  display: none;
}

/* Firefox */
input[type=search] {
  -webkit-appearance: textfield;
     -moz-appearance: textfield;
          appearance: textfield;
}

select.open + .input-icon {
  transform: rotate(180deg);
}

input[type=file] {
  display: none;
}

.label--forFile {
  display: flex;
  height: var(--input-height);
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 10px;
  cursor: pointer;
  color: var(--input-placeholder-color);
  transition: 0.3s;
}
@media (max-width: 767px) {
  .label--forFile {
    margin-top: -10px;
    margin-bottom: -10px;
  }
}
.label--forFile .file-placeholder {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  font-size: var(--input-font-size);
  text-align: left;
  line-height: 1;
  transition: 0.3s;
  max-width: 80%;
}
.label--forFile .invalid + .file-placeholder {
  color: var(--invalid) !important;
}
.label--forFile:hover {
  color: var(--color);
}
.label--forFile:hover .file-placeholder {
  color: var(--color) !important;
}

body.locked {
  overflow-x: hidden;
  overflow-y: hidden;
}

.backdrop {
  transform: translateZ(0);
  will-change: opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  display: grid;
  place-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  overflow-x: hidden;
  overflow-y: scroll;
  -ms-scroll-chaining: none;
      overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.5s ease-in-out 0s, visibility 0.5s ease-in-out 0s;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.backdrop.active {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.backdrop:before {
  content: "";
  position: absolute;
  pointer-events: none;
  left: 0px;
  right: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgb(136, 136, 136);
  opacity: 0.8;
  grid-area: 1/1/2/2;
}

.popup {
  position: relative;
  transition: 0.5s;
  transform: translate(0px, 20px);
  opacity: 0;
  z-index: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  width: 100%;
  pointer-events: none;
}
@media (max-width: 419px) {
  .popup {
    width: 100%;
  }
}
.popup.visible {
  opacity: 1;
  transform: translate(0px, 0px);
}
.popup .popup-content {
  position: relative;
  margin: 0 auto;
  pointer-events: all;
}

.popup-close,
.file-reset {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 16.26px;
  height: 16.26px;
  transform: rotate(0deg);
  z-index: 2;
}
.popup-close:before, .popup-close:after,
.file-reset:before,
.file-reset:after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 3px;
  background: var(--color);
  transition: 0s;
  transition: 0.3s;
}
.popup-close:before,
.file-reset:before {
  transform: rotate(45deg);
}
.popup-close:after,
.file-reset:after {
  transform: rotate(-45deg);
}
.popup-close:hover:before,
.file-reset:hover:before {
  transform: rotate(135deg);
}
.popup-close:hover:after,
.file-reset:hover:after {
  transform: rotate(45deg);
}

.file-reset {
  right: -4px;
  top: -4px;
  background: var(--invalid);
  border-radius: 20px;
  z-index: 2;
}
.file-reset::before, .file-reset::after {
  width: 14px;
  background: var(--white);
}

.popup-content {
  width: calc(100% - 40px);
  max-width: 335px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  border-radius: 20px;
  background: var(--white);
  padding: 30px;
}
.popup-content.popup-content--dark {
  background: var(--color);
  color: var(--white);
}
.popup-content.popup-content--dark .popup-close:before, .popup-content.popup-content--dark .popup-close:after,
.popup-content.popup-content--dark .file-reset:before,
.popup-content.popup-content--dark .file-reset:after {
  background: var(--white);
}

.popup__title {
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1.2;
  font-family: var(--600);
}

.popup__subtitle {
  text-align: center;
  margin: 24px 0px 30px 0px;
  font-size: 16px;
  line-height: 1.2;
}

#login {
  max-width: 375px;
}