/* 整体布局 */
* {
  font-size: 16px;
}
.login-container {
  width: 100%;
  margin: 0 auto;
  height: 100vh;
  overflow: auto;
  position: relative;
}
.login-header {
  padding: 0 50px;
  height: 100px;
  line-height: 100px;
  margin: 0 auto;
  color: hsl(var(--theme-color-hsl));
}
.login-logo {
  width: 180px;
  margin-top: 10px;
  display: inline-block;
}

.download-terminal {
  display: inline-block;
  padding: 0 16px;
  margin-right: 16px;
  height: 36px;
  line-height: 36px;
  border-radius: 20px;
  color: hsl(var(--theme-color-hsl));
  background: rgba(255, 255, 255, 0.8);
}
.download-terminal:hover {
  background: rgba(255, 255, 255, 0.4);
  color: hsl(var(--theme-color-hsl));
}
.download-terminal:active {
  background: rgba(255, 255, 255, 0.5);
  color: hsl(var(--theme-color-hsl));
}

.login-content {
  width: 100%;
  height: calc(100vh - 200px);
  overflow: auto;
}
.login-title {
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 40px;
}
.login-footer {
  width: 100%;
  font-size: 14px;
  color: #b1b5be;
  line-height: 100px;
  text-align: center;
  position: fixed;
  bottom: 0;
}

/* 登录方式 */
.login-box {
  width: 460px;
  background-color: #fff;
  padding: 60px 50px 60px;
  box-shadow: 0 3px 15px rgba(81, 81, 81, 0.15);
  margin: 0 auto;
  border-radius: 40px;
  position: absolute;
  top: 50%;
  /* left: 50%; */
  /* left: 72%; */
  transform: translate(-50%, -50%);
}

/* 扫码输入框切换图标 */
.login-qr-switch-box {
  position: absolute;
  top: 0px;
  right: 0px;
  border-top-right-radius: 40px;
  width: 400px;
  height: 90px;
  overflow: hidden;
}
.switch-login-mode-box {
  content: "";
  display: block;
  width: 126px;
  height: 126px;
  background: var(--theme-color);
  transform: translate(337px, -63px) rotate(45deg);
  cursor: pointer;
  overflow: hidden;
}
.switch-login-mode-box:hover {
  background: hsl(var(--theme-color-hsl));
}

.select-pic {
  font-size: 46px;
  color: #fff;
  position: absolute;
  right: 41px;
  top: 96px;
  z-index: 1;
  transform: rotate(-45deg);
}

/* 二次认证文字提示 */
.login-tip-box {
  background: rgba(247, 140, 86, 0.1);
  border-radius: 5px 5px 5px 5px;
  padding: 9px 15px;
}
.login-tip-text {
  font-size: 12px;
  color: #333333;
}
/* 表单 */
.trangle-down {
  color: #8d95a8;
  vertical-align: middle;
}
.form-label {
  color: #85888f;
  width: 60px;
  font-size: 14px;
}
.form-label.en {
  color: #85888f;
  width: 100px;
}
.form-item {
  padding: 10px 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}
#inputway-tab {
  /* margin-top: 40px; */
}
#inputway-content {
  margin-top: 30px;
}

.login-input {
  width: 100%;
  border: none;
  background-color: #f9f9f9;
}
.pwd-box .login-input {
  width: calc(100% - 23px);
  height: 24px;
}
.eye-pic {
  color: #bfc5d1;
  margin-left: 5px;
}
.login-input::-webkit-input-placeholder {
  color: #bfc5d1;
  font-size: 14px;
}
.btn-box {
  margin-top: 40px;
}
.login-btn {
  height: 44px;
  line-height: 44px;
  font-size: 16px;
}

.dd-code-login iframe {
  transform: scale(0.8);
  transform-origin: top;
}
.code-contain iframe {
  width: 200px;
  height: 300px;
}

.vcode-btn {
  width: 108px;
  text-align: right;
  font-size: 14px;
}
/* 短信获取次数过多，验证码弹框 */
.verify-input {
  width: calc(100% - 120px);
  margin-right: 10px;
  border: #d7dae0 1px solid;
  height: 36px;
  line-height: 36px;
  font-size: 14px;
  padding: 0 10px;
  vertical-align: bottom;
}
.verify-input::-webkit-input-placeholder {
  color: #bfc5d1;
}

