.sign-up {
  height: 100vh;
  display: flex;
  &-left {
    width: 60%;
    height: 100%;
    position: relative;
    background-image: url("../assets/images/bg_login.png");
    background-position: center;
    background-size: cover;
    &-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      position: absolute;
      top: 30%;
      left: 50%;
      transform: translate(-50%, -30%);
      width: 90%;
    }
    &-text {
      color: #14142a;
      font-size: 32px;
      font-weight: 500;
      padding: 0 50px;
      text-align: center;
      margin-top: 20px;
    }
    &::before {
      content: "";
      background-image: url("../assets/images/bg_login_rainbow.png");
      background-position: center;
      background-size: cover;
      position: absolute;
      width: 100%;
      height: 100%;
    }
    &::after {
      content: "";
      background-image: url("../assets/images/bg_login_dots_purple.png");
      background-position: center;
      background-size: contain;
      position: absolute;
      width: 95%;
      height: 219px;
      top: 40%;
      left: 50%;
      transform: translate(-50%, -40%);
      opacity: .5;
    }
  }
  &-right {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px;
    position: relative;
    //sign up roles
    &-item {
      border: 1px solid #dedeec;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #14142a;
      font-size: 23px;
      font-weight: 500;
      height: 30%;
      cursor: pointer;
      padding: 10px;
      &.selected {
        background-image: url("../assets/images/bg_login.png");
        background-position: center;
        background-size: cover;
        color: #5050ff;
        font-weight: 600;
      }
    }
    &-btn {
      display: flex;
      justify-content: space-between;
      button {
        border: none;
        outline: none;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 400;
        cursor: pointer;
        svg {
          width: 20px;
        }
      }
      &-back {
        width: 80px;
        background-color: #fff;
        svg {
          margin-right: 10px;
        }
      }
      &-next {
        width: 121px;
        background-color: #14142a;
        color: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 2px -1px #110c22;
        svg {
          margin-left: 10px;
          transform: rotate(180deg);
        }
      }
    }
    //sign in, sign up
    .sign-up-content {
      width: 323px;
      text-align: center;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      &__title {
        color: #0d0d0d;
        font-size: 40px;
        font-weight: 500;
        margin-bottom: 16px;
      }
      &__input {
        margin: 30px 0 20px;
        input {
          font-size: 14px;
          font-weight: 400;
          color: #40405b;
          height: 56px;
          padding: 0 15px;
          width: calc(100% - 32px);
          outline: none;
          border: 1px solid #dedeec;
          &.first_name {
            border-radius: 12px 12px 0 0;
          }
          &.email:nth-child(2) {
            border-top: none;
          }
          &.password {
            border-top: none;
          }
          &.password_signup {
            border-top: none;
          }
        }
        .role {
          .c-select__content {
            border-top: none;
            border-radius: 0 0 12px 12px;
            height: 56px;
          }

          .c-select__placeholder {
            text-align: left;
            padding-left: 4px;
          }
        }
        .error {
          text-align: left;
          margin-top: 10px;
          color: #c30052;
          font-size: 13px;
          font-weight: 400;
          min-height: 16px;
          text-transform: capitalize;
          line-height: 18px;
        }
      }
      &__or {
        color: #dedeec;
        margin: 30px 0;
        font-size: 14px;
        font-weight: 500;
        position: relative;
        &::before {
          content: "";
          position: absolute;
          left: 0;
          top: 8px;
          width: 88px;
          height: 1px;
          background-color: #dedeec;
        }
        &::after {
          content: "";
          position: absolute;
          right: 0;
          top: 8px;
          width: 88px;
          height: 1px;
          background-color: #dedeec;
        }
      }
      .signup-google {
        background-color: #fff;
        border: 1px solid #dedeec;
        width: 100%;
        border-radius: 8px;
        color: #14142a;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0;
        height: 40px;
        img {
          margin-right: 5px;
        }
      }
      &__group-btn {
        display: flex;
        gap: 10px;
        button {
          height: 40px;
          font-size: 14px;
          font-weight: 500;
          border-radius: 8px;
          letter-spacing: 0;
          width: calc(50% - 5px);
          background-color: #fff;
          box-shadow: 0 1px 2px -1px rgba(17, 12, 34, 0.08);
        }
      }
    }
  }
  @media screen and (max-width: 800px) {
    flex-direction: column;
    height: unset;
    &-left {
      width: 100%;
      height: 600px;
      &-text {
        font-size: 25px;
      }
    }
    &-right {
      width: calc(100% - 80px);
      .sign-up-content {
        position: unset;
        transform: unset;
        margin: 0 auto;
      }
    }
  }
}
