body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url('./images/background.png') no-repeat center;
  background-size: cover;
}

.n-login,
.n-login * {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
}

/* 隐私策略字体 */
.n-login .modal-content p, .n-login .modal-content span {
  font-size: 14px !important;
}

.n-login-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  padding: 0 40px;
  left: 0px;
  top: 40px;
}

.login-qr-switch-box {
  display: none;
}

.navContainer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 125px;
  height: 32px;
  object-fit: contain;
}

.nav-divider {
  width: 2px;
  height: 32px;
  background: #D0D5DD;
}

.n-login-form-choicebutton {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  flex-shrink: 0;
}

.n-login-form-choicebutton button {
  color: #1C69D4;
  flex-shrink: 0;
  background: none;
}

.n-login-form-choicebutton button[disabled] {
  color: #ccc;
}

.button-disable {
  background-color: #ccc !important;
}

.loginButton {
  color: #1D1D21;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  cursor: pointer;
  padding: 2px 0;
}

.n-login-title {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  background: #EAECF0;
  border-radius: 8px;
  padding: 3px;
}

.n-login-title em {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 6px 8px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
  color: #1D1D21;
  font-weight: 400;
  font-style: normal;
}

.n-login-title em.n-login-title-cur {
  background: white;
  color: #1C69D4;
  font-weight: 700;
}


.login-container {
  min-height: 520px;
  display: flex;
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 8px 8px rgba(16, 24, 40, 0.03),
    0px 20px 24px rgba(16, 24, 40, 0.08);
}

.qr-section {
  padding: 48px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.n-login-form .n-login-form-qrCode>div {
  width: 240px;
  position: relative;
  margin: 0 auto;
}

.n-login-form .n-login-form-qrCode .n-login-qrCode-title {
  color: #1D1D21;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  margin-top: 40px;
  margin-bottom: 4px;
  text-align: center;
}

.n-login-form .n-login-form-qrCode>div .n-login-qrCode-pic {
  width: 100%;
  display: block;
}

.n-login-form .n-login-form-qrCode .qr-img-background {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: white;
  opacity: 0.9;
  display: none;
}

.n-login-form .n-login-form-qrCode .qr-img-background-loading {
  /* width: 100%;
	height: 100%; */
  position: absolute;
  left: 0px;
  top: 0px;
  background-color: #FFFFFF;
  display: none;
}

.n-login-form .n-login-form-qrCode .qr-img-background-loading>img {
  width: 240px;
  height: 240px;
}

.n-login-webeam {
  margin-top: 60px;
  flex: 1;
}

.qr_loading {
  position: absolute;
  left: 50%;
  top: 13rem;
  transform: translate(-50%);
  width: 100%;
}

/* 加载动画效果 */
.qr_loading>ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.qr_loading>ul>li {
  width: 15px;
  height: 15px;
  margin: 0 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
}

.qr_loading>ul>li:nth-child(1) {
  animation: anim 0.6s linear infinite 0s;
}

.qr_loading>ul>li:nth-child(2) {
  animation: anim 0.6s linear infinite 0.2s;
}

.qr_loading>ul>li:nth-child(3) {
  animation: anim 0.6s linear infinite 0.4s;
}

.qr_loading>p {
  width: fit-content;
  text-align: center;
  font-size: 14px;
  color: #999999;
  font-weight: 500;
  margin: 0 auto;
}

.qr_error {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  color: #1D1D21;
}

.qr_error>div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #fff;
  padding: 12px;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.qr_error img {
  width: 32px;
}

#qr_error_show {
  cursor: pointer;
}

#qrcode_p_tip {
  text-align: center;
  width: 300px;
  margin: 0 auto;
}

.n-login-form .n-login-form-qrCode>p {
  color: #636363;
  font-size: 16px;
  text-align: center;
}

.n-login-form .n-login-form-qrCode>p>.joychat {
  color: #1C69D4;
}


.divider {
  width: 1px;
  background: #EAECF0;
  margin: 40px 0;
}

.form-section {
  width: 500px;
  min-height: 530px;
  padding: 48px;
  /* box-sizing: border-box; */
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-content {
  flex: 1;
}

#step-back-btn {
  display: flex;
  align-items: center;
  position: relative;
  top: -14px;
  left: -4px;
  font-size: 14px;
  cursor: pointer;
  width: fit-content;
}

#step-back-btn:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url('./images/back.png') no-repeat center;
  background-size: contain;
}

.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  color: #1D1D21;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 6px;
  width: 100%;
}

