@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

.stepper-wrap {
  padding: 60px 0;
}
.form-item {
  display: flex;
  flex-direction: column;
}
.form-item.has-error .form-label {
  color: red;
}
.form-item.has-error .form-input {
  border-color: red;
  background-color: #ffe1e1;
}
.form-label {
  font-size: 16px;
  color: #161616;
  margin-bottom: 6px;
}
.form-input {
  border: 2px solid #8d8d8d;
  border-radius: 4px;
  background: #f9f9f9;
  height: 30px;
  padding: 0 16px;
  outline: none;
}
.form-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form-content {
  display: none;
  flex-direction: column;
  gap: 20px;
}
.form-content.active {
  display: flex;
}

.btn {
  border-radius: 4px;
  border: 2px solid transparent;
  padding: 6px 49px;
  font-size: 16px;
  background-color: #fff;
  cursor: pointer;
  outline: none;
}
.btn.bordered {
  border-color: #2a3177;
  color: #2a3177;
}
.btn.primary {
  background-color: #2a3177;
  color: #fff;
}
.btn[disabled] {
  cursor: not-allowed;
}

.wizard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 308px;
  border-radius: 10px;
  border: 1px solid #f9f9f9;
  box-shadow: 0 0 15px #f1f1f1;
  padding: 30px 19px;
}
.wizard:before {
  content: "";
  position: absolute;
  background-color: #fff;
  height: 2px;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.wizard-bar {
  position: absolute;
  background-color: #2a3177;
  height: 30px;
  bottom: -50px;
  width: 2px !important;
  left: 15px;
  transform: translateY(-50%);
  transition: 0.3s ease;
  top: auto;
  opacity: 0;
}

.active .wizard-bar {
  opacity: 1;
}
.wizard-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 270px;
}

.wizard-item {
  position: relative;
  margin-bottom: 40px;
}

.wizard-item .step-icon {
  z-index: 2;
  transition: 0.4s ease;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 20px;
  border: 2px solid #2a3177;
  color: #2a3177;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  background-color: #fff;
}



.wizard-item.active .step-icon {
  background-color: #2a3177;
  color: #fff;
}
.wizard-item.active.with-image:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 8.9087L17.1443 6L9.97468 13.191L6.8557 10.0399L4 12.888L8.53671 17.4126C8.91618 17.7888 9.4295 18 9.96456 18C10.4996 18 11.0129 17.7888 11.3924 17.4126L20 8.9087Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.wizard-item.with-image:after {
  content: "";
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 8.9087L17.1443 6L9.97468 13.191L6.8557 10.0399L4 12.888L8.53671 17.4126C8.91618 17.7888 9.4295 18 9.96456 18C10.4996 18 11.0129 17.7888 11.3924 17.4126L20 8.9087Z' fill='%231E4DBA'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.stepper-form-wrapper {
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #f9f9f9;
  box-shadow: 0 0 15px #f1f1f1;
  width: calc(100% - 330px);
}

.step-form-head {
  padding: 20px 50px;
}

.step-head-divider {
  height: 2px;
  width: 100%;
  background-color: #d9d9d9;
}

.step-form-head p {
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #3d4244;
}

.step-form-body {
  padding: 32px 50px;
}

.input-field {
  border-radius: 4px;
}

.form-button-wrapper {
  padding: 0 50px 50px 50px;
}

.form-control {
  background-color: #fff !important;
  border-color: #dae5eb;
}

.form-control:focus {
  box-shadow: none;
  border-color: #dae5eb;
}

.form-sub-title {
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #4c4c4c;
}

