/* Atomic classes*/
.border-red {
  border: 1px solid red !important;
}

.netwrix-full-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: 20px;
    margin-top: 0px;
  }

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

  .form-fields{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;

    input,select{
      border-radius: 5px;
      height: 48px;
      border: 1px solid #DCDEE0;
      flex-grow: 1;
      color: #9199A2;
      padding-left: 16px;
      flex-basis: 25%;
      background: #ffffff;

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

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

  .form-button-and-terms{
    display: flex;
    gap: 12px;
    align-items: center;

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


    }
    .terms{
      flex-basis: 50%;
      flex-grow: 1;
      text-align: center;

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

      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: 25px;
    color: #d22730;
    font-weight: 600;
    display: none;
  }
}

/* media queries*/
@media (max-width: 1570px){
  .netwrix-full-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-full-form{

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

    .form-fields{
      margin-bottom: 24px;

      input,select{
        flex-basis: 50%;
      }
    }

    .form-button-and-terms{
      flex-wrap: wrap;
    }
  }
}

@media (max-width: 449px){
  .netwrix-full-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: 15px;
    }

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

      input,select{
        flex-basis: 50%;
        height: 46px;
      }
    }
    .form-button-and-terms{
      flex-wrap: wrap;

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

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

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

    }
  }
}

