.form-input.error{
    border: 1px solid red !important;
}

.form-car {
    margin: 40px 0 100px;
}

.form-car__inner {
    max-width: 1296px;
    margin: 0 auto;
}

.form-car__content {
    display: flex;
    flex-direction: column;
    background-color: #E9ECEC;
    padding: 30px;
    width: calc(100% - 770px);
}

.form-car__title {
    font-family: var(--bold-family);
    font-weight: 700;
    font-size: 38px;
    line-height: 38px;
    color: #000;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-car__subtitle {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 16.8px;
    margin-bottom: 30px;
}

.form-car__inner form {
    display: flex;
    flex-direction: row;
}

.form-car__image {
    width: 770px;
}

.form-car__image picture {
    display: block;
    width: 100%;
    height: 100%;
}
.form-car__actions{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-gap: 10px;
    margin-bottom: 10px;
}
.form-car__image picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-car__content .form-input {
    border: 1px solid var(--white);
    outline: none;
    padding: 13px 20px;
    width: calc(50% - 5px);
    background-color: #fff;
}
.form-car__content label.checkbox{
    color: #4A4F54;
}
.form-car__content label.checkbox a{
    color: #4A4F54;
    font-size: 12px;
    font-weight: 400;
}
@media(max-width: 767px){
    .form-car {
        margin: 0 0 60px;
    }
    .form-car__inner form {
        flex-direction: column;
    }
    .form-car__image {
        width: 100%;
        height: 230px;
    }
    .form-car__content {
        padding: 30px 15px;
        width: 100%;
    }
    .form-car__title {
        font-size: 26px;
        line-height: 26px;
    }
    .form-car__subtitle {
        font-size: 16px;
        line-height: 16.8px;
        margin-bottom: 15px;
    }
    .form-car__subtitle br {
        display: none;
    }
    .form-car__actions {
        flex-direction: column;
    }
    .form-car__content .form-input {
        width: 100%;
    }
}




/*popups*/
.popup {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.popup__inner {
  width: 45rem;
  height: 40.6rem;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(1.4rem);
  padding: 3rem;
  position: relative;
}

@media (max-width: 768px) {
  .popup__inner {
    width: 34.5rem;
    height: 42rem;
  }
}

.popup-success .popup__inner,
.popup-error .popup__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 20rem;
}

.popup__title {
  font-weight: 700;
  font-size: 3rem;
  line-height: 3rem;
  text-align: center;
  margin-bottom: 2rem;
  color: white;
}

@media (max-width: 768px) {
  .popup__title br {
    display: none;
  }
}

.popup__subtitle {
  color: white;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 2.16rem;
  text-align: center;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .popup__subtitle br {
    display: none;
  }
}

.popup__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.popup__item {
  width: 100%;
}

.popup__item input {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2rem;
  width: 100%;
  height: 5.6rem;
  border: 1px solid white;
  padding: 1.8rem 2rem;
  color: rgba(0, 0, 0, 0.6);
}

.popup__item button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 2rem;
  color: white;
  width: 100%;
  height: 4.9rem;
  background-color: transparent;
  border: 1px solid white;
  transition: background-color 0.2s ease-in;
  text-transform: uppercase;
}

.popup__item button:hover {
  background-color: green;
  border-color: green;
}

.popup__checkbox {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: auto;
}

.popup__checkbox label {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.popup__checkbox label a {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4rem;
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.popup__checkbox label a:hover {
  color: green;
}

.popup__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.popup__close svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}