input:focus {
  outline: none;
}
.text-style-1 {
  font-family: Microsoft YaHei;
  font-size: 16px;
  color: #c93a55;
  padding-right: 5px;
}
/* form validate */
.forgot-container {
  max-width: 1440px;
  padding-bottom: 40px;
  background: url(../../img/login/public_image_bg.png) center/cover no-repeat;
  box-sizing: border-box;
  margin: 0 auto;
  margin-top: 70px;
  display: flex;
  justify-content: center;
}
.forgot-form {
  width: 409px;
  margin: 120px auto 70px;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #fff;
  box-shadow: 0px 1px 6px 0px rgb(23 35 61 / 75%);
  border: solid 1px #c5c8ce;
}

.forgot-form span,
.forgot-form label {
  font-size: 14px;
}
.forgot-title-h1 {
  position: relative;
}

.forgot-title-h1 span {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
}

.forgot-title-h1 p {
  color: #ccc;
  font-weight: normal;
}

.forgot-title-h1::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 9px;
  width: 4px;
  height: 18px;
  background-color: #0096ec;
}

.forgot-form label {
  margin-top: 20px;
}

.forgot-title,
.validate-phone-title {
  margin-top: 20px;
}

.forgot-form-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.forgot-form-item button {
  margin-top: 20px;
}

.forgot-form-item button {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  background-image: linear-gradient(-90deg, #1d7ce1 0%, #29b8f4 100%);
  font-family: Microsoft YaHei;
  font-weight: normal;
  font-stretch: normal;
}

.slider-container {
  position: relative;
  /* margin-top: 12px; */
  width: 100%;
  height: 38px;
}

.form-username-error,
.form-validate-error {
  position: absolute;
  color: red;
  top: 100%;
  font-size: 14px;
}

.form-code-error {
  position: absolute;
  color: red;
  bottom: -14px;
  font-size: 12px;
}

.slider-container {
  flex: 1;
}

/* find validate */
.form-validate {
  width: 100%;
  display: none;
  box-sizing: border-box;
  font-size: 14px;
  overflow: hidden;
  margin-top: 70px;
  background-color: #fff;
  box-shadow: 0px 1px 6px 0px rgb(23 35 61 / 75%);
  border: solid 1px #c5c8ce;
}
.form-validate .forgot-form-item label {
  width: 100px;
  min-width: 100px;
}

.validate-progress span:first-child {
  color: #0d6efd;
}

.carousel-inner {
  height: 100%;
  padding: 10px;
}

.validate-progress {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
}

.validate-reset,
.validate-back {
  display: none;
  margin-bottom: 40px;
}

.validate-phone,
.validate-reset,
.validate-back {
  width: 409px;
  padding: 30px 40px;
  box-sizing: border-box;
}

.validate-phone-username {
  /* padding: 10px 5px; */
  font-size: 18px;
  color: #0d6efd;
  font-weight: bold;
  width: 270px;
  padding: 7px;
  box-sizing: border-box;
  height: 31px;
  font-size: 14px !important;
  font-family: Microsoft YaHei !important;
  line-height: 31px;
  background-color: #ffffff;
  border: solid 1px #808695;
}

.validate-phone-number {
  padding: 10px 0;
}

#username,
#inputValidateCode,
#reset-validate-confirm,
#reset-validate-new {
  position: relative;
  width: 100%;
  padding: 7px;
  color: #17233d !important;
  box-sizing: border-box;
  height: 31px;
  font-size: 14px !important;
  font-family: Microsoft YaHei !important;
  line-height: 31px;
  background-color: #ffffff;
  border: solid 1px #808695;
}

#code-validate {
  position: relative;
  width: 160px;
  padding: 7px;
  color: #17233d !important;
  box-sizing: border-box;
  height: 31px;
  font-size: 14px !important;
  font-family: Microsoft YaHei !important;
  line-height: 31px;
  background-color: #ffffff;
  border: solid 1px #808695;
}

