/* تنظیم فضای پایین صفحه جهت نرفتن محتوا زیر منو */
body {
    padding-bottom: 70px;
    background-color: #f8f9fa;
}

/* محدود کردن عرض منو در دسکتاپ به حالت موبایلی */
.bottom-nav {
    max-width: 100% !important;
    margin: 0 auto;
    right: 0;
    left: 0;
    padding-bottom: env(safe-area-inset-bottom); /* پشتیبانی از Safe Area آیفون */
}

/* استایل آیکون‌های Lucide */
.bottom-nav .nav-link i {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

/* حالت فعال منو */
.bottom-nav .nav-item.active .nav-link {
    color: #0d6efd !important; /* رنگ primary بوت‌استرپ */
}

.bottom-nav .nav-item.active .nav-link i {
    transform: translateY(-2px);
}

/* خط انیمیشنی بالای آیتم فعال */
.active-indicator {
    position: absolute;
    top: 0;
    right: 0;
    height: 3.5px;
    width: 33.333%; /* تقسیم بر ۳ آیتم */
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
}

.active-indicator::after {
    content: "";
    width: 36px;
    height: 100%;
    background-color: #0d6efd;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}