.input-field {
  border: 1px solid #D0D5DD;
  border-radius: 6px !important;
  padding: 0px 34px 0px 14px;
  height: 40px;
  width: 100%;
  position: relative;
}

.input-field input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  display: block;
  color: #1D1D21;
}

.input-field input::placeholder {
  font-size: 14px;
}

.input-field .n-login-viewPwd {
  position: absolute;
  width: 20px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.input-code-field {
  width: 100%;
  display: flex;
  align-items: center;
}

.input-code-field .input-field {
  margin-right: 8px;
}

.input-select-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.input-select-field #NetIQTokenMethod {
  color: #cdcdcd;
  font-size: 14px;
  line-height: 24px;
  width: 100%;
}

.input-select-field .select-icon {
  position: absolute;
  width: 20px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.form-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.form-links span {
  color: #6F6F7B;
  font-size: 14px;
}

.form-links a {
  color: #1C69D4;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.help-link {
  color: #1C69D4 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.n-login .error-help-link {
  font-weight: 600;
  text-decoration: underline;
}

.n-login .error-help-link:hover {
  text-decoration: underline;
}

.login-btn-container {
  position: relative;
  padding-top: 20px;
}

.n-login-form-err {
  font-size: 14px;
  color: #f00;
  margin-bottom: 4px;
  min-height: 24px;
}

.login-btn {
  width: 100%;
  height: 40px;
  background: #1C69D4;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.login-btn.webeam-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  padding: 0 10px;
  font-size: 13px;
}

.login-btn.webeam-login-btn>a {
  color: #fff !important;
  background: none !important;
  text-decoration: none;
  width: 100%;
  height: 100%;
  line-height: 40px;
  text-align: center;
}

.login-btn.webeam-login-btn>a:hover {
  color: #fff;
  text-decoration: none;
}

.n-login-form-or {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ccc;
  margin: 60px 0;
}

.n-login-form-or>span {
  height: 1px;
  width: 43px;
  background: #DDDDDD;
}

.n-login-form-or>i {
  height: 1px;
  width: 43px;
  background: #DDDDDD;
}

.n-login-form .n-login-form-or>em {
  margin: 0 20px;
}

.n-login-form-tip2 {
  background: #F7F7F7;
  color: #9B9B9B;
  padding: 20px 20px;
  line-height: 24px;
  word-break: break-all;
  margin-top: 20px;
  font-size: 16px;
}

.strengthen-btn {
  width: 100%;
  height: 40px;
  background: white;
  border: 1px solid #D0D5DD;
  border-radius: 6px;
  color: #6F6F7B;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  margin-top: 16px;
}

.webeam-btn {
  color: #1C69D4;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  cursor: pointer;
  text-align: center;
  margin-top: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.link-divider {
  width: 1px;
  background: #EAECF0;
}

.footer-links a {
  color: #6F6F7B;
  font-size: 14px;
  text-decoration: none;
  width: 100px;
  text-align: center;
}

.footer-note {
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;
  color: #6F6F7B;
  font-size: 12px;
  line-height: 20px;
  padding: 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact_lync {
  text-align: center;
  /* font-size: 2px; */
  cursor: pointer;
  color: #1C69D4;
}

.contact_email {
  cursor: pointer;
  text-align: center;
  /* font-size: 2px; */
  color: #1C69D4;
}

.n-slogan {
  display: flex;
  gap: 8px;
  align-items: center;
  background-color: rgba(50, 111, 255, 0.10);
  border-radius: 8px;
  overflow: hidden;
  padding: 8px 12px;
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  width: fit-content;
  white-space: nowrap;
}

.n-tip-icon {
  width: 20px;
  height: 20px;
}

.mfa-container {
  display: flex;
  flex-direction: column;
}

.options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
}

.mfa-option {
  width: 48%;
  height: 40px;
  line-height: 40px;
  padding: 0px 8px;
  border: none;
  box-sizing: border-box;
  border-radius: 4px;
  background: #F2F4F7;
  color: #1D1D21;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.mfa-option.selected {
  background: #E5EBFF;
  color: #1C69D4;
}

.mfa-option:hover {
  filter: brightness(0.98);
}


.message {
  font-size: 14px;
  line-height: 22px;
  color: #1d1d21;
  font-weight: 400;
  flex: 1;
}

.login-qr-switch-box {
  position: absolute;
  top: 4px;
  right: 4px;
  border-radius: 8px;
  width: 400px;
  height: 64px;
  overflow: hidden;
}

.switch-login-mode-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  z-index: 2;
  font-size: 14px;
}

.switch-login-mode-box {
  width: 80px;
  height: 80px;
  transform: translate(-40px, -40px) rotate(45deg);
  cursor: pointer;
  background-color: #1C69D4;
  transition: background-color .3s;
  overflow: hidden;
}

.universe-icon {
  display: inline-block;
  font-style: normal;
  line-height: 0;
  text-align: center;
  text-transform: none;
  text-rendering: optimizeLegibility;
}

.switch-icon {
  position: absolute;
  font-size: 32px;
  color: #fff;
  bottom: -8px;
  left: 25px;
  transform: rotate(-45deg);
}

.NetIQ-arrow-value {
  display: none;
  width: 100%;
  border: 1px solid #BBBBBB;
  border-radius: 4px;
  background-color: white;
  position: absolute;
  top: 68px;
  z-index: 10;
}

.Method-value {
  display: none;
  width: 100%;
}

.Method-value>p {
  padding: 0 15px;
  height: 40px;
  line-height: 36px;
  font-size: 14px;
  color: #1D1D21;
}

.Method-value>p:hover {
  background: #3467CD0D;
  cursor: pointer;
}

.img-Netiq-loading {
  text-align: -webkit-center;
}

.img-Netiq-loading>img:first-child {
  width: 12rem;
  height: 12rem;
}

.img-Netiq-loading>img:nth-child(2) {
  display: none;
  width: 8rem;
  height: 8rem;
  margin: 2.5rem 5rem 2.5rem 5rem;
}

.Netiq_loading_font>p {
  text-align: center;
  font-size: 14px;
  color: #999999;
  font-weight: 500;
}

@media screen and (min-width: 751px) and (max-width: 1440px) {
  .n-login-head{
    top: 10px; 
  }

  .n-login-head .logo{
    width: 100px;
  }

  .n-login-title em {
    font-size: 12px;
    line-height: 18px;
  }

  .n-slogan {
    width: fit-content;
    bottom: 10px;
    font-size: 12px;
    padding: 4px 12px;
  }
}

@media screen and (max-width: 751px) {
  .login-qr-switch-box {
    display: initial;
  }

  .n-login {
    width: 100%;
    height: 100%;
    overflow: scroll;
  }

  .n-login-head {
    position: relative;
    padding: 0 20px;
    margin: 40px auto 60px;
    left: 0;
    top: 0;
  }

  .n-slogan {
    width: calc(100% - 40px);
  }

  .login-container {
    width: calc(100% - 24px);
    min-height: 500px;
    margin: 0 auto;
    padding-bottom: 60px;
    margin-bottom: 30px;
  }

  .qr-section {
    display: none;
    width: 100%;
  }

  .divider {
    display: none;
  }

  .form-section {
    width: 100%;
    padding: 30px 16px 40px;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
    position: relative;
    min-height: auto;
  }

  .login-btn-container button {
    display: block;
  }

  .footer-links {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    gap: 8px;
  }

  .n-slogan {
    display: none;
  }

  #step-back-btn {
    top: -6px;
    margin-bottom: 10px;
  }


  .mfa-option {
    font-size: 12px;
  }

  .qr-section {
    padding: 0;
    margin: 30px auto;
  }

  .n-login-form .n-login-form-qrCode>div {
    width: 300px;
  }

  .n-login-form .n-login-form-qrCode .qr-img-background-loading>img {
    width: 300px;
    height: 300px;
  }


  .login-btn.webeam-login-btn>a {
    font-size: 12px;
  }

  .modal-header {
    padding: 0.2rem 0.4rem !important;
  }

  .modal-content {
    border-radius: 0.2rem !important;
  }

  .modal-content .modal-title {
    font-size: 0.3rem;

  }

  .modal-body {
    padding: 0.4rem !important;
    font-size: 0.3rem !important;
  }

  .modal-body p {
    margin-bottom: 0.2rem;
    font-size: 0.3rem !important;
  }

  .modal-footer {
    padding: 0.2rem !important;
  }

  .modal-content .btn-close {
    padding: 0 0.3rem !important;
    font-size: 0.3rem;
  }

  .modal-content .btn-close:focus {
    box-shadow: none;
  }

  .n-login-form .n-login-form-qrCode .img-background-loading>img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .img-Netiq-loading>img:first-child {
    width: 4.5rem;
    height: 4.5rem;
  }

  .img-Netiq-loading>img:nth-child(2) {
    display: none;
    width: 3rem;
    height: 3rem;
    margin: 0.75rem 1.5rem 0.75rem 1.5rem;
  }
}