.save-search-form .button-loading {
  border: 1px solid #c4cdd5;
  cursor: default;
  text-shadow: none;
  color: transparent !important;
  position: relative;
  transition: border-color 0.2s ease-out;
}
.save-search-form .button-loading:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border-width: 3px;
  border-style: solid;
  margin-top: -9px;
  margin-left: -9px;
  width: 18px;
  height: 18px;
  animation: button-loading-spinner 1s linear infinite;
  border-color: #ffffff;
  border-bottom-color: transparent;
}
.save-search-form .button-loading:hover, .save-search-form .button-loading:focus, .save-search-form .button-loading:active {
  color: transparent;
}
.save-search-form .save-search-message {
  margin: 0 0 20px 0;
  padding: 15px 30px 15px 15px;
  border-left: 5px solid #eeeeee;
  border-radius: 0;
  display: none;
  width: 100%;
}
.save-search-form .save-search-message.save-search-success-message {
  background-color: #c0edf1;
  border-color: #58d0da;
  color: #000;
}
.save-search-form .save-search-message.save-search-error-message {
  background-color: #faeaa9;
  border-color: #f3cc31;
  color: #000;
}
.save-search-form .save-search-button {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  color: #ffffff;
  background-color: var(--primary-color);
}
.save-search-form .save-search-button:hover, .save-search-form .save-search-button:focus {
  color: #ffffff;
  background-color: var(--primary-color-hover);
  border-color: var(--primary-color-hover);
}

.form_step {
  display: none;
}

.form_step.active {
  display: block;
}

.savesarchmain {
  max-width: 1100px !important;
  margin: auto;
  box-shadow: 0px 4px 43.2px 4px rgba(0, 0, 0, 0.15);
  padding: 0 5rem;
  padding-top: 4rem;
  padding-bottom: 6rem;
  border-radius: 14px;
  background: #fff;
  position: relative;
  margin-top: 5rem;
  margin-bottom: 7rem;
}

#searchstepForm button.next-btn {
  background: #228b75;
  font-family: "barbou";
  padding: 10px 21px;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#searchstepForm .form-navigation {
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
}

#searchstepForm .progress-container {
  width: 100%;
  height: 20px;
  background-color: #eee;
  margin-top: 30px;
  border-radius: 5px;
  overflow: hidden;
}

#searchstepForm .progress-bar {
  height: 100%;
  background-color: #228b75;
  width: 0%;
  transition: width 0.3s ease;
}

#searchstepForm h3 {
  color: rgb(34, 139, 117);
  font-weight: 500;
  text-align: center;
}

#searchstepForm .sub_heading {
  font-family: "barbou";
  text-align: center;
  font-size: 19px;
  margin-bottom: 3.5rem;
}

.form_footer ul.list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px;
  justify-content: space-around;
  align-items: center;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.form_footer .icon_box_left {
  padding: 0 3rem;
  font-size: 16px;
  line-height: 1.3;
}

.icon_box_left > svg {
  height: 73px;
  width: auto !important;
}

#searchstepForm button.prev-btn {
  background: transparent;
  font-family: "barbou";
  color: #000;
  padding: 0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.form_step[data-step="3"] .question {
  gap: 1.5rem;
}

.form_step[data-step="3"] .question svg {
  height: 55px;
}

div#other-category-wrapper {
  width: 100%;
  margin-top: 2rem;
}

.form_step input[type=number] {
  border: 2px solid rgb(219, 219, 219);
  margin-bottom: 1rem;
}

div[data-step="5"] .question {
  gap: 0 14px;
}

div[data-step="5"] .question .form-group {
  width: calc(50% - 7px);
}

div[data-step="5"] .question .form-group:last-child {
  width: 100%;
}

div[data-step="5"] .form-group.s-gender {
  width: calc(20% - 7px);
}

div[data-step="5"] .form-group.l-name {
  width: calc(40% - 7px);
}

div[data-step="5"] .form-group.f-name {
  width: calc(39% - 7px);
}

div[data-step="5"] .radio-group label {
  font-family: "Antic Slab";
  position: relative;
  padding-left: 25px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.custom-radio {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.custom-radio input[type=radio] {
  position: absolute;
  opacity: 0;
}

.custom-radio span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border: 2px solid #dbdbdb;
  border-radius: 50%;
  background: #fff;
  transition: all 0.3s ease;
}

.custom-radio input[type=radio]:checked + span::before {
  background-color: #228b75;
  box-shadow: inset 0 0 0 2px white;
}

#searchstepForm button[type=submit] {
  background: #228b75;
  font-family: "barbou";
  padding: 10px 21px;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

p.error-message {
  text-align: center;
  margin-top: 1rem !important;
}

.field-error {
  margin-top: -12px;
  margin-bottom: 10px;
}

.save-success {
  padding: 2rem 5rem;
  text-align: center;
  padding-bottom: 0;
}

.save-success h3 {
  padding-bottom: 1rem;
  margin-top: 2rem;
}

.save-success h3 {
  color: rgb(34, 139, 117);
  font-weight: 500;
  text-align: center;
}

.success-img img {
  width: 75px;
  filter: brightness(1.1);
}

.save-success p {
  font-family: "barbou";
  font-size: 20px !important;
  line-height: 1.5 !important;
}

.save-success hr {
  width: 55%;
  margin: auto;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid;
}

select#gender {
  box-shadow: none;
  font-size: 16px;
  line-height: 26px;
  border-radius: 8px;
  padding: 5px;
  width: 100%;
  background: #ffffff;
  color: #000000;
  font-weight: 400;
  border: 2px solid rgb(219, 219, 219);
  margin-bottom: 1rem;
  height: 55px;
}

.tf-btn.primary.immobilien-btn {
  color: #ffffff;
}