.form-group label {
  font-size: 16px;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.iti__country {
  display: block !important;
}

.iti__selected-flag {
  border-right: 1px solid #dae5eb;
}

.iti {
  width: 100%;
}
.iti__country-list {
  max-width: 350px;
  overflow-x: visible !important;
}

.file-upload-wrap {
  height: 38px;
}

.file-upload {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 38px;
  border: 1px solid #dae5eb;
  padding: 6px;
  z-index: 1;
  border-radius: 4px;
}

.file-upload span {
  padding: 0 8px;
  height: 25px;
  background-color: #f5f5f5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  color: #929495;
  font-size: 14px;
  width: 67px;
}

.form-control-file {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  background: none;
}

.active2 p {
  color: green !important;
}

.stepper-login h3 {
  color: #a9a9a9;
  font-size: 16px;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.stepper-login h3 span {
  color: #bd212f;
}


.wizard-item span { 
    color: #25AE7E;
    font-size: 12px;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
    position: absolute;
    bottom: -20px;
}


.step-icon-green { 
  z-index: 3;
  transition: 0.4s ease;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 20px;
  border: 2px solid #25AE7E;
  color: #25AE7E;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  background-color: #25AE7E;
  position: absolute;
}

.step-icon-green img { 
  width: 18px;
}

/* responsive  */

@media (max-width: 1280px) {
  .form-group label {
    font-size: 14px;
  }
}

@media (max-width: 1230px) {
  .step-form-body .col-md-4,
  .step-form-body .col-md-3,
  .step-form-body .col-md-6,
  .step-form-body .col-md-12 {
    padding-left: 5px;
    padding-right: 5px;
  }

  .step-form-head {
    padding: 10px 36px;
  }
}

@media (max-width: 1024px) {
  .wizard {
    width: 250px;
  }

  .stepper-form-wrapper {
    width: calc(100% - 260px);
  }

  .stepper-login h3 {
    line-height: 20px;
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .stepper-form-wrapper {
    width: 100%;
  }

  .wizard {
    width: 100%;
    padding: 20px 10px;
  }

  .stepper-wrap > .d-flex {
    flex-direction: column !important;
  }

  .stepper-form-wrapper {
    margin-top: 20px;
  }

  .wizard-list {
    width: 100%;
    flex-direction: row !important  ;
  }

  .wizard-item > .d-flex {
    flex-direction: column;
  }

  .wizard-item p {
    font-size: 12px;
  }

  .wizard-bar {
    height: 2px;
    bottom: auto;
    top: 15px;
    width: 80px !important;
    left: auto;
    /* transform: translateY(-50%); */
    /* top: auto; */
    right: -37px;
  }

  .wizard-item {
    margin-bottom: 20px;
  }

  .stepper-wrap {
    padding-top: 24px;
  }
}

.mobile-show {
  display: none;
}

.mobile-hide {
  display: block;
}


#edit-form .wizard-list { flex-direction: row !important; width:100%}
#edit-form .wizard { width: 100%; padding:20px;}
#edit-form  .wizard-item{text-align:center; height:50px}
#edit-form .d-flex { flex-direction: column; }
#edit-form .wizard-item .step-icon {color:#222}
#edit-form .step-info span { display:none}
#edit-form .wizard-bar { display:none}
#edit-form .wizard-item .step-icon {margin:auto}
#edit-form .step-icon-green {left: 39%;}
#edit-form .stepper-form-wrapper { width: 100%; margin-top: 30px;}
#edit-form .step-form-body {
    padding: 20px 20px;
}
#edit-form .step-form-head {
    padding: 20px 20px;
}
@media (max-width: 768px) {
  .wizard {
    display: none;
  }

  .mobile-show {
    display: flex;
  }

  .mobile-hide {
    display: none;
  }

  .form-button-wrapper {
    padding: 16px 34px 0px 45px;
    text-align: end;
  }

  .form-button-wrapper button {
    display: inline-block;
  }

  .btn {
    padding: 2px 30px;
  }
}

@media (max-width: 576px) {
  .step-form-body {
    padding-left: 25px;
    padding-right: 25px;
  }

  .step-form-head {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 25px;
  }

  .form-button-wrapper {
    padding: 0px 34px 18px 45px;
    text-align: end;
}

  .form-sub-title { 
    font-size: 14px;
  }

}
