.ic {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: 0 0 auto;
  vertical-align: -0.125em;
}

#captchaCanvas {
  border-radius: 8px;
  cursor: pointer;
  vertical-align: middle;
  border: 1px solid var(--x-border, #e8eaed);
}
.captcha-row { max-width: 100%; }
.login-brand-slot { min-height: 56px; }
.login-brand-icon { width: 56px; height: 56px; }
.login-panel { position: relative; }
.login-panel .text-center.mb-4 { padding-top: 1.2rem; }
.login-panel-tools {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 3;
  display: block;
}
.login-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.35rem;
  border: 1px solid var(--x-border, #e8eaed);
  border-radius: 999px;
  background: #f8f9fa;
}
.login-form-switch-row { margin-top: 0.5rem; }
.login-mode-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0;
}
.login-mode-icon i,
.login-mode-icon .ic {
  font-size: 1rem;
}
.login-site-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  vertical-align: middle;
}
.captcha-input { min-width: 120px; max-width: 200px; }
.login-submit-btn { min-width: 6.75rem; }
.login-copyright-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 30;
  text-align: center;
  pointer-events: none;
}

/* 找回密码：找回方式切换 */
.login-recovery-switch {
  display: inline-flex;
  gap: 6px;
  padding: 0.2rem 0.35rem;
  border: 1px solid var(--x-border, #e8eaed);
  border-radius: 999px;
  background: #f8f9fa;
}

.login-recovery-switch button {
  border-radius: 999px;
  font-size: 0.82rem;
  padding: 4px 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #495057;
  cursor: pointer;
  transition: all 0.15s ease;
}

.login-recovery-switch button.on {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  font-weight: 600;
}

/* 密码可见切换 */
.eye-btn {
  border: 1px solid var(--x-border, #e8eaed);
  border-radius: 0 8px 8px 0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #6c757d;
  cursor: pointer;
}

.eye-btn:hover {
  color: #212529;
}

.pwd-group {
  display: flex;
  align-items: stretch;
}

.pwd-group .form-control {
  border-radius: 8px 0 0 8px;
}

.pwd-group .eye-btn {
  border-radius: 0 8px 8px 0;
  border-left: 0;
}
