/* Modern FAQ Accordion (Farsi) */

.mfa-faq-wrapper {
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.mfa-faq-item {
    direction: rtl;
    background: linear-gradient(135deg, #e6f2ff, #f7fbff);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 35, 60, 0.12);
    overflow: hidden;
    border: 1px solid rgba(29, 78, 216, 0.10);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mfa-faq-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(15, 35, 60, 0.18);
    border-color: rgba(29, 78, 216, 0.22);
}

.mfa-faq-question {
    direction: rtl;
    width: 100%;
    border: none;
    background: transparent;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.98rem;
    line-height: 1.8;
    font-weight: 600;
    color: #0f172a;
}

.mfa-faq-question-text {
    flex: 1;
    text-align: right;
}


.mfa-q-emoji {
    display: inline-block;
    margin-left: 0.35rem;
    font-size: 1.05em;
    line-height: 1;
}
.mfa-faq-question strong,
.mfa-faq-question b {
    color: #1d4ed8;
    font-weight: 700;
}

.mfa-faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    box-shadow: 0 4px 11px rgba(37, 99, 235, 0.25);
    position: relative;
}

.mfa-faq-icon::before,
.mfa-faq-icon::after {
    content: "";
    position: absolute;
    background-color: #1d4ed8;
    border-radius: 999px;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.mfa-faq-icon::before {
    width: 12px;
    height: 2px;
}

.mfa-faq-icon::after {
    width: 2px;
    height: 12px;
}

.mfa-faq-question[aria-expanded="true"] .mfa-faq-icon::after {
    transform: scaleY(0);
    opacity: 0;
}

.mfa-faq-answer {
    direction: rtl;
    padding: 0 1.25rem 1.1rem;
    font-size: 0.95rem;
    line-height: 1.9;
    color: #1e293b;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    background: #ffffff;
}

.mfa-faq-answer strong,
.mfa-faq-answer b {
    color: #0f172a;
    font-weight: 600;
}

.mfa-faq-answer p {
    margin: 0.5rem 0 0;
}

.mfa-faq-answer[hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .mfa-faq-question {
        padding: 0.9rem 0.95rem;
        font-size: 0.95rem;
    }

    .mfa-faq-answer {
        padding: 0 0.95rem 0.9rem;
        font-size: 0.9rem;
    }
}


/* Prevent theme pseudo-icons (like extra +) from appearing on FAQ elements */
.mfa-faq-wrapper::before,
.mfa-faq-wrapper::after,
.mfa-faq-question::before,
.mfa-faq-question::after,
.mfa-faq-question-text::before,
.mfa-faq-question-text::after {
    content: none !important;
}

/* In themed modes, ensure "سوال 1 / سوال 2" and links follow the question color for readability */
body[class*="mfa-theme-"] .mfa-faq-question a,
body[class*="mfa-theme-"] .mfa-faq-question a:link,
body[class*="mfa-theme-"] .mfa-faq-question a:visited,
body[class*="mfa-theme-"] .mfa-faq-question a:hover,
body[class*="mfa-theme-"] .mfa-faq-question a:active {
    color: inherit !important;
    text-decoration: none;
}

body[class*="mfa-theme-"] .mfa-faq-question strong,
body[class*="mfa-theme-"] .mfa-faq-question b {
    color: inherit !important;
}

/* ====== Modern FAQ Accordion Themes (30 variants) ====== */
/* Theme 1 */
.mfa-theme-1 .mfa-faq-item {
    background: linear-gradient(135deg, #f9fafb, #e5f0ff);
    border-color: #2563eb33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-1 .mfa-faq-question {
    color: #0f172a;
}
.mfa-theme-1 .mfa-faq-answer {
    background-color: #ffffff;
    color: #0f172a;
    border-top-color: #2563eb40;
}
.mfa-theme-1 .mfa-faq-icon {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px #2563eb40;
}
.mfa-theme-1 .mfa-faq-icon::before,
.mfa-theme-1 .mfa-faq-icon::after {
    background-color: #2563eb;
}

/* Theme 2 */
.mfa-theme-2 .mfa-faq-item {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #d9770633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-2 .mfa-faq-question {
    color: #78350f;
}
.mfa-theme-2 .mfa-faq-answer {
    background-color: #fffbeb;
    color: #7c2d12;
    border-top-color: #d9770640;
}
.mfa-theme-2 .mfa-faq-icon {
    background: #ffffff;
    border-color: #d97706;
    box-shadow: 0 4px 12px #d9770640;
}
.mfa-theme-2 .mfa-faq-icon::before,
.mfa-theme-2 .mfa-faq-icon::after {
    background-color: #d97706;
}

/* Theme 3 */
.mfa-theme-3 .mfa-faq-item {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-color: #dc262633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-3 .mfa-faq-question {
    color: #7f1d1d;
}
.mfa-theme-3 .mfa-faq-answer {
    background-color: #fef2f2;
    color: #7f1d1d;
    border-top-color: #dc262640;
}
.mfa-theme-3 .mfa-faq-icon {
    background: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 4px 12px #dc262640;
}
.mfa-theme-3 .mfa-faq-icon::before,
.mfa-theme-3 .mfa-faq-icon::after {
    background-color: #dc2626;
}

/* Theme 4 */
.mfa-theme-4 .mfa-faq-item {
    background: linear-gradient(135deg, #ecfdf3, #bbf7d0);
    border-color: #16a34a33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-4 .mfa-faq-question {
    color: #064e3b;
}
.mfa-theme-4 .mfa-faq-answer {
    background-color: #f0fdf4;
    color: #064e3b;
    border-top-color: #16a34a40;
}
.mfa-theme-4 .mfa-faq-icon {
    background: #ffffff;
    border-color: #16a34a;
    box-shadow: 0 4px 12px #16a34a40;
}
.mfa-theme-4 .mfa-faq-icon::before,
.mfa-theme-4 .mfa-faq-icon::after {
    background-color: #16a34a;
}

/* Theme 5 */
.mfa-theme-5 .mfa-faq-item {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-color: #1d4ed833;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-5 .mfa-faq-question {
    color: #1e3a8a;
}
.mfa-theme-5 .mfa-faq-answer {
    background-color: #eef2ff;
    color: #1e293b;
    border-top-color: #1d4ed840;
}
.mfa-theme-5 .mfa-faq-icon {
    background: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 4px 12px #1d4ed840;
}
.mfa-theme-5 .mfa-faq-icon::before,
.mfa-theme-5 .mfa-faq-icon::after {
    background-color: #1d4ed8;
}

/* Theme 6 */
.mfa-theme-6 .mfa-faq-item {
    background: linear-gradient(135deg, #fdf2ff, #f5d0fe);
    border-color: #a855f733;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-6 .mfa-faq-question {
    color: #4c1d95;
}
.mfa-theme-6 .mfa-faq-answer {
    background-color: #fdf2ff;
    color: #4c1d95;
    border-top-color: #a855f740;
}
.mfa-theme-6 .mfa-faq-icon {
    background: #ffffff;
    border-color: #a855f7;
    box-shadow: 0 4px 12px #a855f740;
}
.mfa-theme-6 .mfa-faq-icon::before,
.mfa-theme-6 .mfa-faq-icon::after {
    background-color: #a855f7;
}

/* Theme 7 */
.mfa-theme-7 .mfa-faq-item {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-color: #f9731633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-7 .mfa-faq-question {
    color: #7c2d12;
}
.mfa-theme-7 .mfa-faq-answer {
    background-color: #fff7ed;
    color: #7c2d12;
    border-top-color: #f9731640;
}
.mfa-theme-7 .mfa-faq-icon {
    background: #ffffff;
    border-color: #f97316;
    box-shadow: 0 4px 12px #f9731640;
}
.mfa-theme-7 .mfa-faq-icon::before,
.mfa-theme-7 .mfa-faq-icon::after {
    background-color: #f97316;
}

/* Theme 8 */
.mfa-theme-8 .mfa-faq-item {
    background: linear-gradient(135deg, #ecfeff, #cffafe);
    border-color: #06b6d433;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-8 .mfa-faq-question {
    color: #0f172a;
}
.mfa-theme-8 .mfa-faq-answer {
    background-color: #f0f9ff;
    color: #0f172a;
    border-top-color: #06b6d440;
}
.mfa-theme-8 .mfa-faq-icon {
    background: #ffffff;
    border-color: #06b6d4;
    box-shadow: 0 4px 12px #06b6d440;
}
.mfa-theme-8 .mfa-faq-icon::before,
.mfa-theme-8 .mfa-faq-icon::after {
    background-color: #06b6d4;
}

/* Theme 9 */
.mfa-theme-9 .mfa-faq-item {
    background: linear-gradient(135deg, #f9fafb, #e5e7eb);
    border-color: #6b728033;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-9 .mfa-faq-question {
    color: #111827;
}
.mfa-theme-9 .mfa-faq-answer {
    background-color: #f9fafb;
    color: #111827;
    border-top-color: #6b728040;
}
.mfa-theme-9 .mfa-faq-icon {
    background: #ffffff;
    border-color: #6b7280;
    box-shadow: 0 4px 12px #6b728040;
}
.mfa-theme-9 .mfa-faq-icon::before,
.mfa-theme-9 .mfa-faq-icon::after {
    background-color: #6b7280;
}

/* Theme 10 */
.mfa-theme-10 .mfa-faq-item {
    background: linear-gradient(135deg, #111827, #020617);
    border-color: #f9731633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-10 .mfa-faq-question {
    color: #f9fafb;
}
.mfa-theme-10 .mfa-faq-answer {
    background-color: #020617;
    color: #e5e7eb;
    border-top-color: #f9731640;
}
.mfa-theme-10 .mfa-faq-icon {
    background: #ffffff;
    border-color: #f97316;
    box-shadow: 0 4px 12px #f9731640;
}
.mfa-theme-10 .mfa-faq-icon::before,
.mfa-theme-10 .mfa-faq-icon::after {
    background-color: #f97316;
}

/* Theme 11 */
.mfa-theme-11 .mfa-faq-item {
    background: linear-gradient(135deg, #0f172a, #020617);
    border-color: #22c55e33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-11 .mfa-faq-question {
    color: #f9fafb;
}
.mfa-theme-11 .mfa-faq-answer {
    background-color: #020617;
    color: #e5e7eb;
    border-top-color: #22c55e40;
}
.mfa-theme-11 .mfa-faq-icon {
    background: #ffffff;
    border-color: #22c55e;
    box-shadow: 0 4px 12px #22c55e40;
}
.mfa-theme-11 .mfa-faq-icon::before,
.mfa-theme-11 .mfa-faq-icon::after {
    background-color: #22c55e;
}

/* Theme 12 */
.mfa-theme-12 .mfa-faq-item {
    background: linear-gradient(135deg, #0f172a, #020617);
    border-color: #38bdf833;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-12 .mfa-faq-question {
    color: #f9fafb;
}
.mfa-theme-12 .mfa-faq-answer {
    background-color: #020617;
    color: #e5e7eb;
    border-top-color: #38bdf840;
}
.mfa-theme-12 .mfa-faq-icon {
    background: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 4px 12px #38bdf840;
}
.mfa-theme-12 .mfa-faq-icon::before,
.mfa-theme-12 .mfa-faq-icon::after {
    background-color: #38bdf8;
}

/* Theme 13 */
.mfa-theme-13 .mfa-faq-item {
    background: linear-gradient(135deg, #111827, #020617);
    border-color: #e11d4833;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-13 .mfa-faq-question {
    color: #f9fafb;
}
.mfa-theme-13 .mfa-faq-answer {
    background-color: #020617;
    color: #e5e7eb;
    border-top-color: #e11d4840;
}
.mfa-theme-13 .mfa-faq-icon {
    background: #ffffff;
    border-color: #e11d48;
    box-shadow: 0 4px 12px #e11d4840;
}
.mfa-theme-13 .mfa-faq-icon::before,
.mfa-theme-13 .mfa-faq-icon::after {
    background-color: #e11d48;
}

/* Theme 14 */
.mfa-theme-14 .mfa-faq-item {
    background: linear-gradient(135deg, #fdf2e9, #fde7c7);
    border-color: #ea580c33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-14 .mfa-faq-question {
    color: #7c2d12;
}
.mfa-theme-14 .mfa-faq-answer {
    background-color: #fff7ed;
    color: #7c2d12;
    border-top-color: #ea580c40;
}
.mfa-theme-14 .mfa-faq-icon {
    background: #ffffff;
    border-color: #ea580c;
    box-shadow: 0 4px 12px #ea580c40;
}
.mfa-theme-14 .mfa-faq-icon::before,
.mfa-theme-14 .mfa-faq-icon::after {
    background-color: #ea580c;
}

/* Theme 15 */
.mfa-theme-15 .mfa-faq-item {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-color: #3b82f633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-15 .mfa-faq-question {
    color: #0f172a;
}
.mfa-theme-15 .mfa-faq-answer {
    background-color: #ffffff;
    color: #0f172a;
    border-top-color: #3b82f640;
}
.mfa-theme-15 .mfa-faq-icon {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px #3b82f640;
}
.mfa-theme-15 .mfa-faq-icon::before,
.mfa-theme-15 .mfa-faq-icon::after {
    background-color: #3b82f6;
}

/* Theme 16 */
.mfa-theme-16 .mfa-faq-item {
    background: linear-gradient(135deg, #ecfdf3, #dcfce7);
    border-color: #15803d33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-16 .mfa-faq-question {
    color: #064e3b;
}
.mfa-theme-16 .mfa-faq-answer {
    background-color: #f0fdf4;
    color: #052e16;
    border-top-color: #15803d40;
}
.mfa-theme-16 .mfa-faq-icon {
    background: #ffffff;
    border-color: #15803d;
    box-shadow: 0 4px 12px #15803d40;
}
.mfa-theme-16 .mfa-faq-icon::before,
.mfa-theme-16 .mfa-faq-icon::after {
    background-color: #15803d;
}

/* Theme 17 */
.mfa-theme-17 .mfa-faq-item {
    background: linear-gradient(135deg, #fdf2ff, #fae8ff);
    border-color: #c026d333;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-17 .mfa-faq-question {
    color: #4a044e;
}
.mfa-theme-17 .mfa-faq-answer {
    background-color: #fdf4ff;
    color: #4a044e;
    border-top-color: #c026d340;
}
.mfa-theme-17 .mfa-faq-icon {
    background: #ffffff;
    border-color: #c026d3;
    box-shadow: 0 4px 12px #c026d340;
}
.mfa-theme-17 .mfa-faq-icon::before,
.mfa-theme-17 .mfa-faq-icon::after {
    background-color: #c026d3;
}

/* Theme 18 */
.mfa-theme-18 .mfa-faq-item {
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    border-color: #0369a133;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-18 .mfa-faq-question {
    color: #082f49;
}
.mfa-theme-18 .mfa-faq-answer {
    background-color: #f0f9ff;
    color: #082f49;
    border-top-color: #0369a140;
}
.mfa-theme-18 .mfa-faq-icon {
    background: #ffffff;
    border-color: #0369a1;
    box-shadow: 0 4px 12px #0369a140;
}
.mfa-theme-18 .mfa-faq-icon::before,
.mfa-theme-18 .mfa-faq-icon::after {
    background-color: #0369a1;
}

/* Theme 19 */
.mfa-theme-19 .mfa-faq-item {
    background: linear-gradient(135deg, #fefce8, #fef9c3);
    border-color: #eab30833;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-19 .mfa-faq-question {
    color: #713f12;
}
.mfa-theme-19 .mfa-faq-answer {
    background-color: #fefce8;
    color: #713f12;
    border-top-color: #eab30840;
}
.mfa-theme-19 .mfa-faq-icon {
    background: #ffffff;
    border-color: #eab308;
    box-shadow: 0 4px 12px #eab30840;
}
.mfa-theme-19 .mfa-faq-icon::before,
.mfa-theme-19 .mfa-faq-icon::after {
    background-color: #eab308;
}

/* Theme 20 */
.mfa-theme-20 .mfa-faq-item {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-color: #7c3aed33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-20 .mfa-faq-question {
    color: #312e81;
}
.mfa-theme-20 .mfa-faq-answer {
    background-color: #f5f3ff;
    color: #312e81;
    border-top-color: #7c3aed40;
}
.mfa-theme-20 .mfa-faq-icon {
    background: #ffffff;
    border-color: #7c3aed;
    box-shadow: 0 4px 12px #7c3aed40;
}
.mfa-theme-20 .mfa-faq-icon::before,
.mfa-theme-20 .mfa-faq-icon::after {
    background-color: #7c3aed;
}

/* Theme 21 */
.mfa-theme-21 .mfa-faq-item {
    background: linear-gradient(135deg, #fdf2e9, #fee2e2);
    border-color: #fb923c33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-21 .mfa-faq-question {
    color: #7c2d12;
}
.mfa-theme-21 .mfa-faq-answer {
    background-color: #fffbeb;
    color: #7c2d12;
    border-top-color: #fb923c40;
}
.mfa-theme-21 .mfa-faq-icon {
    background: #ffffff;
    border-color: #fb923c;
    box-shadow: 0 4px 12px #fb923c40;
}
.mfa-theme-21 .mfa-faq-icon::before,
.mfa-theme-21 .mfa-faq-icon::after {
    background-color: #fb923c;
}

/* Theme 22 */
.mfa-theme-22 .mfa-faq-item {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-color: #0284c733;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-22 .mfa-faq-question {
    color: #082f49;
}
.mfa-theme-22 .mfa-faq-answer {
    background-color: #e0f2fe;
    color: #082f49;
    border-top-color: #0284c740;
}
.mfa-theme-22 .mfa-faq-icon {
    background: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 12px #0284c740;
}
.mfa-theme-22 .mfa-faq-icon::before,
.mfa-theme-22 .mfa-faq-icon::after {
    background-color: #0284c7;
}

/* Theme 23 */
.mfa-theme-23 .mfa-faq-item {
    background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
    border-color: #4b556333;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-23 .mfa-faq-question {
    color: #111827;
}
.mfa-theme-23 .mfa-faq-answer {
    background-color: #ffffff;
    color: #111827;
    border-top-color: #4b556340;
}
.mfa-theme-23 .mfa-faq-icon {
    background: #ffffff;
    border-color: #4b5563;
    box-shadow: 0 4px 12px #4b556340;
}
.mfa-theme-23 .mfa-faq-icon::before,
.mfa-theme-23 .mfa-faq-icon::after {
    background-color: #4b5563;
}

/* Theme 24 */
.mfa-theme-24 .mfa-faq-item {
    background: linear-gradient(135deg, #020617, #0f172a);
    border-color: #facc1533;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-24 .mfa-faq-question {
    color: #f9fafb;
}
.mfa-theme-24 .mfa-faq-answer {
    background-color: #020617;
    color: #e5e7eb;
    border-top-color: #facc1540;
}
.mfa-theme-24 .mfa-faq-icon {
    background: #ffffff;
    border-color: #facc15;
    box-shadow: 0 4px 12px #facc1540;
}
.mfa-theme-24 .mfa-faq-icon::before,
.mfa-theme-24 .mfa-faq-icon::after {
    background-color: #facc15;
}

/* Theme 25 */
.mfa-theme-25 .mfa-faq-item {
    background: linear-gradient(135deg, #04101f, #020617);
    border-color: #60a5fa33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-25 .mfa-faq-question {
    color: #e5e7eb;
}
.mfa-theme-25 .mfa-faq-answer {
    background-color: #020617;
    color: #e5e7eb;
    border-top-color: #60a5fa40;
}
.mfa-theme-25 .mfa-faq-icon {
    background: #ffffff;
    border-color: #60a5fa;
    box-shadow: 0 4px 12px #60a5fa40;
}
.mfa-theme-25 .mfa-faq-icon::before,
.mfa-theme-25 .mfa-faq-icon::after {
    background-color: #60a5fa;
}

/* Theme 26 */
.mfa-theme-26 .mfa-faq-item {
    background: linear-gradient(135deg, #022c22, #064e3b);
    border-color: #34d39933;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-26 .mfa-faq-question {
    color: #ecfdf3;
}
.mfa-theme-26 .mfa-faq-answer {
    background-color: #022c22;
    color: #ecfdf3;
    border-top-color: #34d39940;
}
.mfa-theme-26 .mfa-faq-icon {
    background: #ffffff;
    border-color: #34d399;
    box-shadow: 0 4px 12px #34d39940;
}
.mfa-theme-26 .mfa-faq-icon::before,
.mfa-theme-26 .mfa-faq-icon::after {
    background-color: #34d399;
}

/* Theme 27 */
.mfa-theme-27 .mfa-faq-item {
    background: linear-gradient(135deg, #2f172a, #4c1d95);
    border-color: #f472b633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-27 .mfa-faq-question {
    color: #fdf2ff;
}
.mfa-theme-27 .mfa-faq-answer {
    background-color: #2f172a;
    color: #fdf2ff;
    border-top-color: #f472b640;
}
.mfa-theme-27 .mfa-faq-icon {
    background: #ffffff;
    border-color: #f472b6;
    box-shadow: 0 4px 12px #f472b640;
}
.mfa-theme-27 .mfa-faq-icon::before,
.mfa-theme-27 .mfa-faq-icon::after {
    background-color: #f472b6;
}

/* Theme 28 */
.mfa-theme-28 .mfa-faq-item {
    background: linear-gradient(135deg, #3f0f12, #7c2d12);
    border-color: #fb923c33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-28 .mfa-faq-question {
    color: #fffbeb;
}
.mfa-theme-28 .mfa-faq-answer {
    background-color: #3f0f12;
    color: #fffbeb;
    border-top-color: #fb923c40;
}
.mfa-theme-28 .mfa-faq-icon {
    background: #ffffff;
    border-color: #fb923c;
    box-shadow: 0 4px 12px #fb923c40;
}
.mfa-theme-28 .mfa-faq-icon::before,
.mfa-theme-28 .mfa-faq-icon::after {
    background-color: #fb923c;
}

/* Theme 29 */
.mfa-theme-29 .mfa-faq-item {
    background: linear-gradient(135deg, #0b1120, #020617);
    border-color: #38bdf833;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-29 .mfa-faq-question {
    color: #e5e7eb;
}
.mfa-theme-29 .mfa-faq-answer {
    background-color: #020617;
    color: #e5e7eb;
    border-top-color: #38bdf840;
}
.mfa-theme-29 .mfa-faq-icon {
    background: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 4px 12px #38bdf840;
}
.mfa-theme-29 .mfa-faq-icon::before,
.mfa-theme-29 .mfa-faq-icon::after {
    background-color: #38bdf8;
}

/* Theme 30 */
.mfa-theme-30 .mfa-faq-item {
    background: linear-gradient(135deg, #0b1120, #020617);
    border-color: #f9731633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}
.mfa-theme-30 .mfa-faq-question {
    color: #fef3c7;
}
.mfa-theme-30 .mfa-faq-answer {
    background-color: #020617;
    color: #fef3c7;
    border-top-color: #f9731640;
}
.mfa-theme-30 .mfa-faq-icon {
    background: #ffffff;
    border-color: #f97316;
    box-shadow: 0 4px 12px #f9731640;
}
.mfa-theme-30 .mfa-faq-icon::before,
.mfa-theme-30 .mfa-faq-icon::after {
    background-color: #f97316;
}

/* Light variants for previously dark themes (customized) */


/* Light theme override for theme 10 (cream) */
.mfa-theme-10 .mfa-faq-item {
    background: linear-gradient(135deg, #fff7e6, #ffedd5);
    border-color: #f9731633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.mfa-theme-10 .mfa-faq-question {
    color: #7c2d12;
}
.mfa-theme-10 .mfa-faq-answer {
    background-color: #fffbeb;
    color: #7c2d12;
    border-top-color: #f9731640;
}


/* Light theme override for theme 11 (mint) */
.mfa-theme-11 .mfa-faq-item {
    background: linear-gradient(135deg, #e6fff5, #ccfbf1);
    border-color: #22c55e33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.mfa-theme-11 .mfa-faq-question {
    color: #166534;
}
.mfa-theme-11 .mfa-faq-answer {
    background-color: #ecfdf3;
    color: #166534;
    border-top-color: #22c55e40;
}


/* Light theme override for theme 12 (red) */
.mfa-theme-12 .mfa-faq-item {
    background: linear-gradient(135deg, #ffe4e6, #fecaca);
    border-color: #fb718533;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.mfa-theme-12 .mfa-faq-question {
    color: #7f1d1d;
}
.mfa-theme-12 .mfa-faq-answer {
    background-color: #fef2f2;
    color: #7f1d1d;
    border-top-color: #fb718540;
}


/* Light theme override for theme 13 (blue) */
.mfa-theme-13 .mfa-faq-item {
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    border-color: #3b82f633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.mfa-theme-13 .mfa-faq-question {
    color: #1e3a8a;
}
.mfa-theme-13 .mfa-faq-answer {
    background-color: #eff6ff;
    color: #1e3a8a;
    border-top-color: #3b82f640;
}


/* Light theme override for theme 24 (cream) */
.mfa-theme-24 .mfa-faq-item {
    background: linear-gradient(135deg, #fff7e6, #ffedd5);
    border-color: #f9731633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.mfa-theme-24 .mfa-faq-question {
    color: #7c2d12;
}
.mfa-theme-24 .mfa-faq-answer {
    background-color: #fffbeb;
    color: #7c2d12;
    border-top-color: #f9731640;
}


/* Light theme override for theme 25 (mint) */
.mfa-theme-25 .mfa-faq-item {
    background: linear-gradient(135deg, #e6fff5, #ccfbf1);
    border-color: #22c55e33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.mfa-theme-25 .mfa-faq-question {
    color: #166534;
}
.mfa-theme-25 .mfa-faq-answer {
    background-color: #ecfdf3;
    color: #166534;
    border-top-color: #22c55e40;
}


/* Light theme override for theme 26 (red) */
.mfa-theme-26 .mfa-faq-item {
    background: linear-gradient(135deg, #ffe4e6, #fecaca);
    border-color: #fb718533;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.mfa-theme-26 .mfa-faq-question {
    color: #7f1d1d;
}
.mfa-theme-26 .mfa-faq-answer {
    background-color: #fef2f2;
    color: #7f1d1d;
    border-top-color: #fb718540;
}


/* Light theme override for theme 27 (blue) */
.mfa-theme-27 .mfa-faq-item {
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    border-color: #3b82f633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.mfa-theme-27 .mfa-faq-question {
    color: #1e3a8a;
}
.mfa-theme-27 .mfa-faq-answer {
    background-color: #eff6ff;
    color: #1e3a8a;
    border-top-color: #3b82f640;
}


/* Light theme override for theme 28 (cream) */
.mfa-theme-28 .mfa-faq-item {
    background: linear-gradient(135deg, #fff7e6, #ffedd5);
    border-color: #f9731633;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.mfa-theme-28 .mfa-faq-question {
    color: #7c2d12;
}
.mfa-theme-28 .mfa-faq-answer {
    background-color: #fffbeb;
    color: #7c2d12;
    border-top-color: #f9731640;
}


/* Light theme override for theme 29 (mint) */
.mfa-theme-29 .mfa-faq-item {
    background: linear-gradient(135deg, #e6fff5, #ccfbf1);
    border-color: #22c55e33;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.mfa-theme-29 .mfa-faq-question {
    color: #166534;
}
.mfa-theme-29 .mfa-faq-answer {
    background-color: #ecfdf3;
    color: #166534;
    border-top-color: #22c55e40;
}


/* Light theme override for theme 30 (red) */
.mfa-theme-30 .mfa-faq-item {
    background: linear-gradient(135deg, #ffe4e6, #fecaca);
    border-color: #fb718533;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.mfa-theme-30 .mfa-faq-question {
    color: #7f1d1d;
}
.mfa-theme-30 .mfa-faq-answer {
    background-color: #fef2f2;
    color: #7f1d1d;
    border-top-color: #fb718540;
}



/* ====== Mobile stability fixes for FAQ layout ====== */
.mfa-faq-wrapper,
.mfa-faq-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .mfa-faq-wrapper {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .mfa-faq-item {
        margin-bottom: 12px;
    }

    .mfa-faq-question {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .mfa-faq-icon {
        flex-shrink: 0;
    }
}


/* =========================================================
   Layout variants for FAQ boxes (20 تم باکس سوال)
   هر تم علاوه بر رنگ، فرم و حالت بازشو متفاوت دارد.
   ========================================================= */

/* Reset some defaults to make per-theme layout تفاوت‌دارتر شود */
.mfa-faq-item {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.mfa-faq-question {
    transition: background-color 0.18s ease, padding 0.18s ease;
}
.mfa-faq-answer {
    transition: padding 0.18s ease, background-color 0.18s ease;
}

/* ========== Theme 1: کارت کلاسیک برجسته ========== */
.mfa-theme-1 .mfa-faq-item {
    border-radius: 18px;
    border-width: 1px;
    margin-bottom: 14px;
}
.mfa-theme-1 .mfa-faq-item.mfa-open {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}
.mfa-theme-1 .mfa-faq-question {
    padding: 1.1rem 1.5rem;
}
.mfa-theme-1 .mfa-faq-answer {
    padding: 0.2rem 1.5rem 1.1rem;
}

/* ========== Theme 2: کارت بدون شادو، حسی فلت و مینیمال ========== */
.mfa-theme-2 .mfa-faq-item {
    box-shadow: none;
    border-radius: 14px;
    border-width: 1px;
}
.mfa-theme-2 .mfa-faq-question {
    padding: 0.95rem 1.2rem;
    font-weight: 600;
}
.mfa-theme-2 .mfa-faq-answer {
    padding: 0.2rem 1.2rem 0.9rem;
}
.mfa-theme-2 .mfa-faq-item.mfa-open {
    border-width: 2px;
}

/* ========== Theme 3: آیکن سمت چپ + استایل لیست مدرن ========== */
.mfa-theme-3 .mfa-faq-question {
    flex-direction: row-reverse;
    padding: 0.9rem 0.5rem 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    background-color: rgba(15, 23, 42, 0.02);
}
.mfa-theme-3 .mfa-faq-item {
    border-radius: 0;
    box-shadow: none;
    border: 0;
}
.mfa-theme-3 .mfa-faq-answer {
    border-top: 0;
    padding: 0.4rem 0.5rem 0.9rem 1.25rem;
    background-color: transparent;
}
.mfa-theme-3 .mfa-faq-item.mfa-open .mfa-faq-question {
    background-color: rgba(15, 23, 42, 0.05);
}

/* ========== Theme 4: کارت با نوار کناری عمودی ========== */
.mfa-theme-4 .mfa-faq-item {
    position: relative;
    border-radius: 14px;
    border-width: 1px;
    overflow: hidden;
}
.mfa-theme-4 .mfa-faq-item::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgba(15,23,42,0.25), rgba(15,23,42,0.01));
}
.mfa-theme-4 .mfa-faq-question {
    padding-inline-start: 1.4rem;
    padding-inline-end: 1.4rem;
}
.mfa-theme-4 .mfa-faq-answer {
    padding-inline-start: 1.4rem;
    padding-inline-end: 1.4rem;
}

/* ========== Theme 5: کارت با گوشه‌های گرد زیاد و آیکن بزرگ ========== */
.mfa-theme-5 .mfa-faq-item {
    border-radius: 24px;
    border-width: 1px;
}
.mfa-theme-5 .mfa-faq-icon {
    width: 30px;
    height: 30px;
}
.mfa-theme-5 .mfa-faq-question {
    padding: 1rem 1.6rem;
}
.mfa-theme-5 .mfa-faq-answer {
    padding: 0.25rem 1.6rem 1.1rem;
}

/* ========== Theme 6: FAQ خطی فقط با خط زیرین (خیلی مینیمال) ========== */
.mfa-theme-6 .mfa-faq-item {
    background: transparent !important;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.5);
}
.mfa-theme-6 .mfa-faq-item:last-child {
    border-bottom-width: 0;
}
.mfa-theme-6 .mfa-faq-question {
    padding: 0.8rem 0.2rem;
    font-size: 0.97rem;
    font-weight: 600;
}
.mfa-theme-6 .mfa-faq-answer {
    background: transparent !important;
    border-top: 0;
    padding: 0 0.2rem 0.8rem;
}
.mfa-theme-6 .mfa-faq-icon {
    width: 20px;
    height: 20px;
    box-shadow: none;
    border: 0;
    background: transparent;
}

/* ========== Theme 7: مشابه 6 ولی با آیکن مخفی (بدون آیکن) ========== */
.mfa-theme-7 .mfa-faq-item {
    background: transparent !important;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.6);
}
.mfa-theme-7 .mfa-faq-item:last-child {
    border-bottom-width: 0;
}
.mfa-theme-7 .mfa-faq-question {
    padding: 0.8rem 0;
    font-size: 0.98rem;
}
.mfa-theme-7 .mfa-faq-icon {
    display: none;
}
.mfa-theme-7 .mfa-faq-answer {
    background: transparent !important;
    border-top: 0;
    padding: 0 0 0.8rem;
}

/* ========== Theme 8: هدر تیره، جواب روشن ========== */
.mfa-theme-8 .mfa-faq-item {
    border-radius: 16px;
    overflow: hidden;
}
.mfa-theme-8 .mfa-faq-question {
    background-color: rgba(15, 23, 42, 0.85);
    color: #f9fafb;
}
.mfa-theme-8 .mfa-faq-icon {
    background: rgba(15, 23, 42, 0.1);
    box-shadow: none;
}
.mfa-theme-8 .mfa-faq-answer {
    background-color: rgba(255, 255, 255, 0.96);
}

/* ========== Theme 9: کارت با لبه مربع، بدون شادو ========== */
.mfa-theme-9 .mfa-faq-item {
    border-radius: 0;
    box-shadow: none;
    border-width: 1px;
}
.mfa-theme-9 .mfa-faq-question {
    padding: 0.95rem 1.1rem;
}
.mfa-theme-9 .mfa-faq-answer {
    padding: 0.3rem 1.1rem 1rem;
}

/* ========== Theme 10: جواب با پس‌زمینه‌ی جدا (باکس دوم) ========== */
.mfa-theme-10 .mfa-faq-answer {
    margin: 0 0.8rem 0.8rem;
    margin-top: 0.4rem;
    border-radius: 12px;
    border-width: 1px;
    background-color: rgba(255,255,255,0.95);
    padding: 0.7rem 0.85rem 0.85rem;
}

/* ========== Theme 11: کارت با نوار کناری ضخیم ========== */
.mfa-theme-11 .mfa-faq-item {
    position: relative;
    border-radius: 14px;
    border-width: 1px;
    overflow: hidden;
}
.mfa-theme-11 .mfa-faq-item::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 6px;
    height: 100%;
    opacity: 0.65;
    background: linear-gradient(180deg, rgba(15,23,42,0.35), rgba(15,23,42,0.05));
}
.mfa-theme-11 .mfa-faq-question,
.mfa-theme-11 .mfa-faq-answer {
    padding-inline-start: 1.4rem;
    padding-inline-end: 1.4rem;
}

/* ========== Theme 12: کارت خیلی نرم با شادو زیاد روی باز شدن ========== */
.mfa-theme-12 .mfa-faq-item {
    border-radius: 22px;
}
.mfa-theme-12 .mfa-faq-item.mfa-open {
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
}
.mfa-theme-12 .mfa-faq-question {
    padding: 1rem 1.4rem;
}
.mfa-theme-12 .mfa-faq-answer {
    padding: 0.25rem 1.4rem 1.15rem;
}

/* ========== Theme 13: استایل «کارت کارتونی» با آیکن مربعی ========== */
.mfa-theme-13 .mfa-faq-icon {
    border-radius: 8px;
}
.mfa-theme-13 .mfa-faq-item {
    border-radius: 18px;
}
.mfa-theme-13 .mfa-faq-question {
    font-size: 1rem;
}

/* ========== Theme 14: کارت با خط بالا به‌جای خط بین سوال/جواب ========== */
.mfa-theme-14 .mfa-faq-answer {
    border-top-width: 2px;
}
.mfa-theme-14 .mfa-faq-question {
    padding-bottom: 0.7rem;
}
.mfa-theme-14 .mfa-faq-answer {
    padding-top: 0.7rem;
}

/* ========== Theme 15: استایل «کارت لیست» با مارجین عمودی بیشتر ========== */
.mfa-theme-15 .mfa-faq-item {
    margin-bottom: 18px;
}
.mfa-theme-15 .mfa-faq-question {
    padding: 0.95rem 1.3rem;
}
.mfa-theme-15 .mfa-faq-answer {
    padding: 0.25rem 1.3rem 1.05rem;
}

/* ========== Theme 16: هدر قرصی (pill) ========== */
.mfa-theme-16 .mfa-faq-item {
    border-radius: 22px;
    padding: 0.3rem 0.25rem 0.9rem;
}
.mfa-theme-16 .mfa-faq-question {
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.06);
    padding: 0.6rem 0.9rem;
    margin-inline: 0.2rem;
}
.mfa-theme-16 .mfa-faq-answer {
    border-top-width: 0;
    padding: 0.6rem 0.9rem 0.1rem;
}
.mfa-theme-16 .mfa-faq-item.mfa-open .mfa-faq-question {
    transform: scale(1.01);
}

/* ========== Theme 17: هدر قرصی بدون پس‌زمینه کارت ========== */
.mfa-theme-17 .mfa-faq-item {
    background: transparent !important;
    border: 0;
    box-shadow: none;
    padding: 0.15rem 0;
}
.mfa-theme-17 .mfa-faq-question {
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.06);
    padding: 0.6rem 0.9rem;
}
.mfa-theme-17 .mfa-faq-answer {
    padding: 0.6rem 0.4rem 0.2rem;
    border-top: 0;
}

/* ========== Theme 18: آیکن شناور بزرگ ========== */
.mfa-theme-18 .mfa-faq-item {
    border-radius: 18px;
}
.mfa-theme-18 .mfa-faq-icon {
    width: 32px;
    height: 32px;
}
.mfa-theme-18 .mfa-faq-question {
    padding-right: 1.3rem;
    padding-left: 1.3rem;
}

/* ========== Theme 19: بدون آیکن، فقط متن ========== */
.mfa-theme-19 .mfa-faq-icon {
    display: none;
}
.mfa-theme-19 .mfa-faq-question {
    padding-inline-end: 0;
}

/* ========== Theme 20: کارت بسیار کامپکت ========== */
.mfa-theme-20 .mfa-faq-item {
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}
.mfa-theme-20 .mfa-faq-question {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}
.mfa-theme-20 .mfa-faq-answer {
    padding: 0.2rem 1rem 0.8rem;
}

/* حالت عمومی: وقتی باز است، متن سؤال بولدتر شود */
.mfa-faq-item.mfa-open .mfa-faq-question-text {
    font-weight: 700;
}
