.callback-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(20, 38, 57, .18);
  color: #1a3052;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  z-index: 2147483001;
}

.callback-modal__content {
  padding: 36px 40px 32px;
}

.callback-modal__close {
  background-color: #f1f3f5;
  background-position: center;
  background-size: 16px;
  border: 0;
  border-radius: 50%;
  filter: none;
  height: 40px;
  opacity: .8;
  right: 20px;
  top: 20px;
  width: 40px;
}

.callback-modal__close:hover,
.callback-modal__close:focus-visible {
  opacity: 1;
}

.callback-form__title {
  color: #1a3052;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  padding-right: 40px;
}

.callback-form__subtitle {
  color: #52647a;
  line-height: 1.5;
}

.callback-form__label {
  color: #40566b;
  font-size: 14px;
}

.callback-form__input {
  border: 1px solid #cbd2d7;
  border-radius: 8px;
  color: #1a3052;
  min-height: 48px;
}

.callback-form__input:focus-visible {
  border-color: #b65b00;
  box-shadow: 0 0 0 3px rgba(182, 91, 0, .12);
  outline: none;
}

.callback-form__agreement {
  align-items: start;
}

.callback-form__check {
  accent-color: #b65b00;
  height: 18px;
  width: 18px;
}

.callback-form__agreement-text {
  color: #40566b;
  font-size: 13px;
  line-height: 1.4;
}

.callback-form__submit {
  border-radius: 8px;
  font-weight: 600;
  min-height: 50px;
}

.callback-form__submit:disabled {
  cursor: wait;
  opacity: .65;
}

.callback-form__message {
  margin-bottom: 16px;
}

@media (max-width: 575px) {
  .callback-modal {
    max-height: calc(100vh - 24px);
    width: calc(100% - 24px);
  }

  .callback-modal__content {
    padding: 28px 24px 24px;
  }

  .callback-form__title {
    font-size: 24px;
  }
}
