/* ==========================================================
   MOBILE BOTTOM NAVIGATION — CLEAN REWRITE
========================================================== */

/* Hidden on desktop/tablet */
.denis-mobile-bottom-nav {
    display: none;
}

/* Badge counters (chat + notifications) */
.denis-chat-counter,
.denis-notif-counter {
    position: absolute;
    top: -4px;
    right: 6px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
    line-height: 1;
    display: none;  /* JS toggles visibility */
}

/* Slight position tweak for chat counter */
.denis-chat-counter {
    right: 8px;
}

/* ==========================================================
   SHOW ONLY ON MOBILE
========================================================== */
@media screen and (max-width: 768px) {

    /* Nav container */
    .denis-mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;

        display: flex;
        justify-content: space-around;
        align-items: center;

        z-index: 9999;
    }

    /* Each navigation button */
    .denis-mobile-bottom-nav .nav-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;

        text-align: center;
        font-size: 12px;
        text-decoration: none;

        color: #0b1220; /* default */
        transition: color 0.25s ease;
    }

    /* Icon styling */
    .denis-mobile-bottom-nav .nav-item i {
        font-size: 20px;
        transition: color 0.25s ease, transform 0.15s ease;
    }

    /* Hover effect */
    .denis-mobile-bottom-nav .nav-item:hover {
        color: #6b7280;
    }
    .denis-mobile-bottom-nav .nav-item:hover i {
        color: #6b7280;
        transform: translateY(-1px);
    }

    /* Active (clicked) tab */
    .denis-mobile-bottom-nav .nav-item.active {
        color: #2563eb !important;
        font-weight: 600;
    }
    .denis-mobile-bottom-nav .nav-item.active i {
        color: #2563eb !important;
    }
}
