/* 滑动验证码样式 */
.slider-captcha-wrapper {
  position: relative;
  width: 100%;
  margin-top: 12px;
}

.slider-captcha-wrapper .slider-canvas {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  background: #f0f0f0;
  cursor: pointer;
}

.slider-captcha-wrapper .slider-container {
  width: 100%;
  height: 44px;
  background: #f0f0f0;
  border-radius: 4px;
  position: relative;
  margin-top: 8px;
  user-select: none;
}

.slider-captcha-wrapper .slider-bg {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #4a90d9 0%, #357abd 100%);
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
  transition: width 0.2s;
}

.slider-captcha-wrapper .slider-text {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9c9ea0;
  font-size: 13px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.slider-captcha-wrapper .slider-text.success {
  color: white;
}

.slider-captcha-wrapper .slider-btn {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.slider-captcha-wrapper .slider-btn:hover {
  background: #f5f5f5;
}

.slider-captcha-wrapper .slider-btn::before {
  content: '→';
  font-size: 18px;
  color: #4a90d9;
  font-weight: bold;
}

.slider-captcha-wrapper .slider-btn.success::before {
  content: '✓';
}

.slider-captcha-wrapper .captcha-refresh {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 10;
}

.slider-captcha-wrapper .captcha-refresh:hover {
  background: rgba(255, 255, 255, 1);
}
