/* ==================================================
   Typography - اعمال فونت‌های فارسی
   ================================================== */

/* فونت پیش‌فرض - استعداد */
body {
    font-family: 'Estedad', Tahoma, Arial, sans-serif !important;
    font-weight: 400;
    line-height: 1.7;
}

/* عناوین - لاله‌زار */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.page-title,
.card-title,
.section-title,
.dashboard-title {
    font-family: 'Lalezar', 'Estedad', Tahoma, sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* دکمه‌ها - لاله‌زار */
button,
.btn,
.button,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
input[type="submit"],
input[type="button"],
input[type="reset"],
a.btn {
    font-family: 'Lalezar', 'Estedad', Tahoma, sans-serif !important;
    font-weight: 700 !important;
}

/* ناوبری و منو - لاله‌زار */
.navbar,
.nav-link,
.menu-item,
.sidebar-nav a,
.nav-item,
.dropdown-item {
    font-family: 'Lalezar', 'Estedad', Tahoma, sans-serif !important;
    font-weight: 700 !important;
}

/* متن‌های عادی - استعداد */
p, span, div, li, td, th,
.text-regular,
.description,
.content,
article {
    font-family: 'Estedad', Tahoma, Arial, sans-serif !important;
    font-weight: 400;
    line-height: 1.7;
}

/* Label ها و Badge ها - استعداد Medium */
.badge, 
.label, 
.tag,
.status,
label {
    font-family: 'Estedad', Tahoma, sans-serif !important;
    font-weight: 500 !important;
}

/* فرم‌ها - استعداد */
input:not([type="submit"]):not([type="button"]):not([type="reset"]),
textarea,
select,
.form-control,
.form-select {
    font-family: 'Estedad', Tahoma, sans-serif !important;
    font-weight: 400;
}

/* کلاس‌های کمکی */
.font-lalezar {
    font-family: 'Lalezar', sans-serif !important;
    font-weight: 700 !important;
}

.font-estedad {
    font-family: 'Estedad', sans-serif !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.font-regular {
    font-weight: 400 !important;
}

.font-light {
    font-weight: 300 !important;
}

/* کارت‌ها */
.card-header,
.card-title,
.stat-label {
    font-family: 'Lalezar', 'Estedad', sans-serif !important;
    font-weight: 700 !important;
}

.card-text,
.card-body p {
    font-family: 'Estedad', sans-serif !important;
    font-weight: 400;
}

/* جداول */
th {
    font-family: 'Estedad', sans-serif !important;
    font-weight: 500 !important;
}

td {
    font-family: 'Estedad', sans-serif !important;
    font-weight: 400;
}

/* Alert ها */
.alert {
    font-family: 'Estedad', sans-serif !important;
    font-weight: 400;
}

.alert-heading {
    font-family: 'Lalezar', 'Estedad', sans-serif !important;
    font-weight: 700 !important;
}

/* Modal */
.modal-title {
    font-family: 'Lalezar', 'Estedad', sans-serif !important;
    font-weight: 700 !important;
}

.modal-body {
    font-family: 'Estedad', sans-serif !important;
    font-weight: 400;
}

/* Breadcrumb */
.breadcrumb-item {
    font-family: 'Estedad', sans-serif !important;
    font-weight: 400;
}

/* Pagination */
.page-link {
    font-family: 'Estedad', sans-serif !important;
    font-weight: 500 !important;
}

/* Toast/Notification */
.toast,
.notification {
    font-family: 'Estedad', sans-serif !important;
    font-weight: 500 !important;
}

/* خوانایی بهتر برای متن‌های فارسی */
body {
    letter-spacing: -0.02em;
}

/* اندازه فونت برای موبایل */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1, .h1 { font-size: 28px !important; }
    h2, .h2 { font-size: 24px !important; }
    h3, .h3 { font-size: 20px !important; }
    h4, .h4 { font-size: 18px !important; }
    h5, .h5 { font-size: 16px !important; }
    h6, .h6 { font-size: 15px !important; }
}
