.custom-form__wrapper .input {
    display: contents;
}
.aspro-form-isolated {
    isolation: isolate;
}
.custom-form__wrapper .form .licence_block {
    padding-bottom: 12px;
}
.custom-form__wrapper .form-inner {
    padding-top: 0;
}
.custom-form__wrapper .form--centered .form-header {
    margin-bottom: 13px;
}
.custom-form__wrapper .form--inline .form-footer {
    padding-top: 0;
}
.empty-filter-form label.font_13.color_999 {
    display: none;
}
.empty-filter-form .input {
    display: flex;
    flex-direction: column;
}

.empty-filter-form .col-xs-12 .form-group .input *:not(input):not(select):not(option) {
    display: none;
}
.empty-filter-form .col-xs-12.style_check.bx_filter .form-group .input *:not(input):not(select):not(option) {
    display: block;
}


.popup-form.hidden {
    display: none;
}

.popup-form__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-form__content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 2rem;
    max-width: 700px;
    border-radius: 12px;
    z-index: 1001;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);

    max-height: 90vh;
    overflow-y: auto;
}

.popup-form__photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.popup-form__info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.popup-form__text h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.popup-form__text p {
    margin: 0.3rem 0 0;
    color: #666;
}

.popup-form__hint {
    display: block;
    margin: 0.5rem 0 1rem;
    font-size: 0.9rem;
    color: #777;
}

.popup-form__close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: xx-large;
    cursor: pointer;
    color: #333;
}
.form-engine__container .btn {
    width: 100%;
}
.form-engine__container {
    display: flex;
    align-items: flex-start;
    border-radius: 12px;
    padding: 20px 30px;
    max-width: 750px;
    margin: 20px auto;
    gap: 55px;
}

.consultation-card__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    text-align: center;
}

.consultation-card__photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.consultation-card__name {
    font-weight: 600;
    line-height: 1.3;
    color: #000;
    font-size: medium;
}

.consultation-card__role {
    font-size: small;
    line-height: 1.3;
    color: #777;
    margin-top: 8px;
}

body:has(.popup-form.open) {
    overflow: hidden;
}


@media (max-width: 775px) {
    .form-engine__container {
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 30px;
    }
    .popup-form__text h3 {
        font-size: 1.4rem;
        text-align: center;
    }
    .consultation-card__left {
        width: auto;
    }
    .consultation-card__name {
        margin-top: 15px;
    }
}
@media (max-width: 550px) {
    .popup-form__content {
        max-width: 100vw;
        width: 90%;
    }
}