/* =====================================================================
   Private Spiritual Q&A (Phase 6) - only what the shared CMS styles
   (cms/cms.css: cards, meta, buttons, form) do not already cover.
   ===================================================================== */

/* the role menu items stay hidden until the account's claims show the
   role (.menu-item sets display: block, which would override [hidden]) */
#menu-qa-inbox-button[hidden],
#menu-qa-workroom-button[hidden] {
    display: none;
}

.vc-qa-privacy,
.vc-qa-original {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
    line-height: 1.45;
}

.vc-qa-privacy-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.vc-qa-privacy-line {
    margin-top: 2px;
    opacity: 0.9;
}

.vc-qa-answer {
    padding: 8px 12px;
    border-left: 3px solid rgba(76, 175, 80, 0.7);
    border-radius: 4px;
    background: rgba(76, 175, 80, 0.08);
}

.vc-qa-contributions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.vc-qa-contribution {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.vc-qa-confirm {
    margin: 8px 0;
}

.vc-qa-status-submitted,
.vc-qa-status-open {
    background: rgba(33, 150, 243, 0.18);
}

.vc-qa-status-in_review {
    background: rgba(255, 193, 7, 0.18);
}

.vc-qa-status-answered,
.vc-qa-status-approved {
    background: rgba(76, 175, 80, 0.2);
}

.vc-qa-status-closed {
    background: rgba(158, 158, 158, 0.2);
}

/* ---- light theme ---- */

:root[data-theme="light"] .vc-qa-privacy,
:root[data-theme="light"] .vc-qa-original,
:root[data-theme="light"] .vc-qa-contribution {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}