/* 快捷登录 */
.fast-login-box {
  margin-top: 30px;
}
.avatar-border {
  width: 100px;
  height: 100px;
  border: #dadfed 1px solid;
  border-radius: 8px;
}
.avatar-border:hover {
  border: none;
  box-shadow: 0px 3px 12px rgba(var(--theme-color-rgb), 0.3);
}
.avatar-border.visited:hover {
  border: #dadfed 1px solid;
  box-shadow: none;
}

.avatar-border .user-avatar {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(
    360deg,
    var(--theme-color) 0%,
    rgba(var(--theme-color-rgb), 0.5) 100%
  );
}
.avatar-border.expired:hover {
  border: none;
  box-shadow: 0px 3px 12px rgba(198, 198, 198, 0.3);
}

.freepwd-content {
  width: 80%;
  margin-top: 23px;
  padding: 30px 0 10px;
  position: relative;
}

.refresh-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ededed;
  z-index: 10;
  border-radius: 8px;
}
.refresh-mask:active {
  background-color: #dfdfdf;
}
.token-expired {
  font-size: 14px;
  color: #707176;
}

.agent-username.visited {
  opacity: 0.5;
}

.hover-mask {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  position: absolute;
  visibility: hidden;
}
.avatar-border:hover .hover-mask {
  background-color: rgba(var(--theme-color-rgb), 0.8);
  visibility: visible;
}
.avatar-border:active .hover-mask {
  background-color: rgba(var(--theme-color-rgb), 0.9);
}
.avatar-border.visited {
  opacity: 0.5;
  cursor: progress;
}
.avatar-border.visited .hover-mask {
  background-color: none;
}
.avatar-border.visited:hover .hover-mask {
  visibility: hidden;
}

