.netwrix-one-field-form{
  background: #F3F4FA;
  padding: 45px 40px;
  position: relative;

  .thank-you-popup{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f3f4fa;
    padding: 40px;

    .thank-icon{
      margin-bottom: 20px;
    }

    .thank-text{
      font-family: Roboto;
      font-size: 32px;
      font-weight: 500;
      line-height: 40px;
      text-align: center;
      margin-bottom: 25px;
    }

    .thank-small-text{
      font-family: Roboto;
      font-size: 18px;
      font-weight: 400;
      line-height: 23.4px;
      text-align: center;
      margin: 0;
    }



  }

  .title.text{
    font-family: Roboto;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    text-align: center;
    color: #354556;
    margin-bottom: 15px;
    margin-top: 0px;
  }

  .additional-text{
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    color: #7F8893;
    margin-bottom: 32px;
  }

  .fields-and-button-wrapper{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;

    .form-fields{
      flex-grow: 1;
      flex-basis: 50%;

      input{
        border-radius: 5px;
        height: 48px;
        border: 1px solid #DCDEE0;
        color: #9199A2;
        padding-left: 16px;
        width: 100%;

        &::placeholder{
          color: #9199A2;
        }

        &:focus-visible{
          outline: 1px solid #d1d1d4;
        }
      }
    }

    .form-button-wrapper{
      flex-grow: 1;
      flex-basis: 50%;

      button{
        cursor: pointer;
        background: #D22730;
        height: 48px;
        border-radius: 5px;
        border: none;
        color: #fff;
        width: 100%;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        &:hover{
          background: #e31520;
        }
      }
    }
  }

  .terms{
    display: flex;
    text-align: center;
    justify-content: center;

    .care_text{
      display: inline;
      font-size: 11px;
      font-weight: 400;
      line-height: 24px;
      text-align: center;
      color: #7F8893;
      margin: 0 3px 0 0;
    }

    a{
      display: inline;
      font-size: 11px;
      font-weight: 400;
      line-height: 24px;
      text-align: center;
      color: #7F8893;
      text-decoration: underline;
    }
  }

  .error-container{
    text-align: center;
    margin-top: 5px;
    color: #d22730;
    font-weight: 600;
    display: none;
  }
}

/* media queries*/
@media (max-width: 1570px){
  .netwrix-one-field-form{

    .thank-you-popup{
      padding: 20px;

      .thank-icon{
        margin-bottom: 18px;
      }
      .thank-text{
        font-size: 30px;
        margin-bottom: 22px;
      }
      .thank-small-text{
        font-size: 17px;
      }
    }

    .title.text {
      font-size: 30px;
    }

  }
}

@media (max-width: 767px){
  .netwrix-one-field-form{

    .additional-text{
      font-size: 16px;
      line-height: 22px;
    }

    .fields-and-button-wrapper{
      display: flex;
      flex-wrap: wrap;
      gap: 20px;

      .form-fields{
        flex-basis: 100%;
      }
      .form-button-wrapper{
        flex-basis: 100%;
      }
    }
  }
}

@media (max-width: 449px){
  .netwrix-one-field-form{
    padding: 40px 20px;

    .thank-you-popup{
      padding: 60px;
      .thank-icon{
        margin-bottom: 14px;
      }
      .thank-text{
        font-size: 24px;
        margin-bottom: 18px;
        line-height: 34px;
      }
      .thank-small-text{
        font-size: 16px;
        line-height: 24px;
        font-weight: 500;
      }
    }

    .title.text {
      font-size: 24px;
      line-height: 34px;
    }

    .additional-text{
      font-size: 15px;
      line-height: 22px;
    }

    .form-fields{
      font-size: 24px;
      font-weight: 500;
      line-height: 34px;

      input{
        height: 46px;
      }
    }
    .form-button-wrapper{

      button{
        font-size: 14px;
        font-weight: 600;
        line-height: 24px;
        height: 46px;
      }


    }

    .terms{
      .care_text{
        display: block;
        line-height: 16px;
        margin-bottom: 0;
      }

      a{
        display: block;
        line-height: 16px;
      }
    }
  }
}


