/* فایل فونت‌های ایران سنس */

/* تعریف فونت ایران سنس - تمام فرمت‌ها */
@font-face {
    font-family: 'IRANSansWeb';
    src: url('woff2/IRANSansWeb(FaNum).woff2') format('woff2'),
         url('woff/IRANSansWeb(FaNum).woff') format('woff'),
         url('ttf/IRANSansWeb(FaNum).ttf') format('truetype'),
         url('eot/IRANSansWeb(FaNum).eot') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),
         url('woff/IRANSansWeb(FaNum)_Bold.wof') format('woff'),
         url('ttf/IRANSansWeb(FaNum)_Bold.ttf') format('truetype'),
         url('eot/IRANSansWeb(FaNum)_Bold.eot') format('embedded-opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('woff2/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),
         url('woff/IRANSansWeb(FaNum)_Light.woff') format('woff'),
         url('ttf/IRANSansWeb(FaNum)_Light.ttf') format('truetype'),
         url('eot/IRANSansWeb(FaNum)_Light.eot') format('embedded-opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),
         url('woff/IRANSansWeb(FaNum)_Medium.woff') format('woff'),
         url('ttf/IRANSansWeb(FaNum)_Medium.tt') format('truetype'),
         url('eot/IRANSansWeb(FaNum)_Medium.eot') format('embedded-opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('woff2/IRANSansWeb(FaNum)_Black.woff2') format('woff2'),
         url('woff/IRANSansWeb(FaNum)_Black.woff') format('woff'),
         url('ttf/IRANSansWeb(FaNum)_Black.ttf') format('truetype'),
         url('eot/IRANSansWeb(FaNum)_Black.eot') format('embedded-opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('woff2/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'),
         url('woff/IRANSansWeb(FaNum)_UltraLight.woff') format('woff'),
         url('ttf/IRANSansWeb(FaNum)_UltraLight.ttf') format('truetype'),
         url('eot/IRANSansWeb(FaNum)_UltraLight.eot') format('embedded-opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* تنظیمات پیش‌فرض برای استفاده از فونت ایران سنس */
* {
    font-family: 'IRANSansWeb', 'Tahoma', 'Arial', sans-serif;
}

body {
    font-family: 'IRANSansWeb', 'Tahoma', 'Arial', sans-serif;
    font-weight: normal;
    line-height: 1.6;
}

/* کلاس‌های کمکی برای وزن‌های مختلف فونت */
.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: normal;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: bold;
}

.font-black {
    font-weight: 900;
}

.font-ultralight {
    font-weight: 200;
}

/* تنظیمات برای اعداد فارسی */
.fa-num {
    font-feature-settings: "ss01";
    font-variant-numeric: tabular-nums;
}

/* تنظیمات برای متن فارسی */
.fa-text {
    direction: rtl;
    text-align: right;
}

/* تنظیمات برای عناوین */
h1, h2, h3, h4, h5, h6 {
    font-family: 'IRANSansWeb', 'Tahoma', 'Arial', sans-serif;
    font-weight: bold;
}

/* تنظیمات برای دکمه‌ها */
button, .btn {
    font-family: 'IRANSansWeb', 'Tahoma', 'Arial', sans-serif;
    font-weight: 600;
}

/* تنظیمات برای input ها */
input, select, textarea {
    font-family: 'IRANSansWeb', 'Tahoma', 'Arial', sans-serif;
    font-weight: normal;
}

/* تنظیمات برای label ها */
label {
    font-family: 'IRANSansWeb', 'Tahoma', 'Arial', sans-serif;
    font-weight: 600;
}

/* تنظیمات برای placeholder */
::placeholder {
    font-family: 'IRANSansWeb', 'Tahoma', 'Arial', sans-serif;
    font-weight: normal;
}

/* تنظیمات برای focus */
:focus {
    font-family: 'IRANSansWeb', 'Tahoma', 'Arial', sans-serif;
}

/* تنظیمات برای selection */
::selection {
    background-color: #f58735;
    color: white;
}

/* تنظیمات برای scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3f547f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f58735;
} 