/* 基础样式 */
.login-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* 通知栏 */
.login-notice {
  background-color: #f5f5f5;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border-radius: 0.25rem;
}

.icon-notice {
  font-size: 0.875rem;
}

/* 双栏布局 */
.dual-login-columns {
  display: flex;
  gap: 2rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.login-column {
  flex: 1;
  padding: 2.5rem;
}

/* 分割线 */
.account-login {
  border-right: 1px solid #eee;
}

/* 账号登录表单 */
.login-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 2rem;
  font-weight: 600;
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-input {
  width: 93%;
  height: 3rem;
  padding: 0 1rem;
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  transition: all 0.3s;
}

.form-input:focus {
  border-color: #1c8ed6;
  box-shadow: 0 0 0 0.125rem rgba(28, 142, 214, 0.2);
  outline: none;
}

/* 错误提示 */
.error-message {
  color: #e74c3c;
  font-size: 0.8125rem;
  margin-top: 0.3125rem;
  display: flex;
  align-items: center;
  display: none;
}

.error-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e74c3c"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>') no-repeat center;
  margin-right: 0.3125rem;
}

/* 登录按钮 */
.login-button {
  width: 100%;
  height: 3rem;
  background: linear-gradient(to right, #1c8ed6, #3aa8ff);
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

.login-button:hover {
  background: linear-gradient(to right, #1677c2, #2d96e8);
  box-shadow: 0 0.25rem 0.75rem rgba(28, 142, 214, 0.3);
}

/* 表单选项 */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #666;
}

.remember-me {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.remember-me input {
  display: none;
}

.checkmark {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.125rem;
  margin-right: 0.5rem;
  position: relative;
}

.remember-me input:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1c8ed6;
  font-size: 0.75rem;
}

.option-link {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.option-link:hover {
  color: #1c8ed6;
}

.option-divider {
  margin: 0 0.5rem;
  color: #ddd;
}

/* 二维码登录 */
.qrcode-container {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qrcode-title {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.qrcode-subtitle {
  color: #666;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.qrcode-image {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 4px;
}

.qrcode-expired-notice {
  font-size: 0.75rem;
  color: #cc0000;
  margin-top: 1rem;
  display: none;
  cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .dual-login-columns {
    flex-direction: column;
  }
  
  .account-login {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  
  .login-column {
    padding: 1.5rem;
  }
}

/* 重设密码页面样式 */
.reset-password-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* 重设密码表单 */
.reset-password-content {
  background: white;
  border-radius: 0.5rem;
  padding: 2.5rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 0 auto;
}

.reset-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 2rem;
  font-weight: 600;
  text-align: center;
}

/* 表单元素 */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

/* 错误提示 */
.error-message {
  color: #e74c3c;
  font-size: 0.8125rem;
  margin-top: 0.3125rem;
  display: flex;
  align-items: center;
  display: none;
}

.error-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e74c3c"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>') no-repeat center;
  margin-right: 0.3125rem;
}

/* 重设密码按钮 */
.reset-button {
  width: 100%;
  height: 3rem;
  background: linear-gradient(to right, #1c8ed6, #3aa8ff);
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

.reset-button:hover {
  background: linear-gradient(to right, #1677c2, #2d96e8);
  box-shadow: 0 0.25rem 0.75rem rgba(28, 142, 214, 0.3);
}

/* 令牌过期提示 */
.token-expired {
  text-align: center;
  padding: 2rem;
}

.expired-message {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.retry-link {
  color: #1c8ed6;
  text-decoration: none;
}

.retry-link:hover {
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .reset-password-content {
    padding: 1.5rem;
  }
}


/* 找回密码页面样式 */
.password-recovery-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* 通知栏 */
.recovery-notice {
  background-color: #f5f5f5;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border-radius: 0.25rem;
}

.icon-notice {
  font-size: 0.875rem;
}

/* 找回密码表单 */
.recovery-content {
  background: white;
  border-radius: 0.5rem;
  padding: 2.5rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 0 auto;
}

.recovery-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 2rem;
  font-weight: 600;
  text-align: center;
}

/* 表单元素 */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}



/* 验证码输入组 */
.captcha-group {
  margin-bottom: 2rem;
}

.captcha-input-wrapper {
  display: flex;
  gap: 0.75rem;
}

.captcha-input {
  flex: 1;
}

.captcha-button {
  flex-shrink: 0;
  width: 120px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s;
}

.captcha-button:hover {
  background: #e0e0e0;
}

.captcha-button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

/* 错误提示 */
.error-message {
  color: #e74c3c;
  font-size: 0.8125rem;
  margin-top: 0.3125rem;
  display: flex;
  align-items: center;
  display: none;
}

.error-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e74c3c"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>') no-repeat center;
  margin-right: 0.3125rem;
}

/* 找回密码按钮 */
.recovery-button {
  width: 100%;
  height: 3rem;
  background: linear-gradient(to right, #1c8ed6, #3aa8ff);
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 1.5rem;
}

.recovery-button:hover {
  background: linear-gradient(to right, #1677c2, #2d96e8);
  box-shadow: 0 0.25rem 0.75rem rgba(28, 142, 214, 0.3);
}

/* 返回登录链接 */
.back-to-login {
  text-align: center;
  font-size: 0.875rem;
  color: #666;
}

.back-to-login a {
  color: #1c8ed6;
  text-decoration: none;
}

.back-to-login a:hover {
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .recovery-content {
    padding: 1.5rem;
  }
  
  .captcha-input-wrapper {
    flex-direction: column;
  }
  
  .captcha-button {
    width: 100%;
    height: 3rem;
  }
}


/* 注册页面样式 */
.register-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* 通知栏 */
.register-notice {
  background-color: #f5f5f5;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border-radius: 0.25rem;
}

.icon-notice {
  font-size: 0.875rem;
}

/* 注册表单 */
.register-content {
  background: white;
  border-radius: 0.5rem;
  padding: 2.5rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 0 auto;
}

.register-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 2rem;
  font-weight: 600;
  text-align: center;
}

/* 表单元素 */
.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}



/* 验证码输入组 */
.captcha-group {
  margin-bottom: 1.5rem;
}

.captcha-input-wrapper {
  display: flex;
  gap: 0.75rem;
}

.captcha-button {
  flex-shrink: 0;
  width: 120px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s;
}

.captcha-button:hover {
  background: #e0e0e0;
}

.captcha-button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

/* 错误提示 */
.error-message {
  color: #e74c3c;
  font-size: 0.8125rem;
  margin-top: 0.3125rem;
  display: flex;
  align-items: center;
  display: none;
}

.error-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e74c3c"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>') no-repeat center;
  margin-right: 0.3125rem;
}

/* 协议条款 */
.agreement-group {
  margin: 1.5rem 0;
}

.agreement-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.875rem;
  color: #666;
}

.agreement-checkbox input {
  display: none;
}

.agreement-checkbox .checkmark {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.125rem;
  margin-right: 0.5rem;
  position: relative;
}

.agreement-checkbox input:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1c8ed6;
  font-size: 0.75rem;
}

.agreement-link {
  color: #1c8ed6;
  text-decoration: none;
}

.agreement-link:hover {
  text-decoration: underline;
}

/* 注册按钮 */
.register-button {
  width: 100%;
  height: 3rem;
  background: linear-gradient(to right, #1c8ed6, #3aa8ff);
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.register-button:hover {
  background: linear-gradient(to right, #1677c2, #2d96e8);
  box-shadow: 0 0.25rem 0.75rem rgba(28, 142, 214, 0.3);
}

/* 登录链接 */
.login-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #666;
}

.login-link a {
  color: #1c8ed6;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .register-content {
    padding: 1.5rem;
  }
  
  .captcha-input-wrapper {
    flex-direction: column;
  }
  
  .captcha-button {
    width: 100%;
    height: 3rem;
  }
}