/* =========================================
   VPSMAKERS - ARTICLE FEEDBACK
========================================= */

body.single-post .vpsmakers-article-helpful {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 34px 0 0 !important;
    padding: 24px 0 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-top: 1px solid rgba(91, 101, 255, 0.18) !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    font-family: Inter, Arial, sans-serif !important;
}


body.single-post .vpsmakers-article-helpful-content {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;

    gap: 14px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
}


/* QUESTION */

body.single-post .vpsmakers-article-helpful-title {
    flex: 1 1 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Inter, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 22px !important;

    color: #ffffff !important;

    background: transparent !important;
}


/* BUTTON WRAPPER */

body.single-post .vpsmakers-article-helpful-actions {
    flex: 0 0 auto !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    gap: 8px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
}


/* BUTTON RESET + STYLE */

body.single-post button.vpsmakers-helpful-button {
    appearance: none !important;
    -webkit-appearance: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 68px !important;
    max-width: none !important;

    height: 38px !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 17px !important;

    font-family: Inter, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;

    color: rgba(255, 255, 255, 0.72) !important;

    background: rgba(255, 255, 255, 0.035) !important;

    border: 1px solid rgba(91, 101, 255, 0.28) !important;
    border-radius: 999px !important;

    outline: none !important;
    box-shadow: none !important;

    cursor: pointer !important;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease !important;
}


body.single-post button.vpsmakers-helpful-button:hover {
    color: #ffffff !important;

    background: rgba(59, 68, 255, 0.14) !important;

    border-color: rgba(103, 114, 255, 0.65) !important;

    transform: translateY(-1px) !important;
}


body.single-post button.vpsmakers-helpful-button:active {
    transform: scale(.97) !important;
}


/* SELECTED */

body.single-post button.vpsmakers-helpful-button.vpsmakers-helpful-selected {
    color: #ffffff !important;

    background: #3b44ff !important;

    border-color: #5964ff !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        0 0 14px rgba(59,68,255,.18) !important;
}


/* AFTER VOTE */

body.single-post
.vpsmakers-helpful-completed
button.vpsmakers-helpful-button:not(.vpsmakers-helpful-selected) {
    opacity: .42 !important;
}


/* MESSAGE */

body.single-post .vpsmakers-article-helpful-message {
    flex: 0 0 100% !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Inter, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;

    color: rgba(255,255,255,.55) !important;

    background: transparent !important;
}


body.single-post
.vpsmakers-article-helpful-message:empty {
    display: none !important;
}


body.single-post
.vpsmakers-article-helpful-message:not(:empty) {
    display: block !important;

    margin-top: -2px !important;
}


/* MOBILE */

@media (max-width: 767px) {

    body.single-post .vpsmakers-article-helpful {
        margin-top: 28px !important;
        padding-top: 20px !important;
    }

    body.single-post .vpsmakers-article-helpful-content {
        gap: 14px !important;
    }

    body.single-post .vpsmakers-article-helpful-title {
        flex: 0 0 100% !important;

        font-size: 15px !important;
    }

    body.single-post .vpsmakers-article-helpful-actions {
        width: 100% !important;
    }

    body.single-post button.vpsmakers-helpful-button {
        flex: 1 1 0 !important;

        min-width: 0 !important;
        height: 42px !important;
    }
}