body {
    background: #2f5879;
}
.register-form {
  position: relative;
  width: 100%;
  padding-bottom: 180px;
  box-sizing: border-box;
  background-image: url(../images/register-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  /*
    ** 提交成功打勾动画
    */

}
.register-form h2 {
  font-size: 33px;
  font-weight: 600;
  letter-spacing: 8px;
  color: #0ff;
  text-align: center;
  height: 140px;
  line-height: 140px;
  margin: 0 auto;
}
.register-form .content {
  width: 752px;
  height: 568px;
  border-radius: 8px;
  padding-top: 10px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 52px;
  border-radius: 8px;
}
.register-form .content .form-mask-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  border-radius: 8px;
  background-image: linear-gradient(247deg, rgba(111, 139, 249, 0.5) 14%, rgba(179, 100, 250, 0.5) 100%);
}
.register-form .content .content-gap {
  width: 100px;
}
.register-form .content .form-header {
  font-weight: 900;
  width: 100%;
  font-size: 33px;
  color: #00ffff;
  letter-spacing: 2px;
  text-align: center;
}
.register-form .content .form-item {
  width: 80%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 30px auto;
}
.register-form .content .input-fill-x {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
  flex: 1;
}
.register-form .content .input-fill-x {
  border-bottom: 1px solid rgba(255, 255, 255, 0.27);
}
.register-form .content .input-fill-x::after {
  content: "";
  display: block;
  width: 0;
  position: absolute;
  border-bottom: 1px solid #0ff;
  left: 0;
  right: 0;
  bottom: -1px;
  transition: width .5s linear;
}
.register-form .content .input-fill-x:focus-within::after {
  width: 100%;
}
.register-form .content .input-control {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  outline: none;
  width: 100%;
  background: transparent;
}
.register-form .content .input-fill {
  padding: 16px 16px 6px 3px;
  border: 1px solid transparent;
  color: #0ff;
}
.register-form .content .input-control:placeholder-shown::placeholder {
  color: transparent;
}
.register-form .content .input-label {
  position: absolute;
  font-size: 16px;
  line-height: 1.5;
  left: 0;
  top: 14px;
  color: #fff;
  padding: 0 2px;
  transform-origin: 0 0;
  pointer-events: none;
  transition: transform .25s;
}
.register-form .content .input-label .red {
  color: #e85c5c;
}
.register-form .content .input-fill:not(:placeholder-shown) ~ .input-label,
.register-form .content .input-fill:focus ~ .input-label {
  transform: scale(1) translatey(-30px) translatex(0);
}
.register-form .content .input-button {
  position: relative;
  width: 180px;
  height: 50px;
  background-image: linear-gradient(44deg, #2f8ae4 0%, #2fffff 100%);
  border-radius: 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: 2px;
  margin-top: 20px;
  border: none;
  outline: none;
}
.register-form .content .input-button .text {
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
.register-form .content .input-button .text.success {
  opacity: 0;
  display: none;
}
.register-form .content .input-button .icons {
  opacity: 0;
  display: none;
  /*width: 34px;*/

  /*height: 34px;*/

  /*background: url(gou.png) no-repeat center;*/

  background-size: contain;
  transition: all 0.3s ease-in-out;
}
.register-form .content .input-button .icons.success {
  display: inline-block;
  opacity: 1;
}
.register-form .content .text-tip {
  font-size: 16px;
  color: #fff;
  letter-spacing: 1px;
  font-weight: 400;
  text-align: center;
  margin-top: -10px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.register-form .content .text-tip.show {
  opacity: 1;
}
.register-form .swal2-icon {
  width: 80px;
  height: 80px;
  transform: scale(0.38);
  border: 4px solid transparent;
  border-radius: 50%;
  padding: 0;
  margin-top: -18px;
  position: relative;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.register-form .swal2-icon.swal2-success {
  /*border-color: #fff;*/

}
.register-form .swal2-icon.swal2-success [class^='swal2-success-circular-line'] {
  border-radius: 50%;
  position: absolute;
  width: 60px;
  height: 120px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.register-form .swal2-icon.swal2-success [class^='swal2-success-circular-line'][class$='left'] {
  border-radius: 120px 0 0 120px;
  top: -7px;
  left: -33px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: 60px 60px;
  transform-origin: 60px 60px;
}
.register-form .swal2-icon.swal2-success [class^='swal2-success-circular-line'][class$='right'] {
  border-radius: 0 120px 120px 0;
  top: -11px;
  left: 30px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: 0 60px;
  transform-origin: 0 60px;
}
.register-form .swal2-icon.swal2-success [class^='swal2-success-line'] {
  height: 5px;
  background-color: #fff;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 2;
}
.register-form .swal2-icon.swal2-success [class^='swal2-success-line'][class$='tip'] {
  /*width: 25px;*/

  left: 14px;
  top: 46px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.register-form .swal2-icon.swal2-success [class^='swal2-success-line'][class$='long'] {
  /*width: 47px;*/

  right: 8px;
  top: 38px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.swal2-animate-success-line-tip {
    -webkit-animation: animate-success-tip .75s;
          animation: animate-success-tip .75s;
          animation-delay: 0.6s;
          animation-fill-mode: forwards;
}

.swal2-animate-success-line-long {
    -webkit-animation: animate-success-long .75s;
            animation: animate-success-long .75s; 
            animation-delay: 0.6s;
            animation-fill-mode: forwards;
}

.swal2-success.swal2-animate-success-icon .swal2-success-circular-line-right {
    -webkit-animation: rotatePlaceholder 4.25s ease-in;
            animation: rotatePlaceholder 4.25s ease-in;
            animation-delay: 0.6s;
            animation-fill-mode: forwards;
}
.wrapper {
    width: 80px; /* Set the size of the progress bar */
    height: 80px;
    position: absolute; /* Enable clipping */
    top: 0;
    left: 0;
    clip: rect(0px, 80px, 80px, 40px); /* Hide half of the progress bar */
    overflow: hidden;
    animation-duration: 0.01s;
    animation-delay: 0.5s;
    animation-name: closeWrapper;
    &.base {
        animation-iteration-count: 1;  /* Only run once */
        animation-fill-mode: forwards; /* Hold the last keyframe */
        animation-timing-function: linear; /* Linear animation */
    }
    .circle {
        width: 72px;
        height: 72px;
        border: 4px solid #fff;
        border-radius: 50px;
        position: absolute;
        clip: rect(0px, 40px, 80px, 0px);
        &.base {
            animation-iteration-count: 1;  /* Only run once */
            animation-fill-mode: forwards; /* Hold the last keyframe */
            animation-timing-function: linear; /* Linear animation */
        }
        &.left {
            animation-duration: 1s;
            animation-name: leftSpin;
        }
        &.right {
            animation-duration: 0.5s;
            animation-name: rightSpin;
        }

    }
}
@-webkit-keyframes animate-success-tip {
    0% {
      width: 0;
      left: 1px;
      top: 19px; 
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px; 
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px; 
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px; 
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px; 
    } 
}
@keyframes animate-success-tip {
    0% {
      width: 0;
      left: 1px;
      top: 19px; 
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px; 
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px; 
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px; 
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px; 
    } 
}

@-webkit-keyframes animate-success-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px; 
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px; 
    }
    84% {
        width: 55px;
        right: 0;
        top: 35px; 
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px; 
    } 
}
@keyframes animate-success-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px; 
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px; 
    }
    84% {
        width: 55px;
        right: 0;
        top: 35px; 
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px; 
    } 
}

@-webkit-keyframes rotatePlaceholder {
    0% {
        -webkit-transform: rotate(-45deg);
                transform: rotate(-45deg); 
    }
    5% {
        -webkit-transform: rotate(-45deg);
                transform: rotate(-45deg); 
    }
    12% {
        -webkit-transform: rotate(-405deg);
                transform: rotate(-405deg); 
    }
    100% {
        -webkit-transform: rotate(-405deg);
                transform: rotate(-405deg); 
    } 
}
@keyframes rotatePlaceholder {
    0% {
        -webkit-transform: rotate(-45deg);
                transform: rotate(-45deg); 
    }
    5% {
        -webkit-transform: rotate(-45deg);
                transform: rotate(-45deg); 
    }
    12% {
        -webkit-transform: rotate(-405deg);
                transform: rotate(-405deg); 
    }
    100% {
        -webkit-transform: rotate(-405deg);
                transform: rotate(-405deg); 
    } 
}
/* Rotate the right side of the progress bar from 0 to 180 degrees */
@-webkit-keyframes rightSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(180deg);
    }
}
@keyframes rightSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(180deg);
    }
}
/* Rotate the left side of the progress bar from 0 to 360 degrees */
@-webkit-keyframes leftSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes leftSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* Set the wrapper clip to auto, effectively removing the clip */
@-webkit-keyframes closeWrapper {
    to {
        clip: rect(auto, auto, auto, auto);
    }
}
@keyframes closeWrapper {
    to {
        clip: rect(auto, auto, auto, auto);
    }
}