.selection-auto {
  background-color: #112929;
  background: linear-gradient(to bottom, #2C4545,#112929, #112929); /* фон */
  color: #ffffff;
  padding: 40px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* щоб фон не вилазив за межі */
  position: relative;
}

.selection-auto-wrapper {
  max-width: 790px;
  z-index: 3;
}

.selection-auto-title {
  z-index: 3;
  font-size: 50px;
  line-height: 1.75;
  font-weight: 400;
  text-transform: uppercase;
  background-position: center center;
  text-align: center;
  height: 147px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-image: url(../images/selectION.webp);
  background-position: center center;
  background-size: 700px 140px;
  background-repeat: no-repeat;
  margin-bottom: 20px;
}

.selection-auto-subtitle {
  z-index: 3;
  font-size: 26px;
  color: #87e37b;
  text-align: center;
  line-height: 1.75;
  font-weight: 400;
}

.selection-auto-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.form.main-form {
  position: relative;
  z-index: 3;
}

.register-form {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 760px;
  margin: 24px auto 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(17, 41, 41, 0.55);
  backdrop-filter: blur(4px);
}

.register-form .block-center__wrapper {
  width: 100%;
}

.register-form .form-group {
  margin-bottom: 12px;
}

.register-form .w-input {
  width: 100%;
  height: 60px;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 20px;
  color: #111;
  box-sizing: border-box;
}

.register-form .w-input:focus {
  outline: 2px solid #00e016;
  outline-offset: 1px;
}

.register-form .btn_send {
  background-color: #d04b00;
  width: 100%;
  min-height: 60px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(255, 94, 0, 0.5), 0 3px 6px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.register-form .btn_send:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(255, 94, 0, 0.6), 0 4px 8px rgba(0, 0, 0, 0.45);
}

.selection-auto-list-title {
  font-size: 24px;
  position: relative;
  z-index: 3;
  margin-bottom: 20px;
  width: 100%;
  text-align: start;
}

.selection-auto-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  >img {
    margin: 15px;
    cursor: pointer;
    width: 160px;
    height: 160px;
  }
}

.active-item {
  border: 2px solid #00e0167d;
  border-radius: 50px;
  box-shadow: 0 0 10px #00e016;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.selection-auto-fuel-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#auto-fuel-item-1,#auto-fuel-item-2,#auto-fuel-item-3 {
  width: 250px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d04c001c;
  margin: 0 10px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid white;
}

.active-fuel {
  background-color: #d04b00;
  color: white;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px #00e016;
  transform: scale(1.05);
  transition: all 0.3s ease;
}


.budget-range-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0;
}

.budget-range-wrapper {
  position: relative;
  min-width: 100%;
  max-width: 320px;
}

.range-value {
  position: absolute;
  top: -15px;
  left: 0px;
  transform: translateX(-50%);
  background: white;
  color: #000;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  pointer-events: none;
}

.budget-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #00e016 0%, #ffffff 0%);
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  margin-top: 30px;
}

.budget-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 2px solid #00e016;
  box-shadow: 0 0 5px #00e016;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  position: relative;
  z-index: 2;
}

.budget-range::-webkit-slider-thumb:hover {
  background: #00e016;
  transform: scale(1.1);
}

.budget-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 2px solid #00e016;
  box-shadow: 0 0 5px #00e016;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.budget-range::-moz-range-thumb:hover {
  background: #00e016;
  transform: scale(1.1);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 14px;
  color: white;
}

.main-form__input {
  width: 100%;
  margin-bottom: 15px;
}

.form__input {
  width: calc(100% - 30px);
  height: 60px;
  padding: 0 15px;
  font-size: 22px;
  border: none;
  border-radius: 5px;
}

.form__input:focus {
  border:none
}

.buttonSend {
  background-color: #d04b00;
  width: 100%;
  height: 60px;
  color: white;
  font-size: 20px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 6px 14px rgba(255, 94, 0, 0.5), 0 3px 6px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  cursor: pointer;
  margin-top: 30px;
}

.main-form__button {
  width: 100%;
}

.iti {
  width: 100%;
}

.number-input {
  width: 100%;
}

.iti__selected-dial-code { 
  color: black;
}

.error-message {
  margin-top: 5px;
}

.selection-auto-bg {
  position: absolute;
  top: -300px;
  right: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover; /* картинка розтягується */
  opacity: 0.2; /* якщо треба трохи затемнити */
  z-index: 0; /* фон під контентом */
}

.selection-auto-bg-2 {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 500px;
  height: 500px;
  object-fit: cover; /* картинка розтягується */
  opacity: 0.35; /* якщо треба трохи затемнити */
  z-index: 0; /* фон під контентом */
}

.selection-auto-bg-3 {
  position: absolute;
  bottom: 0px;
  right: -300px;
  width: 600px;
  height: 600px;
  object-fit: cover; /* картинка розтягується */
  opacity: 0.55; /* якщо треба трохи затемнити */
  z-index: 0; /* фон під контентом */
}

 

@media (max-width: 980px) {

  .selection-auto-title {
    font-size: 44px;
  }

  .selection-auto-subtitle {
    font-size: 20px;
  }

  .selection-auto-wrapper {
    max-width: 100%;
  }

  .selection-auto-list {
    justify-content: space-evenly;
  }

  .selection-auto-fuel-list {
    display: flex;
    flex-wrap: wrap;
  }

  #auto-fuel-item-1,#auto-fuel-item-2,#auto-fuel-item-3 {
    margin-top: 20px;
   }
}

@media (max-width: 720px) {
  #advantages-container-1,#advantages-container-3,#advantages-container-5,#advantages-container-7 {
    background-position-x: calc(20%);  
  }

  .budget-range-wrapper {
    min-width: 85%;
    max-width: 90%;

    width: 100%;
    >input {
      /* max-width: 92%; */
      align-self: center;
    }
  }

  .selection-auto-list {
    >img {
      max-width: 140px;
      max-height: 140px;
    }
  }

  .selection-auto-title {
    background-size: contain;
  }

  .register-form {
    padding: 16px;
  }

  .register-form .w-input {
    height: 54px;
    font-size: 18px;
  }

  .register-form .btn_send {
    min-height: 54px;
    font-size: 18px;
  }
}