.art2-form {
    position: relative;
    box-sizing: border-box;
    padding: 32px;
    border: 1px solid #C0D8DF;
    border-radius: 10px;
    overflow: hidden;
    background-image: url('https://accmedical.ru/wp-content/uploads/2026/10/567227efc3f935bed57440c56aa0f99eb61990f8-1.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 40px 0px;
}

.art2-form__inner {
    position: relative;
    z-index: 1;
}

.art2-form__title {
    margin: 0 0 18px;
    color: #003543;
    font-size: 36px;
    font-weight: 500;
    padding-bottom: 0px;
}

.art2-form__title span {
    color: #0099ba;
}

/* Контейнер формы */
.art2-form .fluentform {
    width: 100%;
}

.art2-form .frm-fluent-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}

/* Строка с полями */
.art2-form .ff-t-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.art2-form .ff-t-cell {
    flex: 1 1 0 !important;
    min-width: 0;
    margin: 0 !important;
}

/* Группы полей */
.art2-form .ff-el-group {
    width: 100%;
    margin: 0;
}

/* Поля ввода */
#fluentform_28 input.ff-el-form-control {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #E8F3F6;
    border-radius: 4px;
    outline: none;
    background: #fff;
    color: #4E7079;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}

#fluentform_28 input.ff-el-form-control::placeholder {
    color: #527482;
    opacity: 1;
}

#fluentform_28 input.ff-el-form-control:focus {
    border-color: #0196BB;
}

/* Скрываем подписи Fluent Forms */
#fluentform_28 .ff-el-input--label {
    display: none;
}

/* Согласие */
#fluentform_28 .ff-custom_html {
    width: 100%;
    margin: 0;
}

#fluentform_28 .ff-custom_html p {
    margin: 0;
}

#fluentform_28 .art2-form__consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
}

#fluentform_28 .art2-form__consent input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

#fluentform_28 .art2-form__consent-text {
    color: #577B84;
    font-size: 12px;
    line-height: 1.4;
}

#fluentform_28 .art2-form__consent-text a {
    color: inherit;
    text-decoration: underline;
}

/* Кнопка */
#fluentform_28 .art2-form .ff_submit_btn_wrapper {
    width: 100%;
    margin: 0;
}

#fluentform_28 .art2-form__submit {
    display: block;
    width: 100%;
    height: 38px;
    padding: 0 1px;
    border: none;
    border-radius: 4px;
    background: #0196BB;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Чекбокс */
#fluentform_28 .art2-form__consent input + .art2-form__consent-text {
    position: relative;
    padding-left: 28px;
}

#fluentform_28 .art2-form__consent input + .art2-form__consent-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: 1px solid #9FBFC7;
    border-radius: 4px;
    background: #fff;
}

#fluentform_28 .art2-form__consent input:checked + .art2-form__consent-text::before {
    background: #0099ba;
    border-color: #0099ba;
}

#fluentform_28 .art2-form__consent input:checked + .art2-form__consent-text::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 7px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#fluentform_28 .art2-form__consent input:focus-visible + .art2-form__consent-text::before {
    outline: 2px solid #0099ba;
    outline-offset: 3px;
}

/* Планшеты и мобильные */
@media (max-width: 768px) {
    .art2-form__title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    #fluentform_28 .art2-form__consent input + .art2-form__consent-text {
            margin: 10px 0px;
    }

    #fluentform_28 {
        background-position: 65% center;
    }

    #fluentform_28 .art2-form__title {
        font-size: 32px;
        letter-spacing: -0.5px;
        margin-bottom: 22px;
    }

    #fluentform_28 .ff-t-container {
        flex-direction: column;
        gap: 12px;
    }

    #fluentform_28 .ff-t-cell {
        flex: 1 1 100% !important;
        width: 100%;
    }

    #fluentform_28 input.ff-el-form-control {
        height: 52px;
        font-size: 16px;
    }

    #fluentform_28 .art2-form__consent {
        align-items: flex-start;
        gap: 9px;
    }

    #fluentform_28 .art2-form__submit {
        height: 48px;
    }
}

@media (max-width: 380px) {
    #fluentform_28 .art2-form__title {
        font-size: 28px;
    }
}