@import "@/shared/ui/variables.scss";

.sign-up-form {
  margin-bottom: 8px;
  width: 360px;
  display: flex;
  flex-direction: column;

  &__policy {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 12px;

    p,
    a {
      font-size: 14px;
      font-weight: 500;
      line-height: 20px;
    }

    p {
      color: #344054;
    }

    a {
      color: #0077b6;
    }
  }

  &__checkbox {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    img {
      width: 10px;
      height: 10px;
    }
  }

  &__error {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: $red-500;
  }

  &__forgot-password {
    margin: 36px 0;
    align-self: flex-end;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: $blue;
  }

  &__inputs,
  &__btns {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  &__btns {
    margin-top: 36px;
    gap: 16px;

    &_first {
      padding: 10px 18px;
      height: 44px;
      font-size: 16px;
      font-weight: 700;
      line-height: 24px;
      color: #fff;
      background-color: $light-blue;
      border: 1px solid rgb(72, 159, 225);
      border-radius: 8px;
      box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
      background: rgb(72, 159, 225);
    }
  }
}

@media screen and (max-width: 550px) {
  .sign-up-form {
    width: 100%;
  }
}
