$bg:#283443;
$light_gray:#666;
$cursor: #666;

@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
  .login-container .el-input input {
    color: $cursor;
  }
}

/* reset element-ui css */
.login-container {
  background-image: url("../assets/img/login/login-bg.jpg");
  background-size: cover;
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;

  .el-input {
    display: inline-block;
    height: 47px;
    width: 280px;

    input {
      background: transparent;
      border: 0;
      -webkit-appearance: none;
      border-radius: 0;
      padding: 12px 5px 12px 15px;
      color: $light_gray;
      height: 47px;
      caret-color: $cursor;

      &:-webkit-autofill {
        box-shadow: 0 0 0 1000px transparent inset !important;
        -webkit-text-fill-color: $cursor !important;
      }

      &:-webkit-internal-autofill-selected {
        background: transparent;
      }
    }
  }

  .el-form-item {
    background-color: rgba(255, 255, 255, 0);
    border: 0;
    border-radius: 0;
    color: #666;
    font-size: 14px;
    text-align: left;
    .login-code{
      display: inline-block;
      position: absolute;
      bottom: -10px;
      right: 0;
    }
    .el-input {
      border-bottom: 1px solid #999;
      font-size: 14px;
      .el-input__inner { color: $cursor; }

      .el-input__inner::-webkit-input-placeholder {
        color: $cursor;
      }
    }
  }
}

$bg:#2d3a4b;
$dark_gray:#666;
$light_gray:#666;

.login-container {
  height: 100%;
  width: 100%;
  overflow: hidden;

  .login-form {
    position: absolute;
    width: 460px;
    height: 522px;
    right: 190px;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
  }

  .svg-container {
    padding: 0 8px 0 0;
    color: $dark_gray;
    vertical-align: middle;
    display: inline-block;
    font-size: 18px;
  }

  .title-container {
    width: 100%;
    height: 80px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background: url("../assets/img/login/sampleLogo.png") no-repeat #333 center center;
    background-size: 190px 45px;
  }

  .login-main {
    height: 442px;
    background-color: rgba(255, 255, 255, 0.86);
    text-align: center;
    padding: 0 75px;
    .login-title {
      padding-top: 50px;
      margin-bottom: 60px;
      text-align: center;
      color: $blue;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 3px;
    }
  }

  .show-pwd {
    position: absolute;
    right: 10px;
    top: 7px;
    font-size: 16px;
    color: $dark_gray;
    cursor: pointer;
    user-select: none;
  }
}