.validate-phone #code {
  position: absolute;
  right: 6px;
  top: 5px;
  z-index: 10;
  cursor: pointer;
  background: #2284d7;
  color: #fff;
  border-radius: 3px;
  height: 28px;
  line-height: 28px;
  width: 54px;
  text-align: center;
}

.validate-phone .form-new-error,
.validate-reset .form-new-error,
.validate-reset .form-confirm-error,
.validate-phone .form-confirm-error {
  position: absolute;
  color: red;
  bottom: -14px;
  font-size: 12px;
}

.validate-phone .slider-container {
  display: flex;
  align-items: center;
}
.validate-phone .forgot-form-item {
  flex-direction: initial;
  align-items: center;
  height: 50px;
}
.validate-phone .forgot-form-item.forgot-button {
  height: auto;
}
.validate-phone .forgot-form-item input {
  position: relative;
  width: 100%;
  padding: 7px;
  color: #17233d !important;
  box-sizing: border-box;
  height: 31px;
  font-size: 14px !important;
  font-family: Microsoft YaHei !important;
  line-height: 31px;
  background-color: #ffffff;
  border: solid 1px #808695;
}
.validate-phone .forgot-form-item input[disabled] {
  color: #6a6a6a !important;
  background-color: #f7f7f7;
  border: solid 1px #c5c5c5;
}
.validate-reset .forgot-form-item {
  padding: 0;
  margin-top: 21px;
  margin-bottom: 0px;
}
.validate-reset .forgot-form-item label {
  width: 100px;
  padding-right: 10px;
  text-align: left;
}

.validate-reset button {
  margin-top: 8px;
}

.validate-back {
  font-size: 20px;
}

.validate-back p {
  padding: 20px 0px;
  font-size: 14px;
}

.validate-back a {
  padding: 18px 0;
  font-size: 14px;
  color: white;
  background: #0d6efd;
  padding: 5px 15px;
  border-radius: 5px;
}

.slider {
  width: 100%;
  height: 36px;
  line-height: 36px;
  background: #ccc;
  text-align: center;
  border-radius: 5px;
  box-sizing: border-box;
  position: relative;
}
.slider span {
  z-index: 2;
  position: absolute;
  left: 40%;
  color: white;
}
.slider-track {
  height: 100%;
  background: #0d6efd;
  z-index: 1;
  position: absolute;
  border-radius: 5px;
  top: 0;
  left: 0;
}

.slider-piece {
  border-radius: 5px;
  position: absolute;
  height: 36px;
  width: 36px;
  z-index: 3;
  cursor: pointer;
  user-select: none;
  box-shadow: 0px 1px 6px 0px rgb(23 35 61 / 75%);
  background: white;
}

#alErr {
  pointer-events: none;
  top: 80px;
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

/* add jc slider right border */

.slider-valid {
  border-width: 1px !important;
  border-color: #808695; /* 匹配文本框边框颜色 */
}

/* end jc */

.input-validate-code {
  display: flex;
  
}
.input-validate-code input {
  margin-right: 10px;
  width: 100%;
  height: 38px;
}
.input-validate-code .invalid-feedback {
  top: 47px;
  right: 105px;
}

.forgot-button.validate-code-btn {
  margin-top: 10px;
}

@media (max-width: 1440px) {
  .forgot-form,
  .form-validate {
    margin-top: 70px;
    margin-bottom: 40px;
  }
  .forgot-container {
    padding-bottom: 0px;
  }
  .carousel-inner {
    padding-top: 0px;
    padding-bottom: 0px;
  }
}

@media (max-width: 959px) {
  .forgot-form {
    margin-top: 2rem;
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 480px) {
  .forgot-form {
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
  }
  .forgot-container {
    width: 93%;
  }
  #wrapCarousel {
    width: 100%;
  }
  .forgot-title-h1::before {
    left: -25px;
  }
  .validate-phone,
  .validate-reset,
  .validate-back {
    width: 100%;
  }
  .forgot-container > div {
    width: 25rem;
  }
}

.fade-in {
  animation: fadeIn 1s ease;
}
.fade-out {
  animation: fadeOut 1s ease;
}

@keyframes fadeIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0%);
  }
}

@keyframes fadeOut {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
