@use "@/src/assets/scss/variables" as *;
@use "@/src/assets/scss/partial" as *;

.TitleWrapper {
  margin-bottom: 32px;
  h2 {
    margin: 0 0 12px;
  }
  p {
    color: $grey667Color;
    margin: 0;
  }
}

.ThirdPartyLogin {
  .ThirdPartyBox {
    background-color: $whiteColor;
    border-radius: 200px;
  }
}
.ForgetPassword {
  gap: 10px;
  flex-wrap: wrap;
  @media (min-width: $md) {
    flex-wrap: nowrap;
    gap: 20px;
  }
  .RememberCheckbox {
    display: flex;
    label {
      color: $grey344Color;
    }
    input[type="checkbox"] {
      position: absolute;
      visibility: hidden;
      opacity: 0;

      & + span {
        position: relative;
        padding-left: 20px;
        font-size: $fs14;
        font-weight: $fw400;
        line-height: 1.5;
        cursor: pointer;
        word-break: break-word;
        @media (min-width: $md) {
          padding-left: 30px;
        }
        @media (min-width: $xxl) {
          font-size: $fs16;
        }
        &:before {
          content: "";
          position: absolute;
          height: 16px;
          width: 16px;
          border-radius: 5px;
          left: 0;
          background-color: $whiteColor;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: all 0.3s ease;
          border-radius: 100%;
          top: 10px;
          transform: translate(0, -50%);
          @media (min-width: $md) {
            height: 20px;
            width: 20px;
          }
        }

        &:after {
          content: "";
          position: absolute;
          left: 6px;
          top: 5px;
          width: 4px;
          height: 8px;
          border: solid white;
          border-width: 0 2px 2px 0;
          transform: rotate(45deg);
          opacity: 0;
          transition: opacity 0.3s ease;
          @media (min-width: $md) {
            width: 4px;
            top: 4px;
            left: 8px;
            height: 9px;
          }
        }
      }

      &:checked + span {
        &:before {
          background: $primaryColor;
        }

        &:after {
          opacity: 1;
        }
      }
    }
  }
  p {
    margin: 0;
    a {
      color: $primaryColor;
    }
  }
}
