.order {
  margin-bottom: 10rem;
  padding: 0 4rem;
}

.form-container {
  max-width: 46.6rem;
  width: 100%;
  margin: 0 auto;
}

.form__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 6rem;
}

.form__step {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: center;
  justify-content: center;
}

.form__step-text {
  opacity: 0.5;
}

.form__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.form__step.active .form__step-num {
  background-color: var(--color-primary);
  color: var(--color-black);
}

.tab {
  display: none;
  flex-direction: column;
  gap: 2rem;
}

.tab.active {
  display: flex;
}

.input-group {
  width: 100%;
  padding: 1rem;
  border-bottom: 1px solid var(--color-white);
  opacity: 0.5;
}

.order-input {
  background-color: transparent;
  color: var(--color-white);
  opacity: 0.5;
}

.order-select {
  width: 100%;
  background-color: var(--color-black);
  color: var(--color-white);
}

.order-textarea {
  width: 100%;
  color: var(--color-white);
  opacity: 0.5;
  background-color: transparent;
}

.form-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.input-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 1.5rem 0.5rem;
  opacity: 0.5;
  border: 1px dashed #d9d9d9;
  border-radius: 1rem;
  flex-basis: 15rem;
}

.input-left p {
  margin-bottom: 1.5rem;
}

.input-left {
  flex-basis: 26.6rem;
}

.input-file-icon {
  width: 2.5rem;
  height: 2.5rem;
}

.input-file-text a {
  text-decoration: underline;
}

.form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5.5rem;
}

.form__prev,
.form__next,
.form__send {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 600;
  cursor: pointer;
}

.form__prev span,
.form__next span,
.form__send span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 100%;
  border: 1px solid var(--color-primary);
}

.form__send {
  background: transparent;
  color: #fff;
}

.priceRangeLabels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.startPriceLabel {
  position: absolute;
  left: 0;
  bottom: -20px;
}

.currentPriceLabel {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
}

.endPriceLabel {
  position: absolute;
  right: 0;
  bottom: -20px;
}

/* RANGE SLIDER */
.range {
  margin-bottom: 3rem;
}

.range-title {
  margin-bottom: 7rem;
}
.range-slider {
  position: relative;
  width: 100%;
}

.range-slider__range {
  width: 100%;
  height: 1px;
  background: var(--color-primary);
  outline: none;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  z-index: 1;
}

.range-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--color-white);
  border-radius: 50%;
  border: 2px solid #333;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.range-slider__value {
  position: absolute;
  top: -40px;
  font-size: 1.2rem;
  line-height: 2rem;
  color: var(--color-white);
  opacity: 0.5;
}

.range-slider__value--start {
  left: 0;
}

.range-slider__value--end {
  right: 0;
}

.range-slider__value--current {
  left: 50%;
  transform: translateX(-50%);
  top: 4rem;
  opacity: 1;
}

.input-wrapper {
  width: 100%;
  /* padding: 1rem; */
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
}

.input-wrapper input {
  flex: 1;
  background: transparent;
  padding: 1rem;
  color: var(--color-primary);
}

#btn-add,
.btn-remove {
  background: transparent;
  color: var(--color-primary);
  font-size: 2.5rem;
  opacity: 1;
  padding: 1rem;
  cursor: pointer;
}

.radio-button {
  position: relative;
  display: flex;
  gap: 1.3rem;
  align-items: center;
}

.radio-button input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-button-style {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1px solid #ccc;
  margin-right: 5px;
  text-align: center;
  font-size: 11px;
  line-height: 14px;
  color: #fff;
  /* background-color: #fff; */
  border-radius: 3px;
}

.radio-button input[type="radio"]:checked + .radio-button-style::after {
  content: "\2713";
  color: #fff;
}

.input-title {
  margin-bottom: 2.3rem;
}

/* hide the default checkbox */
.toggle-btn input {
  display: none;
}

/* style the slider */
.slider {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  margin-right: 10px;
  background-color: #ccc;
  border-radius: 30px;
  transition: all 0.3s;
}

/* style the slider when it's checked */
.slider:before {
  position: absolute;
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: white;
  top: 0;
  left: 0;
  transition: all 0.3s;
}

/* style the "Yes" and "No" text */
.text {
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
}

.yes {
  margin-right: 5px;
}

.no {
  margin-left: 5px;
}

/* style the slider when it's checked */
input:checked + .slider:before {
  transform: translateX(30px);
}

/* style the background when it's checked */
input:checked + .slider {
  background-color: #6dc391;
}

.toggle-btn {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.terms label {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .order {
    margin-bottom: 10rem;
    padding: 0 1rem;
  }

  .form__steps {
    margin-bottom: 5rem;
  }
}

@media (max-width: 480px) {
  .input-file {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 1.5rem 0.5rem;
    opacity: 0.5;
    border: none;
    flex-basis: initial;
  }
}
