.form__field {
    margin-bottom: 20px;
    position: relative;
}

.form__field * {
    transition: all 0.2s;
}

.form__field__value {
    border-radius: 16px;
    border: 1px solid #ecece4;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    height: 56px;
    line-height: 22px;
    padding: 30px 16px 10px 16px;
    width: 100%;
}

.form__field_error .form__field__value {
    border: 1px solid #f54c4e;
}

.form__field__value::placeholder {
    color: #bcbaa8;
}

.form__field__value:focus {
    border-color: #b57ed1;
}

.form__field__value.error {
    border: 1px solid #ff6363;
}

.form__actions {
    font-size: 0;
    padding-top: 20px;
}

.form__actions .button {
    border-radius: 28px;
    font-size: 18px;
    height: 56px;
    line-height: 56px;
    padding: 0 24px;
    width: 100%;
}

.button + .button {
    margin-top: 8px;
}

.form__text_success,
.form__text_error {
    text-align: center;
    margin-bottom: 30px;
}

.form__field__label {
    bottom: 18px;
    color: #bcbaa8;
    display: block;
    font-size: 14px;
    height: 20px;
    left: 16px;
    line-height: 20px;
    pointer-events: none;
    position: absolute;
    right: auto;
    top: 18px;
}

.form__field input:autofill + .form__field__label,
.form__field input:not(:placeholder-shown) + .form__field__label,
.form__field input:focus + .form__field__label {
    top: 10px;
}

.form__field__error {
    color: #f54c4e;
    display: none;
    font-size: 12px;
}

.error .form__field__error {
    display: block;
}

.form__field_password .show-password {
    background-image: url(/images/new-frontend/show-password.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: auto;
    cursor: pointer;
    display: block;
    height: 20px;
    left: auto;
    position: absolute;
    right: 16px;
    top: 18px;
    width: 20px;
}

.form__field_password_shown .show-password {
    background-image: url(/images/new-frontend/show-password-shown.svg);
}

.h-captcha {
    text-align: center;
}

@media (max-width: 991px) {
    .feedback-popup__title {
        font-size: 18px;
        text-align: center;
    }

    .form__field {
        margin-bottom: 16px;
    }

    .form__actions {
        background: #fbfbf5;
        bottom: 0;
        left: 0;
        padding: 24px 16px 40px 16px;
        position: absolute;
        right: 0;
        top: auto;
    }

    .form__actions .form__cancel {
        display: none;
    }
}
