body {
  margin: 0;
}

button,
html input[type='button'],
input[type='reset'],
input[type='submit'] {
  -webkit-appearance: button;
  cursor: pointer;
}

.form {
  width: 100%;
  height: 100%;
}

.backGroundImg {
  background-image: url(../../images/login/img_bg.png);
  background-size: 100% 100%;
  width: 100%;
}

.center_align {
  text-align: center;
}

.line-l {
  width: 20%;
  vertical-align: super;
}
.font-k {
  margin: 0 auto !important;
}

.logImg {
  margin-top: 2rem;
  width: 22%;
}

.titleView {
  margin-top: 1rem;
  width: 100%;
  height: 2rem;
}
.titleFont {
  color: white;
  font-size: 1rem;
  /*margin-left: 0.5rem;*/
  /*margin-right: 0.5rem;*/
}
.input-box {
  padding-top: 13rem;
}
/** 输入用户名相关 */
.userNameView {
  margin-top: 2.5rem;
}

.userNameLine {
  border: 1px solid;
  border-color: rgba(255, 255, 255, 0.6);
  margin: 0 auto;
  border-radius: 0.6rem;
}

/** 输入密码相关 */
.passwordView {
  margin-top: 1rem;
}

.passwordLine {
  border: 1px solid;
  border-color: rgba(255, 255, 255, 0.6);
  margin: 0 auto;
  border-radius: 0.6rem;
}

.imgNameOrPwd1 {
  margin: 0.3rem 0.5rem 0.3rem 0.5rem;
  width: 1.4rem;
  float: left;
}

.imgNameOrPwd2 {
  margin: 0.3rem 0.5rem 0.3rem 0.5rem;
  width: 1.2rem;
  float: left;
}

/** 忘记密码 */
.forgetPwdView {
  margin-top: 1rem;
}
.forgetPwd {
  margin: 0 auto;
  text-align: right;
}
.forgetPwdFont {
  color: white;
  font-size: 1rem;
}

/**登录注册 */
.bottomView {
  margin-top: 1.5rem;
  overflow: hidden;
}

.bottomLine {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0.6rem;
}

.registerView {
  flex: 1;
  height: 2.8rem;
  line-height: 2.8rem;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0.6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
  box-sizing: border-box;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.spaceView {
  flex: 1;
  min-width: 0;
}

.loginView {
  width: 100%;
  height: 2.8rem !important;
  line-height: normal !important;
  padding: 0 !important;
  margin: 0 !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: linear-gradient(to bottom, #4f8fff, #2563eb);
  border: 1px solid rgba(37, 99, 235, 0.9);
  border-radius: 0.6rem;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5), 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loginView::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), transparent);
  pointer-events: none;
}

/*交互反馈：hover 给桌面端，active 给移动端按压*/
.registerView:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
}
.registerView:active {
  background-color: rgba(255, 255, 255, 0.28);
  transform: scale(0.97);
}
.loginView:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.45);
}
.loginView:active {
  background-color: var(--color-primary-active);
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}
.loginView:disabled {
  background-color: var(--color-primary-light);
  opacity: 0.6;
  box-shadow: none;
  cursor: not-allowed;
}

.loginFont {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}
.registerFont {
  color: #2563eb;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/** 公共宽度  */
.commom_Width {
  width: 17rem;
}
.commom_Height {
  height: 2.4rem;
  line-height: 2.4rem;
}
.inputName_style {
  background-color: rgba(255, 255, 255, 0) !important;
  width: 10rem;
  color: white;
  border: 0rem;
  outline: medium;
  font-size: 1rem;
}
.eyeclick {
  vertical-align: sub;
  float: right;
  position: relative;
  top: 0.6rem;
  right: 1.5rem;
  width: 11%;
}

.inputPwd_style {
  width: 10rem;
  background-color: rgba(255, 255, 255, 0);
  border: 0rem;
  outline: medium;
  font-size: 1rem;
}

a {
  text-decoration: none !important;
}
input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.bottomView {
  overflow: hidden;
}
.toast-div {
  width: 100%;
  display: none;
  position: absolute;
  top: 50%;
  /*left: 30%;*/
  margin: 0 auto;
}

.wrap {
  text-align: center;
}

.toast-text {
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 25px;
  border-radius: 25px;
  color: #fff;
}

.pageTitle {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  margin: 1.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
