

/** 公共 */
[v-cloak] {
  display: none;
}

/** 登陆 */
.login_box_cont {
  >.login-box {
    padding: 40px 30px 20px;
    position: relative;
  }
}

.login-scan {
  width: 235px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;

  .login-scan-box {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;


    .loading-spinner {
      width: 20px;
      height: 20px;
      border: 2px solid #f3f3f3;
      border-top: 2px solid #3498db;
      border-radius: 50%;
      animation: rotate 1s linear infinite;
    }

    @keyframes rotate {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    >img {
      width: 100%;
      height: 100%;
      border-radius: 8px;
      background: rgba(255, 255, 255, 1);
    }

    .login-scan-timeout {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 14px;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 8px;

      >label {
        color: rgba(0, 0, 0, 0.65);
        font-family: "PingFang SC";
        font-weight: 400;
        font-size: 14px;
      }

      .login-scan-refresh {
        width: 112px;
        height: 32px;
        display: flex;
        place-content: center;
        place-items: center;
        border-radius: 4px;
        background: rgba(0, 146, 255, 1);
        color: rgba(255, 255, 255, 1);
        font-family: "PingFang SC";
        font-weight: 400;
        font-size: 14px;
        cursor: pointer;
      }
    }
  }
}

.login-scan-content {
  height: 252px;
  padding-top: 16px;
  box-sizing: border-box;
}

.modal-class {
  height: auto;
  padding-top: 0;
}

.switch-box {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;

  .img-box {
    width: 48px;
    height: 48px;
    cursor: pointer;
  }

  .switch-text {
    color: rgba(0, 146, 255, 1);
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 14px;
  }
}

.login-scan-tips {
  color: rgba(0, 0, 0, 0.45);
  font-family: "PingFang SC";
  font-weight: 400;
  font-size: 12px;

  >label,
  a {
    color: rgba(0, 146, 255, 1);
  }

  >a:hover {
    cursor: pointer;
    text-decoration: underline;
    color: rgba(0, 146, 255, 1);
  }
}

/** 基础登陆框 */
.login-base {
  border-radius: 4px;
  padding: 28px 12px 20px;
  position: relative;
  border-radius: 4px;
  background: linear-gradient(180deg,
      rgba(8, 149, 255, 1) 0%,
      rgba(255, 255, 255, 1) 100%);

  .switch-box {
    top: 4px;
    right: 4px;
  }

  .scan {
    background: url(./images/scan.png) no-repeat;
    background-size: 100% 100%;
  }

  .phone {
    background: url(./images/phone.png) no-repeat;
    background-size: 100% 100%;
  }

  .login-head {
    height: 200px;
    background-image: url(https://cdn.yupaowang.com/yupao_pc/233476f828b7ba7e.png);
    background-repeat: no-repeat;
    background-position: center top;
    position: absolute;
    width: 200px;
    background-size: contain;
    left: 50%;
    transform: translateX(-50%);
  }

  .login-title,
  .login-desc {
    height: 22px;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    font-family: "PingFang SC";
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    margin-bottom: 10px;
  }

  .login-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
  }

  .login-input {
    height: 40px;

    .el-input__wrapper {
      border-radius: 8px;
      outline: none;
      box-shadow: none;
    }
  }
}

.login-check {
  margin: 16px 0;
  color: rgba(0, 0, 0, 0.45);
  font-family: "PingFang SC";
  font-weight: 400;
  font-size: 12px;
  line-height: 17px;

  a {
    color: rgb(0, 146, 255);
  }
}

/** default 主题调整开始*/
.hp_login {
  .style_default.login-box {
    padding: 16px 12px 16px;
    position: relative;
  }
}

/** default 主题调整结束*/

/** demo14 主题调整开始*/
.hp_login {
  .style_demo14.login-box {
    position: relative;
    height: 100%;
    box-sizing: border-box;
    padding-top: 60px;
  }
}

/** demo14 主题调整结束*/

.login-dialog {
  padding: 4px;
  border-radius: 8px;

  .show-close {
    padding: 0;
  }
}

.login-popup {
  width: 740px;
  height: 508px;
  display: grid;
  gap: 4px;
  grid-template-columns: 254px auto;

  .login-head {
    background: url(https://cdn.yupaowang.com/yupao_pc/588125f9d9414aff.png);
    background-size: contain;
  }

  .switch-box {
    top: 8px;
    left: 266px;
  }

  .scan {
    background: url(./images/scan-blue.png) no-repeat;
    background-size: 100% 100%;
  }

  .phone {
    background: url(./images/phone-blue.png) no-repeat;
    background-size: 100% 100%;
  }

  .login-scan {
    margin-top: 20px;
    width: 354px;
    display: flex;
    flex-direction: column;
    gap: 20px;

    .login-scan-box {
      width: 200px;
      height: 200px;
    }
  }

  .login-content {
    place-self: center;

    .login-input {
      height: 48px;

      .el-input__wrapper {
        border-radius: 8px;
      }
    }
  }

  .login-title {
    text-align: center;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 600;
    font-size: 20px;
    margin: 0 0 8px;
  }

  .login-desc {
    height: 20px;
    text-align: center;
    color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
    margin-bottom: 24px;
  }

  .el-checkbox {
    height: auto;
  }

  .el-form-item {
    margin-bottom: 24px;
  }

  .login-check {
    margin: 0;
  }

  .el-checkbox {
    margin: 8px 0 16px;
  }
}

.modal-html {
  max-width: 900px;

  .el-message-box__message {
    height: 350px;
    overflow: hidden scroll;
    word-break: break-all;
  }
}



/** 引导弹窗 */
.modal-boot {
  max-width: 560px;

  .el-message-box__container {
    display: block;
  }
}

.images {
  display: flex;
  height: 270px;
  justify-content: space-around;
  align-items: center;
}

.img-box {
  text-align: center;

  img {
    width: 140px;
    height: 140px;
  }
}

.img-name {
  margin-top: 20px;
}