.circular {
  -webkit-animation: rotate 1s linear infinite;
  animation: rotate 1s linear infinite;
  height: 100%;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
.loader .path {
  stroke-dasharray: 50 80;
  stroke-dashoffset: 0;
  stroke-linecap: round;
}
.freepwd-loading {
  margin-top: 8px;
  visibility: hidden;
}
.freepwd-loading .loader {
  width: 20px;
  height: 20px;
  position: relative;
}

.change-login-btn {
  color: var(--theme-color);
  margin-top: 20px;
  padding: 4px 10px;
  border-radius: 3px;
}
.change-login-btn:hover {
  color: var(--theme-color);
  background-color: rgba(var(--theme-color-rgb), 0.1);
}
.change-login-btn:active {
  color: var(--theme-color);
  background-color: rgba(var(--theme-color-rgb), 0.2);
}
.change-login-btn.disabled,
.change-login-btn.disabled:hover,
.change-login-btn.disabled:active {
  color: var(--theme-color);
  background-color: #fff;
  opacity: 0.5;
  cursor: not-allowed;
}

/* layui */
.layui-layer-tips .layui-layer-content {
  border-radius: 8px !important;
}
.login-box .layui-tab,
.login-box .layui-tab-content {
  margin: 0;
  padding: 0;
}

.login-box .layui-tab-title {
  height: 44px;
  border-radius: 8px;
  background-color: rgba(var(--theme-color-rgb), 0.05);
}

.login-box .layui-tab-brief > .layui-tab-title .layui-this {
  color: hsl(var(--theme-color-hsl));
  background-color: #fff;
  border: 2px solid rgba(var(--theme-color-rgb), 0.05);
}
.login-box .layui-tab-title li {
  font-size: 17px;
  padding: 0 14px;
  min-width: 80px;
  max-width: 33.333%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 8px;
  height: 44px;
  line-height: 44px;
  border: 2px solid transparent;
}
.login-box .layui-tab-title li:hover {
  color: hsl(var(--theme-color-hsl));
}

.login-box .layui-tab-brief > .layui-tab-more li.layui-this:after,
.login-box .layui-tab-brief > .layui-tab-title .layui-this:after {
  border: none;
}
.layui-tab-title .layui-this:after {
  height: 40px;
}
.login-box .layui-tab-title {
  border-color: transparent;
}
.layui-btn,
.layui-edge,
.layui-inline,
img {
  vertical-align: baseline;
}
.layui-form {
  overflow: hidden;
}
.layui-form-item {
  margin-bottom: 24px;
}
.layui-form-label {
  float: none;
  width: auto;
  text-align: left;
  padding: 0 0 10px 0;
  line-height: unset;
}
.layui-input-block {
  margin-left: 0;
}
.layui-input,
.layui-select,
.layui-textarea {
  height: 36px;
}
.layui-select-disabled .layui-disabled {
  background-color: #f0f2f5;
  color: #121212 !important;
}
input:disabled {
  cursor: not-allowed;
  background-color: #f0f2f5 !important;
}
.layui-form-select dl dd.layui-this {
  background-color: #fff;
  color: var(--theme-color);
  font-weight: bold;
}
.layui-anim-upbit {
  animation-name: none;
}
.layui-input {
  border-color: #eee;
  border-radius: 6px;
}
.layui-input::-webkit-input-placeholder {
  color: #bfc5d1;
  font-size: 14px;
}
.layui-btn {
  border: none;
  background: linear-gradient(
    60deg,
    rgba(var(--theme-color-rgb), 0.6) 0%,
    rgba(var(--theme-color-rgb), 1) 100%
  );
  box-shadow: 0 0 3px rgba(var(--theme-color-rgb), 0.5);
}
.layui-btn-primary,
.layui-btn-primary:hover {
  background-color: #fff;
  border-color: #d7dae0;
  color: #3a424f;
}

/******************************authorize*****************************/
.authorize-container {
  width: 40%;
  min-width: 600px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.user-uid {
  font-size: 2em;
  font-weight: bold;
}
.left-indent {
  margin-left: 5%;
}
.left-indent-double {
  margin-left: 8%;
}
.gourl {
  color: var(--theme-color);
  word-break: break-all;
}
.oauth_item_title {
  margin-left: 5px;
}
.submit-btn,
.submit-btn:active {
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  color: #ffffff;
  background: var(--theme-color);
  border: none;
  border-color: var(--theme-color);
  outline: none;
  cursor: pointer;
}
.authorize-btnbox {
  text-align: right;
  margin-top: 48px;
}

/*********************************忘记密码*****************************/
.border-top {
  border-top: #d7dae0 1px solid;
}
.forget-container,
.reset-container {
  width: 600px;
  margin: 0 auto;
  padding-top: 50px;
}
.forget-container *,
.reset-container * {
  font-size: 16px;
}

.forget-container .layui-btn,
.reset-container .layui-btn {
  height: 48px;
  line-height: 48px;
}

.forget-tips {
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
  background-color: #fff8d2;
  padding: 15px 38px;
}
/* 错误提示信息 */
.color-danger {
  color: var(--error-color);
}

.layui-form-checkbox[lay-skin="primary"] {
  padding-left: 22px;
}
.layui-form-checkbox[lay-skin="primary"] i {
  width: 14px;
  height: 14px;
  line-height: 12px;
}
.layui-form-checked[lay-skin="primary"] i {
  border-color: #aaaaaa !important;
  background-color: #aaaaaa;
}
.layui-checkbox-disabled,
.layui-checkbox-disabled i {
  border-color: #aaaaaa;
}
.layui-checkbox-disabled[lay-skin="primary"] span {
  color: #595959;
  padding-right: 24px;
}

.privacy-box .layui-form-checked[lay-skin="primary"] i {
  border-color: var(--theme-color) !important;
  background-color: var(--theme-color);
}
.layui-form-checkbox[lay-skin="primary"]:hover i {
  border-color: var(--theme-color);
}

/* 自定义提交按钮的弹出框 */
.page-dialog .layui-layer-content {
  padding: 0 40px;
}
.page-dialog .layui-layer-btn {
  margin-top: 0;
}
.change-errorTip {
  color: var(--error-color);
  position: absolute;
  font-size: 12px;
}
.page-dialog .layui-form-item {
  margin-bottom: 30px;
}
.page-dialog .layui-layer-btn0 {
  border-color: var(--theme-color) !important;
  background-color: var(--theme-color) !important;
  color: #fff !important;
}
.change-submit-btn {
  font-size: 16px;
  height: auto;
  line-height: auto;
  box-sizing: border-box;
  padding: 3px 40px;
}
.loading-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
}
.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.loading-txt {
  color: var(--theme-color);
  margin-top: 10px;
}
.smsDisabled,
.smsDisabled:hover {
  color: #aaa;
  cursor: not-allowed;
}

/* 网络准入 */
.access-container {
  width: 100%;
}
.access-content {
  position: relative;
  height: calc(100vh - 181px);
  background-color: #fafafa;
}
.info-content {
  background-color: #fff;
  box-shadow: 0 3px 24px rgba(8, 17, 53, 0.09);
  width: 542px;
  padding: 72px 68px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.title-box {
  margin-top: 48px;
  margin-left: 39px;
}
.title-box img {
  display: inline-block;
  width: 32px;
}
.success-title {
  color: var(--success-color);
  font-size: 20px;
  display: inline-block;
  line-height: 1.7;
  vertical-align: top;
  margin-left: 12px;
}
.access-footer {
  width: 100%;
  text-align: center;
  position: fixed;
  padding-bottom: 51px;
  background-color: #fafafa;
}
.divider {
  display: none;
}
.info-box {
  margin-left: 39px;
  margin-top: 40px;
}
.info-item {
  margin-bottom: 24px;
}
.info-item span:nth-of-type(2) {
  color: #999ea5;
}
.mb-header {
  display: none;
}
.header-txt {
  display: inline-block;
  color: #121212;
  font-size: 24px;
}

.img-box {
  margin-top: 94px;
  text-align: center;
}
.fail-img {
  display: inline-block;
  width: 61px;
}
.err-msg {
  color: var(--error-color);
  text-align: center;
  line-height: 2;
  padding: 20px;
  margin-bottom: 40px;
}
@media only screen and (max-width: 1160px) {
  .login-box {
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
@media only screen and (max-width: 960px) {
  .access-header,
  .access-footer,
  .page-title-box {
    display: none;
  }
  .mb-header {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 4.8vw;
    line-height: 12.8vw;
  }
  .access-content {
    height: calc(100vh - 12.8vw);
    overflow: auto;
  }
  .title-box {
    margin-left: 12.8vw;
    margin-top: 17.6vw;
  }
  .title-box img {
    width: 7.47vw;
  }
  .success-title {
    margin-left: 0;
    width: calc(100% - 20vw);
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .info-content {
    width: 86%;
    height: unset;
    padding: 0;
    background-color: #fff;
  }
  .info-box {
    margin-left: 0;
    margin-top: 0;
    padding: 10vw 10vw 10vw 13vw;
  }
  .info-item {
    margin-bottom: 6.4vw;
  }
  .info-item * {
    font-size: 4.26vw;
  }

  .img-box {
    margin-top: 24vw;
    text-align: center;
  }
  .fail-img {
    display: inline-block;
    width: 16vw;
  }
  .err-msg {
    color: var(--error-color);
    padding: 5.34vw;
    margin-bottom: 20vw;
  }
}

/* 热聊扫码样式修改 */
.qr-code,
.offLine {
  max-width: 300px !important;
  max-height: 220px !important;
  background-image: none !important;
}
.qr-code-c {
  height: 150px !important;
  padding: 0 !important;
}
.qr-code-img {
  width: 150px !important;
  height: 150px !important;
}
.refresh-icon {
  width: 29px !important;
  height: 34px !important;
}
.qr-code-des {
  color: #888 !important;
  padding: 0 !important;
}
.qr-code-des * {
  font-size: 13px !important;
}
.offLine-c {
  height: 220px !important;
}
.offLine-title,
.offLine-des {
  color: #888 !important;
}
.offLine-icon {
  margin-top: 30px !important;
  margin-bottom: 10px !important;
}

.pwdless-dialog .layui-layer-btn a {
  padding: 10px 16px !important;
  border-radius: 3px !important;
  background-color: var(--theme-color) !important;
  color: #fff !important;
  border: none;
  font-size: 14px;
}

.privacy-box * {
  font-size: 14px;
}
.privacy-box {
  font-size: 12px;
  margin-top: 25px;
}
.privacy-checkbox {
  vertical-align: middle;
}
.privacy-iframe {
  border: none;
}
.privacy-dialog {
  height: 70%;
}
.privacy-dialog .layui-layer-btn {
  margin-top: 20px;
}
.privacy-dialog.layui-layer-dialog .layui-layer-content {
  height: calc(100% - 60px);
}
.input-content {
  max-height: 410px;
  overflow-y: auto;
  position: relative;
}

@keyframes ldio-x2uulkbinbj {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.ldio-x2uulkbinbj div {
  position: absolute;
  width: 58px;
  height: 58px;
  border: 6px solid var(--theme-color);
  border-top-color: transparent;
  border-radius: 50%;
}

.ldio-x2uulkbinbj div {
  animation: ldio-x2uulkbinbj 1s linear infinite;
  top: 50px;
  left: 50px;
}

.loadingio-spinner-rolling-nq4q5u6dq7r {
  width: 60px;
  height: 60px;
  display: inline-block;
  overflow: hidden;
  background: #ffffff;
}

.ldio-x2uulkbinbj {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(0.6);
  backface-visibility: hidden;
  transform-origin: 0 0;
}

.ldio-x2uulkbinbj div {
  box-sizing: content-box;
}
