.from-wrapper-container {
  position: absolute;
  top: 16rem;
  z-index: 9;
  right: 12rem;
}

.form-container {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  height: fit-content;
  margin: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
  margin-bottom: 10px;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.form-group {
  margin-bottom: 15px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  appearance: none;
}

input.error,
select.error {
  border-color: red;
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

.radio-group {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.button {
  background-color: #febf08;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
}

.steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  align-items: center;
  font-size: 14px;
}

.steps-indicator span {
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 1280px) {
  .from-wrapper-container {
    right: 10rem;
    top: 14rem;
  }
}
@media (max-width: 1024px) {
  .from-wrapper-container {
    right: 7rem;
    top: 8rem;
  }
}
@media (max-width: 912px) {
  .from-wrapper-container {
    right: 0rem;
    top: 8rem;
  }
}

@media (max-width: 820px) {
  .from-wrapper-container {
    width: -webkit-fill-available;
    right: 0rem;
    top: 30rem;
  }
  .h-for-quote {
    position: relative;
    min-height: 900px;
  }
}

@media (max-width: 435px) {
  .from-wrapper-container {
    width: -webkit-fill-available;
    right: 0rem;
    top: 27rem;
  }
  .h-for-quote {
    position: relative;
    min-height: 850px;
  }
}

@media (max-width: 480px) {
  .form-container {
    padding: 15px;
  }
}
