/**
 * فونت‌های فارسی - CarService User Panel
 * تاریخ: دی ۱۴۰۴
 */

/* ==================== فونت Vazirmatn ==================== */

/* Vazirmatn Light */
@font-face {
    font-family: 'Vazirmatn';
    src: url('vazirmatn/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn Regular */
@font-face {
    font-family: 'Vazirmatn';
    src: url('vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn Medium */
@font-face {
    font-family: 'Vazirmatn';
    src: url('vazirmatn/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn SemiBold */
@font-face {
    font-family: 'Vazirmatn';
    src: url('vazirmatn/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn Bold */
@font-face {
    font-family: 'Vazirmatn';
    src: url('vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==================== فونت IRANSans ==================== */

/* IRANSans Regular */
@font-face {
    font-family: 'IRANSans';
    src: url('IRANSansWeb.eot');
    src: url('IRANSansWeb.eot?#iefix') format('embedded-opentype'),
         url('IRANSansWeb.woff') format('woff'),
         url('IRANSansWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ==================== تنظیمات عمومی فونت ==================== */

body {
    font-family: 'Vazirmatn', 'IRANSans', 'Tahoma', 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* اعمال font smoothing برای متون فارسی */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
