/*
 * Касса пополнения FORMA WIN. Интервалы и цвета — cashier-v92.css и crypto-cashier-v93.css.
 * Телефон сначала, на широком экране окно не шире 610px.
 */

html body.fw36 .fw-cs-shade {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: rgba(8, 7, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

html body.fw36 .fw-cs-shade[hidden] {
  display: none;
}

html body.fw36 .fw-cs-modal {
  position: relative;
  width: 100%;
  max-width: 610px;
  max-height: 88dvh;
  overflow: hidden;
  padding: 27px 23px 24px;
  border-radius: 24px;
  background: #fff;
  color: #2b2433;
  font-family: ManropeFW, Manrope, sans-serif;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.33);
}

html body.fw36 .fw-cs-modal:focus {
  outline: none;
}

html body.fw36 .fw-cs-x {
  position: absolute;
  z-index: 2;
  top: 11px;
  right: 11px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #f2eff6;
  color: #786c86;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

html body.fw36 .fw-cs-title {
  margin: 0 46px 20px 0;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.75px;
}

html body.fw36 .fw-cs-body {
  max-height: calc(88dvh - 51px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

html body.fw36 .fw-cs-stage {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #aaa0b6;
  font-size: 12px;
  line-height: 1.4;
}

html body.fw36 .fw-cs-stage > i {
  color: #beb3cb;
  font-size: 15px;
  font-style: normal;
}

html body.fw36 .fw-cs-stage-current {
  color: #7954ce;
  font-weight: 700;
}

html body.fw36 .fw-cs-stage > b {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 7px;
  background: #f2eff7;
  color: #84798f;
  font-size: 11px;
  font-weight: 700;
}

html body.fw36 .fw-cs-intro {
  margin: 0 0 17px;
  color: #4a4056;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

html body.fw36 .fw-cs-types {
  display: flex;
  gap: 6px;
  overflow: auto;
  margin: 0 0 17px;
  scrollbar-width: none;
}

html body.fw36 .fw-cs-types > button {
  min-height: 40px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #9688a5;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

html body.fw36 .fw-cs-types > button[aria-pressed="true"] {
  background: #efe8fb;
  color: #7953ca;
}

html body.fw36 .fw-cs-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

html body.fw36 .fw-cs-method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 142px;
  padding: 14px 14px 13px;
  border: 0;
  border-radius: 15px;
  background: #f5f3f8;
  color: #332b3e;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

html body.fw36 .fw-cs-method:hover {
  background: #eee8f7;
}

html body.fw36 .fw-cs-method:disabled {
  opacity: 0.5;
  cursor: default;
}

html body.fw36 .fw-cs-method > img,
html body.fw36 .fw-cs-fallback {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 0 10px;
  object-fit: contain;
}

html body.fw36 .fw-cs-fallback {
  border-radius: 10px;
  background: #ebe6f3;
  color: #7a6a90;
  font-size: 13px;
  font-weight: 800;
  line-height: 40px;
  text-align: center;
}

html body.fw36 .fw-cs-method > strong {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

html body.fw36 .fw-cs-method > span {
  margin: 0 0 10px;
  color: #94879f;
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

html body.fw36 .fw-cs-method > small {
  margin-top: auto;
  color: #7f708f;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

html body.fw36 .fw-cs-empty {
  margin: 12px 0;
  padding: 25px 16px;
  border-radius: 13px;
  background: #f5f2f8;
  color: #8e7e9e;
  font-size: 15px;
  line-height: 1.7;
}

html body.fw36 .fw-cs-empty > p {
  margin: 0 0 17px;
}

html body.fw36 .fw-cs-show-crypto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  min-height: 44px;
  padding: 12px 4px 2px;
  border: 0;
  background: none;
  color: #8760c6;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

html body.fw36 .fw-cs-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0 13px;
  border-radius: 11px;
  background: #f3eff7;
}

html body.fw36 .fw-cs-search > svg {
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #9a8aa8;
  stroke-width: 2;
  stroke-linecap: round;
}

html body.fw36 .fw-cs-search > input,
html body.fw36.forma-ui .fw-cs-search > input[type="search"] {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 13px 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #51435f !important;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}

html body.fw36 .fw-cs-search > input::placeholder,
html body.fw36.forma-ui .fw-cs-search > input[type="search"]::placeholder {
  color: #9a8aa8 !important;
  opacity: 1;
}

html body.fw36 .fw-cs-back {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin: -3px 0 8px;
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  color: #8a65ce;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

html body.fw36 .fw-cs-back > span {
  font-size: 19px;
}

html body.fw36 .fw-cs-selected {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  margin-bottom: 25px;
  padding: 16px;
  border-radius: 15px;
  background: #f5f2f8;
}

html body.fw36 .fw-cs-selected > img,
html body.fw36 .fw-cs-selected .fw-cs-fallback {
  flex: none;
  width: 47px;
  height: 47px;
  margin: 0;
  object-fit: contain;
}

html body.fw36 .fw-cs-selected > div {
  min-width: 0;
}

html body.fw36 .fw-cs-selected strong {
  display: block;
  color: #3a2f46;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

html body.fw36 .fw-cs-selected span {
  display: block;
  margin-top: 3px;
  color: #9a88ab;
  font-size: 12px;
  line-height: 1.5;
}

html body.fw36 .fw-cs-bonus {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 15px;
  margin-top: -6px;
  padding: 0 2px 20px;
}

html body.fw36 .fw-cs-bonus > span {
  color: #9986ad;
  font-size: 12px;
}

html body.fw36 .fw-cs-bonus > strong {
  color: #6b4daa;
  font-size: 14px;
  font-weight: 700;
}

html body.fw36 .fw-cs-bonus > small {
  grid-column: 1 / -1;
  color: #8a799b;
  font-size: 12px;
}

html body.fw36 .fw-cs-amount {
  display: block;
  padding: 17px 16px 15px;
  border-radius: 15px;
  background: #f2eff7;
  cursor: text;
}

html body.fw36 .fw-cs-amount > span {
  display: block;
  margin-bottom: 7px;
  color: #9787a7;
  font-size: 12px;
  line-height: 1.5;
}

html body.fw36 .fw-cs-amount > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

html body.fw36 .fw-cs-amount-input,
html body.fw36.forma-ui .fw-cs-amount-input[type="text"] {
  display: block;
  width: 100%;
  min-width: 0;
  height: 51px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #33243f !important;
  font-family: inherit;
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}

html body.fw36 .fw-cs-amount:focus-within {
  box-shadow: inset 0 0 0 2px #b6a0e7;
}

html body.fw36 .fw-cs-amount > div > b {
  flex: none;
  color: #ac9bb8;
  font-size: 14px;
  font-weight: 600;
}

html body.fw36 .fw-cs-limits {
  margin: 10px 2px 0;
  color: #8f7d9f;
  font-size: 13px;
  line-height: 1.6;
}

html body.fw36 .fw-cs-field-error {
  margin: 9px 2px 0;
  color: #b55570;
  font-size: 13px;
  line-height: 1.55;
}

html body.fw36 .fw-cs-field-error[hidden],
html body.fw36 .fw-cs-submit-error[hidden] {
  display: none;
}

html body.fw36 .fw-cs-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0 23px;
}

html body.fw36 .fw-cs-quick > button {
  flex: 1;
  min-width: 57px;
  min-height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: #f2edf8;
  color: #8562b9;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

html body.fw36 .fw-cs-fee {
  display: flex;
  justify-content: space-between;
  margin: 0 2px 18px;
  color: #92819f;
  font-size: 13px;
  line-height: 1.6;
}

html body.fw36 .fw-cs-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  min-height: 48px;
  padding: 13px 17px;
  border: 0;
  border-radius: 12px;
  background: #6b4eff;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

html body.fw36 .fw-cs-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

html body.fw36 .fw-cs-note {
  max-width: 330px;
  margin: 14px auto 0;
  color: #9b8ba9;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

html body.fw36 .fw-cs-submit-error {
  margin: 0 0 16px;
  padding: 13px 14px;
  border-radius: 11px;
  background: #fcf0f4;
  color: #ad5270;
  font-size: 14px;
  line-height: 1.6;
}

html body.fw36 .fw-cs-crypto-selected {
  gap: 12px;
  margin-bottom: 17px;
  padding: 12px 14px;
}

html body.fw36 .fw-cs-network-change {
  flex: none;
  max-width: 91px;
  min-height: 44px;
  padding: 5px 0 5px 9px;
  border: 0;
  background: none;
  color: #8b65c6;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
  cursor: pointer;
}

html body.fw36 .fw-cs-network-intro {
  margin: -6px 0 18px;
  color: #91809f;
  font-size: 14px;
  line-height: 1.7;
}

html body.fw36 .fw-cs-networks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

html body.fw36 .fw-cs-networks > button {
  position: relative;
  min-width: 0;
  min-height: 68px;
  padding: 13px 29px 12px 14px;
  border: 0;
  border-radius: 12px;
  background: #f4f0f8;
  color: #574664;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

html body.fw36 .fw-cs-networks strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

html body.fw36 .fw-cs-networks span {
  display: block;
  margin-top: 4px;
  color: #a18cb2;
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

html body.fw36 .fw-cs-networks i {
  position: absolute;
  top: 15px;
  right: 11px;
  color: #a283cf;
  font-size: 14px;
  font-style: normal;
}

html body.fw36 .fw-cs-warning,
html body.fw36 .fw-cs-network-note {
  margin: 0 0 18px;
  color: #91719f;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0;
  word-spacing: normal;
  white-space: normal;
}

html body.fw36 .fw-cs-network-note > strong {
  color: #5e456d;
  font-weight: 700;
}

html body.fw36 .fw-cs-memo-warn {
  margin: 0 0 18px;
  padding: 12px 13px;
  border-radius: 12px;
  background: #fff5e9;
  color: #b1874f;
  font-size: 12px;
  line-height: 1.7;
}

html body.fw36 .fw-cs-memo-warn > strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

html body.fw36 .fw-cs-wallet {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

html body.fw36 .fw-cs-qr {
  display: grid;
  place-items: center;
  width: 154px;
  height: 154px;
  margin: 4px auto 22px;
  background: #fff;
}

html body.fw36 .fw-cs-qr[hidden] {
  display: none;
}

html body.fw36 .fw-cs-qr > img,
html body.fw36 .fw-cs-qr > svg {
  display: block;
  width: 154px;
  height: 154px;
  max-width: 100%;
  background: #fff;
  object-fit: contain;
}

html body.fw36 .fw-cs-copy-row {
  min-width: 0;
  margin: 0 0 17px;
}

html body.fw36 .fw-cs-copy-row > span {
  display: block;
  margin-bottom: 8px;
  color: #9d81ae;
  font-size: 12px;
  line-height: 1.4;
}

html body.fw36 .fw-cs-copy-row > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 6px 8px 13px;
  border-radius: 12px;
  background: #f5f1fa;
}

html body.fw36 .fw-cs-copy-row code {
  flex: 1 1 auto;
  min-width: 0;
  color: #856295;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
  user-select: all;
}

html body.fw36 .fw-cs-req-memo code {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

html body.fw36 .fw-cs-copy-row > div > button {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ae8cbf;
  cursor: pointer;
}

html body.fw36 .fw-cs-copy-row > div > button > svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body.fw36 .fw-cs-copy-row > div > button.is-copied {
  background: #e4f2e9;
  color: #48876b;
}

html body.fw36 .fw-cs-limit {
  margin: 13px 0 0;
  color: #92809e;
  font-size: 12px;
  line-height: 1.6;
}

html body.fw36 .fw-cs-copy-status {
  min-height: 0;
  margin: 10px 0 0;
  color: #8d75aa;
  font-size: 12px;
  line-height: 1.4;
}

html body.fw36 .fw-cs-copy-status:empty {
  display: none;
}

html body.fw36 .fw-cs-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 210px;
  padding: 25px;
  color: #9e8bae;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

html body.fw36 .fw-cs-loader {
  display: block;
  width: 27px;
  height: 27px;
  border: 3px solid #e5dbf0;
  border-top-color: #a187cc;
  border-radius: 50%;
  animation: fw-cs-spin 0.8s linear infinite;
}

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

html body.fw36 .fw-cs-modal button:focus-visible,
html body.fw36 .fw-cs-modal input:focus-visible {
  outline: 2px solid #9e83eb;
  outline-offset: 2px;
}

@media (max-width: 350px) {
  html body.fw36 .fw-cs-modal {
    padding: 25px 18px 21px;
    border-radius: 21px;
  }

  html body.fw36 .fw-cs-title {
    font-size: 25px;
  }

  html body.fw36 .fw-cs-methods {
    gap: 8px;
  }

  html body.fw36 .fw-cs-method {
    min-height: 142px;
    padding: 13px 11px 12px;
  }

  html body.fw36 .fw-cs-method > strong {
    font-size: 13px;
  }

  html body.fw36 .fw-cs-amount-input {
    font-size: 31px;
  }
}

@media (min-width: 600px) {
  html body.fw36 .fw-cs-modal {
    padding: 31px 29px 27px;
  }

  html body.fw36 .fw-cs-title {
    margin-bottom: 21px;
    font-size: 29px;
  }

  html body.fw36 .fw-cs-methods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  html body.fw36 .fw-cs-method {
    min-height: 160px;
    padding: 17px 15px 15px;
  }

  html body.fw36 .fw-cs-method > img,
  html body.fw36 .fw-cs-fallback {
    width: 45px;
    height: 45px;
    margin-bottom: 12px;
  }

  html body.fw36 .fw-cs-amount-input {
    font-size: 39px;
  }

  html body.fw36 .fw-cs-networks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html body.fw36 .fw-cs-qr,
  html body.fw36 .fw-cs-qr > img,
  html body.fw36 .fw-cs-qr > svg {
    width: 168px;
    height: 168px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.fw36 .fw-cs-shade {
    backdrop-filter: none;
  }

  html body.fw36 .fw-cs-loader {
    animation: none;
  }
}

/* Старая касса движка на FORMA не показывается: одно окно, без второй системы. */
html body.fw36 #depositPageModal {
  display: none !important;
}
