/* تعریف فونت وزیرمتن */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: normal;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: bold;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    background-color: #f4f6f9;
    overflow-x: hidden;
}

/* یکپارچه‌سازی فونت برای تمامی المان‌ها و اعداد */
input, textarea, select, button, table, .fw-bold, h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* استایل سایدبار مدرن */
.sidebar { 
    height: 100vh; 
    width: 260px; 
    position: fixed; 
    right: 0; 
    top: 0; 
    background-color: #1e293b; /* رنگ تیره مدرن */
    color: #f8fafc; 
    padding-top: 20px; 
    z-index: 1000;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
}

.sidebar .brand { 
    font-size: 1.3rem; 
    font-weight: bold; 
    text-align: center; 
    margin-bottom: 40px; 
    color: #38bdf8;
}

.sidebar a { 
    padding: 14px 25px; 
    text-decoration: none; 
    font-size: 1rem; 
    color: #cbd5e1; 
    display: block; 
    transition: 0.3s; 
    border-right: 4px solid transparent;
}

.sidebar a:hover, .sidebar a.active { 
    background-color: #334155; 
    color: #fff; 
    border-right-color: #38bdf8; 
}

/* استایل کانتینر اصلی */
.main-content { 
    margin-right: 260px; /* باز کردن فضا به اندازه عرض سایدبار */
    padding: 30px; 
}

.card { 
    border: none; 
    border-radius: 12px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); 
}