/* ==================== theme.css ==================== */
/* این فایل شامل: متغیرهای دارک/لایت + استایل دکمه تغییر تم */

/* ==================== theme.css ==================== */

/* ۱. متغیرهای پیش‌فرض (دارک مود) */
:root {
    --color-bg-primary: #0A192F;
    --color-bg-card: #112240;
    --color-brand-primary: #1D4ED8;
    --color-accent: #F59E0B;
    --color-accent-dark: #D97706;
    --color-text-primary: #F8FAFC;
    --color-text-secondary: #CBD5E1;
    --color-text-dark: #0F172A;
    --color-white: #FFFFFF;
    --color-bg-alt: #1E3A5F;
    --color-star: #FFD700;
    --color-border-card: rgba(29, 78, 216, 0.15);
    --color-border-accent: rgba(245, 158, 11, 0.3);
    --color-divider: rgba(203, 213, 225, 0.2);
    --color-bg-badge: rgba(29, 78, 216, 0.3);
    --color-bg-btn: rgba(29, 78, 216, 0.2);
    --color-bg-tag: rgba(29, 78, 216, 0.1);
    --color-bg-hover: rgba(29, 78, 216, 0.06);
    --color-accent-light-bg: rgba(245, 158, 11, 0.08);
    --color-accent-border: rgba(245, 158, 11, 0.2);
    --color-gradient-icon: linear-gradient(135deg, rgba(29, 78, 216, 0.25), var(--color-brand-primary));
    --color-gradient-card: linear-gradient(135deg, #0A192F 0%, #0F2040 100%);
    --color-hero-glow: rgba(29, 78, 216, 0.1);
    --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 20px 35px -8px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 25px 40px -12px rgba(0, 0, 0, 0.35);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ۲. دارک مود */
[data-theme="dark"] {
    --color-bg-primary: #0A192F;
    --color-bg-card: #112240;
    --color-brand-primary: #1D4ED8;
    --color-accent: #F59E0B;
    --color-accent-dark: #D97706;
    --color-text-primary: #F8FAFC;
    --color-text-secondary: #CBD5E1;
    --color-text-dark: #0F172A;
    --color-white: #FFFFFF;
    --color-bg-alt: #1E3A5F;
    --color-star: #FFD700;
    --color-border-card: rgba(29, 78, 216, 0.15);
    --color-border-accent: rgba(245, 158, 11, 0.3);
    --color-divider: rgba(203, 213, 225, 0.2);
    --color-bg-badge: rgba(29, 78, 216, 0.3);
    --color-bg-btn: rgba(29, 78, 216, 0.2);
    --color-bg-tag: rgba(29, 78, 216, 0.1);
    --color-bg-hover: rgba(29, 78, 216, 0.06);
    --color-accent-light-bg: rgba(245, 158, 11, 0.08);
    --color-accent-border: rgba(245, 158, 11, 0.2);
    --color-gradient-icon: linear-gradient(135deg, rgba(29, 78, 216, 0.25), var(--color-brand-primary));
    --color-gradient-card: linear-gradient(135deg, #0A192F 0%, #0F2040 100%);
    --color-hero-glow: rgba(29, 78, 216, 0.1);
    --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 20px 35px -8px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 25px 40px -12px rgba(0, 0, 0, 0.35);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ۳. لایت مود */
[data-theme="light"] {
    --color-bg-primary: #F8FAFC;
    --color-bg-card: #FFFFFF;
    --color-brand-primary: #1E40AF;
    --color-accent: #1E40AF;
    --color-accent-dark: #1E3A8A;
    --color-text-primary: #0F172A;
    --color-text-secondary: #475569;
    --color-text-dark: #0F172A;
    --color-white: #FFFFFF;
    --color-bg-alt: #F1F5F9;
    --color-star: #F59E0B;
    --color-border-card: rgba(0, 0, 0, 0.08);
    --color-border-accent: rgba(30, 64, 175, 0.2);
    --color-divider: rgba(0, 0, 0, 0.08);
    --color-bg-badge: rgba(30, 64, 175, 0.1);
    --color-bg-btn: rgba(30, 64, 175, 0.08);
    --color-bg-tag: rgba(30, 64, 175, 0.06);
    --color-bg-hover: rgba(30, 64, 175, 0.04);
    --color-accent-light-bg: rgba(30, 64, 175, 0.06);
    --color-accent-border: rgba(30, 64, 175, 0.15);
    --color-gradient-icon: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(30, 64, 175, 0.2));
    --color-gradient-card: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    --color-hero-glow: rgba(30, 64, 175, 0.05);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== دکمه تغییر تم ==================== */
.theme-toggle-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.theme-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--color-bg-card);
    border: 2px solid var(--color-accent);
    border-radius: 14px;
    cursor: pointer;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    white-space: nowrap;
    min-width: 150px;
}

.theme-toggle-btn:hover {
    transform: translateY(-2px);
    background: var(--color-accent);
    color: #0F172A;
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
}

.theme-toggle-btn i {
    font-size: 1.1rem;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.theme-toggle-btn:hover i {
    transform: rotate(30deg);
}

.theme-toggle-btn span {
    line-height: 1.4;
}

.theme-toggle-btn .dark-text { 
    display: inline-flex; 
    align-items: center;
    gap: 8px;
}
.theme-toggle-btn .light-text { display: none; }
.theme-toggle-btn .fa-moon { display: inline-block; }
.theme-toggle-btn .fa-sun { display: none; }

[data-theme="light"] .theme-toggle-btn .dark-text { display: none; }
[data-theme="light"] .theme-toggle-btn .light-text { 
    display: inline-flex; 
    align-items: center;
    gap: 8px;
}
[data-theme="light"] .theme-toggle-btn .fa-moon { display: none; }
[data-theme="light"] .theme-toggle-btn .fa-sun { display: inline-block; }

@media (max-width: 768px) {
    .theme-toggle-wrapper { bottom: 16px; right: 16px; }
    .theme-toggle-btn {
        padding: 10px 16px;
        font-size: 0.82rem;
        gap: 8px;
        border-radius: 12px;
        min-width: auto;
    }
    .theme-toggle-btn i { font-size: 1rem; }
}

@media (max-width: 420px) {
    .theme-toggle-btn {
        padding: 8px 14px;
        font-size: 0.75rem;
        gap: 6px;
        border-radius: 10px;
    }
    .theme-toggle-btn .dark-text,
    .theme-toggle-btn .light-text { display: none !important; }
    .theme-toggle-btn .fa-moon { display: inline-block !important; }
    [data-theme="light"] .theme-toggle-btn .fa-moon { display: none !important; }
    [data-theme="light"] .theme-toggle-btn .fa-sun { display: inline-block !important; }
}


/* ==================== لایت مود فیکس ==================== */
[data-theme="light"] .hero-content h1,
[data-theme="light"] .section-title-center,
[data-theme="light"] .expert-name,
[data-theme="light"] .project-title,
[data-theme="light"] .hero-stat,
[data-theme="light"] .rating-value,
[data-theme="light"] .faq-question-accordion,
[data-theme="light"] .software-card h3,
[data-theme="light"] .business-card h3,
[data-theme="light"] .consultation-cta h2,
[data-theme="light"] .article-title,
[data-theme="light"] .hardware-info h4 {
    color: #0F172A !important;
}

[data-theme="light"] .project-budget,
[data-theme="light"] .project-meta span {
    color: #0F172A !important;
}

[data-theme="light"] .hero-content p,
[data-theme="light"] .section-desc,
[data-theme="light"] .expert-specialty,
[data-theme="light"] .expert-location,
[data-theme="light"] .project-desc,
[data-theme="light"] .faq-answer-accordion,
[data-theme="light"] .software-features li,
[data-theme="light"] .business-card p,
[data-theme="light"] .article-excerpt,
[data-theme="light"] .article-meta,
[data-theme="light"] .hero-stat .label,
[data-theme="light"] .calculator-count,
[data-theme="light"] .software-tag-item span,
[data-theme="light"] .benefit-item span,
[data-theme="light"] .note-content span {
    color: #334155 !important;
}

[data-theme="light"] .section-badge i,
[data-theme="light"] .hero-stat .number,
[data-theme="light"] .business-icon,
[data-theme="light"] .software-icon,
[data-theme="light"] .feature-icon-glow,
[data-theme="light"] .note-icon,
[data-theme="light"] .roadmap-icon-wrapper,
[data-theme="light"] .service-icon-home,
[data-theme="light"] .calculator-icon,
[data-theme="light"] .software-features li i,
[data-theme="light"] .project-budget i,
[data-theme="light"] .project-meta i,
[data-theme="light"] .faq-question-accordion i,
[data-theme="light"] .faq-toggle-icon,
[data-theme="light"] .benefit-item i,
[data-theme="light"] .software-tag-item i,
[data-theme="light"] .info-feature-item i,
[data-theme="light"] .info-box-content h3 i {
    color: #1E40AF !important;
}

[data-theme="light"] .btn-primary-lg {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .btn-primary-lg:hover {
    background: #1E3A8A !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .search-tab.active {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .expert-btn {
    background: rgba(30, 64, 175, 0.1) !important;
}

[data-theme="light"] .expert-btn:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .expert-avatar,
[data-theme="light"] .expert-avatar-placeholder {
    border-color: #1E40AF !important;
}

[data-theme="light"] .expert-avatar-placeholder {
    color: #1E40AF !important;
}

[data-theme="light"] .section-badge {
    background: rgba(30, 64, 175, 0.1) !important;
    color: #1E40AF !important;
}

[data-theme="light"] .roadmap-step-number {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .theme-toggle-btn {
    border-color: #1E40AF !important;
    color: #1E40AF !important;
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

/* ==================== کارت‌ها - پس‌زمینه روشن با کادر تیره ==================== */
[data-theme="light"] .expert-card,
[data-theme="light"] .project-card,
[data-theme="light"] .service-card-home,
[data-theme="light"] .business-card,
[data-theme="light"] .software-card,
[data-theme="light"] .calculator-card,
[data-theme="light"] .roadmap-card,
[data-theme="light"] .hardware-card,
[data-theme="light"] .hero-search,
[data-theme="light"] .analysis-info-box,
[data-theme="light"] .software-tags-box,
[data-theme="light"] .note-card,
[data-theme="light"] .faq-item-accordion,
[data-theme="light"] .article-card,
[data-theme="light"] .card-box {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
}




[data-theme="light"] .expert-btn,
[data-theme="light"] .project-btn,
[data-theme="light"] .software-btn,
[data-theme="light"] .business-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .expert-btn:hover,
[data-theme="light"] .project-btn:hover,
[data-theme="light"] .software-btn:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}



[data-theme="light"] .expert-name,
[data-theme="light"] .project-title,
[data-theme="light"] .service-card-home h3,
[data-theme="light"] .business-card h3,
[data-theme="light"] .software-card h3,
[data-theme="light"] .calculator-card h3,
[data-theme="light"] .article-title {
    color: #0F172A !important;
}

[data-theme="light"] .expert-specialty,
[data-theme="light"] .expert-location,
[data-theme="light"] .project-desc,
[data-theme="light"] .service-card-home p,
[data-theme="light"] .business-card p,
[data-theme="light"] .software-features li,
[data-theme="light"] .calculator-count {
    color: #475569 !important;
}



/* ==================== فرم جستجو در لایت مود ==================== */
[data-theme="light"] .search-form select,
[data-theme="light"] .search-form input {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .search-form select:focus,
[data-theme="light"] .search-form input:focus {
    border-color: #1E40AF !important;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1) !important;
}

/* ==================== متن‌های داخل باکس‌های info ==================== */
[data-theme="light"] .info-box-content h3,
[data-theme="light"] .info-box-content p,
[data-theme="light"] .info-feature-item strong,
[data-theme="light"] .info-feature-item span,
[data-theme="light"] .feature-card-highlight h4,
[data-theme="light"] .feature-card-highlight p,
[data-theme="light"] .feature-tag,
[data-theme="light"] .note-content strong,
[data-theme="light"] .note-content span,
[data-theme="light"] .roadmap-subtitle {
    color: #0F172A !important;
}

[data-theme="light"] .feature-tag {
    color: #1E40AF !important;
    background: rgba(30, 64, 175, 0.1) !important;
}

[data-theme="light"] .text-accent {
    color: #1E40AF !important;
}


/* ==================== تب‌های جستجو - لایت مود ==================== */
[data-theme="light"] .search-tabs {
    background: #E2E8F0 !important;
}

[data-theme="light"] .search-form button,
[data-theme="light"] .hero-search .search-form button {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}


/* ==================== متن تب‌های غیرفعال در لایت مود ==================== */
[data-theme="light"] .search-tab:not(.active) {
    color: #0F172A !important;
}

[data-theme="light"] .search-tab:not(.active):hover {
    color: #1E40AF !important;
    background: rgba(30, 64, 175, 0.08) !important;
}

/* ==================== متن CTA در لایت مود ==================== */
[data-theme="light"] .consultation-cta h2 {
    color: #F59E0B !important;
}


/* ==================== فیکس نهایی پس‌زمینه سکشن‌ها ==================== */
[data-theme="light"] body,
[data-theme="light"] .home-page,
[data-theme="light"] .hero,
[data-theme="light"] .roadmap-section,
[data-theme="light"] .projects-section,
[data-theme="light"] .business-analysis-section,
[data-theme="light"] .calculators-section,
[data-theme="light"] .software-section,
[data-theme="light"] .services-section,
[data-theme="light"] .featured-experts-section,
[data-theme="light"] .verified-experts-section,
[data-theme="light"] section[style*="background"],
[data-theme="light"] section {
    background: #F8FAFC !important;
    background-color: #F8FAFC !important;
}

/* اطمینان از تیره بودن متن‌های عمومی */
[data-theme="light"] body,
[data-theme="light"] .home-page,
[data-theme="light"] p,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] span,
[data-theme="light"] li,
[data-theme="light"] div {
    color: inherit;
}


/* ==================== فیکس متن کارت‌های رودمپ ==================== */
[data-theme="light"] .roadmap-card h3,
[data-theme="light"] .roadmap-card p,
[data-theme="light"] .project-roadmap-grid .roadmap-card h3,
[data-theme="light"] .project-roadmap-grid .roadmap-card p {
    color: #0F172A !important;
}

[data-theme="light"] .roadmap-card h3 {
    color: #0F172A !important;
}

[data-theme="light"] .roadmap-card p {
    color: #475569 !important;
}

[data-theme="light"] .project-roadmap-grid .roadmap-card h3 {
    color: #0F172A !important;
}

[data-theme="light"] .project-roadmap-grid .roadmap-card p {
    color: #475569 !important;
}

/* آیکون‌های داخل roadmap */
[data-theme="light"] .roadmap-icon-wrapper i {
    color: #1E40AF !important;
}

[data-theme="light"] .project-roadmap-grid .roadmap-icon-wrapper i {
    color: #1E40AF !important;
}

/* شماره گام‌ها */
[data-theme="light"] .roadmap-step-number {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

/* ==================== خط جداکننده طلایی در لایت مود ==================== */
[data-theme="light"] .section-divider-gold {
    background: linear-gradient(90deg, transparent, #1E40AF, transparent) !important;
}


/* ==================== فیکس پس‌زمینه کل سایت ==================== */
html, body {
    background-color: var(--color-bg-primary);
    transition: background-color 0.3s ease;
}




/* ==================== متن‌های expert در حالت تاریک ==================== */
[data-theme="dark"] .expert-main h1,
[data-theme="dark"] .expert-main h2,
[data-theme="dark"] .expert-main h3,
[data-theme="dark"] .expert-main h4,
[data-theme="dark"] .expert-main h5,
[data-theme="dark"] .expert-main h6,
[data-theme="dark"] .expert-main strong,
[data-theme="dark"] .expert-main label,
[data-theme="dark"] .expert-main .req-title,
[data-theme="dark"] .expert-main .tips-title,
[data-theme="dark"] .expert-main .budget,
[data-theme="dark"] .expert-main .stat-value,
[data-theme="dark"] .expert-main .price,
[data-theme="dark"] .expert-main .stat-label,
[data-theme="dark"] .expert-main .card-footer,
[data-theme="dark"] .expert-main .info-row,
[data-theme="dark"] .expert-main .item-stats,
[data-theme="dark"] .expert-main .item-main,
[data-theme="dark"] .expert-main .project-desc,
[data-theme="dark"] .expert-main .desc,
[data-theme="dark"] .expert-main .milestone-item,
[data-theme="dark"] .expert-main p,
[data-theme="dark"] .expert-main span:not(.badge-level):not(.req-tag),
[data-theme="dark"] .expert-main td,
[data-theme="dark"] .expert-main th {
    color: var(--color-text-primary) !important;
}

[data-theme="dark"] .expert-main small,
[data-theme="dark"] .expert-main .text-muted,
[data-theme="dark"] .expert-main .muted,
[data-theme="dark"] .expert-main .input-hint,
[data-theme="dark"] .expert-main .time-left {
    color: var(--color-text-secondary) !important;
}



[data-theme="dark"] div[style*="background: white"],
[data-theme="dark"] section[style*="background: white"],
[data-theme="dark"] *[style*="background: white"] {
    background: var(--color-bg-card) !important;
}

[data-theme="dark"] div[style*="background: #FFFFFF"],
[data-theme="dark"] section[style*="background: #FFFFFF"],
[data-theme="dark"] *[style*="background: #FFFFFF"] {
    background: var(--color-bg-card) !important;
}

[data-theme="dark"] div[style*="background: #FFF"],
[data-theme="dark"] section[style*="background: #FFF"] {
    background: var(--color-bg-card) !important;
}




/* ==================== فیکس متن‌های expert در دارک مود ==================== */
[data-theme="dark"] .expert-main h1,
[data-theme="dark"] .expert-main h2,
[data-theme="dark"] .expert-main h3,
[data-theme="dark"] .expert-main h4,
[data-theme="dark"] .expert-main h5,
[data-theme="dark"] .expert-main h6 {
    color: #F59E0B !important;
}

[data-theme="dark"] .expert-main strong,
[data-theme="dark"] .expert-main label,
[data-theme="dark"] .expert-main .req-title,
[data-theme="dark"] .expert-main .tips-title,
[data-theme="dark"] .expert-main .budget,
[data-theme="dark"] .expert-main .stat-value,
[data-theme="dark"] .expert-main .price {
    color: #F8FAFC !important;
}

[data-theme="dark"] .expert-main p,
[data-theme="dark"] .expert-main span,
[data-theme="dark"] .expert-main td,
[data-theme="dark"] .expert-main th,
[data-theme="dark"] .expert-main .stat-label,
[data-theme="dark"] .expert-main .card-footer,
[data-theme="dark"] .expert-main .info-row,
[data-theme="dark"] .expert-main .item-stats,
[data-theme="dark"] .expert-main .item-main,
[data-theme="dark"] .expert-main .project-desc,
[data-theme="dark"] .expert-main .desc,
[data-theme="dark"] .expert-main .milestone-item,
[data-theme="dark"] .expert-main li {
    color: #CBD5E1 !important;
}

/* فیکس المان‌های اینلاین با پس‌زمینه روشن */
[data-theme="dark"] .expert-main [style*="background: #E2EDF0"],
[data-theme="dark"] .expert-main [style*="background: #F0F0F0"],
[data-theme="dark"] .expert-main [style*="background: #f0f0f0"],
[data-theme="dark"] .expert-main [style*="background: #f5f5f5"],
[data-theme="dark"] .expert-main [style*="background: #e8e8e8"],
[data-theme="dark"] .expert-main [style*="background: #eee"] {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #F59E0B !important;
}

/* فیکس المان‌های اینلاین با متن تیره */
[data-theme="dark"] .expert-main [style*="color: #1D4C4F"],
[data-theme="dark"] .expert-main [style*="color: #333"],
[data-theme="dark"] .expert-main [style*="color: #000"] {
    color: #F59E0B !important;
}


/* ==================== فیکس داشبورد خصوصی کارشناس - لایت مود ==================== */
[data-theme="light"] .dash-card,
[data-theme="light"] .kpi-card,
[data-theme="light"] .specialties-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .dash-card__header,
[data-theme="light"] .specialties-card h3 {
    background: #F8FAFC !important;
    color: #0F172A !important;
}

[data-theme="light"] .dash-card__body {
    background: #FFFFFF !important;
}

[data-theme="light"] .dash-card__header i,
[data-theme="light"] .specialties-card h3 i {
    color: #1E40AF !important;
}

[data-theme="light"] .kpi-value,
[data-theme="light"] .mini-stat__val,
[data-theme="light"] .article-item__title,
[data-theme="light"] .consult-item__subject,
[data-theme="light"] .completion-pct,
[data-theme="light"] .checklist li {
    color: #0F172A !important;
}

[data-theme="light"] .kpi-label,
[data-theme="light"] .mini-stat__lbl,
[data-theme="light"] .article-item__date,
[data-theme="light"] .article-item__views,
[data-theme="light"] .consult-item__meta,
[data-theme="light"] .about-text,
[data-theme="light"] .contact-item,
[data-theme="light"] .suggestion-list li,
[data-theme="light"] .checklist li.pending {
    color: #475569 !important;
}

[data-theme="light"] .kpi-icon {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
}

[data-theme="light"] .mini-stat {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .specialty-badge {
    background: rgba(30, 64, 175, 0.06) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .quick-action-btn {
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .checklist li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .article-item:hover,
[data-theme="light"] .consult-item:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .ring-bg {
    stroke: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .empty-text {
    color: #64748B !important;
}


/* ==================== فیکس صفحات اینلاین اکسپرت در لایت مود ==================== */
[data-theme="light"] .expert-main table {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .expert-main table thead {
    background: rgba(30, 64, 175, 0.05) !important;
}

[data-theme="light"] .expert-main table th {
    color: #1E40AF !important;
}

[data-theme="light"] .expert-main table td {
    color: #334155 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .expert-main table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .expert-main h2,
[data-theme="light"] .expert-main h2::before {
    color: #0F172A !important;
}

[data-theme="light"] .expert-main .badge.pending {
    color: #0F172A !important;
}


/* ==================== فیکس جزئیات درخواست مشاوره - لایت مود ==================== */
[data-theme="light"] .detail-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .detail-card p {
    color: #334155 !important;
}

[data-theme="light"] .detail-card strong {
    color: #0F172A !important;
}

[data-theme="light"] .detail-card hr {
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .detail-card h5 {
    color: #1E40AF !important;
}

[data-theme="light"] .form-group label {
    color: #0F172A !important;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: #1E40AF !important;
    box-shadow: 0 0 4px rgba(30, 64, 175, 0.3) !important;
}

[data-theme="light"] .detail-card .rating-box {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}



/* ==================== فیکس فیلدهای ویرایش پروفایل - لایت مود ==================== */
[data-theme="light"] .card input,
[data-theme="light"] .card textarea,
[data-theme="light"] .card select {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .card input::placeholder,
[data-theme="light"] .card textarea::placeholder {
    color: #94A3B8 !important;
}

[data-theme="light"] .card input:focus,
[data-theme="light"] .card textarea:focus,
[data-theme="light"] .card select:focus {
    border-color: #1E40AF !important;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .card select option {
    background: #FFFFFF !important;
    color: #0F172A !important;
}
/* ==================== فیکس متن‌های ویرایش پروفایل - لایت مود ==================== */
[data-theme="light"] .card .subtitle,
[data-theme="light"] .card .field label,
[data-theme="light"] .card .field small,
[data-theme="light"] .card .info-tip span,
[data-theme="light"] .card .person-type-card div,
[data-theme="light"] .card .person-type-card span,
[data-theme="light"] .card .person-type-card strong,
[data-theme="light"] .card .switches label,
[data-theme="light"] .card .file-name,
[data-theme="light"] .profile-progress span {
    color: #334155 !important;
}

[data-theme="light"] .card .person-type-card strong {
    color: #0F172A !important;
}

[data-theme="light"] .verification-warning {
    color: #1E40AF !important;
    background: rgba(30, 64, 175, 0.06) !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}


/* ==================== فیکس خدمات من - لایت مود ==================== */
[data-theme="light"] .expert-services-page {
    background: #F8FAFC !important;
}

[data-theme="light"] .expert-services-page .service-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .expert-services-page .services-header h2 {
    color: #0F172A !important;
}

[data-theme="light"] .service-card-header h3 {
    color: #0F172A !important;
}

[data-theme="light"] .service-description {
    color: #475569 !important;
}

[data-theme="light"] .service-info {
    color: #475569 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .expert-services-page .services-header {
    border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
}


/* ==================== فیکس فرم‌های افزودن/ویرایش - لایت مود ==================== */
[data-theme="light"] .form-card input[type="text"],
[data-theme="light"] .form-card input[type="number"],
[data-theme="light"] .form-card input[type="url"],
[data-theme="light"] .form-card input[type="email"],
[data-theme="light"] .form-card textarea,
[data-theme="light"] .form-card select {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}
/* ==================== فیکس فرم افزودن خدمت - لایت مود ==================== */
[data-theme="light"] .service-form-wrapper {
    background: #F8FAFC !important;
}

[data-theme="light"] .form-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}


/* ==================== فیکس کامل صفحات پشتیبانی - لایت مود ==================== */

/* ─── صفحه لیست تیکت‌ها ─── */
[data-theme="light"] .support-page .page-header {
    background: #FFFFFF !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .support-page .page-title { color: #0F172A !important; }
[data-theme="light"] .support-page .page-subtitle { color: #475569 !important; }
[data-theme="light"] .support-page .page-header .btn { background: #1E40AF !important; color: #FFFFFF !important; }
[data-theme="light"] .support-page .page-header .btn:hover { background: #1E3A8A !important; }

[data-theme="light"] .support-page .stat-card { background: #FFFFFF !important; border: 1px solid rgba(0, 0, 0, 0.08) !important; }
[data-theme="light"] .support-page .stat-number { color: #1E40AF !important; }
[data-theme="light"] .support-page .stat-label { color: #475569 !important; }

[data-theme="light"] .support-page .tickets-container { background: #FFFFFF !important; border: 1px solid rgba(0, 0, 0, 0.08) !important; }
[data-theme="light"] .support-page .ticket-list { background: #FFFFFF !important; }
[data-theme="light"] .support-page .ticket-item { background: #FFFFFF !important; border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important; }
[data-theme="light"] .support-page .ticket-item:hover { background: #F8FAFC !important; }
[data-theme="light"] .support-page .ticket-title { color: #0F172A !important; }
[data-theme="light"] .support-page .ticket-info,
[data-theme="light"] .support-page .ticket-meta { color: #475569 !important; }
[data-theme="light"] .support-page .ticket-description { color: #64748B !important; }
[data-theme="light"] .support-page .separator { color: #94A3B8 !important; }

[data-theme="light"] .support-page .pagination { border-top: 1px solid rgba(0, 0, 0, 0.06) !important; }
[data-theme="light"] .support-page .page-link { background: #F1F5F9 !important; color: #0F172A !important; border: 1px solid rgba(0, 0, 0, 0.08) !important; }
[data-theme="light"] .support-page .page-link:hover { background: #E2E8F0 !important; }

[data-theme="light"] .support-page .empty-state { background: #FFFFFF !important; }
[data-theme="light"] .support-page .empty-title { color: #0F172A !important; }
[data-theme="light"] .support-page .empty-description { color: #475569 !important; }
[data-theme="light"] .support-page .empty-state .btn-large { background: #1E40AF !important; color: #FFFFFF !important; }

[data-theme="light"] .tickets-container .ticket-header .badge + div { color: #475569 !important; }

/* ─── صفحه ایجاد تیکت ─── */
[data-theme="light"] .create-ticket-page .ticket-form { background: #FFFFFF !important; border: 1px solid rgba(0, 0, 0, 0.08) !important; }
[data-theme="light"] .create-ticket-page .form-label { color: #0F172A !important; }
[data-theme="light"] .create-ticket-page .form-help { color: #64748B !important; }
[data-theme="light"] .create-ticket-page .guide-card { background: #FFFFFF !important; border: 1px solid rgba(0, 0, 0, 0.08) !important; }
[data-theme="light"] .create-ticket-page .guide-title { color: #0F172A !important; }
[data-theme="light"] .create-ticket-page .guide-description { color: #475569 !important; }
[data-theme="light"] .create-ticket-page .btn-secondary { background: #F1F5F9 !important; color: #0F172A !important; border: 1px solid rgba(0, 0, 0, 0.1) !important; }
[data-theme="light"] .create-ticket-page .btn-secondary:hover { background: #E2E8F0 !important; color: #0F172A !important; }

/* ─── صفحه جزئیات تیکت ─── */
[data-theme="light"] .ticket-detail-page .ticket-header { background: #FFFFFF !important; border: 1px solid rgba(0, 0, 0, 0.08) !important; }
[data-theme="light"] .ticket-detail-page .ticket-subject { color: #0F172A !important; }
[data-theme="light"] .ticket-detail-page .ticket-meta { color: #475569 !important; }
[data-theme="light"] .ticket-detail-page .messages-container { background: #FFFFFF !important; border: 1px solid rgba(0, 0, 0, 0.08) !important; }
[data-theme="light"] .ticket-detail-page .section-title { color: #0F172A !important; }
[data-theme="light"] .ticket-detail-page .message-user { color: #0F172A !important; }
[data-theme="light"] .ticket-detail-page .message-content { color: #475569 !important; }
[data-theme="light"] .ticket-detail-page .message-time { color: #94A3B8 !important; }
[data-theme="light"] .ticket-detail-page .message-form-container { background: #FFFFFF !important; border: 1px solid rgba(0, 0, 0, 0.08) !important; }
[data-theme="light"] .ticket-detail-page .ticket-closed-container { background: #F8FAFC !important; border: 2px dashed rgba(0, 0, 0, 0.1) !important; }
[data-theme="light"] .ticket-detail-page .closed-title { color: #0F172A !important; }
[data-theme="light"] .ticket-detail-page .closed-text { color: #475569 !important; }

/* ==================== فیکس متغیر bg-card در لایت مود ==================== */
[data-theme="light"] .support-page,
[data-theme="light"] .support-page .ticket-header,
[data-theme="light"] .support-page .ticket-item,
[data-theme="light"] .support-page .tickets-container,
[data-theme="light"] .support-page .stat-card,
[data-theme="light"] .support-page .page-header,
[data-theme="light"] .create-ticket-page .ticket-form,
[data-theme="light"] .create-ticket-page .guide-card,
[data-theme="light"] .ticket-detail-page .ticket-header,
[data-theme="light"] .ticket-detail-page .messages-container,
[data-theme="light"] .ticket-detail-page .message-form-container {
    background: #FFFFFF !important;
}

/* ==================== فیکس کیف پول - لایت مود (کاربر عادی + کارشناس) ==================== */
[data-theme="light"] .wallet-dashboard,
[data-theme="light"] .main-content .wallet-dashboard,
[data-theme="light"] .expert-main .wallet-dashboard {
    background: #F8FAFC !important;
}

[data-theme="light"] .wallet-dashboard .package-card,
[data-theme="light"] .wallet-dashboard .recent-transactions {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .wallet-dashboard .transaction-item {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .wallet-dashboard .transaction-item:hover {
    background: #F1F5F9 !important;
}

[data-theme="light"] .wallet-dashboard .section-header h3,
[data-theme="light"] .wallet-dashboard .wallet-title,
[data-theme="light"] .wallet-dashboard .package-title-row h4,
[data-theme="light"] .wallet-dashboard .final-price,
[data-theme="light"] .wallet-dashboard .transaction-desc,
[data-theme="light"] .wallet-dashboard .btn-link {
    color: #0F172A !important;
}

[data-theme="light"] .wallet-dashboard .package-desc,
[data-theme="light"] .wallet-dashboard .credit-label,
[data-theme="light"] .wallet-dashboard .transaction-date,
[data-theme="light"] .wallet-dashboard .old-price,
[data-theme="light"] .wallet-dashboard .view-all {
    color: #475569 !important;
}

[data-theme="light"] .wallet-dashboard .btn-link:hover,
[data-theme="light"] .wallet-dashboard .view-all:hover {
    color: #1E40AF !important;
    background: rgba(30, 64, 175, 0.06) !important;
}

[data-theme="light"] .wallet-dashboard .btn-buy {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .wallet-dashboard .btn-buy:hover,
[data-theme="light"] .wallet-dashboard .package-card.featured .btn-buy {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .wallet-dashboard .package-card.featured .btn-buy:hover {
    background: #1E3A8A !important;
}
/* ==================== فیکس کیف پول کاربر عادی - لایت مود ==================== */
[data-theme="light"] .user-wallet-dashboard {
    background: #F8FAFC !important;
}

[data-theme="light"] .user-wallet-dashboard .package-card,
[data-theme="light"] .user-wallet-dashboard .recent-transactions,
[data-theme="light"] .user-wallet-dashboard .quick-guide {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .user-wallet-dashboard .transactions-list,
[data-theme="light"] .user-wallet-dashboard .empty-state {
    background: #FFFFFF !important;
}

[data-theme="light"] .user-wallet-dashboard .transaction-item {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .user-wallet-dashboard .transaction-item:hover {
    background: #F1F5F9 !important;
}

[data-theme="light"] .user-wallet-dashboard .btn-link {
    background: rgba(30, 64, 175, 0.06) !important;
    color: #1E40AF !important;
}

[data-theme="light"] .user-wallet-dashboard .btn-link:hover {
    background: rgba(30, 64, 175, 0.1) !important;
    color: #1E3A8A !important;
}

[data-theme="light"] .user-wallet-dashboard .section-header h3,
[data-theme="light"] .user-wallet-dashboard .wallet-title,
[data-theme="light"] .user-wallet-dashboard .package-title-row h4,
[data-theme="light"] .user-wallet-dashboard .final-price,
[data-theme="light"] .user-wallet-dashboard .transaction-desc {
    color: #0F172A !important;
}

[data-theme="light"] .user-wallet-dashboard .package-desc,
[data-theme="light"] .user-wallet-dashboard .credit-label,
[data-theme="light"] .user-wallet-dashboard .transaction-date,
[data-theme="light"] .user-wallet-dashboard .old-price,
[data-theme="light"] .user-wallet-dashboard .view-all {
    color: #475569 !important;
}

[data-theme="light"] .user-wallet-dashboard .view-all:hover {
    color: #1E40AF !important;
    background: rgba(30, 64, 175, 0.06) !important;
}

[data-theme="light"] .user-wallet-dashboard .btn-buy {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .user-wallet-dashboard .btn-buy:hover,
[data-theme="light"] .user-wallet-dashboard .package-card.featured .btn-buy {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .user-wallet-dashboard .package-card.featured .btn-buy:hover {
    background: #1E3A8A !important;
}
[data-theme="light"] .user-wallet-dashboard .empty-state p,
[data-theme="light"] .user-wallet-dashboard .empty-state i,
[data-theme="light"] .user-wallet-dashboard .quick-guide p,
[data-theme="light"] .user-wallet-dashboard .quick-guide h4,
[data-theme="light"] .user-wallet-dashboard .quick-guide i,
[data-theme="light"] .user-wallet-dashboard .balance-stats .stat {
    color: #475569 !important;
}

[data-theme="light"] .user-wallet-dashboard .quick-guide h4 {
    color: #0F172A !important;
}

[data-theme="light"] .user-wallet-dashboard .wallet-title i,
[data-theme="light"] .user-wallet-dashboard .section-header h3 i,
[data-theme="light"] .user-wallet-dashboard .transaction-icon i {
    color: #1E40AF !important;
}

/* ==================== فیکس صفحه پکیج کارشناس - لایت مود ==================== */
[data-theme="light"] .packages-page {
    background: #F8FAFC !important;
}

[data-theme="light"] .packages-page .page-title,
[data-theme="light"] .packages-page .package-name,
[data-theme="light"] .packages-page .final-price,
[data-theme="light"] .packages-page .current-balance {
    color: #0F172A !important;
}

[data-theme="light"] .packages-page .page-desc,
[data-theme="light"] .packages-page .package-description,
[data-theme="light"] .packages-page .package-credit-value .unit,
[data-theme="light"] .packages-page .package-duration,
[data-theme="light"] .packages-page .current-balance span {
    color: #475569 !important;
}

[data-theme="light"] .packages-page .back-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .packages-page .back-link:hover {
    background: rgba(30, 64, 175, 0.15) !important;
    color: #1E3A8A !important;
}

[data-theme="light"] .packages-page .current-balance,
[data-theme="light"] .packages-page .package-card-full {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .packages-page .package-card-full.featured {
    border: 2px solid #F59E0B !important;
}

[data-theme="light"] .packages-page .tab-btn {
    color: #475569 !important;
}

[data-theme="light"] .packages-page .tab-btn:hover {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #0F172A !important;
}

[data-theme="light"] .packages-page .tab-btn.active {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .packages-page .empty-state {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #475569 !important;
}

[data-theme="light"] .packages-page .btn-purchase {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .packages-page .btn-purchase:hover,
[data-theme="light"] .packages-page .package-card-full.featured .btn-purchase {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .packages-page .package-card-full.featured .btn-purchase:hover {
    background: #1E3A8A !important;
}

[data-theme="light"] .packages-page .featured-ribbon {
    color: #FFFFFF !important;
}

/* ==================== فیکس صفحه پکیج کاربر عادی - لایت مود ==================== */
[data-theme="light"] .user-packages-page {
    background: #F8FAFC !important;
}

[data-theme="light"] .user-packages-page .page-title,
[data-theme="light"] .user-packages-page .package-name,
[data-theme="light"] .user-packages-page .final-price,
[data-theme="light"] .user-packages-page .guide-header h4,
[data-theme="light"] .user-packages-page .step-content strong {
    color: #0F172A !important;
}

[data-theme="light"] .user-packages-page .page-desc,
[data-theme="light"] .user-packages-page .package-description,
[data-theme="light"] .user-packages-page .package-credit-value .unit,
[data-theme="light"] .user-packages-page .package-duration,
[data-theme="light"] .user-packages-page .step-content p,
[data-theme="light"] .user-packages-page .package-note {
    color: #475569 !important;
}

[data-theme="light"] .user-packages-page .back-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .user-packages-page .back-link:hover {
    background: rgba(30, 64, 175, 0.15) !important;
    color: #1E3A8A !important;
}

[data-theme="light"] .user-packages-page .current-balance,
[data-theme="light"] .user-packages-page .package-card-full,
[data-theme="light"] .user-packages-page .package-note,
[data-theme="light"] .user-packages-page .purchase-guide {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .user-packages-page .package-card-full.featured {
    border: 2px solid #F59E0B !important;
}

[data-theme="light"] .user-packages-page .empty-state {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #475569 !important;
}

[data-theme="light"] .user-packages-page .btn-purchase {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .user-packages-page .btn-purchase:hover,
[data-theme="light"] .user-packages-page .package-card-full.featured .btn-purchase {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .user-packages-page .package-card-full.featured .btn-purchase:hover {
    background: #1E3A8A !important;
}

[data-theme="light"] .user-packages-page .featured-ribbon {
    color: #FFFFFF !important;
}

[data-theme="light"] .user-packages-page .step-number {
    background: rgba(30, 64, 175, 0.1) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.2) !important;
}


/* ==================== فیکس تاریخچه تراکنش کارشناس - لایت مود ==================== */
[data-theme="light"] .transactions-page {
    background: #F8FAFC !important;
}

[data-theme="light"] .transactions-page .page-title,
[data-theme="light"] .transactions-page .stat-value,
[data-theme="light"] .transactions-page .transactions-table th {
    color: #0F172A !important;
}

[data-theme="light"] .transactions-page .page-desc,
[data-theme="light"] .transactions-page .stat-label,
[data-theme="light"] .transactions-page .transactions-table td,
[data-theme="light"] .transactions-page .description {
    color: #475569 !important;
}

[data-theme="light"] .transactions-page .date,
[data-theme="light"] .transactions-page .row-number,
[data-theme="light"] .transactions-page .ref-code {
    color: #64748B !important;
}

[data-theme="light"] .transactions-page .back-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .transactions-page .back-link:hover {
    background: rgba(30, 64, 175, 0.15) !important;
    color: #1E3A8A !important;
}

[data-theme="light"] .transactions-page .stat-card,
[data-theme="light"] .transactions-page .transactions-table-wrapper,
[data-theme="light"] .transactions-page .filter-tab {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .transactions-page .filter-tab {
    color: #475569 !important;
}

[data-theme="light"] .transactions-page .filter-tab:hover {
    background: rgba(30, 64, 175, 0.06) !important;
    color: #0F172A !important;
}

[data-theme="light"] .transactions-page .filter-tab.active {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .transactions-page .date-input {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .transactions-page .btn-filter {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .transactions-page .btn-filter:hover {
    background: #1E3A8A !important;
}

[data-theme="light"] .transactions-page .page-link {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .transactions-page .page-link.active {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .transactions-page .transaction-row:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .transactions-page .empty-state {
    color: #64748B !important;
}

/* ==================== فیکس تاریخچه تراکنش کاربر عادی - لایت مود ==================== */
[data-theme="light"] .user-transactions-page {
    background: #F8FAFC !important;
}

[data-theme="light"] .user-transactions-page .page-title,
[data-theme="light"] .user-transactions-page .stat-value,
[data-theme="light"] .user-transactions-page .transactions-table th,
[data-theme="light"] .user-transactions-page .filter-tab {
    color: #0F172A !important;
}

[data-theme="light"] .user-transactions-page .page-desc,
[data-theme="light"] .user-transactions-page .stat-label,
[data-theme="light"] .user-transactions-page .transactions-table td,
[data-theme="light"] .user-transactions-page .description {
    color: #475569 !important;
}

[data-theme="light"] .user-transactions-page .date,
[data-theme="light"] .user-transactions-page .row-number {
    color: #64748B !important;
}

[data-theme="light"] .user-transactions-page .back-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .user-transactions-page .back-link:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .user-transactions-page .stat-card,
[data-theme="light"] .user-transactions-page .transactions-table-wrapper,
[data-theme="light"] .user-transactions-page .filter-tab {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .user-transactions-page .filter-tab:hover {
    background: rgba(30, 64, 175, 0.06) !important;
}

[data-theme="light"] .user-transactions-page .filter-tab.active {
    background: #F59E0B !important;
    color: #0F172A !important;
    border-color: #F59E0B !important;
}

[data-theme="light"] .user-transactions-page .transaction-row:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .user-transactions-page .empty-state {
    color: #64748B !important;
}


/* ==================== فیکس تسویه حساب - لایت مود ==================== */
[data-theme="light"] .checkout-page,
[data-theme="light"] .user-checkout-page {
    background: #F8FAFC !important;
}

[data-theme="light"] .checkout-page .page-title,
[data-theme="light"] .user-checkout-page .page-title,
[data-theme="light"] .checkout-page .summary-title,
[data-theme="light"] .user-checkout-page .summary-title,
[data-theme="light"] .checkout-page .section-title,
[data-theme="light"] .user-checkout-page .section-title,
[data-theme="light"] .checkout-page .package-details h4,
[data-theme="light"] .user-checkout-page .package-details h4,
[data-theme="light"] .checkout-page .price-row,
[data-theme="light"] .user-checkout-page .price-row,
[data-theme="light"] .checkout-page .method-name,
[data-theme="light"] .user-checkout-page .method-name {
    color: #0F172A !important;
}

[data-theme="light"] .checkout-page .package-details p,
[data-theme="light"] .user-checkout-page .package-details p,
[data-theme="light"] .checkout-page .package-details small,
[data-theme="light"] .user-checkout-page .method-desc,
[data-theme="light"] .checkout-page .price-row.discount,
[data-theme="light"] .user-checkout-page .current-balance-info,
[data-theme="light"] .checkout-page .current-balance-info,
[data-theme="light"] .user-checkout-page .secure-notice,
[data-theme="light"] .checkout-page .secure-notice,
[data-theme="light"] .user-checkout-page .method-desc {
    color: #475569 !important;
}

[data-theme="light"] .checkout-page .back-link,
[data-theme="light"] .user-checkout-page .back-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .checkout-page .back-link:hover,
[data-theme="light"] .user-checkout-page .back-link:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .checkout-page .order-summary,
[data-theme="light"] .user-checkout-page .order-summary,
[data-theme="light"] .checkout-page .payment-section,
[data-theme="light"] .user-checkout-page .payment-section {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .checkout-page .package-info,
[data-theme="light"] .user-checkout-page .package-info,
[data-theme="light"] .checkout-page .current-balance-info,
[data-theme="light"] .user-checkout-page .current-balance-info {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .checkout-page .payment-method,
[data-theme="light"] .user-checkout-page .payment-method {
    background: #F8FAFC !important;
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .checkout-page .payment-method.selected,
[data-theme="light"] .user-checkout-page .payment-method.selected {
    background: rgba(30, 64, 175, 0.06) !important;
    border-color: #1E40AF !important;
}

[data-theme="light"] .checkout-page .btn-cancel,
[data-theme="light"] .user-checkout-page .btn-cancel {
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .checkout-page .btn-cancel:hover,
[data-theme="light"] .user-checkout-page .btn-cancel:hover {
    background: #E2E8F0 !important;
}

[data-theme="light"] .checkout-page .btn-submit,
[data-theme="light"] .user-checkout-page .btn-submit {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .checkout-page .btn-submit:hover,
[data-theme="light"] .user-checkout-page .btn-submit:hover {
    background: #1E3A8A !important;
}

[data-theme="light"] .checkout-page .divider,
[data-theme="light"] .user-checkout-page .divider {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}


/* ==================== فیکس گزارش مصرف کاربر عادی - لایت مود ==================== */
[data-theme="light"] .user-ai-usage-page {
    background: #F8FAFC !important;
}

[data-theme="light"] .user-ai-usage-page .page-title,
[data-theme="light"] .user-ai-usage-page .section-title,
[data-theme="light"] .user-ai-usage-page .stat-value,
[data-theme="light"] .user-ai-usage-page .usage-table th,
[data-theme="light"] .user-ai-usage-page .service-name {
    color: #0F172A !important;
}

[data-theme="light"] .user-ai-usage-page .page-desc,
[data-theme="light"] .user-ai-usage-page .stat-label,
[data-theme="light"] .user-ai-usage-page .usage-table td,
[data-theme="light"] .user-ai-usage-page .service-name-cell,
[data-theme="light"] .user-ai-usage-page .service-count {
    color: #475569 !important;
}

[data-theme="light"] .user-ai-usage-page .date,
[data-theme="light"] .user-ai-usage-page .row-number {
    color: #94A3B8 !important;
}

[data-theme="light"] .user-ai-usage-page .back-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .user-ai-usage-page .back-link:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .user-ai-usage-page .stat-card,
[data-theme="light"] .user-ai-usage-page .breakdown-card,
[data-theme="light"] .user-ai-usage-page .table-wrapper {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .user-ai-usage-page .usage-table th {
    background: rgba(30, 64, 175, 0.05) !important;
}

[data-theme="light"] .user-ai-usage-page .usage-table tr:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .user-ai-usage-page .btn-start {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .user-ai-usage-page .btn-start:hover {
    background: #1E3A8A !important;
}

[data-theme="light"] .user-ai-usage-page .empty-state {
    color: #64748B !important;
}


/* ==================== فیکس تسویه حساب فروشگاه - لایت مود ==================== */
[data-theme="light"] .checkout-container {
    background: var(--color-bg-primary);
}

[data-theme="light"] .checkout-container .page-title,
[data-theme="light"] .checkout-container .summary-title,
[data-theme="light"] .checkout-container .section-title,
[data-theme="light"] .checkout-container .item-title,
[data-theme="light"] .checkout-container .item-price,
[data-theme="light"] .checkout-container .price-row,
[data-theme="light"] .checkout-container .method-name,
[data-theme="light"] .checkout-container .benefits-header,
[data-theme="light"] .checkout-container .guide-header {
    color: #0F172A !important;
}

[data-theme="light"] .checkout-container .item-variant,
[data-theme="light"] .checkout-container .item-quantity,
[data-theme="light"] .checkout-container .method-desc,
[data-theme="light"] .checkout-container .secure-notice,
[data-theme="light"] .checkout-container .benefits-list li,
[data-theme="light"] .checkout-container .guide-list li,
[data-theme="light"] .checkout-container .wallet-balance-info {
    color: #475569 !important;
}

[data-theme="light"] .checkout-container .order-summary,
[data-theme="light"] .checkout-container .payment-section {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .checkout-container .payment-method {
    background: #F8FAFC !important;
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .checkout-container .payment-method.selected {
    background: rgba(30, 64, 175, 0.06) !important;
    border-color: #1E40AF !important;
}

[data-theme="light"] .checkout-container .payment-method.disabled {
    background: #F1F5F9 !important;
    opacity: 0.6 !important;
}

[data-theme="light"] .checkout-container .divider,
[data-theme="light"] .checkout-container .summary-title,
[data-theme="light"] .checkout-container .section-title,
[data-theme="light"] .checkout-container .secure-notice {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .checkout-container .back-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .checkout-container .back-link:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .checkout-container .btn-submit {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .checkout-container .btn-submit:hover {
    background: #1E3A8A !important;
}

[data-theme="light"] .checkout-container .btn-cancel {
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .checkout-container .btn-cancel:hover {
    background: #E2E8F0 !important;
}

[data-theme="light"] .checkout-container .wallet-balance-info,
[data-theme="light"] .checkout-container .expert-benefits,
[data-theme="light"] .checkout-container .payment-guide {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .checkout-container .alert-success {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .checkout-container .alert-info {
    background: rgba(30, 64, 175, 0.06) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.1) !important;
}

/* ==================== فیکس فروشگاه و سفارشات - لایت مود ==================== */
[data-theme="light"] .order-card,
[data-theme="light"] .cart-card,
[data-theme="light"] .store-layout,
[data-theme="light"] .store-sidebar,
[data-theme="light"] .product-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .store-layout {
    background: #F8FAFC !important;
}

[data-theme="light"] .orders-table tbody td,
[data-theme="light"] .card-meta .order-id,
[data-theme="light"] .product-card__title a,
[data-theme="light"] .filter-section__title {
    color: #0F172A !important;
}

[data-theme="light"] .card-meta .order-date,
[data-theme="light"] .store-topbar__count,
[data-theme="light"] .product-card__category,
[data-theme="light"] .empty-state,
[data-theme="light"] .empty-state p {
    color: #475569 !important;
}

[data-theme="light"] .btn-print,
[data-theme="light"] .btn-checkout,
[data-theme="light"] .btn-continue,
[data-theme="light"] .product-card__btn,
[data-theme="light"] .filter-apply-btn {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .btn-print:hover,
[data-theme="light"] .btn-checkout:hover,
[data-theme="light"] .btn-continue:hover,
[data-theme="light"] .product-card__btn:hover,
[data-theme="light"] .filter-apply-btn:hover {
    background: #1E3A8A !important;
    color: #FFFFFF !important;
}


/* ==================== فیکس پس‌زمینه صفحات سفارشات کاربر عادی - لایت مود ==================== */
[data-theme="light"] .main-content,
[data-theme="light"] .container.py-4 {
    background: #F8FAFC !important;
}

[data-theme="light"] .order-card,
[data-theme="light"] .cart-card,
[data-theme="light"] .empty-state {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .order-card .card-meta .order-id,
[data-theme="light"] .cart-card .card-meta .order-id,
[data-theme="light"] .orders-table tbody td {
    color: #0F172A !important;
}

[data-theme="light"] .order-card .card-meta .order-date,
[data-theme="light"] .cart-card .empty-state p {
    color: #475569 !important;
}


/* ==================== فیکس چک‌اوت فروشگاه - لایت مود ==================== */
[data-theme="light"] .order-summary,
[data-theme="light"] .payment-section,
[data-theme="light"] .checkout-grid .order-summary,
[data-theme="light"] .checkout-grid .payment-section {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .checkout-container .page-title,
[data-theme="light"] .checkout-container .summary-title,
[data-theme="light"] .checkout-container .section-title {
    color: #0F172A !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .checkout-container .item-title,
[data-theme="light"] .checkout-container .item-price,
[data-theme="light"] .checkout-container .price-row,
[data-theme="light"] .checkout-container .method-name,
[data-theme="light"] .checkout-container .benefits-header,
[data-theme="light"] .checkout-container .guide-header {
    color: #0F172A !important;
}

[data-theme="light"] .checkout-container .item-variant,
[data-theme="light"] .checkout-container .item-quantity,
[data-theme="light"] .checkout-container .method-desc,
[data-theme="light"] .checkout-container .secure-notice,
[data-theme="light"] .checkout-container .benefits-list li,
[data-theme="light"] .checkout-container .guide-list li,
[data-theme="light"] .checkout-container .wallet-balance-info {
    color: #475569 !important;
}

[data-theme="light"] .checkout-container .payment-method {
    background: #F8FAFC !important;
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .checkout-container .payment-method.selected {
    background: rgba(30, 64, 175, 0.06) !important;
    border-color: #1E40AF !important;
}

[data-theme="light"] .checkout-container .divider,
[data-theme="light"] .checkout-container .summary-title,
[data-theme="light"] .checkout-container .section-title,
[data-theme="light"] .checkout-container .secure-notice,
[data-theme="light"] .checkout-container .payment-section .summary-title,
[data-theme="light"] .checkout-container .payment-section .section-title {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .checkout-container .back-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .checkout-container .back-link:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .checkout-container .btn-submit {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .checkout-container .btn-submit:hover {
    background: #1E3A8A !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .checkout-container .btn-cancel {
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .checkout-container .btn-cancel:hover {
    background: #E2E8F0 !important;
}

[data-theme="light"] .checkout-container .expert-benefits,
[data-theme="light"] .checkout-container .payment-guide,
[data-theme="light"] .checkout-container .wallet-balance-info {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .checkout-container .alert-success {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .checkout-container .alert-info {
    background: rgba(30, 64, 175, 0.06) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.1) !important;
}

[data-theme="light"] .checkout-container .expert-benefits {
    background: #F8FAFC !important;
}
[data-theme="light"] .checkout-container {
    background: #F8FAFC !important;
}



/* ==================== فیکس پنل مدیریت گزارشات - لایت مود ==================== */
[data-theme="light"] .filter-section {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .filter-section .form-label {
    color: #0F172A !important;
}

[data-theme="light"] .admin-report-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .admin-report-card .card-header {
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .admin-report-card .card-body {
    background: #FFFFFF !important;
}

[data-theme="light"] .admin-report-card .card-footer {
    background: #F8FAFC !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .admin-report-card .card-title a {
    color: #0F172A !important;
}

[data-theme="light"] .admin-report-card .text-muted {
    color: #475569 !important;
}

[data-theme="light"] .stat-card-admin {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%) !important;
}

[data-theme="light"] h2.fw-bold {
    color: #0F172A !important;
}
/* ==================== فیکس dropdown-menu - لایت مود ==================== */
[data-theme="light"] .dropdown-menu {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .dropdown-item {
    color: #0F172A !important;
}

[data-theme="light"] .dropdown-item:hover {
    background: #F1F5F9 !important;
    color: #0F172A !important;
}

[data-theme="light"] .dropdown-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* ==================== فیکس نهایی کارت‌های بیزینس آنالیز - لایت مود ==================== */
[data-theme="light"] .report-card,
[data-theme="light"] .card,
[data-theme="light"] .stat-card,
[data-theme="light"] .filter-section,
[data-theme="light"] .admin-report-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .report-card .card-header,
[data-theme="light"] .card .card-header,
[data-theme="light"] .admin-report-card .card-header {
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .report-card .card-body,
[data-theme="light"] .card .card-body,
[data-theme="light"] .admin-report-card .card-body {
    background: #FFFFFF !important;
    color: #0F172A !important;
}

[data-theme="light"] .report-card .card-footer,
[data-theme="light"] .card .card-footer,
[data-theme="light"] .admin-report-card .card-footer {
    background: #F8FAFC !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .report-card .card-title a,
[data-theme="light"] .card .card-title a,
[data-theme="light"] .admin-report-card .card-title a {
    color: #0F172A !important;
}

[data-theme="light"] .report-card .text-muted,
[data-theme="light"] .card .text-muted,
[data-theme="light"] .admin-report-card .text-muted {
    color: #475569 !important;
}

[data-theme="light"] .stat-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .stat-card::before {
    background: linear-gradient(90deg, #1E40AF, #F59E0B) !important;
}

[data-theme="light"] h2.fw-bold,
[data-theme="light"] h2 .fw-bold {
    color: #0F172A !important;
}


/* ==================== فیکس کارت‌های بیزینس آنالیز - لایت مود ==================== */
[data-theme="light"] .progress-card,
[data-theme="light"] .question-card,
[data-theme="light"] .nav-card,
[data-theme="light"] .choice-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .q-header {
    background: #F8FAFC !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .q-label {
    color: #0F172A !important;
}

[data-theme="light"] .help-box {
    background: rgba(30, 64, 175, 0.06) !important;
    border: 1px solid rgba(30, 64, 175, 0.1) !important;
    color: #475569 !important;
}

[data-theme="light"] .choice-label {
    color: #475569 !important;
}

[data-theme="light"] .progress-percent {
    color: #1E40AF !important;
}

[data-theme="light"] .nav-info {
    color: #475569 !important;
}
/* ==================== فیکس کارت‌های لندینگ بیزینس آنالیز - لایت مود ==================== */
[data-theme="light"] .section-card,
[data-theme="light"] .how-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #0F172A !important;
}

[data-theme="light"] .section-card .section-num {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .section-card .section-content {
    color: #0F172A !important;
}

[data-theme="light"] .how-card .how-title {
    color: #0F172A !important;
}

[data-theme="light"] .how-card .how-desc {
    color: #475569 !important;
}

[data-theme="light"] .how-card .how-icon {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
}
/* ==================== فیکس متن کارت‌های بیزینس آنالیز - لایت مود ==================== */
[data-theme="light"] .section-card,
[data-theme="light"] .section-card .section-content,
[data-theme="light"] .section-card h5,
[data-theme="light"] .section-card p,
[data-theme="light"] .section-card span,
[data-theme="light"] .section-card a {
    color: #0F172A !important;
}

[data-theme="light"] .section-card .section-num {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .how-card {
    background: #FFFFFF !important;
}

[data-theme="light"] .how-card .how-title {
    color: #0F172A !important;
}

[data-theme="light"] .how-card .how-desc {
    color: #475569 !important;
}
/* ==================== فیکس کارت‌های بیزینس آنالیز - لایت مود ==================== */
[data-theme="light"] .section-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .section-card * {
    color: #0F172A !important;
}

[data-theme="light"] .section-card .section-num {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .how-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .how-card .how-title {
    color: #0F172A !important;
}

[data-theme="light"] .how-card .how-desc {
    color: #475569 !important;
}

/* ==================== فیکس نتایج ساده - لایت مود ==================== */
[data-theme="light"] .meta-item,
[data-theme="light"] .answer-val,
[data-theme="light"] .card-green .card-body {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .meta-value,
[data-theme="light"] .answer-q {
    color: #0F172A !important;
}

[data-theme="light"] .meta-label,
[data-theme="light"] .card-header .text-muted {
    color: #475569 !important;
}

[data-theme="light"] .answer-val {
    color: #475569 !important;
    border-right: 3px solid #1E40AF !important;
}
/* ==================== فیکس نتایج پریمیوم - لایت مود ==================== */
[data-theme="light"] .card-premium,
[data-theme="light"] .stat-card,
[data-theme="light"] .swot-cell,
[data-theme="light"] .timeline-node,
[data-theme="light"] .action-card,
[data-theme="light"] .score-description-box {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #0F172A !important;
}

[data-theme="light"] .card-header-custom {
    background: #F8FAFC !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #0F172A !important;
}

[data-theme="light"] .answer-value-box {
    background: #F8FAFC !important;
    border-left: 4px solid #1E40AF !important;
    color: #475569 !important;
}

[data-theme="light"] .question-text,
[data-theme="light"] .score-label,
[data-theme="light"] .action-content h4,
[data-theme="light"] .card-premium h4,
[data-theme="light"] .card-premium strong {
    color: #0F172A !important;
}

[data-theme="light"] .text-muted,
[data-theme="light"] .action-content p,
[data-theme="light"] .timeline-node ul {
    color: #475569 !important;
}

[data-theme="light"] .stat-card .text-muted {
    color: #64748B !important;
}

[data-theme="light"] .choice-tag-modern {
    background: rgba(30, 64, 175, 0.06) !important;
    color: #0F172A !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .btn-ai-full {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .btn-ai-full:hover {
    background: #1E3A8A !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .analysis-actions {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .swot-cell li {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06) !important;
    color: #475569 !important;
}

[data-theme="light"] .result-hero {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%) !important;
}

[data-theme="light"] .result-hero h2 {
    color: #FFFFFF !important;
}

/* ==================== فیکس صفحه محاسبات - لایت مود ==================== */
[data-theme="light"] .report-toggle-label,
[data-theme="light"] .card-box .report-toggle-wrap span {
    color: #0F172A !important;
}

[data-theme="light"] .card-box p {
    color: #475569 !important;
}

[data-theme="light"] .card-box[style*="border-right:4px solid #F59E0B"] {
    background: rgba(30, 64, 175, 0.05) !important;
    border-right: 4px solid #1E40AF !important;
}

[data-theme="light"] .card-box[style*="border-right:4px solid #F59E0B"] .report-toggle-label {
    color: #0F172A !important;
}

[data-theme="light"] .card-box[style*="border-right:4px solid #F59E0B"] p {
    color: #475569 !important;
}
/* ==================== فیکس کارت‌های محاسبات - لایت مود ==================== */
[data-theme="light"] .calc-category-card,
[data-theme="light"] .calc-feature-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .calc-category-card h3,
[data-theme="light"] .calc-feature-item h3 {
    color: #0F172A !important;
}

[data-theme="light"] .calc-category-card small,
[data-theme="light"] .calc-feature-item p {
    color: #475569 !important;
}

[data-theme="light"] .calc-category-card p {
    color: #1E40AF !important;
}

[data-theme="light"] .calc-category-card .calc-cat-icon,
[data-theme="light"] .calc-feature-item i {
    color: #1E40AF !important;
}

[data-theme="light"] .calc-feature-item i {
    background: #F8FAFC !important;
}
/* ==================== فیکس پس‌زمینه صفحات محاسبات - دارک مود ==================== */
[data-theme="dark"] .calc-container,
[data-theme="dark"] body {
    background: #0A192F !important;
}
/* ==================== فیکس پس‌زمینه محتوای داشبورد محاسبات ==================== */
.calc-container {
    background: var(--color-bg-primary) !important;
}

[data-theme="light"] .calc-container {
    background: #F8FAFC !important;
    background-color: #F8FAFC !important;
}

/* ==================== فیکس باکس توضیحی محاسبات - لایت مود ==================== */
[data-theme="light"] .calc-info-box {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .calc-info-box .info-feature-item,
[data-theme="light"] .calc-info-box .feature-card-highlight {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .calc-info-box .info-box-content h3,
[data-theme="light"] .calc-info-box .feature-card-highlight h4,
[data-theme="light"] .calc-info-box .info-feature-item strong {
    color: #0F172A !important;
}

[data-theme="light"] .calc-info-box .info-box-content p,
[data-theme="light"] .calc-info-box .feature-card-highlight p,
[data-theme="light"] .calc-info-box .info-feature-item span {
    color: #475569 !important;
}

[data-theme="light"] .calc-info-box .feature-card-highlight .feature-tag {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
}

[data-theme="light"] .calc-info-box .feature-card-highlight .feature-icon-glow {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
}
/* ==================== فیکس داشبورد محاسبات - لایت مود ==================== */
[data-theme="light"] .card-box[style*="border-right:4px solid #F59E0B"] {
    background: rgba(30, 64, 175, 0.04) !important;
    border-right: 4px solid #1E40AF !important;
}

[data-theme="light"] .card-box[style*="border-right:4px solid #F59E0B"] .report-toggle-label {
    color: #0F172A !important;
}

[data-theme="light"] .card-box[style*="border-right:4px solid #F59E0B"] p {
    color: #475569 !important;
}

[data-theme="light"] .report-preview p[style*="color:#fbbf24"] {
    color: #1E40AF !important;
}

[data-theme="light"] .category-box-count[style*="background:rgba(245,158,11,0.15)"] {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .kpi-actions .btn-edit-sm {
    color: #1E40AF !important;
}

[data-theme="light"] .kpi-actions .btn-delete-sm {
    color: #ef4444 !important;
}
[data-theme="light"] .category-box,
[data-theme="light"] .card-box {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .category-box-header {
    border-bottom: 2px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .category-box-title {
    color: #0F172A !important;
}

[data-theme="light"] .card-box h5,
[data-theme="light"] .card-box .report-toggle-label {
    color: #0F172A !important;
}

/* ==================== فیکس صفحه قالب‌های KPI - لایت مود ==================== */
[data-theme="light"] .tl-page-header h1,
[data-theme="light"] .cat-box-title,
[data-theme="light"] .tpl-card-name,
[data-theme="light"] .uncat-box-header,
[data-theme="light"] .tpl-preview-value {
    color: #0F172A !important;
}

[data-theme="light"] .tl-page-header p,
[data-theme="light"] .cat-box-desc,
[data-theme="light"] .tpl-card-desc,
[data-theme="light"] .preview-toggle-label,
[data-theme="light"] .tpl-preview-label,
[data-theme="light"] .tl-empty {
    color: #475569 !important;
}

[data-theme="light"] .cat-box,
[data-theme="light"] .uncat-box {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .cat-box-header {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(30, 64, 175, 0.03)) !important;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .uncat-box-header {
    background: rgba(30, 64, 175, 0.04) !important;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .tpl-card {
    background: #F8FAFC !important;
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .tpl-card-footer {
    background: #F1F5F9 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .tpl-preview {
    background: rgba(0, 0, 0, 0.02) !important;
    border-top: 1.5px dashed rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .tpl-preview-value {
    background: rgba(30, 64, 175, 0.08) !important;
}

[data-theme="light"] .tpl-preview-var {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
}

[data-theme="light"] .tpl-btn-primary {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .tpl-btn-primary:hover {
    background: #1E3A8A !important;
}

[data-theme="light"] .tpl-btn-secondary {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.2) !important;
}

[data-theme="light"] .tpl-btn-secondary:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .cat-box-icon {
    background: linear-gradient(135deg, #1E40AF, #1E3A8A) !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .cat-box-count {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
}

[data-theme="light"] .preview-toggle {
    background: rgba(30, 64, 175, 0.05) !important;
}

[data-theme="light"] .preview-toggle:has(input:checked) {
    background: rgba(30, 64, 175, 0.1) !important;
}

[data-theme="light"] .preview-toggle:has(input:checked) .preview-toggle-label {
    color: #1E40AF !important;
}

[data-theme="light"] .tpl-badge-industry {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .tpl-badge-type {
    background: rgba(30, 64, 175, 0.06) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.1) !important;
}

/* ==================== فیکس صفحات KPI - لایت مود ==================== */

/* ─── کارت امتیازی KPI ─── */
[data-theme="light"] .kpi-card,
[data-theme="light"] .calc-page-header,
[data-theme="light"] .calc-form-card,
[data-theme="light"] .result-box,
[data-theme="light"] .summary-card,
[data-theme="light"] .table-card,
[data-theme="light"] .action-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .kpi-card h5,
[data-theme="light"] .calc-page-header h2,
[data-theme="light"] .form-section-title,
[data-theme="light"] .action-content h4,
[data-theme="light"] .category-box-title {
    color: #0F172A !important;
}

[data-theme="light"] .kpi-card .text-muted,
[data-theme="light"] .calc-page-header p,
[data-theme="light"] .form-label,
[data-theme="light"] .action-content p,
[data-theme="light"] .report-toggle-label,
[data-theme="light"] .summary-card,
[data-theme="light"] .data-table tbody td,
[data-theme="light"] .period-hint {
    color: #475569 !important;
}

[data-theme="light"] .result-placeholder p,
[data-theme="light"] .result-placeholder i {
    color: #94A3B8 !important;
}

[data-theme="light"] .guest-notice-box {
    background: rgba(30, 64, 175, 0.06) !important;
    border: 1px solid rgba(30, 64, 175, 0.1) !important;
    color: #475569 !important;
}

[data-theme="light"] .form-control {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #0F172A !important;
}

[data-theme="light"] .calc-submit-btn {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .calc-submit-btn:hover {
    background: #1E3A8A !important;
}

[data-theme="light"] .data-table thead {
    background: rgba(30, 64, 175, 0.06) !important;
}

[data-theme="light"] .data-table thead th {
    color: #1E40AF !important;
    border-bottom: 2px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .data-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .data-table tbody tr:hover {
    background: rgba(30, 64, 175, 0.04) !important;
}

[data-theme="light"] .card-box {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .card-box[style*="border-right: 4px solid #F59E0B"] {
    background: rgba(30, 64, 175, 0.04) !important;
    border-right: 4px solid #1E40AF !important;
}

[data-theme="light"] .insight-card {
    background: rgba(30, 64, 175, 0.06) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.12) !important;
}

[data-theme="light"] .suggestion-card {
    background: rgba(30, 64, 175, 0.04) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.08) !important;
}

[data-theme="light"] .alert-card {
    background: rgba(239, 68, 68, 0.06) !important;
    color: #DC2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.12) !important;
}

[data-theme="light"] .action-btn.primary {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .action-btn.primary:hover {
    background: #1E3A8A !important;
}

[data-theme="light"] .action-btn.secondary {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .action-btn.secondary:hover {
    background: #1E3A8A !important;
}

[data-theme="light"] .category-box-count {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .guest-promo-banner h4 {
    color: #0F172A !important;
}

[data-theme="light"] .guest-promo-banner p {
    color: #475569 !important;
}

/* ==================== فیکس صفحات بلاگ - لایت مود ==================== */

/* ─── پس‌زمینه ─── */
[data-theme="light"] .blog-page-wrapper,
[data-theme="light"] .editor-container,
[data-theme="light"] .gradient-bg {
    background: #F8FAFC !important;
}

[data-theme="light"] body {
    background: #F8FAFC !important;
}

/* ─── کارت‌ها ─── */
[data-theme="light"] .card,
[data-theme="light"] .editor-card,
[data-theme="light"] .sidebar-card,
[data-theme="light"] .article-card,
[data-theme="light"] .content-area,
[data-theme="light"] .submitted-box,
[data-theme="light"] .featured-sidebar-card,
[data-theme="light"] .faq-form {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* ─── عنوان‌ها ─── */
[data-theme="light"] .page-header-section h1,
[data-theme="light"] .category-title,
[data-theme="light"] .editor-card h3,
[data-theme="light"] .editor-card h4,
[data-theme="light"] .sidebar-title,
[data-theme="light"] .featured-sidebar-title,
[data-theme="light"] .stats-title,
[data-theme="light"] .empty-title,
[data-theme="light"] .submitted-box h2,
[data-theme="light"] .title,
[data-theme="light"] .title a,
[data-theme="light"] .article-title,
[data-theme="light"] .article-title a,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4 {
    color: #0F172A !important;
}

/* ─── متن‌های معمولی ─── */
[data-theme="light"] .subtitle,
[data-theme="light"] .category-description,
[data-theme="light"] .excerpt,
[data-theme="light"] .meta-info,
[data-theme="light"] .article-excerpt,
[data-theme="light"] .article-meta,
[data-theme="light"] .field-help,
[data-theme="light"] .editor-label,
[data-theme="light"] .submitted-box p,
[data-theme="light"] .empty-description,
[data-theme="light"] .stat-item,
[data-theme="light"] .featured-item-stats,
[data-theme="light"] .breadcrumb-item,
[data-theme="light"] .page-header-section .subtitle,
[data-theme="light"] p {
    color: #475569 !important;
}

/* ─── لینک‌ها ─── */
[data-theme="light"] .category-link {
    color: #475569 !important;
}

[data-theme="light"] .category-link:hover,
[data-theme="light"] .category-link.active {
    color: #1E40AF !important;
    background: rgba(30, 64, 175, 0.08) !important;
    border-right-color: #1E40AF !important;
}

[data-theme="light"] .list-group a {
    background: rgba(30, 64, 175, 0.05) !important;
    color: #475569 !important;
}

[data-theme="light"] .list-group a:hover {
    background: rgba(30, 64, 175, 0.1) !important;
    color: #1E40AF !important;
}

/* ─── فیلدهای ورودی ─── */
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="url"],
[data-theme="light"] input[type="number"],
[data-theme="light"] textarea,
[data-theme="light"] select,
[data-theme="light"] .search-input,
[data-theme="light"] .form-control {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #0F172A !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder,
[data-theme="light"] .search-input::placeholder {
    color: #94A3B8 !important;
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus,
[data-theme="light"] .search-input:focus {
    border-color: #1E40AF !important;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1) !important;
}

/* ─── دکمه‌ها ─── */
[data-theme="light"] .btn,
[data-theme="light"] .publish-btn,
[data-theme="light"] .submitted-btn,
[data-theme="light"] .back-button,
[data-theme="light"] .featured-view-all,
[data-theme="light"] .hub-btn-primary {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .btn:hover,
[data-theme="light"] .publish-btn:hover,
[data-theme="light"] .submitted-btn:hover,
[data-theme="light"] .back-button:hover,
[data-theme="light"] .featured-view-all:hover,
[data-theme="light"] .hub-btn-primary:hover {
    background: #1E3A8A !important;
    color: #FFFFFF !important;
}

/* ─── صفحه‌بندی ─── */
[data-theme="light"] .pagination-link,
[data-theme="light"] .pagination-arrow {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #475569 !important;
}

[data-theme="light"] .pagination-link.active {
    background: #1E40AF !important;
    color: #FFFFFF !important;
    border-color: #1E40AF !important;
}

/* ─── بج‌ها ─── */
[data-theme="light"] .article-count,
[data-theme="light"] .article-status {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
}

[data-theme="light"] .article-date {
    background: rgba(30, 64, 175, 0.06) !important;
    color: #475569 !important;
}

/* ─── تگ‌ها ─── */
[data-theme="light"] .tag {
    background: rgba(30, 64, 175, 0.06) !important;
    color: #1E40AF !important;
}

[data-theme="light"] .tag:hover {
    background: rgba(30, 64, 175, 0.12) !important;
    color: #1E3A8A !important;
}

/* ─── FAQ ─── */
[data-theme="light"] .faq-form {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* ─── سایدبار ویژه ─── */
[data-theme="light"] .featured-sidebar-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .featured-item {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .featured-item-title {
    color: #0F172A !important;
}

/* ==================== فیکس آیکون‌ها و FAQ بلاگ - لایت مود ==================== */

/* ─── آیکون‌های طلایی → آبی ─── */
[data-theme="light"] .page-header-section h1 i,
[data-theme="light"] h2 i,
[data-theme="light"] h3 i,
[data-theme="light"] h4 i,
[data-theme="light"] .featured-sidebar-title i,
[data-theme="light"] .sidebar-title i,
[data-theme="light"] .field-help i,
[data-theme="light"] .stats-title i,
[data-theme="light"] .breadcrumb i,
[data-theme="light"] .category-link i,
[data-theme="light"] .list-group a i,
[data-theme="light"] .title i,
[data-theme="light"] .article-title i,
[data-theme="light"] .fa-star,
[data-theme="light"] .fa-newspaper,
[data-theme="light"] .fa-folder-open,
[data-theme="light"] .fa-tags,
[data-theme="light"] .fa-image,
[data-theme="light"] .fa-search,
[data-theme="light"] .fa-info-circle,
[data-theme="light"] .fa-question-circle,
[data-theme="light"] .fa-paper-plane,
[data-theme="light"] .fa-chart-bar,
[data-theme="light"] .fa-arrow-left,
[data-theme="light"] .fa-arrow-right {
    color: #1E40AF !important;
}

/* ─── FAQ در حالت لایت ─── */
[data-theme="light"] .faq-section {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
    padding: 24px !important;
}

[data-theme="light"] .faq-section h3 {
    color: #0F172A !important;
}

[data-theme="light"] .faq-item {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
}

[data-theme="light"] .faq-question {
    color: #0F172A !important;
    background: #F8FAFC !important;
}

[data-theme="light"] .faq-answer {
    color: #475569 !important;
    background: #FFFFFF !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .faq-icon {
    color: #1E40AF !important;
}

/* ─── استایل FAQ در article_detail ─── */
[data-theme="light"] .article-content .faq-section,
[data-theme="light"] .card .faq-section {
    background: #FFFFFF !important;
}

[data-theme="light"] .article-content .faq-item,
[data-theme="light"] .card .faq-item {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .article-content .faq-question,
[data-theme="light"] .card .faq-question {
    color: #0F172A !important;
}

[data-theme="light"] .article-content .faq-answer,
[data-theme="light"] .card .faq-answer {
    color: #475569 !important;
}

/* ==================== فیکس صفحات پروژه کاربر - لایت مود ==================== */

/* ─── پس‌زمینه و کارت‌ها ─── */
[data-theme="light"] .create-project-container,
[data-theme="light"] .projects-dashboard,
[data-theme="light"] .payment-container,
[data-theme="light"] .project-card,
[data-theme="light"] .payment-card,
[data-theme="light"] .form-section,
[data-theme="light"] .filter-option {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* ─── عنوان‌ها ─── */
[data-theme="light"] .page-header h2,
[data-theme="light"] .dashboard-header h2,
[data-theme="light"] .form-section h3,
[data-theme="light"] .project-summary h3,
[data-theme="light"] .project-title h3 a {
    color: #0F172A !important;
}

/* ─── متن‌های معمولی ─── */
[data-theme="light"] .form-group label,
[data-theme="light"] .project-desc,
[data-theme="light"] .stat-label,
[data-theme="light"] .stat-value,
[data-theme="light"] .fee-display span,
[data-theme="light"] .alert-info,
[data-theme="light"] .amount-label,
[data-theme="light"] .fee-row .label,
[data-theme="light"] .fee-row .value,
[data-theme="light"] .total-label,
[data-theme="light"] .payment-option span,
[data-theme="light"] .payment-option .method-name,
[data-theme="light"] .payment-option .method-info,
[data-theme="light"] .security-note,
[data-theme="light"] .project-meta,
[data-theme="light"] .project-meta span,
[data-theme="light"] .checkbox-label {
    color: #475569 !important;
}

[data-theme="light"] .stat-value,
[data-theme="light"] .fee-row .value,
[data-theme="light"] .amount-value,
[data-theme="light"] .total-value {
    color: #0F172A !important;
}

[data-theme="light"] .fee-row .value.highlight {
    color: #1E40AF !important;
}

/* ─── فیلدهای ورودی ─── */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: #F8FAFC !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    color: #0F172A !important;
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: #94A3B8 !important;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: #1E40AF !important;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1) !important;
}

/* ─── دکمه‌ها ─── */
[data-theme="light"] .btn-submit,
[data-theme="light"] .submit-btn {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .btn-submit:hover,
[data-theme="light"] .submit-btn:hover {
    background: #1E3A8A !important;
}

[data-theme="light"] .btn-cancel {
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .btn-cancel:hover {
    background: #E2E8F0 !important;
}

[data-theme="light"] .back-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .back-link:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

/* ─── تب‌ها ─── */
[data-theme="light"] .tab-btn {
    color: #475569 !important;
}

[data-theme="light"] .tab-btn:hover {
    background: rgba(30, 64, 175, 0.06) !important;
    color: #0F172A !important;
}

[data-theme="light"] .tab-btn.active {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .projects-tabs {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* ─── نمایش هزینه ─── */
[data-theme="light"] .fee-display,
[data-theme="light"] .amount-display,
[data-theme="light"] .total-amount {
    background: rgba(30, 64, 175, 0.08) !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .fee-display strong {
    color: #1E40AF !important;
}

/* ─── گزینه پرداخت ─── */
[data-theme="light"] .payment-option label {
    background: #F8FAFC !important;
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .payment-option label:has(input:checked) {
    background: rgba(30, 64, 175, 0.06) !important;
    border-color: #1E40AF !important;
}

/* ─── آیکون‌ها ─── */
[data-theme="light"] .page-header h2 i,
[data-theme="light"] .dashboard-header h2 i,
[data-theme="light"] .step {
    color: #1E40AF !important;
}

[data-theme="light"] .step {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

/* ==================== فیکس صفحه جزئیات پروژه کاربر - لایت مود ==================== */
[data-theme="light"] .project-detail-container .info-card,
[data-theme="light"] .project-detail-container .sidebar-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .project-detail-container .stat-item,
[data-theme="light"] .project-detail-container .bid-item,
[data-theme="light"] .project-detail-container .bid-proposal,
[data-theme="light"] .project-detail-container .qa-item {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .project-detail-container .bid-details {
    background: rgba(30, 64, 175, 0.05) !important;
    border: 1px solid rgba(30, 64, 175, 0.1) !important;
}

[data-theme="light"] .project-detail-container .bid-delivery {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .detail-header h1,
[data-theme="light"] .info-card h3,
[data-theme="light"] .sidebar-card h4 {
    color: #0F172A !important;
}

[data-theme="light"] .description,
[data-theme="light"] .stat-label,
[data-theme="light"] .bid-proposal p,
[data-theme="light"] .client-info p,
[data-theme="light"] .conditions-list li,
[data-theme="light"] .answer div,
[data-theme="light"] .qa-item .question span {
    color: #475569 !important;
}

[data-theme="light"] .stat-value,
[data-theme="light"] .expert-info strong,
[data-theme="light"] .client-info strong {
    color: #0F172A !important;
}

[data-theme="light"] .back-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .back-link:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}


/* ==================== فیکس ارسال پیشنهاد - لایت مود ==================== */
[data-theme="light"] .submit-bid-container .page-header h2 {
    color: #0F172A !important;
}

[data-theme="light"] .submit-bid-container .page-header h2 i {
    color: #0F172A !important;
}

[data-theme="light"] .submit-bid-container .back-link {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}

[data-theme="light"] .submit-bid-container .back-link:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .submit-bid-container {
    background: #F8FAFC !important;
}

/* ==================== فیکس submit_bid - لایت مود ==================== */
[data-theme="light"] .submit-bid-container .page-header h2 {
    color: #0F172A !important;
}

[data-theme="light"] .submit-bid-container .page-header h2 i {
    color: #1E40AF !important;
}

[data-theme="light"] .project-summary-card,
[data-theme="light"] .bid-form-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .project-summary-card h3,
[data-theme="light"] .bid-form-card h3 {
    color: #0F172A !important;
}

[data-theme="light"] .project-summary-card .desc,
[data-theme="light"] .form-group .input-hint,
[data-theme="light"] .tips-box ul {
    color: #475569 !important;
}

[data-theme="light"] .summary-info-item strong {
    color: #0F172A !important;
}

.expert-sidebar {
    width: 260px !important;
    display: block !important;
}

.expert-layout {
    display: flex !important;
    flex-direction: row !important;
}

.sidebar-menu {
    display: flex !important;
    flex-direction: column !important;
}

@media (max-width: 900px) {
    .expert-layout {
        flex-direction: column !important;
    }
    .expert-sidebar {
        width: 100% !important;
    }
}


/* ==================== فیکس صورت‌های مالی - لایت مود ==================== */
[data-theme="light"] .fs-report-preview {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .fs-report-preview .fs-preview-table th {
    background: #F8FAFC !important;
    color: #475569 !important;
}

[data-theme="light"] .fs-report-preview .fs-preview-table td {
    color: #0F172A !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .fs-report-preview .fs-preview-table .group-row {
    background: #F1F5F9 !important;
}

[data-theme="light"] .fs-report-preview .fs-preview-table .group-row td {
    color: #1E40AF !important;
}

[data-theme="light"] .fs-report-preview .fs-preview-table .key-row {
    border-top: 3px solid #1E40AF !important;
}

[data-theme="light"] .fs-report-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #475569 !important;
}

[data-theme="light"] .fs-form-control,
[data-theme="light"] .fs-form-select,
[data-theme="light"] .fs-input-number {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    color: #0F172A !important;
}

[data-theme="light"] .fs-form-control:focus,
[data-theme="light"] .fs-input-number:focus {
    border-color: #1E40AF !important;
}

[data-theme="light"] .fs-form-label {
    color: #0F172A !important;
}

[data-theme="light"] .fs-report-checkbox {
    background: #F8FAFC !important;
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
    color: #0F172A !important;
}

[data-theme="light"] .fs-report-checkbox.selected {
    background: rgba(30, 64, 175, 0.06) !important;
    border-color: #1E40AF !important;
}

[data-theme="light"] .fs-report-checkbox .check-icon {
    border: 2px solid rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .fs-report-checkbox.selected .check-icon {
    background: #1E40AF !important;
    border-color: #1E40AF !important;
    color: #FFFFFF !important;
}

/* ==================== فیکس صورت‌های مالی - لایت مود ==================== */
[data-theme="light"] .fs-container {
    background: #F8FAFC !important;
}

[data-theme="light"] .fs-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .fs-table {
    background: #FFFFFF !important;
}

[data-theme="light"] .fs-table thead th {
    background: rgba(30, 64, 175, 0.05) !important;
    color: #1E40AF !important;
}

[data-theme="light"] .fs-table tbody td {
    color: #0F172A !important;
}

[data-theme="light"] .fs-card-title,
[data-theme="light"] .fs-card-title i,
[data-theme="light"] .fs-page-title {
    color: #0F172A !important;
}

[data-theme="light"] .fs-page-title i {
    color: #1E40AF !important;
}

/* ==================== فیکس متن صورت‌های مالی - لایت مود ==================== */
[data-theme="light"] .fs-card *,
[data-theme="light"] .fs-table tbody td,
[data-theme="light"] .fs-table tbody td *,
[data-theme="light"] .fs-table tbody td a,
[data-theme="light"] .fs-table tbody td span {
    color: #0F172A !important;
}

[data-theme="light"] .fs-table tbody td .fs-number-positive {
    color: #059669 !important;
}

[data-theme="light"] .fs-table tbody td .fs-number-negative {
    color: #DC2626 !important;
}

[data-theme="light"] .fs-card .fs-card-title,
[data-theme="light"] .fs-card .fs-card-title i,
[data-theme="light"] .fs-page-title,
[data-theme="light"] .fs-page-title i {
    color: #0F172A !important;
}

[data-theme="light"] .fs-page-header p {
    color: #475569 !important;
}

[data-theme="light"] .fs-badge-draft {
    color: #D97706 !important;
}

[data-theme="light"] .fs-badge-completed {
    color: #059669 !important;
}

[data-theme="light"] .fs-badge-closed {
    color: #DC2626 !important;
}

[data-theme="light"] .fs-empty-title,
[data-theme="light"] .fs-empty-desc {
    color: #475569 !important;
}


/* ==================== فیکس متن صورت‌های مالی در دارک مود ==================== */
[data-theme="dark"] .fs-card *,
[data-theme="dark"] .fs-table tbody td,
[data-theme="dark"] .fs-table tbody td *,
[data-theme="dark"] .fs-table tbody td a,
[data-theme="dark"] .fs-table tbody td span,
[data-theme="dark"] .fs-compare-table tbody td,
[data-theme="dark"] .fs-preview-table tbody td,
[data-theme="dark"] .fs-preview-table tbody td span {
    color: var(--color-text-primary) !important;
}

[data-theme="dark"] .fs-table tbody td .fs-number-positive,
[data-theme="dark"] .fs-preview-table .value-cell:not(.negative) {
    color: #10B981 !important;
}

[data-theme="dark"] .fs-table tbody td .fs-number-negative,
[data-theme="dark"] .fs-preview-table .value-cell.negative {
    color: #EF4444 !important;
}

[data-theme="dark"] .fs-page-header p,
[data-theme="dark"] .fs-empty-title,
[data-theme="dark"] .fs-empty-desc,
[data-theme="dark"] .fs-card .fs-card-header + div p,
[data-theme="dark"] .fs-action-card p,
[data-theme="dark"] .fs-no-data p {
    color: var(--color-text-secondary) !important;
}

[data-theme="dark"] .fs-report-preview .fs-preview-table td {
    color: var(--color-text-primary) !important;
}

[data-theme="dark"] .fs-preview-table .group-row td {
    color: #93C5FD !important;
}

[data-theme="dark"] .fs-report-footer div {
    color: var(--color-text-secondary) !important;
}

/* ==================== فیکس نهایی صورت‌های مالی - دارک و لایت ==================== */

/* ─── لایت مود: کارت‌های تیره → سفید ─── */
[data-theme="light"] .fs-card,
[data-theme="light"] .fs-compare-card,
[data-theme="light"] .fs-action-card,
[data-theme="light"] .fs-report-preview,
[data-theme="light"] .fs-report-body,
[data-theme="light"] .fs-report-footer {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* ─── لایت مود: کارت‌های داخلی ─── */
[data-theme="light"] .fs-report-preview .fs-preview-table th {
    background: #F8FAFC !important;
    color: #475569 !important;
}

[data-theme="light"] .fs-report-preview .fs-preview-table .group-row {
    background: #F1F5F9 !important;
}

[data-theme="light"] .fs-report-preview .fs-preview-table .group-row td {
    color: #1E40AF !important;
}

/* ─── لایت مود: متن‌های سفید → تیره ─── */
[data-theme="light"] .fs-card *,
[data-theme="light"] .fs-card .fs-card-title,
[data-theme="light"] .fs-page-title,
[data-theme="light"] .fs-action-card h3,
[data-theme="light"] .fs-table tbody td,
[data-theme="light"] .fs-table tbody td span,
[data-theme="light"] .fs-compare-table tbody td,
[data-theme="light"] .fs-preview-table tbody td,
[data-theme="light"] .fs-preview-table tbody td span {
    color: #0F172A !important;
}

[data-theme="light"] .fs-page-header p,
[data-theme="light"] .fs-action-card p,
[data-theme="light"] .fs-empty-title,
[data-theme="light"] .fs-empty-desc,
[data-theme="light"] .fs-report-footer div,
[data-theme="light"] .fs-no-data p {
    color: #475569 !important;
}

/* ─── لایت مود: فیلدهای ورودی ─── */
[data-theme="light"] .fs-form-control,
[data-theme="light"] .fs-input-number {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    color: #0F172A !important;
}

/* ─── لایت مود: ردیف‌های جدول ─── */
[data-theme="light"] .fs-table tbody tr:hover,
[data-theme="light"] .fs-compare-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}

/* ─── لایت مود: چک‌باکس‌ها ─── */
[data-theme="light"] .fs-report-checkbox {
    background: #F8FAFC !important;
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
    color: #0F172A !important;
}

[data-theme="light"] .fs-report-checkbox.selected {
    background: rgba(30, 64, 175, 0.06) !important;
    border-color: #1E40AF !important;
}

/* ─── دارک مود: متن‌های تیره → روشن ─── */
[data-theme="dark"] .fs-card *,
[data-theme="dark"] .fs-card .fs-card-title,
[data-theme="dark"] .fs-page-title,
[data-theme="dark"] .fs-action-card h3,
[data-theme="dark"] .fs-table tbody td,
[data-theme="dark"] .fs-table tbody td span,
[data-theme="dark"] .fs-table tbody td a,
[data-theme="dark"] .fs-compare-table tbody td,
[data-theme="dark"] .fs-preview-table tbody td,
[data-theme="dark"] .fs-preview-table tbody td span {
    color: #F8FAFC !important;
}

[data-theme="dark"] .fs-page-header p,
[data-theme="dark"] .fs-action-card p,
[data-theme="dark"] .fs-empty-title,
[data-theme="dark"] .fs-empty-desc,
[data-theme="dark"] .fs-report-footer div,
[data-theme="dark"] .fs-no-data p {
    color: #CBD5E1 !important;
}

/* ─── دارک مود: اعداد رنگی ─── */
[data-theme="dark"] .fs-number-positive,
[data-theme="dark"] .fs-change-positive,
[data-theme="dark"] .fs-preview-table .value-cell:not(.negative) {
    color: #4ADE80 !important;
}

[data-theme="dark"] .fs-number-negative,
[data-theme="dark"] .fs-change-negative,
[data-theme="dark"] .fs-preview-table .value-cell.negative {
    color: #F87171 !important;
}

/* ─── دارک مود: ردیف‌های گروه ─── */
[data-theme="dark"] .fs-preview-table .group-row td {
    color: #93C5FD !important;
}

/* ==================== فیکس هدر آبی گزارش‌های مالی ==================== */
[data-theme="light"] .fs-report-header,
[data-theme="light"] .fs-report-header h1,
[data-theme="light"] .fs-report-header .subtitle,
[data-theme="light"] .fs-report-header .fs-report-meta-item,
[data-theme="light"] .fs-report-header .fs-report-meta-item span,
[data-theme="light"] .fs-report-header * {
    color: #FFFFFF !important;
}

[data-theme="light"] .fs-report-meta-item i {
    color: #FBBF24 !important;
}

[data-theme="dark"] .fs-report-header,
[data-theme="dark"] .fs-report-header h1,
[data-theme="dark"] .fs-report-header .subtitle,
[data-theme="dark"] .fs-report-header .fs-report-meta-item,
[data-theme="dark"] .fs-report-header .fs-report-meta-item span,
[data-theme="dark"] .fs-report-header * {
    color: #FFFFFF !important;
}

[data-theme="dark"] .fs-report-meta-item i {
    color: #FBBF24 !important;
}


/* ==================== فیکس لیست کارشناسان - دارک مود ==================== */
[data-theme="dark"] .expert-card,
[data-theme="dark"] .expert-search-card,
[data-theme="dark"] .search-form {
    background: var(--color-bg-card) !important;
    border: 1px solid var(--color-border-card) !important;
}

[data-theme="dark"] .expert-name,
[data-theme="dark"] .expert-specialty,
[data-theme="dark"] .search-form select,
[data-theme="dark"] .search-form input {
    color: var(--color-text-primary) !important;
}

[data-theme="dark"] .expert-location,
[data-theme="dark"] .expert-description {
    color: var(--color-text-secondary) !important;
}


/* ==================== فیکس لیست کارشناسان - دارک مود ==================== */
[data-theme="dark"] body {
    background-color: #0A192F !important;
}

[data-theme="dark"] .search-box {
    background: #112240 !important;
    border: 1px solid rgba(29, 78, 216, 0.3) !important;
}

[data-theme="dark"] .search-box .form-label {
    color: #F8FAFC !important;
}

[data-theme="dark"] .search-box .form-control,
[data-theme="dark"] .search-box .form-select {
    background: rgba(10, 25, 47, 0.6) !important;
    border: 1.5px solid rgba(29, 78, 216, 0.3) !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] .search-box .btn-outline-secondary {
    border: 1.5px solid rgba(29, 78, 216, 0.3) !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .search-box .btn-outline-secondary:hover {
    background: rgba(29, 78, 216, 0.2) !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] .expert-card {
    background: #112240 !important;
    border: 1px solid rgba(29, 78, 216, 0.3) !important;
}

[data-theme="dark"] .expert-name {
    color: #F8FAFC !important;
}

[data-theme="dark"] .expert-username,
[data-theme="dark"] .expert-location {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .kpi {
    background: rgba(10, 25, 47, 0.5) !important;
    border: 1px solid rgba(29, 78, 216, 0.2) !important;
}

[data-theme="dark"] .kpi strong {
    color: #93C5FD !important;
}

[data-theme="dark"] .kpi span {
    color: #94A3B8 !important;
}

[data-theme="dark"] .specialty-badge {
    background: rgba(29, 78, 216, 0.2) !important;
    color: #93C5FD !important;
    border: 1px solid rgba(29, 78, 216, 0.3) !important;
}

[data-theme="dark"] .guide-step {
    background: #112240 !important;
    border: 1px solid rgba(29, 78, 216, 0.3) !important;
}

[data-theme="dark"] .guide-step p {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .guide-step-num {
    background: #F59E0B !important;
    color: #0F172A !important;
}

[data-theme="dark"] .container.py-5 > .text-center.mb-4 h2 {
    color: #F8FAFC !important;
}

[data-theme="dark"] .container.py-5 > .text-center.mb-4 p {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .guide-section h3 {
    color: #F8FAFC !important;
}

[data-theme="dark"] .guide-section > p {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .expert-specialties {
    border-top: 1px solid rgba(29, 78, 216, 0.2) !important;
}




/* ==================== فیکس داشبورد کاربر عادی - دارک مود ==================== */
[data-theme="dark"] .dashboard-card {
    background: #112240 !important;
    border: 1px solid rgba(29, 78, 216, 0.3) !important;
}

[data-theme="dark"] .card-title,
[data-theme="dark"] .dashboard-header h2 {
    color: #F8FAFC !important;
}

[data-theme="dark"] .card-value,
[data-theme="dark"] .card-desc,
[data-theme="dark"] .greeting-sub {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .btn-card {
    background: #F59E0B !important;
    color: #0F172A !important;
}

[data-theme="dark"] .btn-card.btn-primary {
    background: #1D4ED8 !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .btn-card.btn-disabled {
    background: rgba(203, 213, 225, 0.1) !important;
    color: #94A3B8 !important;
    cursor: not-allowed !important;
}

[data-theme="dark"] .dashboard-card.card-invite .card-value,
[data-theme="dark"] .dashboard-card.card-invite .card-desc,
[data-theme="dark"] .dashboard-card.card-invite .invite-feature-item span {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="dark"] .invite-feature-item .check-icon {
    color: #4ADE80 !important;
}

[data-theme="dark"] .header-date-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .card-divider {
    border-top: 1px solid rgba(203, 213, 225, 0.1) !important;
}

/* ==================== فیکس داشبورد کاربر عادی - لایت مود ==================== */
[data-theme="light"] .dashboard-card:not(.card-invite) {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .card-title,
[data-theme="light"] .dashboard-header h2 {
    color: #0F172A !important;
}

[data-theme="light"] .card-value:not(.card-invite .card-value),
[data-theme="light"] .card-desc:not(.card-invite .card-desc),
[data-theme="light"] .greeting-sub {
    color: #475569 !important;
}

[data-theme="light"] .btn-card:not(.btn-invite) {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .btn-card.btn-primary {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .btn-card.btn-disabled {
    background: #F1F5F9 !important;
    color: #94A3B8 !important;
    cursor: not-allowed !important;
}

[data-theme="light"] .header-date-badge {
    background: #F1F5F9 !important;
    color: #475569 !important;
}

[data-theme="light"] .card-divider:not(.card-invite .card-divider) {
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}




/* ==================== فیکس خلاصه مقاله در دارک مود ==================== */
[data-theme="dark"] .article-excerpt,
[data-theme="dark"] p[style*="color: #555"],
[data-theme="dark"] .article-meta,
[data-theme="dark"] .article-desc {
    color: #CBD5E1 !important;
}

/* ==================== فیکس فرم مشاوره مقاله - لایت مود ==================== */
[data-theme="light"] section[style*="background: #112240"],
[data-theme="light"] .expert-box[style*="background: #112240"] {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] section[style*="background: #112240"] h3,
[data-theme="light"] section[style*="background: #112240"] label,
[data-theme="light"] section[style*="background: #112240"] span {
    color: #0F172A !important;
}

[data-theme="light"] section[style*="background: #112240"] input,
[data-theme="light"] section[style*="background: #112240"] select,
[data-theme="light"] section[style*="background: #112240"] textarea {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #0F172A !important;
}



/* ==================== فیکس فرم مشاوره مقاله - لایت مود ==================== */
.consultation-form-box {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
}

[data-theme="light"] .consultation-form-box {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .consultation-form-box h3,
[data-theme="light"] .consultation-form-box label,
[data-theme="light"] .consultation-form-box span {
    color: #0F172A !important;
}

[data-theme="light"] .consultation-form-box input,
[data-theme="light"] .consultation-form-box select,
[data-theme="light"] .consultation-form-box textarea {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #0F172A !important;
}
/* ==================== فیکس فیلد کشویی فرم مشاوره - دارک مود ==================== */
[data-theme="dark"] select.form-control,
[data-theme="dark"] .form-group select,
[data-theme="dark"] select {
    background: rgba(10, 25, 47, 0.6) !important;
    border: 1.5px solid rgba(29, 78, 216, 0.3) !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] select.form-control option,
[data-theme="dark"] .form-group select option,
[data-theme="dark"] select option {
    background: #112240 !important;
    color: #F8FAFC !important;
}

/* ==================== فیکس کارت مقالات مرتبط - لایت مود ==================== */
[data-theme="light"] .related-article {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #0F172A !important;
}

[data-theme="light"] .related-article h4 {
    color: #0F172A !important;
}

[data-theme="light"] .related-article p {
    color: #475569 !important;
}

[data-theme="light"] .related-articles h3 {
    color: #0F172A !important;
}


/* ==================== فیکس صفحه تأیید کد - دارک و لایت ==================== */

/* ─── دارک مود ─── */
[data-theme="dark"] .auth-wrapper {
    background: #0A192F !important;
}

[data-theme="dark"] .auth-card {
    background: #112240 !important;
    border: 1px solid rgba(29, 78, 216, 0.3) !important;
}

[data-theme="dark"] .auth-brand-name,
[data-theme="dark"] .auth-title {
    color: #F8FAFC !important;
}

[data-theme="dark"] .auth-subtitle,
[data-theme="dark"] .form-label,
[data-theme="dark"] .otp-timer-row {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .otp-box {
    background: rgba(10, 25, 47, 0.6) !important;
    border: 1.5px solid rgba(29, 78, 216, 0.3) !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] .otp-box:focus,
[data-theme="dark"] .otp-box.filled {
    background: rgba(245, 158, 11, 0.12) !important;
    border-color: #F59E0B !important;
}

[data-theme="dark"] .otp-phone-display {
    background: rgba(29, 78, 216, 0.15) !important;
    border: 1px solid rgba(29, 78, 216, 0.3) !important;
    color: #F8FAFC !important;
}

/* ─── لایت مود ─── */
[data-theme="light"] .auth-wrapper {
    background: #F1F5F9 !important;
}

[data-theme="light"] .auth-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .auth-brand-name,
[data-theme="light"] .auth-title {
    color: #0F172A !important;
}

[data-theme="light"] .auth-subtitle,
[data-theme="light"] .form-label,
[data-theme="light"] .otp-timer-row {
    color: #475569 !important;
}

[data-theme="light"] .otp-box {
    background: #F8FAFC !important;
    border: 1.5px solid rgba(0, 0, 0, 0.15) !important;
    color: #0F172A !important;
}

[data-theme="light"] .otp-box:focus,
[data-theme="light"] .otp-box.filled {
    background: #FFF7ED !important;
    border-color: #F59E0B !important;
}

[data-theme="light"] .otp-phone-display {
    background: #EFF6FF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
    color: #0F172A !important;
}









/* ==================== فیکس درباره ما و تماس با ما - لایت و دارک ==================== */

/* ─── لایت مود: پس‌زمینه ─── */
[data-theme="light"] .about-page,
[data-theme="light"] .contact-page {
    background: #F8FAFC !important;
}

/* ─── لایت مود: کارت‌ها ─── */
[data-theme="light"] .service-card,
[data-theme="light"] .value-card,
[data-theme="light"] .timeline-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .info-block,
[data-theme="light"] .intro-card,
[data-theme="light"] .faq-section,
[data-theme="light"] .contact-form-section {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}


[data-theme="light"] .faq-question:hover {
    background: #F1F5F9 !important;
}

[data-theme="light"] .support-info {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
}

[data-theme="light"] .process-section {
    background: linear-gradient(135deg, #F8FAFC, #EFF6FF) !important;
}

/* ─── لایت مود: متن‌ها ─── */
[data-theme="light"] .section-title,
[data-theme="light"] .intro-title,
[data-theme="light"] .card-title,
[data-theme="light"] .service-title,
[data-theme="light"] .value-title,
[data-theme="light"] .timeline-title,
[data-theme="light"] .info-block-content h3,
[data-theme="light"] .svg-caption h3,
[data-theme="light"] .support-info h3 {
    color: #0F172A !important;
}

[data-theme="light"] .intro-content,
[data-theme="light"] .service-content,
[data-theme="light"] .value-content,
[data-theme="light"] .timeline-content,
[data-theme="light"] .card-content,
[data-theme="light"] .info-block-content p,
[data-theme="light"] .svg-caption p,
[data-theme="light"] .faq-answer,
[data-theme="light"] .contact-info li {
    color: #475569 !important;
}

[data-theme="light"] .support-info p {
    color: #334155 !important;
}

/* ─── لایت مود: آیکون‌ها ─── */
[data-theme="light"] .faq-icon {
    background: rgba(30, 64, 175, 0.1) !important;
    color: #1E40AF !important;
}

/* ─── لایت مود: فیلدهای فرم ─── */
[data-theme="light"] .form-control {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    color: #0F172A !important;
}

/* ─── لایت مود: دکمه‌ها ─── */
[data-theme="light"] .contact-button {
    background: #1E40AF !important;
    color: #FFFFFF !important;
    border: 1px solid #1E40AF !important;
}

[data-theme="light"] .contact-button:hover {
    background: #1E3A8A !important;
    color: #FFFFFF !important;
}

/* ─── لایت مود: CTA ─── */
[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%) !important;
}

[data-theme="light"] .cta-title {
    color: #FFFFFF !important;
}

[data-theme="light"] .cta-description {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="light"] .cta-button {
    background: #FFFFFF !important;
    color: #1E40AF !important;
}

[data-theme="light"] .cta-button.outline {
    background: transparent !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
}

[data-theme="light"] .cta-button.outline:hover {
    background: #FFFFFF !important;
    color: #1E40AF !important;
}

/* ─── دارک مود: اطمینان از تیره بودن ─── */
[data-theme="dark"] .about-page,
[data-theme="dark"] .contact-page {
    background: #0A192F !important;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .timeline-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .info-block,
[data-theme="dark"] .intro-card,
[data-theme="dark"] .faq-section,
[data-theme="dark"] .contact-form-section {
    background: var(--color-bg-card) !important;
    border: 1px solid rgba(29, 78, 216, 0.2) !important;
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .intro-title,
[data-theme="dark"] .card-title,
[data-theme="dark"] .service-title,
[data-theme="dark"] .value-title,
[data-theme="dark"] .timeline-title,
[data-theme="dark"] .info-block-content h3,
[data-theme="dark"] .svg-caption h3,
[data-theme="dark"] .support-info h3 {
    color: #F8FAFC !important;
}

[data-theme="dark"] .intro-content,
[data-theme="dark"] .service-content,
[data-theme="dark"] .value-content,
[data-theme="dark"] .timeline-content,
[data-theme="dark"] .card-content,
[data-theme="dark"] .info-block-content p,
[data-theme="dark"] .svg-caption p,
[data-theme="dark"] .faq-answer,
[data-theme="dark"] .contact-info li {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .contact-info,
[data-theme="dark"] .faq-question {
    background: rgba(10, 25, 47, 0.5) !important;
}

[data-theme="dark"] .faq-answer,
[data-theme="dark"] .faq-question {
    color: #F8FAFC !important;
    background: #0A192F !important;
}

[data-theme="dark"] .faq-question:hover {
    background: rgba(29, 78, 216, 0.15) !important;
}

[data-theme="dark"] .support-info {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.15), rgba(30, 64, 175, 0.1)) !important;
}

[data-theme="dark"] .support-info p {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .form-control {
    background: rgba(10, 25, 47, 0.5) !important;
    border: 1.5px solid rgba(29, 78, 216, 0.3) !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] .contact-button {
    background: #F59E0B !important;
    color: #0F172A !important;
    border: 1px solid #F59E0B !important;
}

[data-theme="dark"] .contact-button:hover {
    background: #D97706 !important;
    color: #0F172A !important;
}

[data-theme="dark"] .process-section {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1), rgba(10, 25, 47, 0.5)) !important;
}

[data-theme="dark"] .form-svg {
    background: rgba(29, 78, 216, 0.1) !important;
    border: 1px solid rgba(29, 78, 216, 0.2) !important;
}

[data-theme="dark"] .response-time {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #F59E0B !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}




/* ==================== فیکس کامل پروفایل عمومی - دارک و لایت ==================== */

/* ─── لایت مود: پس‌زمینه اصلی ─── */
[data-theme="light"] .expert-public-profile {
    background: #F8FAFC !important;
}

/* ─── لایت مود: کارت‌ها ─── */
[data-theme="light"] .profile-section,
[data-theme="light"] .sidebar-widget,
[data-theme="light"] .hero-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* ─── لایت مود: کارت‌های داخلی ─── */
[data-theme="light"] .stat-card,
[data-theme="light"] .about-box,
[data-theme="light"] .education-box,
[data-theme="light"] .service-card,
[data-theme="light"] .specialty-card,
[data-theme="light"] .consult-form-box {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* ─── لایت مود: عنوان‌ها (آبی) ─── */
[data-theme="light"] .section-title,
[data-theme="light"] .expert-name,
[data-theme="light"] .stat-value,
[data-theme="light"] .edu-value,
[data-theme="light"] .service-card h3,
[data-theme="light"] .specialty-title,
[data-theme="light"] .hero-stat-value {
    color: #1E40AF !important;
}

/* ─── لایت مود: متن‌های فرعی ─── */
[data-theme="light"] .stat-label,
[data-theme="light"] .expert-bio,
[data-theme="light"] .service-card p,
[data-theme="light"] .company-subtitle,
[data-theme="light"] .hero-stat-label {
    color: #475569 !important;
}

/* ─── لایت مود: آیکون‌ها (آبی) ─── */
[data-theme="light"] .section-icon i,
[data-theme="light"] .stat-icon i,
[data-theme="light"] .specialty-icon i,
[data-theme="light"] .section-header i {
    color: #1E40AF !important;
}
[data-theme="light"] .section-icon {
    background: rgba(30, 64, 175, 0.08) !important;
}

/* ─── لایت مود: هیرو شفاف ─── */
[data-theme="light"] .expert-hero {
    background: transparent !important;
}
[data-theme="light"] .expert-hero::before {
    display: none !important;
}
[data-theme="light"] .hero-card {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
}
[data-theme="light"] .hero-stat {
    background: rgba(241, 245, 249, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
[data-theme="light"] .hero-avatar img {
    border: 4px solid #1E40AF !important;
}

/* ─── لایت مود: بج‌ها (آبی) ─── */
[data-theme="light"] .badge {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
}
[data-theme="light"] .badge i {
    color: #1E40AF !important;
}

/* ─── لایت مود: سایدبار ─── */
[data-theme="light"] .widget-header {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}
[data-theme="light"] .widget-header i {
    color: #FBBF24 !important;
}

/* ─── لایت مود: فرم ─── */
[data-theme="light"] .form-group label {
    color: #0F172A !important;
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    color: #0F172A !important;
}

/* ─── لایت مود: دایره‌های امتیاز ─── */
[data-theme="light"] .circle-bg {
    stroke: rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .circle-fill {
    stroke: #1E40AF !important;
}
[data-theme="light"] .circle-text {
    fill: #1E40AF !important;
}
[data-theme="light"] .score-label {
    color: #475569 !important;
}

/* ─── لایت مود: اعداد آبی ─── */
[data-theme="light"] .big-score {
    color: #1E40AF !important;
}
[data-theme="light"] .hero-stat-value {
    color: #1E40AF !important;
}
[data-theme="light"] .stat-value {
    color: #1E40AF !important;
}

/* ─── دارک مود: پس‌زمینه ─── */
[data-theme="dark"] .expert-public-profile {
    background: #0A192F !important;
}

/* ─── دارک مود: کارت‌ها (سرمه‌ای) ─── */
[data-theme="dark"] .profile-section,
[data-theme="dark"] .sidebar-widget,
[data-theme="dark"] .hero-card {
    background: #112240 !important;
    border: 1px solid rgba(245, 158, 11, 0.15) !important;
}

/* ─── دارک مود: کارت‌های داخلی ─── */
[data-theme="dark"] .stat-card,
[data-theme="dark"] .about-box,
[data-theme="dark"] .education-box,
[data-theme="dark"] .service-card,
[data-theme="dark"] .specialty-card,
[data-theme="dark"] .consult-form-box {
    background: rgba(10, 25, 47, 0.5) !important;
    border: 1px solid rgba(29, 78, 216, 0.2) !important;
}

/* ─── دارک مود: عنوان‌ها (طلایی) ─── */
[data-theme="dark"] .section-title,
[data-theme="dark"] .expert-name,
[data-theme="dark"] .hero-stat-value {
    color: #F59E0B !important;
}

/* ─── دارک مود: متن‌های اصلی (سفید) ─── */
[data-theme="dark"] .stat-value,
[data-theme="dark"] .edu-value,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .specialty-title,
[data-theme="dark"] .reviewer-name,
[data-theme="dark"] .document-card__title,
[data-theme="dark"] .article-card__title {
    color: #F8FAFC !important;
}

/* ─── دارک مود: متن‌های فرعی (خاکستری) ─── */
[data-theme="dark"] .stat-label,
[data-theme="dark"] .expert-bio,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .company-subtitle,
[data-theme="dark"] .hero-stat-label {
    color: #CBD5E1 !important;
}

/* ─── دارک مود: آیکون‌ها (طلایی) ─── */
[data-theme="dark"] .stat-icon,
[data-theme="dark"] .specialty-icon,
[data-theme="dark"] .section-icon {
    color: #F59E0B !important;
}
[data-theme="dark"] .section-icon {
    background: rgba(245, 158, 11, 0.1) !important;
}

/* ─── دارک مود: هیرو ─── */
[data-theme="dark"] .expert-hero {
    background: linear-gradient(160deg, #0A192F 0%, #112240 50%, #1D4ED8 100%) !important;
}
[data-theme="dark"] .hero-card {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .hero-stat {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .hero-avatar img {
    border: 4px solid #F59E0B !important;
}

/* ─── دارک مود: دایره‌های امتیاز ─── */
[data-theme="dark"] .circle-bg {
    stroke: rgba(203, 213, 225, 0.2) !important;
}
[data-theme="dark"] .circle-fill {
    stroke: #F59E0B !important;
}
[data-theme="dark"] .circle-text {
    fill: #F8FAFC !important;
}

/* ─── دارک مود: بج‌ها ─── */
[data-theme="dark"] .badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(248, 250, 252, 0.9) !important;
}
[data-theme="dark"] .badge i {
    color: #F59E0B !important;
}

/* ─── دارک مود: سایدبار ─── */
[data-theme="dark"] .widget-header {
    background: #1D4ED8 !important;
    color: #F8FAFC !important;
}
[data-theme="dark"] .widget-header i {
    color: #F59E0B !important;
}

/* ─── دارک مود: فرم ─── */
[data-theme="dark"] .form-group label {
    color: #F8FAFC !important;
}
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: rgba(10, 25, 47, 0.6) !important;
    border: 1.5px solid rgba(29, 78, 216, 0.3) !important;
    color: #F8FAFC !important;
}



/* ==================== Featured Expert Cards ==================== */

[data-theme="dark"] {
    --featured-wave-color:   rgba(245, 158, 11, 0.12);
    --featured-wave-color-2: rgba(245, 158, 11, 0.06);
    --featured-border-glow:  rgba(245, 158, 11, 0.40);
    --featured-shimmer:      rgba(245, 158, 11, 0.15);
    --featured-floral-svg-lg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg opacity='0.55' fill='none' stroke='%23F59E0B' stroke-width='0.8'%3E%3Cellipse cx='40' cy='40' rx='6' ry='18' transform='rotate(0 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='6' ry='18' transform='rotate(45 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='6' ry='18' transform='rotate(90 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='6' ry='18' transform='rotate(135 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='4' ry='12' transform='rotate(22.5 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='4' ry='12' transform='rotate(67.5 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='4' ry='12' transform='rotate(112.5 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='4' ry='12' transform='rotate(157.5 40 40)'/%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%23F59E0B' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
    --featured-floral-svg-sm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cg opacity='0.35' fill='none' stroke='%23F59E0B' stroke-width='0.7'%3E%3Cellipse cx='25' cy='25' rx='4' ry='11' transform='rotate(0 25 25)'/%3E%3Cellipse cx='25' cy='25' rx='4' ry='11' transform='rotate(60 25 25)'/%3E%3Cellipse cx='25' cy='25' rx='4' ry='11' transform='rotate(120 25 25)'/%3E%3Ccircle cx='25' cy='25' r='3'/%3E%3Ccircle cx='25' cy='25' r='1.5' fill='%23F59E0B' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
}

[data-theme="light"] {
    --featured-wave-color:   rgba(29, 78, 216, 0.10);
    --featured-wave-color-2: rgba(29, 78, 216, 0.05);
    --featured-border-glow:  rgba(29, 78, 216, 0.35);
    --featured-shimmer:      rgba(29, 78, 216, 0.12);
    --featured-floral-svg-lg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg opacity='0.45' fill='none' stroke='%231D4ED8' stroke-width='0.8'%3E%3Cellipse cx='40' cy='40' rx='6' ry='18' transform='rotate(0 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='6' ry='18' transform='rotate(45 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='6' ry='18' transform='rotate(90 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='6' ry='18' transform='rotate(135 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='4' ry='12' transform='rotate(22.5 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='4' ry='12' transform='rotate(67.5 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='4' ry='12' transform='rotate(112.5 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='4' ry='12' transform='rotate(157.5 40 40)'/%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%231D4ED8' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
    --featured-floral-svg-sm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cg opacity='0.28' fill='none' stroke='%231D4ED8' stroke-width='0.7'%3E%3Cellipse cx='25' cy='25' rx='4' ry='11' transform='rotate(0 25 25)'/%3E%3Cellipse cx='25' cy='25' rx='4' ry='11' transform='rotate(60 25 25)'/%3E%3Cellipse cx='25' cy='25' rx='4' ry='11' transform='rotate(120 25 25)'/%3E%3Ccircle cx='25' cy='25' r='3'/%3E%3Ccircle cx='25' cy='25' r='1.5' fill='%231D4ED8' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---- کارت ویژه: پایه ---- */
.featured-experts-section .expert-card {
    position: relative;
    overflow: hidden;
    border-color: var(--featured-border-glow) !important;
    box-shadow:
        0 0 0 1px var(--featured-border-glow),
        var(--shadow-md),
        0 0 30px var(--featured-shimmer);
    transition: var(--transition-smooth);
}

/* ---- موج رنگی پس‌زمینه ---- */
.featured-experts-section .expert-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, var(--featured-wave-color) 0%, transparent 65%),
        radial-gradient(ellipse 80% 60% at 100% 100%, var(--featured-wave-color-2) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 0% 80%, var(--featured-wave-color-2) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* ---- گل‌های مینیاتوری ---- */
.featured-experts-section .expert-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--featured-floral-svg-lg), var(--featured-floral-svg-sm);
    background-position: -15px -15px, calc(100% + 10px) calc(100% + 10px);
    background-repeat: no-repeat;
    background-size: 120px 120px, 50px 50px;
    pointer-events: none;
    z-index: 0;
    transition: background-size 0.3s ease;
}

/* ---- خوانایی محتوا ---- */
.featured-experts-section .expert-card > * {
    position: relative;
    z-index: 1;
}

/* ---- هاور ---- */
.featured-experts-section .expert-card:hover {
    box-shadow:
        0 0 0 1px var(--featured-border-glow),
        var(--shadow-lg),
        0 0 50px var(--featured-shimmer);
    transform: translateY(-4px);
}

.featured-experts-section .expert-card:hover::after {
    background-size: 90px 90px, 58px 58px;
}
/* ==================== اصلاح Badge ویژه ==================== */
.expert-card.featured .expert-badge.badge-featured {
    padding: 4px 6px !important;
    font-size: 10px !important;
    top: 12px !important;
    left: 12px !important;  
    right: auto !important;
    z-index: 2;
}

.expert-badge i {
    font-size: 10px !important;
}


/* ==================== حذف قطعی کادر hero-stat ==================== */
.hero-stat,
.hero .hero-stat,
.hero-content .hero-stat,
.home-page .hero-stat,
[data-theme="dark"] .hero-stat,
[data-theme="light"] .hero-stat {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.hero-stat .number,
.hero-stat .label {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ==================== متن CTA در لایت مود ==================== */
[data-theme="light"] .consultation-cta p {
    color: #F8FAFC !important;
}


/* ==================== فیکس صفحات expert در لایت مود ==================== */
[data-theme="light"] .expert-apply-container,
[data-theme="light"] .apply-card,
[data-theme="light"] .expert-layout,
[data-theme="light"] .expert-main {
    background: #F8FAFC !important;
}

[data-theme="light"] .apply-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

/* ==================== صفحه تماس با ما - زمان پاسخگویی ==================== */
[data-theme="light"] .response-time {
    color: #F59E0B !important;
}


/* ==================== هدر - منوهای آبشاری و داشبورد در لایت مود ==================== */
[data-theme="light"] .dashboard-menu,
[data-theme="light"] .nav-dropdown .dropdown-menu,
[data-theme="light"] .mobile-nav {
    background: #112240 !important;
}

[data-theme="light"] .dashboard-menu a,
[data-theme="light"] .nav-dropdown .dropdown-menu li a,
[data-theme="light"] .mobile-nav li a {
    color: #CBD5E1 !important;
}

[data-theme="light"] .dashboard-menu a:hover,
[data-theme="light"] .nav-dropdown .dropdown-menu li a:hover,
[data-theme="light"] .mobile-nav li a:hover {
    color: #F59E0B !important;
    background: rgba(29, 78, 216, 0.2) !important;
}

[data-theme="light"] .dashboard-menu a.logout-link {
    color: #FF6B6B !important;
}

[data-theme="light"] .mobile-nav li a i,
[data-theme="light"] .nav-dropdown .dropdown-menu li a i {
    color: #F59E0B !important;
}

[data-theme="light"] .mobile-divider {
    background: rgba(245, 158, 11, 0.2) !important;
}

/* ==================== پروفایل عمومی - دارک مود ==================== */
[data-theme="dark"] .profile-section,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .specialty-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .vertical-card,
[data-theme="dark"] .horizontal-card,
[data-theme="dark"] .about-box,
[data-theme="dark"] .education-box,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .review-card,
[data-theme="dark"] .rating-overview,
[data-theme="dark"] .rating-overview__score,
[data-theme="dark"] .document-card,
[data-theme="dark"] .article-card,
[data-theme="dark"] .sidebar-widget,
[data-theme="dark"] .badge-card,
[data-theme="dark"] .consult-form-box,
[data-theme="dark"] .empty-state {
    background: #112240 !important;
    border-color: rgba(203, 213, 225, 0.1) !important;
}

/* ⭐ سرنویس‌های اصلی - طلایی */
[data-theme="dark"] .section-title,
[data-theme="dark"] .specialty-title,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .vertical-card h4,
[data-theme="dark"] .horizontal-card h4,
[data-theme="dark"] .hc-header h4,
[data-theme="dark"] .badge-card__name,
[data-theme="dark"] .big-score,
[data-theme="dark"] .mgmt-info h4,
[data-theme="dark"] .widget-header,
[data-theme="dark"] .article-card__title {
    color: #F59E0B !important;
}

/* متن‌های معمولی - سفید مایل به خاکستری */
[data-theme="dark"] .stat-value,
[data-theme="dark"] .expert-bio,
[data-theme="dark"] .edu-value,
[data-theme="dark"] .contact-value,
[data-theme="dark"] .contact-value a,
[data-theme="dark"] .reviewer-name,
[data-theme="dark"] .review-card__body,
[data-theme="dark"] .review-card__reply p,
[data-theme="dark"] .document-card__title,
[data-theme="dark"] .horizontal-card h5,
[data-theme="dark"] .vc-body h4,
[data-theme="dark"] .form-group label,
[data-theme="dark"] .share-text {
    color: #E2E8F0 !important;
}

/* متن‌های فرعی - خاکستری */
[data-theme="dark"] .stat-label,
[data-theme="dark"] .specialty-level,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .service-meta,
[data-theme="dark"] .contact-label,
[data-theme="dark"] .review-date,
[data-theme="dark"] .article-card__meta,
[data-theme="dark"] .document-card__desc,
[data-theme="dark"] .vc-date,
[data-theme="dark"] .vc-gpa,
[data-theme="dark"] .vc-number,
[data-theme="dark"] .vc-subtitle,
[data-theme="dark"] .hc-dates,
[data-theme="dark"] .hc-desc,
[data-theme="dark"] .total-reviews-text,
[data-theme="dark"] .bar-label,
[data-theme="dark"] .bar-count,
[data-theme="dark"] .badge-card__date,
[data-theme="dark"] .mgmt-info span,
[data-theme="dark"] .empty-state,
[data-theme="dark"] .empty-state p {
    color: #CBD5E1 !important;
}

/* ⭐ آیکون‌های شبکه‌های اجتماعی در هیرو */
[data-theme="dark"] .hero-social-compact a {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] .hero-social-compact a:hover {
    background: #F59E0B !important;
    color: #0F172A !important;
}

/* فرم مشاوره - input ها */
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: #0A192F !important;
    color: #F8FAFC !important;
    border-color: rgba(203, 213, 225, 0.2) !important;
}

/* rating overview */
[data-theme="dark"] .rating-overview {
    background: #112240 !important;
    border-color: rgba(203, 213, 225, 0.1) !important;
}

[data-theme="dark"] .bar-track {
    background: rgba(203, 213, 225, 0.15) !important;
}

/* reply box */
[data-theme="dark"] .review-card__reply {
    background: rgba(29, 78, 216, 0.1) !important;
}

/* document card */
[data-theme="dark"] .document-card {
    background: #112240 !important;
    border-color: rgba(203, 213, 225, 0.1) !important;
}

[data-theme="dark"] .document-card__body img,
[data-theme="dark"] .document-card img.thumbnail {
    border-color: rgba(203, 213, 225, 0.2) !important;
}

/* ==================== آیکون شبکه‌های اجتماعی در لایت مود ==================== */
[data-theme="light"] .hero-social-compact a {
    background: rgba(30, 64, 175, 0.15) !important;
    color: #1E40AF !important;
}

[data-theme="light"] .hero-social-compact a:hover {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}



/* ==================== دارک مود - فیکس متن‌های تیره ==================== */
[data-theme="dark"] .expert-card,
[data-theme="dark"] .feature-card-modern,
[data-theme="dark"] .feature-card-modern h3,
[data-theme="dark"] .feature-card-modern h4,
[data-theme="dark"] .feature-card-modern p,
[data-theme="dark"] .feature-card-modern span,
[data-theme="dark"] .feature-card-modern div,
[data-theme="dark"] .info-note-card,
[data-theme="dark"] .info-note-card strong,
[data-theme="dark"] .info-note-card span,
[data-theme="dark"] .roi-card-item,
[data-theme="dark"] .roi-card-item span,
[data-theme="dark"] .roi-card-item div,
[data-theme="dark"] .info-box-analysis,
[data-theme="dark"] .info-box-analysis p,
[data-theme="dark"] .info-box-analysis span {
    color: #E2E8F0 !important;
}

[data-theme="dark"] .feature-card-modern h3,
[data-theme="dark"] .feature-card-modern strong,
[data-theme="dark"] .info-note-card strong,
[data-theme="dark"] .roi-card-item .roi-value,
[data-theme="dark"] .info-box-analysis h3 {
    color: #F59E0B !important;
}



/* ==================== لایت مود - فیکس کامل تب‌ها ==================== */
[data-theme="light"] .main-tabs-wrapper {
    background: #E2E8F0 !important;
}

[data-theme="light"] .main-tabs-nav {
    background: #F1F5F9 !important;
}

[data-theme="light"] .main-tab-btn {
    color: #475569 !important;
}

[data-theme="light"] .main-tab-btn.active {
    background: #FFFFFF !important;
    color: #1E40AF !important;
}

[data-theme="light"] .main-tab-btn:hover {
    color: #1E40AF !important;
    background: rgba(30, 64, 175, 0.06) !important;
}

/* تب‌های جستجو داخل تب‌ها */
[data-theme="light"] .search-tab-btn {
    background: #FFFFFF !important;
    color: #475569 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .search-tab-btn.active {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

/* محتوای تب‌ها */
[data-theme="light"] .main-tab-content,
[data-theme="light"] .tab-search-box,
[data-theme="light"] .search-tabs-inner {
    color: #0F172A !important;
}

[data-theme="light"] .main-tab-content h1,
[data-theme="light"] .main-tab-content h2,
[data-theme="light"] .main-tab-content h3,
[data-theme="light"] .main-tab-content h4,
[data-theme="light"] .tab-search-box h3 {
    color: #0F172A !important;
}

[data-theme="light"] .main-tab-content p,
[data-theme="light"] .main-tab-content span,
[data-theme="light"] .tab-search-box p {
    color: #334155 !important;
}

/* کارت‌های داخل تب‌ها */
[data-theme="light"] .feature-card-modern,
[data-theme="light"] .roi-card-item,
[data-theme="light"] .info-box-analysis,
[data-theme="light"] .tags-box-store,
[data-theme="light"] .software-card-store {
    background: #FFFFFF !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .feature-card-modern h3,
[data-theme="light"] .feature-card-modern strong,
[data-theme="light"] .roi-card-item .roi-value,
[data-theme="light"] .info-box-analysis h3 {
    color: #1E40AF !important;
}

[data-theme="light"] .feature-card-modern p,
[data-theme="light"] .feature-card-modern span,
[data-theme="light"] .roi-card-item span,
[data-theme="light"] .roi-card-item p,
[data-theme="light"] .info-box-analysis p,
[data-theme="light"] .tags-box-store span,
[data-theme="light"] .software-card-store p,
[data-theme="light"] .software-card-store li {
    color: #334155 !important;
}


/* ==================== تب مشاوران - دارک مود ==================== */
[data-theme="dark"] .sub-section-header,
[data-theme="dark"] .sub-section-header h3,
[data-theme="dark"] .sub-section-header p,
[data-theme="dark"] .sub-section-badge,
[data-theme="dark"] .roadmap-container,
[data-theme="dark"] .roadmap-steps,
[data-theme="dark"] .roadmap-card-step,
[data-theme="dark"] .roadmap-card-step h4,
[data-theme="dark"] .roadmap-card-step p,
[data-theme="dark"] .benefits-grid-inline,
[data-theme="dark"] .benefit-item-inline,
[data-theme="dark"] .benefit-item-inline span,
[data-theme="dark"] .expert-card-body,
[data-theme="dark"] .expert-card-body h3,
[data-theme="dark"] .expert-card-body p,
[data-theme="dark"] .expert-card-body span,
[data-theme="dark"] .search-panel,
[data-theme="dark"] .search-form-inline {
    color: #E2E8F0 !important;
}

/* سرنویس‌های طلایی */
[data-theme="dark"] .sub-section-header h3,
[data-theme="dark"] .roadmap-card-step h4,
[data-theme="dark"] .expert-card-body h3,
[data-theme="dark"] .expert-name {
    color: #F59E0B !important;
}

/* متن‌های فرعی */
[data-theme="dark"] .sub-section-header p,
[data-theme="dark"] .roadmap-card-step p,
[data-theme="dark"] .benefit-item-inline span,
[data-theme="dark"] .expert-card-body p,
[data-theme="dark"] .expert-specialty,
[data-theme="dark"] .expert-location {
    color: #CBD5E1 !important;
}

/* دکمه‌های جستجو */
[data-theme="dark"] .search-tab-btn {
    background: rgba(29, 78, 216, 0.15) !important;
    color: #E2E8F0 !important;
}

[data-theme="dark"] .search-tab-btn.active {
    background: #1D4ED8 !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .search-submit-btn {
    background: #F59E0B !important;
    color: #0F172A !important;
}

/* input های جستجو */
[data-theme="dark"] .search-input,
[data-theme="dark"] .search-select {
    background: #0A192F !important;
    color: #E2E8F0 !important;
    border-color: rgba(203, 213, 225, 0.2) !important;
}


/* ==================== فیکس متن‌های بدون رنگ در دارک مود ==================== */
[data-theme="dark"] .main-tab-content * {
    color: var(--color-text-primary) !important;
}


/* ==================== فروشگاه - سایدبار در لایت مود ==================== */
[data-theme="light"] .store-sidebar label,
[data-theme="light"] .store-sidebar a,
[data-theme="light"] .filter-list label,
[data-theme="light"] .category-tree a,
[data-theme="light"] .filter-title {
    color: #0F172A !important;
}

[data-theme="light"] .filter-title i,
[data-theme="light"] .category-tree a.active {
    color: #1E40AF !important;
}


[data-theme="light"] .filter-list label,
[data-theme="light"] .category-tree a {
    color: #0F172A !important;
}



/* ==================== فروشگاه - فیکس نهایی ==================== */
[data-theme="light"] .category-icon-circle {
    background: #FFFFFF !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    color: #1E40AF !important;
}

[data-theme="light"] .category-icon-item span {
    color: #0F172A !important;
}

[data-theme="light"] .category-icon-item.active .category-icon-circle {
    background: #1E40AF !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .filter-list label {
    color: #0F172A !important;
}

[data-theme="light"] .filter-list input[type="radio"] {
    accent-color: #1E40AF !important;
}



/* ==================== فروشگاه - دایره دسته‌بندی‌ها در لایت مود ==================== */
[data-theme="light"] .category-icon-circle {
    background: #FFFFFF !important;
    border: 2px solid #E2E8F0 !important;
    color: #1E40AF !important;
}

[data-theme="light"] .category-icon-item.active .category-icon-circle {
    background: #1E40AF !important;
    color: #FFFFFF !important;
    border-color: #1E40AF !important;
}

[data-theme="light"] .category-icon-item span {
    color: #0F172A !important;
}