.filter-idea-prompt {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    background: #f5f5f5;
    text-align: center;
}

.filter-idea-prompt__title {
    margin-bottom: 10px;
    color: #5f6170;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.filter-idea-prompt__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: 1px solid #dcd7e9;
    border-radius: 10px;
    background: #fff;
    color: #69568f;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

.filter-idea-prompt__button:hover {
    border-color: #bcb1d4;
    background: #fcfbff;
}

.filter-idea-popup.fancybox-popup {
    width: 560px;
    max-width: 100%;
}

.filter-idea-popup .fancybox-popup__title {
    padding-right: 24px;
    font-weight: 600;
}

.filter-idea-popup .fancybox-popup__text {
    line-height: 1.6;
}

.filter-idea-form {
    margin-top: 24px;
}

.filter-idea-form__field {
    padding: 14px 16px 10px;
    border: 1px solid #dcdbe5;
    border-radius: 12px;
}

.filter-idea-form__field:focus-within {
    border-color: var(--info);
    box-shadow: 0 0 0 2px #eeebff;
}

.filter-idea-form .form-textarea {
    display: block;
    height: 140px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
    box-shadow: none;
}

.filter-idea-form__count {
    margin-top: 8px;
    color: #727280;
    font-size: 13px;
    text-align: right;
}

.filter-idea-form__submit {
    width: 100%;
    margin-top: 20px;
}

.filter-idea-form__submit:disabled {
    background: #f0eff4;
    color: #777583;
    cursor: default;
}

.filter-idea-form__status {
    margin-top: 16px;
    color: #b33131;
    font-size: 14px;
    line-height: 1.5;
}

.filter-idea-form__status--success {
    color: #326c44;
}

.filter-idea-prompt__button:focus-visible,
.filter-idea-form__submit:focus-visible {
    outline: 2px solid var(--info);
    outline-offset: 3px;
}

@media (min-width: 768px) {
    .filter-idea-prompt {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 24px;
        border-radius: 16px;
    }

    .filter-idea-prompt__title {
        margin-bottom: 0;
        color: #3d4252;
        font-size: 16px;
        font-weight: 600;
    }
}

@media (max-width: 767px) {
    .filter-idea-prompt {
        margin-right: 16px;
        margin-left: 16px;
    }

    .filter-idea-popup.fancybox-popup {
        width: 100%;
    }
}
