@import '~antd/lib/style/themes/default.less';
@import '../../../src/themeColor.less';

.main {
  width: 368px;
  margin: 0 auto;
  @media screen and (max-width: @screen-sm) {
    width: 95%;
  }

  .icon {
    font-size: 24px;
    color: rgba(0, 0, 0, 0.2);
    margin-left: 16px;
    vertical-align: middle;
    cursor: pointer;
    transition: color 0.3s;

    &:hover {
      color: @primary-color;
    }
  }

  .other {
    text-align: left;
    margin-top: 24px;
    line-height: 22px;

    .register {
      float: right;
    }
  }
}

.full_screen {
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  .left_bg {
    width: 830px;
    height: 501px;
    position: relative;

    .left_bg_img {
      width: 100%;
      height: 100%;
    }

    .login_logo_wrap {
      width: 187px;
      height: 60px;
      position: absolute;
      top: -29px;
      left: 320px;

      .login_logo {
        //max-width: 100%;
        //max-height: 100%;
        height: 94.25px;
        width: 208px;
      }
    }

    .main_title {
      color: #fff;
      font-size: 24px;
      position: absolute;
      left: 253px;
      top: 54px;
      letter-spacing: 8px;
      font-weight: bold;
    }
  }

  .right_bg {
    position: absolute;
    left: 250px;
    bottom: 70px;
    background: transparent;
    border-radius: 0 6px 6px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    .sld_login_btn_wrap {
      margin-top: 50px;

      .sld_login_btn {
        cursor: pointer;
        width: 334px;
        height: 40px;
        // background: @theme-color;
        background: @primary-color;
        
        border-radius: 5px;
        color: #fff;
        font-size: 19px;
        letter-spacing: 1px;
        font-weight: bold;
      }
    }

    .info_wrap {
      width: 340px;
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
    }

    .autoPwd {
      color: #999;
      font-size: 12px;
    }
  }
}

.formlogin {
  :global {
    input {
      &::placeholder {
        color: #fff;
      }
    }

    .ant-input {
      height: 40px !important;
      line-height: 40px !important;
      background-color: transparent !important;
      border: 1px solid #fff !important;
      -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
      outline: none;
    }

    .ant-input-affix-wrapper .ant-input:not(:first-child) {
      padding-left: 40px !important;
      color: #fff !important;
      font-size: 14px !important;
    }

    .ant-input:focus {
      border-color: transparent;
      outline: 0;
      -webkit-box-shadow: 0 0 0 0 !important;
      box-shadow: 0 0 0 0 !important;
    }
    .ant-input-affix-wrapper .ant-input-suffix{
      right: 1px !important;
    }
  }
  .verification_code {
    width: 96px;
    height: 40px;
    margin-right: -1px;
    border-radius: 0 3px 3px 0;
  }
}

.operate {
  width: 100%;
  margin-top: 6px;

  a {
    color: #fff;
    font-size: 12px;
  }
}

.success_wrap {
  margin-top: 40px;
  margin-bottom: 50px;

  .head_wrap {
    img {
      width: 80px;
      height: 80px;
      position: relative;
      left: 50%;
      margin-bottom: 10px;
      transform: translateX(-50%);
    }

    p {
      text-align: center;
      color: #333;
      font-size: 21px;
    }
  }

  .success_btn {
    width: 350px;
    height: 40px;
    font-size: 16px;
    background: @theme-color;
    color: #fff;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 30px;
    margin-top: 15px;
  }
}

.form_login_modal {
  margin-top: 20px;

  :global {
    .ant-input {
      height: 45px !important;
      line-height: 45px !important;
      background-color: transparent !important;
      border: 1px solid @theme-light4Color !important;
      -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
      outline: none;
    }

    .ant-input-affix-wrapper .ant-input:not(:first-child) {
      padding-left: 100px !important;
      color: #333 !important;
      font-size: 14px !important;
    }

    .ant-input:focus {
      border-color: transparent;
      outline: 0;
      -webkit-box-shadow: 0 0 0 0 !important;
      box-shadow: 0 0 0 0 !important;
    }
  }

  .get_sms_code_wrap {
    width: 88px;

    .v_split {
      color: rgba(@theme-rgbColor, .5);
      display: inline-block;
      margin-top: -3px;
    }

    .sms_code {
      cursor: pointer;
      font-size: 12px;
      color: @theme-color;
    }
  }

  .user_name {
    text-align: center;
    color: #333;
    font-size: 14px;
    background: #F8F8F8;
    margin-left: -12px;
    height: 45px;
    line-height: 45px !important;
    width: 90px;
    border-radius: 2px 0 0 2px;

    .must {
      color: #ef1216;
      margin-right: 1px;
    }
  }

  .error {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #ef1216;

    img {
      width: 13px;
      height: 13px;
      margin-right: 5px;
    }
  }

  .register_error {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 12px;
    color: #ef1216;
    position: relative;
    margin-left: 60px;

    img {
      width: 13px;
      height: 13px;
      margin-right: 5px;
    }
  }

  .operation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    font-size: 14px;
    margin-top: 10px;

    .register {
      color: #EE1147;
    }
  }

  .verification_code {
    width: 96px;
    height: 45px;
    margin-right: -10px;
    border-radius: 2px;
  }

  .registerBtn {
    width: 334px;
    height: 56px;
    margin: 20px 0 20px 0;
    font-size: 16px;
    background: @theme-color;
    color: #fff;
  }
}

.verifyModal {
  :global {
    .ant-modal-header {
      height: 50px;
      border-bottom: none;
      background-color: transparent !important;

      .ant-modal-title {
        text-align: center;
        color: rgba(0, 0, 0, 0.85) !important;
      }
    }

    .ant-modal-body {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .ant-modal-close-x svg{
      color: rgba(0, 0, 0, 0.85) !important;
    }
  }
}
