.captchaContainer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.captchaImageContainer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.captchaImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #fff;
  border-radius: 4px;

  &:hover {
    opacity: 0.8;
  }
}

.captchaPlaceholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #999;
  font-size: 12px;
  cursor: pointer;
}

// 响应式设计
@media (max-width: 768px) {
  .captchaContainer {
    gap: 6px;
  }

  .captchaImageContainer {
    height: 36px;
  }

  .captchaInput {
    height: 28px;
    font-size: 13px;
  }

  .refreshButton {
    right: 2px;
    padding: 2px;
    height: 20px;

    .anticon {
      font-size: 10px;
    }
  }
}
