@charset "UTF-8";
/* 登录页 */
.page-login {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 50px;
  background: url(../images/login/login-bg.png) center/cover no-repeat;
}

.login-card {
  flex: 0 0 560px;
  margin-left: auto;
  margin-right: 12%;
  padding: 60px 55px 70px;
  background-color: #fff;
}

.login-head h3 {
  font-size: 28px;
  font-weight: 400;
  color: #333;
}

.login-head p {
  margin-top: 16px;
  font-size: 16px;
  color: #999;
}

.login-card form {
  margin-top: 48px;
}

.login-card form > .cp-field {
  margin-bottom: 24px;
}

.login-card .cp-label {
  margin-bottom: 12px;
  font-size: 16px;
}

.login-card .cp-input {
  height: 50px;
}

.login-opts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.login-remember {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #999;
  cursor: pointer;
}

.login-remember input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1px solid #ccc;
  border-radius: 2px;
  background-color: #fff;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.login-remember input:checked {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}

.login-remember input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.login-forgot {
  font-size: 14px;
  color: var(--color-primary);
}

.login-card .cp-btn {
  width: 100%;
  height: 50px;
  justify-content: center;
  font-size: 16px;
}

/* 忘记密码弹窗 */
#forgotModal .cp-modal-panel {
  width: 980px;
}

#forgotModal .cp-modal-dialog {
  padding: 55px 90px 45px;
}

#forgotModal .cp-modal-title h3 {
  font-size: 26px;
  text-align: center;
  color: #222;
}

#forgotModal .cp-modal-desc p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #888;
  text-align: center;
}

#forgotModal form {
  margin-top: 40px;
}

#forgotModal .cp-form-row {
  gap: 36px;
  margin-bottom: 22px;
}

#forgotModal .cp-label {
  font-size: 15px;
}

#forgotModal .cp-input {
  height: 48px;
}

#forgotModal .cp-btn {
  width: 100%;
  height: 48px;
  justify-content: center;
  font-size: 16px;
}

.login-forgot-note {
  margin-top: 18px;
  font-size: 12px;
  color: #b8b8c4;
  text-align: center;
}

/* 找回密码提交失败提示 */
.login-forgot-error {
  margin: 12px 0 0;
  font-size: 13px;
  color: #a2191f;
  text-align: center;
}

/* 提交成功弹窗 */
#successModal .cp-modal-panel {
  width: 640px;
}

#successModal .cp-modal-dialog {
  padding: 60px 55px 55px;
}

#successModal .cp-modal-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto;
}

#successModal .cp-modal-title h3 {
  margin-top: 28px;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  color: #222;
}

#successModal .cp-modal-desc p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  text-align: center;
}

#successModal .cp-modal-actions {
  margin-top: 32px;
  text-align: center;
}

@media (max-width: 768px) {
  .page-login {
    padding: 20px;
  }

  .login-card {
    flex: 0 0 100%;
    margin: 0;
    padding: 30px 22px;
  }
}
