.modal-notify-me {
  .modal-dialog {
    height: 100%;
    margin: 0 auto;
    max-width: 100%;
  }

  &.modal-box_wide {
    .modal-box__columns {
      max-width: 520px;
      padding: 0;
    }
  }

  .modal-box__inner-row {
    margin: 0;

    .modal-box__inner-columns {
      padding: 0;
      max-width: 100%;
      flex: 0 0 100%;
    }
  }

  .modal-header {
    padding: 16px 35px 16px 24px;

    .modal-title {
      @include font-size(18);
      @include line-height(24);
      color: $gray-dark;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 14px;

      .icon-wrap {
        width: 40px;
        height: 40px;
      }

      .icon {
        @include font-size(30);
        color: $blue;
        height: auto;
      }
    }

    .close {
      opacity: 1;
      outline: 0;
      right: 10px;
    }

    &:after {
      left: 0;
      right: 0;
    }
  }

  .modal-body {
    padding: 24px;

    .form-row__label {
      margin-bottom: 8px;
    }

    .notify-me-form {
      &__note {
        @include font-size(12);
        @include line-height(16);
        color: $squant;
        font-weight: 400;
        margin-bottom: 0;
      }

      &__ctas {
        margin-top: 40px;
        display: flex;
        gap: 16px;

        & > div {
          display: contents;
        }
      }
    }

    .notify-me-result {
      display: flex;
      align-items: center;
      gap: 15px;

      &__img {
        width: 64px;
        height: 64px;
        object-fit: cover;
      }

      &__title {
        @include font-size(14);
        @include line-height(22);
        font-weight: 700;
      }

      & + .btn--notify-close {
        margin-top: 40px;
      }
    }
  }
}

@include media-breakpoint-down(xl) {
  .modal-notify-me {
    height: auto;
    margin: 40px 16px 0;

    &.modal-box_full .modal-box__inner-row {
      margin: 0;
    }

    .modal-body {
      .form-row {
        padding: 0;
        margin: 0 0 16px;
      }

      .form-row__label,
      .form-row__field,
      .form-row__error {
        padding: 0;
      }
    }

    .modal-body .notify-me-form__ctas,
    .notify-me-result .btn--notify-close {
      margin-top: 32px;
    }
  }
}
