.Login {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding: 8%;
  background-image: url('../../assets/img/bg.jpg');
  background-size: 100% 100%;
  position: relative;

  :global {
    .LogoImg {
      position: absolute;
      top: 60px;
      left: 50px;
    }

    .mainRight {
      padding-bottom: 45px;
      position: absolute;
      right: 4.5%;
      top: 28%;
      border-radius: 6px;
      width: 400px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #3a110a;
      color: var(--loginTxt);
      border-radius: 10px;
      overflow: hidden;

      & > h3 {
        width: 100%;
        height: 75px;
        text-align: center;
        line-height: 75px;
        font-size: 22px;
        letter-spacing: 2px;
        background-color: #002c15;
      }

      .inputBox {
        width: 100%;

        input::-webkit-input-placeholder {
          /* WebKit browsers */
          color: #999;
        }

        input:-moz-placeholder {
          /* Mozilla Firefox 4 to 18 */
          color: #999;
        }

        input::-moz-placeholder {
          /* Mozilla Firefox 19+ */
          color: #999;
        }

        input:-ms-input-placeholder {
          /* Internet Explorer 10+ */
          color: #999;
        }

        .inputBoxRow {
          width: 300px;
          margin: 30px auto;

          .ant-input-suffix .ant-input-password-icon {
            color: var(--loginTxt);
            font-size: 22px;
          }
        }

        .inputBoxRow2 {
          position: relative;

          .loginCode {
            z-index: 110;
            cursor: pointer;
            position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
          }
        }

        .ant-input-prefix {
          margin-right: 10px;

          .anticon {
            padding-right: 10px;
            width: 36px;
            height: 36px;

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

        .ant-input {
          font-size: 18px;
          width: 45%;
          height: 60px;
          line-height: 60px;
          background-clip: content-box;
        }

        input:-webkit-autofill {
          font-size: 18px !important;
          -webkit-text-fill-color: var(--loginTxt) !important;
          background-image: none;
          -webkit-box-shadow: 0 0 0px 1000px transparent inset !important; //填充阴影，可以用来遮住背景色
          background-color: transparent;
          transition: background-color 50000s ease-in-out 0s; //背景色透明  生效时长  过渡效果  启用时延迟的时间
        }

        .ant-input-affix-wrapper {
          background-color: transparent;
          padding: 0 11px;
          width: 100%;
          height: 60px;
          border: none;
          border-bottom: 1px solid var(--loginTxt);
          border-radius: 0px;
          color: var(--loginTxt);

          .ant-input {
            background-color: transparent;

            width: 100%;
            height: 60px;
            color: var(--loginTxt);
          }
        }

        .ant-input-affix-wrapper-focused {
          box-shadow: none;
        }

        .loginBtn {
          cursor: pointer;
          font-size: 20px;
          width: 300px;
          height: 48px;
          margin: 0 auto;
          display: flex;
          justify-content: center;
          align-items: center;
          background-color: #1a0704;
          color: var(--loginTxt);
          transition: 'opacity' 0.3;
          & > img {
            display: block;
            position: relative;
            top: 1px;
            margin-right: 10px;
          }
          &:hover {
            opacity: 0.8;
          }
        }
      }
    }
  }
}
