.petInfoFormWrapper {
  position: relative;
  max-width: 468px;
  margin: 30px auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}

.petInfoWrapper .flexInputPet {
  display: flex;
  width: 100%;
  justify-items: center;
  align-items: center;
  gap: 18px;
}

.petInfoWrapper .flexInputPet .inputGroupAssessmentForm {
  padding-right: 100px;
}

.flexInputPet .inputGroupAssessmentForm span {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 17px;
  line-height: 100%;
  color: #0E145F;
}

#step4Section-1 .btnPrimary {
  max-width: 177px;
  width: 100%;
  margin: 0 auto;
}
.btnPrimary.loaderBtn{
  height: 46px;
}
/* addmore */
.addMorePetsWrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3px;
  font-weight: 400;
  font-size: 15px;
  text-decoration: underline;
  color: #6B6E98;
  cursor: pointer;
  margin: 10px auto 0 0;

}

.clearPetFormWrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  font-weight: 400;
  font-size: 15px;
  text-decoration: underline;
  color: #6B6E98;
  cursor: pointer;
  margin: 10px 0 0 auto;

}

/* .addMorePetsWrapper img{
margin: ;
} */
.addMorePetsWrapper:hover,
.clearPetFormWrapper:hover {
  color: #FF8462;
}

.addMorePetsWrapper:hover img {
  filter: brightness(0) saturate(100%) invert(65%) sepia(32%) saturate(1606%) hue-rotate(319deg) brightness(102%) contrast(101%);
}

.addedPetsList {
  max-width: 468px;
  margin: 30px auto -10px;
  width: 100%;
  padding-bottom: 20px;
  border-bottom: 1px solid #FFEBE5;
}

.addedPetCard {
  border: 1px solid #FF5B2E;
  background: #FEF9F5;
  ;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.addedPetHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #FEF9F5;
  cursor: pointer;
}

.addedPetName {
  font-weight: 400;
  font-size: 18px;
  line-height: 200%;
  text-align: center;
  color: #FF5B2E;
}

.addedPetActions {
  display: flex;
  gap: 13px;
}

.editBtn,
.deleteBtn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.addedPetDetails {
  padding: 0 15px;
  background: #f8f9fa;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.addedPetDetails.expanded {
  max-height: 300px;
  padding: 15px;
}

.addedPetInfo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.addedPetActions button {
  color: white;
  border: none;
  cursor: pointer;
}

.addedPetCard.collapsed .addedPetForm {
  max-height: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.addedPetCard.editing .addedPetForm,
.addedPetForm.expanded {
  max-height: 400px;
  padding: 15px;
  transition: all 0.3s ease;
}

.addedPetForm {
  background: #FEF9F5;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.addedPetForm .flexInputPet {
  display: flex;
  gap: 18px;
}

.addedPetForm .inputGroupAssessmentForm {
  margin-bottom: 0;
}

.addedPetCard.collapsed {
  transition: all 0.3s ease;
}

.addedPetCard.editing {
  transition: all 0.3s ease;
}


/* .updateBtn {
  background: #FF9575;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all ease 0.3;
  margin-top: 10px;
} */

.updateBtn:disabled {
  background: #ffead9;
  cursor: not-allowed;
  color: #eba592;
}

.updateBtn:not(:disabled):hover {
  background: #FF5B2E;
}

.flexBtnRight {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 7px;
}

.cancelBtn {
  border: 1px solid #EBEBEB;
  font-weight: 400;
  font-size: 15px;
  padding: 7px 14px;
  border-radius: 5px;
  color: #81839C;
  cursor: pointer;
  outline: none;
  background: transparent;
}

.cancelBtn:hover {
  border: 1px solid #FF5B2E;
  color: #FF5B2E;
}

.updateBtn {
  background: #FF9575;
  cursor: pointer;
  border: none;
  color: #FFFFFF;
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  padding: 7px 21px;
  border-radius: 5px;
}




@media (max-width: 575px) {
  .petInfoWrapper .flexInputPet {
    flex-direction: column;
    gap: 10px;
  }

  .petInfoWrapper .flexInputPet:last-child {
    flex-direction: row;
  }

  .petInfoFormWrapper {
    gap: 10px;
  }

  .addMorePetsWrapper {
    font-size: 14px;
    line-height: 100%;
    margin: 5px auto 0 0;
  }

  .addedPetCard.editing .addedPetForm,
  .addedPetForm.expanded {
    max-height: 500px;
    overflow-y: auto;
  }
}