/* --- App-Like Navigation Styles --- */

/* Container for Links */
.app-nav-strip {
    border-top: 1px solid #f0f0f0; /* Mobile Only Line */
    background: #fff;
    /* Mobile par full width lega, Desktop par auto width lega */
}

/* Horizontal Scrolling Container */
.app-scroll-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 5px;
}

.app-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Link Item Styling */
.app-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    min-width: 80px; /* Touch target size */
    text-decoration: none;
    color: #64748b;
    transition: 0.2s;
    position: relative;
}

.app-nav-link i {
    font-size: 20px;
    margin-bottom: 4px;
    color: #64748b;
}

.app-nav-link span {
    font-size: 11px;
    font-weight: 500;
}

.app-nav-link:hover, .app-nav-link.active {
    color: var(--primary-color);
    background-color: #f8fafc;
}

.app-nav-link:hover i, .app-nav-link.active i {
    color: var(--primary-color);
}

/* Mobile Active Indicator (Bottom Bar) */
.app-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.badge-dot {
    position: absolute;
    top: 8px;
    right: 20px;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    border: 1px solid white;
}

/* --- DESKTOP (Large Screens) SETTINGS --- */
@media (min-width: 992px) {

    /* Order aur Width Reset */
    .w-lg-auto {
        width: auto !important;
        flex-grow: 1; /* Center space fill karega */
    }

    .app-nav-strip {
        border-top: none;
        margin-top: 0 !important;
    }

    .app-scroll-container {
        overflow: visible;
        padding: 0;
        justify-content: center; /* Center links */
    }

    .app-nav-link {
        flex-direction: row; /* Icon left, Text right */
        gap: 8px;
        min-width: auto;
        padding: 8px 20px; /* Thoda padding badhaya */
        margin: 0 5px;
        border-radius: 50px; /* Pill shape */
    }

    .app-nav-link i {
        font-size: 16px;
        margin-bottom: 0;
    }

    .app-nav-link span {
        font-size: 14px;
    }

    .app-nav-link.active::after {
        display: none; /* Desktop par bottom bar nahi chahiye */
    }

    .app-nav-link.active {
        background-color: #eff6ff;
        color: var(--primary-color);
        font-weight: 600;
    }

    .badge-dot {
        top: 5px;
        right: 5px;
    }
}
