/* فونت فارسی IRANSans */
@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSans-Edit.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansBold-Edit.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Override Tailwind font-sans variable to use IRANSans */
:root, :host {
    --font-sans: 'IRANSans', Tahoma, Arial, sans-serif !important;
}

/* Material Symbols - must override with high specificity */
html body .material-symbols-outlined,
html body span.material-symbols-outlined,
#page .material-symbols-outlined,
#nav-sidebar .material-symbols-outlined,
#nav-sidebar-inner .material-symbols-outlined,
#main .material-symbols-outlined,
.material-symbols-outlined {
    font-family: "Material Symbols Outlined" !important;
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
    direction: ltr !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga' !important;
    -webkit-font-feature-settings: 'liga' !important;
}

/* RTL */
body, html {
    direction: rtl !important;
    text-align: right !important;
}

/* فارسی کردن ورودی‌ها */
input, button, select, textarea {
    direction: rtl !important;
}

/* جداول */
table {
    direction: rtl !important;
}

th, td {
    text-align: right !important;
}
