
.login-register-btn {
  display: inline-block;
  width: 102px;
  height: 32px;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  text-align: center;
  line-height: 32px;
  margin-left: 10px;
  cursor: pointer;
}

.user-info-btn{
  width: 200px;
  display: none;
  margin-left: 10px;
  cursor: pointer;
  line-height: 32px;
  height: 32px;
  color: #FFFFFF;
}


.logout-popup,.login-register {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999999;
  display: none;
}

.login-register-container {
  margin: 0 auto;
  position: relative;
  top: 20%;
  width: 440px;
}

.form-container {
  position: relative;
}

.form {
  position: absolute;
  width: 400px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.1);
}

.register-form {
  opacity: 0;
  transform: translateX(50px);
  pointer-events: none;
}


.active .register-form {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.active .login-form {
  opacity: 0;
  transform: translateX(-50px);
  pointer-events: none;
}

.form-group input {
  width: 384px;
  padding: 8px;
  height: 24px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.form-group input {
  font: 14px/1.5 Helvetica, Pingfang SC, Microsoft YaHei, STHeiti, Verdana, Arial, Tahoma, sans-serif3;
}
button {
  width: 100%;
  padding: 10px;
  background: #1b62e1;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.toggle-form {
  text-align: center;
  margin-top: 15px;
  color: #666;
}

.toggle-form a {
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;
}

.error-message {
  color: red;
  font-size: 12px;
  height: 20px;
  width: 100%;
}

/* 新增验证码相关样式 */
.captcha-group {
  display: flex;
  width: 100%;
  gap: 10px;
}

#captchaImage2,#captchaImage {
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  width: 100px;
  background: #fff;
}

.captcha-input {
  width: 310px !important;
}

.logout-popup-content {
  margin: 0 auto;
  position: relative;
  top: 20%;
  width: 440px;
  /* 弹出层容器样式 */
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.1);
}

.logout-popup-btns {
  /* 按钮容器布局 */
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}

.logout-popup-btn {
  /* 按钮基础样式 */
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#logout-popup-cancel {
  background: #f0f0f0;
  color: #333;
}

#logout-popup-confirm {
  background: #007bff;
  color: white;
  margin-left: 20px;
}

.register-success-container{
  display: none
}

.register-success{
  background-color: white;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 410px;
  width: 440px;
  position: relative;
  z-index: 999 !important;
}

.register-success a {
  margin-top: 30px;
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;
}