﻿/* =========================================================
   NiqfaCMS Theme Variables
   مقادیر پایه پوسته
   ========================================================= */

:root {
    color-scheme: light;
    /* رنگ‌های اصلی */
    --theme-primary: #5269DC;
    --theme-secondary: #263B59;
    --theme-accent: #F59E0B;
    /* رنگ‌های عمومی */
    --theme-background: #F5F7FB;
    --theme-surface: #FFFFFF;
    --theme-text: #263247;
    --theme-muted: #8792A5;
    --theme-link: #4055C5;
    --theme-border: #E5E7EB;
    /* هدر */
    --theme-header-background: #FFFFFF;
    --theme-header-text: #263247;
    --theme-header-hover: #5269DC;
    --theme-header-height: 80px;
    --theme-header-logo-height: 48px;
    /* فوتر */
    --theme-footer-background: #263B59;
    --theme-footer-text: #FFFFFF;
    --theme-footer-link: #F59E0B;
    --theme-footer-padding: 40px;
    /* تایپوگرافی */
    --theme-font-family: 'Vazirmatn', Tahoma, sans-serif;
    /* چیدمان */
    --theme-content-width: 1140px;
    --theme-section-spacing: 48px;
    /* اجزای رابط */
    --theme-border-radius: 12px;
    --theme-card-radius: 12px;
    --theme-button-radius: 8px;
    /* سایه‌ها */
    --theme-shadow: 0 4px 16px rgba(15, 23, 42, .08);
    --theme-card-shadow: 0 4px 16px rgba(15, 23, 42, .08);
    --theme-card-border: 1px solid var(--theme-border);
    /* رنگ وضعیت‌ها */
    --theme-success: #16A34A;
    --theme-warning: #D97706;
    --theme-danger: #DC2626;
    --theme-info: #0284C7;
}


/* =========================================================
   Dark Theme Variables
   ========================================================= */

html[data-theme-mode="dark"] {
    color-scheme: dark;
    --theme-background: #111827;
    --theme-surface: #1F2937;
    --theme-text: #F3F4F6;
    --theme-muted: #D1D5DB;
    --theme-link: #93C5FD;
    --theme-border: #374151;
    --theme-card-border: 1px solid #374151;
    --theme-shadow: 0 4px 18px rgba(0, 0, 0, .25);
    --theme-card-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}
