.auth {
  &__wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 50px 0 35px 56px;
    margin-top: 40px;
    display: flex;

    @media (max-width: 1400px) {
      margin-top: 100px;
    }

    @media (max-width: 900px) {
      flex-direction: column-reverse;
      padding: 20px;
      margin-top: 100px;
    }
  }

  &__info {
    margin-right: 115px;

    @media (max-width: 900px) {
      order: 3;
      flex-direction: column;
      margin-bottom: 20px;
    }

    h3 {
      font-weight: 500;
      font-size: 30px;
      line-height: 32px;
      margin-bottom: 20px;
      text-align: center;
    }

    p {
      max-width: 310px;
      margin-top: 17px;
      font-weight: 400;
      font-size: 16px;
      line-height: 30px;

      @media (max-width: 900px) {
        max-width: none;
        margin: 15px 25px;
      }

      @media (max-width: 600px) {
        font-size: 14px;
        line-height: 22px;
      }
    }

    @media (max-width: 900px) {
      margin-right: 0;
      display: flex;
      align-items: center;
    }
  }

  &__form {
    display: flex;
    flex-direction: column;

    input {
      margin-bottom: 30px;
      background: #eff2f7;
      border-radius: 8px;
      min-width: 200px;
      width: 100%;
      padding: 8px 12px;
      border: none;
      outline: none;
      font-weight: 400;
      font-size: 15px;
      line-height: 18px;

      @media (max-width: 900px) {
        max-width: 550px;
      }
    }

    label {
      margin-bottom: 15px;
      font-weight: 400;
      font-size: 15px;
      line-height: 18px;
      color: #000000;
    }

    &__buttons {
      button {
        background: #52b709;
        border-radius: 44px;
        min-width: 130px;
        width: 100%;
        border: none;
        font-weight: 500;
        font-size: 18px;
        line-height: 32px;
        color: white;
        height: 45px;

        @media (max-width: 900px) {
          max-width: 185px;
        }

        @media (max-width: 450px) {
          width: 100%;
          max-width: none;
          margin-right: 0;
        }
      }

      @media (max-width: 450px) {
        flex-direction: column;
        row-gap: 10px;
      }
    }

    &__buttons {
      display: flex;
      column-gap: 20px;
      align-items: center;
    }

    @media (max-width: 900px) {
      order: 2;
    }

    &__reset {
      margin-top: 25px;
      cursor: pointer;
      text-decoration-line: underline;
      font-size: 13px;
      font-weight: 500;
    }
  }

  &__registration {
    min-width: 185px;
    text-align: center;
    color: #FFFFFF;
    font-size: 18px;
    background: #1458DD;
    line-height: 32px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 44px;
    transition: 0.3s all ease;

    &:hover {
      transform: scale(1.03);
      color: white;
    }

    @media (max-width: 450px) {
      width: 100%;
      max-width: none;
    }
  }

  &__img {
    position: absolute;
    right: 48px;
    top: -20px;

    @media (max-width: 900px) {
      top: 100px;
      max-width: 115px;
    }
  }
}
