.slider-captcha {
  margin: 14px 0 4px;
  user-select: none;
}

.slider-captcha-track {
  position: relative;
  height: 42px;
  overflow: hidden;
  border: 1px solid #d7dfe9;
  border-radius: 4px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  color: #66758c;
  font-size: 13px;
  line-height: 40px;
  text-align: center;
}

.slider-captcha-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, rgba(36, 116, 234, .16), rgba(36, 116, 234, .08));
  transition: width .12s ease;
}

.slider-captcha-text {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.slider-captcha-handle {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 42px;
  height: 40px;
  border: 0;
  border-right: 1px solid #d7dfe9;
  border-radius: 3px;
  color: #2474ea;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 71, 125, .12);
  cursor: grab;
  font-size: 20px;
  line-height: 40px;
  touch-action: none;
  transition: left .12s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

.slider-captcha-handle:active {
  cursor: grabbing;
}

.slider-captcha.verified .slider-captcha-track {
  border-color: #42bd76;
  background: #f0fff6;
  color: #208d50;
}

.slider-captcha.verified .slider-captcha-progress {
  width: 100% !important;
  background: #dff8e9;
}

.slider-captcha.verified .slider-captcha-handle {
  color: #fff;
  background: #35b76c;
  border-color: #35b76c;
  cursor: default;
}

.slider-captcha.error .slider-captcha-track {
  border-color: #f09b86;
  background: #fff6f3;
  color: #c95b40;
}

.slider-verify-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, .38);
}

.slider-verify-dialog {
  width: min(360px, 100%);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .24);
  overflow: hidden;
}

.slider-verify-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid #edf1f7;
  color: #1f2d3d;
  font-size: 16px;
}

.slider-verify-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8a98aa;
  cursor: pointer;
  font-size: 22px;
  line-height: 28px;
}

.slider-verify-close:hover {
  color: #2474ea;
  background: #f3f7ff;
}

.slider-verify-alert {
  margin: 16px 16px 12px;
  padding: 10px 12px;
  border: 1px solid #ffe5a7;
  border-radius: 4px;
  color: #8a5a00;
  background: #fff8e6;
  font-size: 13px;
  line-height: 1.5;
}

.slider-verify-control {
  margin: 0 16px 12px;
}

.slider-verify-status {
  min-height: 22px;
  padding: 0 16px 14px;
  color: #c95b40;
  font-size: 12px;
}

@media (max-width: 420px) {
  .slider-captcha-track {
    height: 40px;
    line-height: 38px;
    font-size: 12px;
  }

  .slider-captcha-handle {
    width: 40px;
    height: 38px;
    line-height: 38px;
  }

  .slider-verify-dialog {
    width: 100%;
  }
}
