/* =============================================================================
   OFSO FAQ Post Enhancements — ofso-faq.css
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Post meta bar (views + likes) — shown above content via theme or shortcode
   The plugin injects this via the_content filter below the content.
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   Social Sharing
   --------------------------------------------------------------------------- */
.ofso-share {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 36px 0 24px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.ofso-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ccc;
    color: #555;
    font-size: 16px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
    background: #fff;
}

.ofso-share__btn:hover {
    border-color: #8B1A2B;
    color: #8B1A2B;
    text-decoration: none;
}

/* ---------------------------------------------------------------------------
   Helpful Voting
   --------------------------------------------------------------------------- */
.ofso-helpful {
    margin: 32px 0 0;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.ofso-helpful__label {
    font-size: 15px;
    color: #999;
    margin-bottom: 16px;
}

.ofso-helpful__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.ofso-helpful__btn {
    flex: 1;
    max-width: 320px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    color: #fff;
}

.ofso-helpful__btn--yes {
    background-color: #5a8a5a;
}

.ofso-helpful__btn--no {
    background-color: #a04040;
}

.ofso-helpful__btn:hover:not(:disabled) {
    opacity: 0.88;
    transform: translateY(-1px);
}

.ofso-helpful__btn:disabled,
.ofso-helpful__btn--voted {
    opacity: 0.72;
    cursor: default;
}

/* Highlight the button the user actually clicked */
.ofso-helpful__btn--chosen {
    outline: 3px solid rgba(255,255,255,0.6);
    outline-offset: -4px;
}

/* ---------------------------------------------------------------------------
   Post meta bar (document icon + views + likes) in single post header
   These styles apply to the .ofso-post-meta element the plugin outputs
   just before the_content.
   --------------------------------------------------------------------------- */
.ofso-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    color: #888B8A;
    margin-bottom: 12px;
}

.ofso-post-meta__views,
.ofso-post-meta__likes {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ofso-post-meta i {
    font-size: 15px;
    color: #888B8A;
}

.ofso-post-meta__rule {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0 0 24px;
}
