.modal {
  padding: 24px 32px;
  background: white;
  -webkit-box-shadow: 0px 24px 48px 0px rgba(230, 235, 245, 0.4), 0px 1px 4px 0px #E3EBFC;
  box-shadow: 0px 24px 48px 0px rgba(230, 235, 245, 0.4), 0px 1px 4px 0px #E3EBFC;
  border-radius: 12px;
  margin: auto auto;
  overflow: auto;
  max-height: 100%;
  position: relative;
  opacity: 0;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
  pointer-events: none;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}

.modal::-webkit-scrollbar {
  width: 0;
  height: 0;
  opacity: 0;
}

.modal__submit {
  margin: 16px auto 0;
}

.modal__container {
  padding: 18px 12px;
  gap: 16px;
}

.modal__wrapper {
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 16px;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
  background: rgba(0, 0, 0, 0);
}

.modal__wrapper--active {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.47);
}

.modal__wrapper--active .modal {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  pointer-events: auto;
}

.modal__document-name {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}

.modal__document-name path {
  fill: #F79900;
}

.modal__form {
  gap: 16px;
}

.modal__timer span {
  cursor: pointer;
}

.js-resend-block {
  display: none;
}

.js-code-type-display {
  display: none;
}

.js-code-type-call {
  display: none;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.js-code-type-call .header {
  padding: 0;
  margin: 0 0 24px;
  font-weight: 700;
  font-size: 16px;
}

.js-code-type-call .example {
  align-content: center;
}

.js-code-type-call .example .phone-code-digits {
  padding: 4px 16px;
  border: 2px solid #FED13E;
  border-radius: 8px;
  margin-left: 8px;
  margin-bottom: 8px;
}

.modal__close {
  position: absolute;
  right: 8px;
  top: 8px;
  cursor: pointer;
}

.modal__secure {
  margin-top: 16px;
  gap: 8px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000;
  font-family: Inter;
  font-size: 12px;
  font-weight: 400;
}

@media screen and (max-width: 768px) {
  .modal {
    padding: 30px 12px;
  }

  .modal__container {
    padding: 0;
  }
}
