#step4 .form-group {
  position: relative;
  margin-bottom: 15px;
}

#step4 input {
  width: 100%;
  font-size: 16px;
  color: #333;
  position: relative;
  background: rgb(250, 250, 250);
  border: 2px solid rgb(235, 235, 235);
  gap: 4px;
  display: flex;
  flex-flow: row nowrap;
  -webkit-box-align: center;
  align-items: center;
  height: 56px;
  border-radius: 16px;
  padding: 12px 16px;
}

#step4 input:focus {
  outline: none;
  background: rgb(250, 250, 250);
}

#step4 label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  transition: all 0.3s ease;
  pointer-events: none;
}

#step4 input:focus + label,
#step4 input:not(:placeholder-shown) + label {
  top: 0px;
  left: 20px;
  font-size: 14px;
  padding: 0 5px;
  color: #666;
}

#step4 .error {
  position: absolute;
  bottom: -3px;
  left: 10px;
  padding: 0px 6px;
  font-size: 12px;
  border-radius: 5px;
  visibility: hidden;
  opacity: 0;
  background-color: #fff;
  color: #ff0000;
  border: 1px solid #ff0000;
  transition: opacity 0.3s ease-in-out;
}

#step4 .error::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 20px;
  border: 5px solid transparent;
  border-bottom-color: #ff0000;
}

#step4 .error.active {
  visibility: visible;
  opacity: 1;
}

#step4 button[type='submit'] {
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: #333;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
}

#step4 button[type='submit']:hover {
  background-color: #666;
}

input[type='text'],
input[type='tel'],
input[type='email'] {
  position: relative !important;
}

.form-section-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 700;
}

.form-section-title span {
  color: #f14635;
}
.form-wrap + .form-wrap{
  margin-top: 16px;
}
.form-wrap{
  text-align: left;
}
.form-wrap input {
  width: 100%;
  height: 50px;
  padding: 5px 0 5px 14px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  background: #fff;
  line-height: 28px;
  box-sizing: border-box;
  /* margin-bottom: 16px; */
  transition: 0.3s all;
  font-size: 12px;
}

.form-wrap input:focus {
  outline: none;
  border-color: #f14635;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  color: #fff !important;
  font-size: 16px;
  line-height: 18px;
  border: none;
  border-radius: 4px;
  background-color: #f14635;
  cursor: pointer;
  width: 100%;
  transition: 0.3s all;
  margin-bottom: 12px;
}

.form-section-text {
  font-size: 12px;
  line-height: 14px;
  font-weight: 500;
  text-align: center;
}

span.error {
  /* position: absolute; */
  bottom: 0px;
  left: 12px;
  font-size: 13px;
  color: red;
  z-index: 999;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(168 168 168 / 70%);
  z-index: 4000;
}

#loader img {
  position: absolute;
  width: 130px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
