.form-one-block {
  background-color: var(--background_secondary);
  border-radius: 5px;
  padding: 40px;
  display: flex;
  position: relative;
  margin-bottom: 120px;
  border-radius: 10px;
  /* justify-content: space-between; */
  gap: 30px;
}

.form-one-block__left-side {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 670px;
  position: relative;
  z-index: 1;
  gap: 30px;
}

.form-one-block__title:not(:last-child) {
  color: var(--head-secondary);
  margin-bottom: 10px;
}

.form-one-block__subtitle {
  color: var(--secondary-text);
}


.form-one-block__form .form-v2__row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}


.form-one-block__form .form-v2__btn {
  flex: 1;
    width: 100%;  
}

.form-one-block__form .form-v2__btn .btn {
  padding: 20px 40px;
  width: 100%;
  height: 100%;
}

.form-v2__phone-wrapper {
  position: relative;
  width: 100%;
  max-width: 444px;
}

.form-v2__phone-input {
  background: var(--secondary-text);
  border-radius: 5px;
  width: 100%;
  padding: 20px 15px;
  border: none;
  color: inherit;
  max-width: 444px;
  border-radius: 5px;
}

.form-v2__phone-placeholder {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: var(--secondary-text);
  opacity: 0.7;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-v2__phone-input:focus + .form-v2__phone-placeholder,
.form-v2__phone-input:not(:placeholder-shown) + .form-v2__phone-placeholder {
  opacity: 0;
  transform: translateY(-50%) scale(0.9);
}

.form-one-block__right-image {
  position: relative;
  top: 0;
  right: 0;
  /* height: 100%; */
  width: 100%;
  max-height: 282px;
  max-width: 697px;
  object-fit: contain;
  object-position: center right;
}

@media (max-width: 1199px) {
  .form-one-block__right-image {
    max-width: 580px;
    opacity: 0.3;
  }
}

@media (max-width: 1104px) {
  .form-one-block__right-image {
    display: none;
  }
}

@media (max-width: 767px) {
  .form-one-block {
    padding: 30px 25px;
  }
  
  .form-one-block__right-image {
    display: none;
  }
  
  .form-one-block__form {
    max-width: 100%;
    margin-top: 20px;
  }
  
  .form-one-block__form .form-v2__row {
    flex-wrap: wrap;
  }
  
  .form-one-block__form .form-v2__btn {
    flex: 0 0 100%;
  }
  
  .form-one-block__form .form-v2__btn .btn,
  .form-one-block__form .form-v2__input.label input  {
    width: 100%;
  }

  .form-v2__input.label,
  .form-one-block__form .form-v2__input input {
    max-width: unset;
  }
}

@media (max-width: 575px) {
  .form-one-block {
    padding: 20px 15px;
  }
  
  .form-one-block__form .form-v2__row {
    flex-direction: column;
  }
  
  .form-one-block__form .form-v2__btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .form-one-block {
    flex-direction: column;
  }
  
  .form-one-block__right-image {
    display: none;
  }
  
  .form-one-block__form .form-v2__row {
    flex-direction: column;
  }
  
  .form-one-block__form .form-v2__btn {
    width: 100%;
  }

}

@media (max-width: 480px) {
    .form-one-block {
        margin-bottom: 40px;
    }
}