
.popap-feadback-bg {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 28, 41, .4);
    transition: .2s ease;
    display: flex;
    justify-content: center;
    align-items: center
}

.popap-feadback__title {
    color: #fff
}
.popap-feadback-bg.active {
    opacity: 1;
    visibility: visible;
    transition: .2s ease;
    z-index: 10000
}

.popap-feadback {
    height: 100%;
    padding: 58px 32px 60px 32px;
    background: url(../assets/images/feedback_bg.jpg) no-repeat 0 0;
    background-size: cover;
    position: relative
}

.popap-feadback__close {
    position: absolute;
    top: 18px;
    right: 16px;
    display: flex;
    cursor: pointer
}

.popap-feadback__close svg {
    width: 24px;
    height: 24px;
    fill: #d9d9d9;
    opacity: 1;
    transition: .2s ease
}

.popap-feadback__form {
    display: flex;
    flex-direction: column;
    margin-top: 42px
}

.popap-feadback__form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 29px
}

.popap-feadback textarea {
    height: 144px
}

.popap-feadback__bottom {
    margin-top: 29px;
    display: flex;
    flex-direction: column;
    gap: 29px
}

.popap-feadback .input-text_captcha img {
    display: block;
    margin: 20px auto -10px;
    max-width: 100%;
    width: auto;
    height: auto;
}

.input-text {
    position: relative;
    width: 100%
}

.input-text .placeholder {
    position: absolute;
    top: 13px;
    left: 26px;
    pointer-events: none;
    transform: translate(0, 0);
    transition: .5s ease-out;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    line-height: 28px;
    font-weight: 500
}

.input-text .placeholder span {
    color: #fff
}

.input-text__error {
    display: none;
    font-size: 14px;
    line-height: 14px;
    font-weight: 500;
    color: #f60
}

.input-text input, .input-text textarea {
    resize: none;
    opacity: 1
}

.input-text.error input {
    border: 1px solid #f60
}

.input-text.error .input-text__error {
    display: block;
    bottom: -15px;
    left: 0;
    position: absolute;
    font-size: 14px;
    line-height: 15px;
    font-weight: 400
}

.input-text.error .placeholder {
    opacity: 0;
    visibility: hidden
}

.input-text.error.focused .input-text__error {
    display: block
}

.input-text.focused input {
    border: 1px solid rgba(51, 102, 204, .8)
}

.input-text.focused textarea {
    border: 1px solid rgba(51, 102, 204, .8)
}

.input-text.focused .placeholder {
    font-size: 14px;
    line-height: 14px;
    top: -24px;
    left: 0;
    transition: .5s ease-out
}

.input-text.focused .input-text__error {
    display: none
}

.input-text.focused.error input {
    border: 1px solid #f60
}

.input-text.success input {
    border: 1px solid transparent !important
}

.popup-form-result {
    text-align: center;
    color: #f60;
    font-size: 26px;
    font-weight: bolder
}

.checkbox-other {
    display: flex;
    gap: 16px;
    cursor: pointer;
    user-select: none;
    position: relative
}

.checkbox-other.error input {
    border: 1px solid #f60
}

.checkbox-other.error .input-text__error {
    display: block;
    bottom: -15px;
    left: 0;
    position: absolute;
    font-size: 14px;
    line-height: 15px;
    font-weight: 400
}

.checkbox-other input[type=checkbox] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0
}

.checkbox-other span {
    display: inline-block;
    position: relative;
    padding: 0 0 0 40px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, .8)
}

.checkbox-other span a {
    color: rgba(255, 255, 255, .8);
    font-weight: 600
}

.checkbox-other span::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    position: absolute;
    background: rgba(19, 28, 41, .7);
    left: 0;
    top: 0;
    z-index: 1;
    border-radius: 5px
}

.checkbox-other span::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    position: absolute;
    left: 6px;
    top: 6px;
    z-index: 1
}

.checkbox-other input[type=checkbox]:checked + span:after {
    background-image: url(../assets/images/checkForm.svg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover
}

.btn {
    padding: 10px 31px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #36c;
    font-weight: 800;
    color: #fff;
    font-size: 16px;
    line-height: 30px;
    width: 100%;
    cursor: pointer;
    max-width: fit-content;
    gap: 20px;
    transition: background .2s ease;
    border: 1px solid transparent;
    border-radius: 5px
}

.btn img {
    display: flex;
    width: 24px;
    height: 24px;
    transform: rotate(-90deg)
}

input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], textarea {
    font-family: Manrope, Arial, Helvetica, sans-serif;
    outline: 0;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    padding: 11px 60px 11px 24px;
    background: rgba(19, 28, 41, .7);
    color: #fff;
    font-size: 14px;
    line-height: 28px;
    font-weight: 400;
    width: 100%;
    border-radius: 5px;
    border: 1px solid transparent
}
@media all and (min-width: 765px) {

    .popap-feadback {
        height: auto;
        max-width: 600px;
        border-radius: 14px
    }

    .popap-feadback .input-text_captcha img {
        position: absolute;
        right: 10px;
        top: -14px
    }

    .checkbox-other span {
        padding: 0 0 0 56px
    }

    .checkbox-other span::before {
        width: 40px;
        height: 40px;
        border-radius: 8px
    }

    .checkbox-other span::after {
        width: 20px;
        height: 20px;
        left: 10px;
        top: 10px
    }
}
@media all and (min-width: 980px) {
    .popap-feadback {
        max-width: 900px;
        padding: 58px 62px
    }

    .popap-feadback__close {
        top: 20px;
        right: 20px
    }

    .popap-feadback__form-wrapper {
        display: grid;
        grid-template-columns:1fr 1fr
    }

    .popap-feadback textarea {
        height: 82%
    }

    .popap-feadback__bottom {
        flex-direction: row;
        justify-content: space-between;
        gap: 100px;
        align-items: center
    }

    .popap-feadback .input-text_captcha img {
        height: 35px;
        margin: 7px 0 0 30px;
        top: 1px
    }

    .popap-feadback .input-text_comment {
        grid-column: 2/3;
        grid-row: 1/4
    }

    .input-text .placeholder {
        font-size: 16px;
        line-height: 40px;
        top: 5px
    }
}

@media all and (min-width: 1200px) {
    .capcha__img {
        top: 14px;
        right: 23px
    }

    .popap-feadback__close:hover svg {
        opacity: .7
    }

    .popap-feadback__form {
        margin-top: 56px
    }

    .popap-feadback__form-wrapper {
        column-gap: 40px;
        row-gap: 40px
    }

    .popap-feadback .input-text_captcha img {
        top: 7px
    }

    .input-text .placeholder {
        top: 11px;
        left: 24px
    }

    .checkbox-other span {
        font-size: 16px;
        line-height: 30px;
        padding: 0 0 0 72px
    }

    .checkbox-other span::before {
        width: 48px;
        height: 48px;
        border-radius: 5px;
        top: 6px
    }

    .checkbox-other span::after {
        width: 24px;
        height: 24px;
        left: 12px;
        top: 18px
    }

    .checkbox-other span a:hover {
        color: #f60
    }

    .btn:hover {
        background: #2554b4
    }
}

@media all and (min-width: 1600px) {
    .popap-feadback {
        max-width: 1325px;
        padding: 120px 137px 140px 140px
    }

    .popap-feadback__close {
        top: 36px;
        right: 45px
    }

    .popap-feadback__bottom {
        margin-top: 40px;
        gap: 310px
    }
}