/* Post moderation (delete / report) styles
 * ----------------------------------------
 * Three surfaces:
 *  1. Report / Delete rows inside the per-post "more" dropdown
 *     (base row styles live in saved.css → .post_more_opt).
 *  2. .delete_post_confirm_popup — singleton centered "Delete this post?"
 *     card, reusing the unsave_* card skeleton from saved.css.
 *  3. .report_post_popup — singleton centered report card with the
 *     reason list and post-submit thank-you state.
 */

/* ---------- Dropdown rows ---------------------------------------- */
.post_more_opt.is-hidden {
    display: none;
}

.post_more_opt_danger,
.post_more_opt_danger .post_more_opt_ico {
    color: var(--red);
}

/* ---------- Shared inline error line ----------------------------- */
.mod_inline_error {
    font-size: 13px;
    color: var(--red);
    margin: -8px 0 16px;
}
.mod_inline_error.is-hidden {
    display: none;
}

/* ---------- Delete confirmation popup ---------------------------- */
.delete_post_confirm_popup .fp_cnt_sm {
    max-width: 380px;
}

.delete_icon_wrap {
    background: rgba(229, 72, 77, 0.14);
}
.delete_icon {
    color: var(--red);
}

.delete_btn_confirm {
    background: var(--red);
}
.delete_btn_confirm:hover {
    opacity: 0.9;
}

/* ---------- Report popup ----------------------------------------- */
.report_post_popup .fp_cnt_sm {
    max-width: 420px;
}

.report_card {
    padding: 28px 24px 22px;
    background: var(--elevated);
    border-radius: 16px;
    text-align: center;
}

.report_subtitle {
    margin-bottom: 18px;
}

.report_reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.report_reason_opt {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    background: transparent;
    border: 1px solid var(--elevated-highlight);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    text-align: left;
}
.report_reason_opt:hover {
    background: var(--elevated-highlight);
}
.report_reason_opt.selected {
    border-color: var(--button-blue);
    background: var(--elevated-highlight);
}

.report_reason_ico {
    font-size: 16px;
    color: var(--text-secondary);
}
.report_reason_opt.selected .report_reason_ico {
    color: var(--button-blue);
}
.report_reason_lbl {
    flex: 1;
}

.report_other_note {
    width: 100%;
    margin-bottom: 16px;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid var(--elevated-highlight);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}
.report_other_note:focus {
    outline: none;
    border-color: var(--button-blue);
}
.report_other_note.is-hidden {
    display: none;
}

.report_btn_submit {
    min-width: 100px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
}
.report_btn_submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.report_success_icon_wrap {
    background: rgba(16, 185, 129, 0.14);
}
.report_success_icon {
    color: #10b981;
}

.report_form_state.is-hidden,
.report_success_state.is-hidden {
    display: none;
}
