body {
    font-family: inherit;
    background-color: #0f172a;
}

.nav-link-custom {
    display: flex !important;
    align-items: center !important;
    padding: 12px 15px !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    margin-bottom: 5px !important;
    transition: all 0.2s !important;
    -webkit-border-radius: 8px !important;
    -moz-border-radius: 8px !important;
    -ms-border-radius: 8px !important;
    -o-border-radius: 8px !important;
    -webkit-transition: all 0.2s !important;
    -moz-transition: all 0.2s !important;
    -ms-transition: all 0.2s !important;
    -o-transition: all 0.2s !important;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
    font-weight: bold !important;
}

.nav-link-custom.text-danger:hover {
    background-color: #311c24 !important;
    color: #f87171 !important;
}

/* تراز کردن نرم و دقیق SVG با متون */
svg.bi {
    vertical-align: -0.125em;
}

/* کارت‌های مدرن با سایه ملایم */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* زیباسازی آیتم‌های منو */
.nav-link-custom {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.2s;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    background-color: #e9ecef;
    color: #0d6efd;
    font-weight: bold;
}

.nav-link-custom.text-danger:hover {
    background-color: #fff5f5;
    color: #dc3545;
}

.text-danger {
    color: #f87171 !important;
}


.table-custom {
    color: #e2e8f0;
}

.table-custom tbody tr {
    transition: background-color 0.2s;
    border-bottom: 1px solid #334155;
}

.table-custom tbody tr:hover {
    background-color: #334155;
}

.table-custom th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    padding: 16px;
    background-color: #1e293b;
    border-bottom: 2px solid #334155;
}

.table-custom td {
    padding: 16px;
    color: #e2e8f0;
}



/* استایل اختصاصی منوی کناری دسکتاپ */
@media (min-width: 768px) {
    .sticky-sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
    }
}