.popup-chat {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: none;
  padding: 20px;
  opacity: 0;
}
.popup-chat__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
}
.popup-chat__wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  width: 100%;
  max-width: 1140px;
  max-height: 100%;
  padding: 50px;
  margin: auto;
  background-color: #909cf8;
  opacity: 0;
  transform: translateY(100%);
  overflow: hidden;
}
.popup-chat__wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 150%;
  background-image: url("../../img/popup/chat-bg.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%) rotate(-7.38deg);
  pointer-events: none;
}
.popup-chat__close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 32px;
  height: 32px;
  fill: rgba(0, 0, 0, 0);
  stroke: #fff;
  stroke-linecap: square;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: stroke 0.2s linear, opacity 0.2s linear;
}
.popup-chat__close:hover {
  stroke: rgba(255, 255, 255, 0.7);
}
.popup-chat__close svg {
  width: 28px;
  height: 28px;
  pointer-events: none;
}
.popup-chat__title {
  font-size: 36px;
  font-weight: 500;
  line-height: 120%;
  color: #fff;
}
.popup-chat__descr {
  margin-top: 30px;
  font-weight: 400;
  font-size: 24px;
  line-height: 140%;
  color: #fff;
  max-width: 560px;
}
.popup-chat__button {
  margin-top: 40px;
  padding: 22px 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #0f1011;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0);
  transition-timing-function: linear;
  transition-duration: 0.2s;
  transition-property: background-color, color, border;
  max-width: 235px;
  margin-right: 20px;
}
.popup-chat__button:hover {
  color: #fff;
  background-color: rgba(0, 0, 0, 0);
  border-color: #fff;
}
.popup-chat__decor {
  position: absolute;
  left: 280px;
  bottom: 0;
  pointer-events: none;
  z-index: -9999;
}
.popup-chat__image {
  flex: 0 0 auto;
  width: 360px;
  height: 360px;
  margin-left: 32px;
  margin-block: -25px;
}
.popup-chat__buttons__wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  max-width: 560px;
}
@media only screen and (max-width: 1100px) {
  .popup-chat__buttons__wrapper {
    width: 100%;
    max-width: 100%;
  }
}
@media only screen and (max-width: 991px) {
  .popup-chat__title {
    font-size: 24px;
  }
  .popup-chat__wrap {
    padding: 25px;
  }
  .popup-chat__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }
  .popup-chat__descr {
    margin-top: 20px;
    font-size: 18px;
    max-width: 340px;
  }
  .popup-chat__image {
    width: 300px;
    height: 300px;
    margin-left: 32px;
    margin-block: -10px;
  }
}
@media only screen and (max-width: 768px) {
  .popup-chat__wrap {
    flex-direction: column;
    max-width: 400px;
  }
  .popup-chat__buttons__wrapper {
    flex-direction: column;
  }
  .popup-chat__button {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
  }
  .popup-chat__body {
    margin-top: 30px;
    order: 1;
  }
  .popup-chat__title {
    font-size: 20px;
  }
  .popup-chat__decor {
    bottom: 60px;
    left: auto;
    right: -95px;
  }
  .popup-chat__image {
    width: 180px;
    height: auto;
    margin-inline: auto;
    margin-top: 0;
  }
}

/* stylelint-disable */
/* stylelint-disable */
/* stylelint-disable */
/* stylelint-disable */
.modal {
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.modal__window {
  display: none;
  overflow: hidden;
  cursor: initial;
}
.modal__window::-webkit-scrollbar {
  display: none;
}
.modal__window {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.modal__window.show {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.modal__window-close {
  position: absolute;
  right: 20px;
  top: 20px;
}
@media (max-width: 576px) {
  .modal__window-close {
    right: 10px;
    top: 10px;
  }
}
.modal__window-accent {
  -ms-flex-preferred-size: calc(36% - 10px);
  flex-basis: calc(36% - 10px);
  font-size: 30px;
  color: #fff;
}
@media (max-width: 576px) {
  .modal__window-accent {
    font-size: 22px;
  }
}
.modal__window-fields {
  -ms-flex-preferred-size: calc(50% - 10px);
  flex-basis: calc(50% - 10px);
}
.modal__window-field {
  border: none;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
  width: 100%;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #fff;
  background: transparent;
  opacity: 0.7;
}
.modal__window-field:-webkit-autofill,
.modal__window-field:-webkit-autofill:hover,
.modal__window-field:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  -webkit-box-shadow: 0 0 0px 40rem #909cf8 inset;
}
.modal__window-field:not(:last-child) {
  margin-bottom: 25px;
}
.modal__window-field::-webkit-input-placeholder {
  color: #fff;
}
.modal__window-field::-moz-placeholder {
  color: #fff;
}
.modal__window-field:-ms-input-placeholder {
  color: #fff;
}
.modal__window-field::-ms-input-placeholder {
  color: #fff;
}
.modal__window-field::placeholder {
  color: #fff;
}
.modal__window-agree {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 30px;
}
@media (max-width: 992px) {
  .modal__window-agree {
    margin: 0 auto;
    margin-top: 48px;
    max-width: 300px;
  }
}
.modal__window-checkbox {
  margin-right: 10px;
}
@media (max-width: 1220px) {
  .modal__window-checkbox {
    flex-basis: auto;
  }
}
@media (max-width: 1220px) {
  .modal__window-agree {
    flex-wrap: wrap;
  }
}
.modal__window-agree-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 1220px) {
  .modal__window-agree-text {
    flex-basis: calc(95% - 5px);
  }
}
.modal__window-agree-text a {
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}
@media (max-width: 992px) {
  .modal__window-agree-text {
    max-width: 300px;
    text-align: left;
    flex-basis: calc(93% - 5px);
  }
}
@media (max-width: 400px) {
  .modal__window-agree-text {
    flex-basis: calc(90% - 5px);
  }
}
.modal__window-button {
  border: 1px solid rgba(0, 0, 0, 0);
  width: 100%;
  max-width: 243px;
  margin-right: 30px;
  /* stylelint-disable-next-line order/order */
}
@media (max-width: 1220px) {
  .modal__window-button {
    margin: 0;
    margin-bottom: 15px;
  }
}
.modal__window-button--disabled {
  opacity: 0.5;
  pointer-events: none;
}
@media (any-hover: hover) {
  .modal__window-button--disabled:hover {
    border-color: inherit;
    color: inherit;
    background: inherit;
  }
}
@media (any-hover: hover) {
  .modal__window-button:hover {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
  }
}
@media (max-width: 1220px) {
  .modal__window-button {
    max-width: 100%;
  }
}
@media (max-width: 992px) {
  .modal__window-button {
    padding: 16px;
    max-width: 300px;
    font-size: 17px;
  }
}
@media (max-width: 576px) {
  .modal__window-button {
    min-width: auto;
    max-width: 300px;
  }
}
.modal.popup-chat {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.modal.show {
  pointer-events: painted;
}