.login {
  width: 100%;
  height: 100%;
  background-color: #16191E;
  display: flex;

  .loginBg {
    flex-shrink: 0;
    width: 370px;
    height: 100%;

    img {
      width: 100%;
      height: 100%;
    }
  }

  .loginContent {
    flex-grow: 1;
    padding: 20px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;

    @for $i from 1 through 5 {
      >div:nth-child(#{$i}) {
        @if $i ==1 {
          flex-shrink: 0;

          .quit {
            display: flex;
            justify-content: flex-end;

            >img {
              font-size: 16px;
              cursor: pointer;
            }
          }

          .logo {
            margin-top: 40px;

            >img {
              width: 126px;
            }
          }
        }

        @else if $i ==2 {
          flex-grow: 1;
          display: flex;
          flex-direction: column;
          justify-content: center;

          .operation {
            margin-top: 10px;

            :global {
              .ant-checkbox-group {
                display: flex;
                align-items: center;
                justify-content: space-between;
              }
            }
          }
        }

        @else if $i ==3 {
          flex-shrink: 0;
          margin-bottom: 20px;
          color: #ccc;
          font-size: 16px;
          display: flex;
          align-items: center;

          >div {
            flex-grow: 1;
            height: 1px;
            background-color: #3F3F3F;
          }

          >span {
            flex-shrink: 0;
            margin: 0 4px;
            color: #7A7A7A;
            font-size: 12px;
          }
        }

        @else if $i ==4 {
          display: flex;
          align-items: center;
          margin-bottom: 10px;

          @for $i from 1 through 2 {
            >div:nth-child(#{$i}) {
              @if $i ==1 {
                flex-grow: 1;
              }

              @else if $i ==2 {
                flex-shrink: 0;
                cursor: pointer;
                height: 44px;
                line-height: 44px;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: #3A1457;
                box-shadow: none;
                border-radius: 10px;
                width: 56px;
                margin-left: 4px;
                transition: 0.3s;

                &:hover {
                  background-color: lighten(#3A1457, 5%) !important;
                }

                &:active {
                  background-color: darken(#3A1457, 5%) !important;
                }
              }
            }
          }
        }

        @else if $i ==5 {
          flex-shrink: 0;
          color: #ccc;
          text-align: right;
          font-size: 16px;
        }
      }
    }
  }

  .loginInputIcon {
    :global {
      .ant-input {
        height: 34px;
        line-height: 34px;
        text-align: center;
      }
    }
  }

  .loginButton {
    height: 44px;
    line-height: 44px;
  }
}