.slider-captcha-block {
  position: absolute;
  left: 0;
  top: 0;
}

.slider-captcha-container {
  position: relative;
  text-align: center;
  line-height: 40px;
  background: #f7f9fa;
  color: #45494c;
  border-radius: 2px;
  height: 40px;
}

.slider-captcha-wrapper {
  padding: 0 10px;
  user-select: none;
}

.slider-captcha-wrapper--fail .slider-captcha-text {
  color: #c9353f;
}

.slider-captcha-footer {
  padding: 12px 20px;
}

.slider-captcha-bg {
  position: absolute;
  left: 0;
  right: 0;
  /*
  top: 0;
  background-color: #f7f9fa;
  height: 40px;
  border-radius: 2px;
  border: 1px solid #e6e8eb; */

  background-color: #c8c8c8;
  height: 16px;
  border-radius: 8px;
  top: 50%;
  transform: translateY(-50%);
}

/* .slider-captcha-container--success .slider {
  top: -1px;
  border: 1px solid #52ccba;
  background-color: #52ccba !important;
}

.slider-captcha-container--success .slider-captcha-mask {
  border: 1px solid #52ccba;
  border-width: 1px 0 1px 1px;
  background-color: #d2f4ef;
}

.slider-captcha-container--success .sliderIcon:before {
  content: '\f00c';
}

.slider-captcha-container--fail .slider {
  top: -1px;
  border: 1px solid #f57a7a;
  background-color: #f57a7a !important;
}

.slider-captcha-container--fail .slider-captcha-mask {
  border: 1px solid #f57a7a;
  background-color: #fce1e1;
  border-width: 1px 0 1px 1px;
}

.slider-captcha-container--fail .sliderIcon:before {
  content: '\f00d';
} */

/* .slider-captcha-container--active .slider-captcha-text,
.slider-captcha-container--success .slider-captcha-text,
.slider-captcha-container--fail .slider-captcha-text {
  display: none;
} */

.slider-captcha-mask {
  position: absolute;
  left: 0;
  top: 0;
  height: 40px;
  /* border: 0 solid #1991fa; */
  /* background: #d1e9fe; */
  border-radius: 2px;

  background: transparent;
}

.slider-captcha-bar {
  position: absolute;
  /* top: 0; */
  left: 0;
  /* width: 40px;
  height: 40px;
  background: #fff; */
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background 0.2s linear;
  /* border-radius: 2px; */
  display: flex;
  align-items: center;
  justify-content: center;

  height: 35px;
  width: 65px;
  background-color: rgb(26, 121, 255);
  border-radius: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* .slider-captcha:hover {
  background: #1991fa;
} */

.slider-captcha-bar:hover .slider-captcha-icon {
  background-position: 0 -13px;
}

.slider-captcha-text {
  line-height: 36px;
  font-size: 18px;
}

.slider-captcha--loading {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  z-index: 4;
  background: hsla(0, 0%, 100%, 0.8);
  align-items: center;
  justify-content: center;
}

.slider-captcha--loading .dot-loading {
  width: 48px;
  height: 48px;
  position: relative;
  display: inline-block;
  transform: translateZ(0) scale(0.48);
  backface-visibility: hidden;
  transform-origin: 0 0;
}

@keyframes dot-animation {
  0% {
    transform: translate(6px, 40px) scale(0);
  }

  25% {
    transform: translate(6px, 40px) scale(0);
  }

  50% {
    transform: translate(6px, 40px) scale(1);
  }

  75% {
    transform: translate(40px, 40px) scale(1);
  }

  100% {
    transform: translate(74px, 40px) scale(1);
  }
}

@keyframes dot-animation-r {
  0% {
    transform: translate(74px, 40px) scale(1);
  }

  100% {
    transform: translate(74px, 40px) scale(0);
  }
}

@keyframes dot-animation-c {
  0% {
    background: #b3b3b3;
  }

  25% {
    background: #b3b3b3;
  }

  50% {
    background: #b3b3b3;
  }

  75% {
    background: #b3b3b3;
  }

  100% {
    background: #b3b3b3;
  }
}

.slider-captcha--loading .dot-loading .dot {
  position: absolute;
  width: 20px;
  height: 20px;
  box-sizing: content-box;
  border-radius: 50%;
  transform: translate(40px, 40px) scale(1);
  background: #b3b3b3;
  animation: dot-animation 1.7857142857142856s infinite
    cubic-bezier(0, 0.5, 0.5, 1);
}

.slider-captcha--loading .dot-loading .dot:nth-child(1) {
  background: #b3b3b3;
  transform: translate(74px, 40px) scale(1);
  animation: dot-animation-r 0.4464285714285714s infinite
      cubic-bezier(0, 0.5, 0.5, 1),
    dot-animation-c 1.7857142857142856s infinite step-start;
}

.slider-captcha--loading .dot-loading .dot:nth-child(2) {
  animation-delay: -0.4464285714285714s;
  background: #b3b3b3;
}

.slider-captcha--loading .dot-loading .dot:nth-child(3) {
  animation-delay: -0.8928571428571428s;
  background: #b3b3b3;
}

.slider-captcha--loading .dot-loading .dot:nth-child(4) {
  animation-delay: -1.3392857142857142s;
  background: #b3b3b3;
}

.slider-captcha--loading .dot-loading .dot:nth-child(5) {
  animation-delay: -1.7857142857142856s;
  background: #b3b3b3;
}

.slider-captcha-refresh {
  height: 24px;
  width: 24px;
  cursor: pointer;
}
.slider-captcha-icon {
  position: relative;
}

.slider-captcha-icon::before {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 14px;
  border-left: 1px solid white;
  border-right: 1px solid white;
}

.slider-captcha-icon::after {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 14px;
  background-color: white;
}

.slider-captcha-refresh-icon:hover {
  color: #6c757d;
}
