/* 图形验证码：左输入、右图，focus 后显示（对齐 PostOne） */
.auth-graphic-captcha {
  margin: 0 0 14px;
}
.auth-graphic-captcha > .auth-cap-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}
.auth-captcha-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.auth-captcha-row .captcha-input-group {
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.auth-captcha-row .captcha-input-group input[type="text"] {
  flex: 0 0 auto;
  width: 8ch;
  box-sizing: content-box;
  padding: 0 12px;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0;
  letter-spacing: 0.06em;
  min-height: 38px;
}
.captcha-refresh-btn {
  flex-shrink: 0;
  width: 40px;
  border: 0;
  border-left: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.captcha-refresh-btn:hover {
  color: #002fa7;
  background: rgba(0, 47, 167, 0.08);
}
.auth-graphic-captcha .captcha-inline-preview {
  margin: 0;
  padding: 0 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  height: 40px;
  min-width: 110px;
}
.auth-graphic-captcha .captcha-inline-preview.is-hidden,
.auth-graphic-captcha .captcha-inline-preview[hidden] {
  display: none !important;
}
.captcha-inline-preview-img {
  max-width: 120px;
  height: 36px;
  width: auto;
  cursor: pointer;
  display: block;
}
.captcha-inline-preview-img:not([src]),
.captcha-inline-preview-img[src=""] {
  visibility: hidden;
}
