:export {
  chatwootIndex: 9995;
  chatwootIndexHide: 999;
}
.ReactModal__Content {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -35%);
  z-index: 10001;
}
.ReactModal__Overlay {
  opacity: 0;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #020c4266 !important;
  transition: all 0.2s ease-out;
  z-index: 10000;
}
.ReactModal__Overlay--after-open {
  opacity: 1;
}
.ReactModal__Overlay--before-close {
  opacity: 0;
}
:export {
  largeDesktop: 1440px;
  desktop: 1370px;
  tablet: 1180px;
  smallTablet: 768px;
  phone: 576px;
  smallPhone: 375px;
}
.MainModal {
  background: var(--dialogBackground);
  border-radius: 16px;
  box-shadow: 0 5px 15px #0003;
  width: 375px;
  height: 700px;
  position: relative;
}
@media (max-width: 768px) {
  .MainModal {
    width: 343px;
  }
}
@media (max-height: 640px) {
  .MainModal {
    height: calc(100% - 20px);
  }
}
.MainModal__wrapper {
  overflow: hidden;
  height: 100%;
}
.MainModal_huge {
  width: 380px;
  height: 616px;
}
.MainModal_small {
  width: 375px;
  height: auto;
}
.MainModal-header {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  column-gap: 8px;
  text-align: center;
  padding: 16px;
}
.MainModal-header__title,
.MainModal-header__title_pay {
  font-size: 18px;
  line-height: 120%;
  font-weight: 600;
}
.MainModal-header__balance {
  font-size: 22px;
  line-height: 26.82px;
  font-weight: 600;
  font-family: Montserrat, sans-serif;
  color: var(--textPrimary);
  text-align: center;
}
.MainModal-header_close,
.MainModal-header_back {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.MainModal-header_back {
  display: flex;
  align-items: center;
}
.MainModal-header_back svg,
.MainModal-header_back path,
.MainModal-header_back rect {
  fill: var(--textPrimary);
}
.MainModal-header_close {
  display: flex;
  align-items: center;
  z-index: 10;
}
.MainModal-header-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--light-grey);
  border-radius: 16px 16px 0 0;
}
.MainModal-header-left .MainModal-header__title {
  font-size: 18px;
  line-height: 120%;
  font-weight: 600;
}
.MainModal-header-left .MainModal-header_back {
  display: none;
}
.MainModal-header-exception {
  padding: 5px 10px 0 5px;
}
.MainModal__content {
  padding: 0 16px 16px;
  overflow: overlay;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  height: calc(100% - 85px);
  scrollbar-width: none;
}
.MainModal__content.wheel {
  padding: 0;
}
.MainModal__content_huge,
.MainModal__content_small {
  padding: 0 16px 16px;
  overflow: inherit;
  height: 100%;
}
.MainModal__content_exception {
  padding: 0;
  height: calc(100% - 50px);
}
.MainModal_hiddenOverflow {
  overflow: hidden;
}
