.footer-form-container{
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: url(images/bg-feedback.png) center no-repeat;
    background-size: cover;
    border-radius: var(--border-radius);
    padding: 20px 24px;
    margin-top: -80px;
}

@media(min-width: 992px){
    .footer-form-container{
        margin-top: -16%;
    }
}

@media(min-width: 1400px){
    .footer-form-container{
        padding: 44px 79px;
    }
}

.footer-form-title{
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0.005em;
    color: #fff;
    margin-bottom: 12px;
}

@media(min-width: 992px){
    .footer-form-title{
        font-size: 40px;
        line-height: 50px;
        margin-bottom: 24px;
    }
}

.footer-form-desc{
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.005em;
    color: #fff;
    margin-bottom: 14px;
}

@media(min-width: 992px){
    .footer-form-desc{
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 0;
    }
}

.footer-form-container form{
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media(min-width: 768px){
    .footer-form-container form{
        flex-direction: row;
        gap: 8%;
    }

    .footer-form-header{
        min-width: 40%;
        max-width: 40%;
    }
}

@media(min-width: 992px){
    .footer-form-container form{
        flex-direction: row;
        gap: 16.5%;
    }
}

div.footer-form-container input[type="text"],
div.footer-form-container input[type="tel"], 
div.footer-form-container textarea, 
div.footer-form-container select {
    color: #fff;
    background-color: var(--primary-color-hover);
    padding: 11px 16px;
}

@media(min-width: 768px){
    div.footer-form-container input[type="text"],
    div.footer-form-container input[type="tel"], 
    div.footer-form-container textarea, 
    div.footer-form-container select {
        width: 100%;
        height: 52px;
    }
}

.footer-form-container select {
    -webkit-appearance: none;
    background-image: url(images/arrow-white.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 24px) center;
    background-size: 16px;
    padding-right: calc(24px* 2);
}

.footer-form-container option{
    color: #fff;
}

.footer-form-container input::-moz-placeholder { font-family: var(--font-family); color: #70C2A3; }
.footer-form-container input::-webkit-input-placeholder { font-family: var(--font-family); color: #70C2A3; }
.footer-form-container input:-ms-input-placeholder { font-family: var(--font-family); color: #70C2A3; }
.footer-form-container input::-ms-input-placeholder { font-family: var(--font-family); color: #70C2A3; }
.footer-form-container input::placeholder { font-family: var(--font-family); color: #70C2A3; } 

.footer-form-agree{
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.005em;
    margin-top: 12px;
}

.footer-form-agree span{
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.7;
}

.footer-form-agree a{
    color: #F5F7F8;
    opacity: 0.7;
    text-decoration: none;
}

.footer-form-agree a:hover{
    color: #F5F7F8;
    opacity: 1;
}

.footer-form-container .input-error input[type="text"], 
.footer-form-container .input-error input[type="tel"]{
    border: 1px solid #ff8282;
}

.input-checkbox.footer-form-agree input + label{
    line-height: 24px;
}

.input-checkbox.footer-form-agree input:checked + label:before{
    border-color: #fff;
}

.input-checkbox.footer-form-agree input:checked + label:after{
    top: 3px;
    left: 3px;
}

.footer-form-container .input-errortext{
    position: absolute;
    top: 100%;
    left: 0;
    color: #ff8282;
    font-size: 12px;
    padding: 5px 0;
}

.form-result-success{
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 20px;
    color: #fff;
}