/* ═══════════════════════════════════════════════════════════════════════════
   Bottom Navigation Component Styles
   Mobile-first bottom navigation bar with icons
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Bottom Nav Container ──────────────────────────────────────────────── */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    height: 68px;
    background: #fff;
    border-top: 1px solid #e8edf5;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
    transform: translateX(-50%);
    min-width: 430px;
}

/* ── Nav Items ─────────────────────────────────────────────────────────── */
.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.nav-item a {
    color: #94A3B8;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-item span {
    font-size: 13px;
    font-weight: 500;
}

/* ── Active State ──────────────────────────────────────────────────────── */
.nav-item.active a {
    color: #2F80ED;
}

/* ── Icons ─────────────────────────────────────────────────────────────── */
svg.nav-icon {
    width: 24px;
    height: 24px;
}

.nav-item svg.nav-icon path {
    transition: all 0.25s ease;
}

/* Home & About icons don't have stroke, only fill */
.icon-nav-about path,
.icon-nav-home path {
    stroke: none;
}

/* Active state for Home & About icons (fill only) */
.nav-item.active .icon-nav-about path,
.nav-item.active .icon-nav-home path {
    stroke: none !important;
    fill: #2F80ED;
}

/* Active state for stroke-based icons */
.nav-item.active svg.nav-icon path {
    stroke: #2F80ED;
}

/* ── Responsive Adjustments ────────────────────────────────────────────── */
@media (min-width: 640px) {
nav.bottom-nav {
    min-width: 760px;
}
}

@media (max-width: 639px) {
nav.bottom-nav {
    min-width: 100%;
}
}

@media (max-width: 480px) {
.bottom-nav {
    padding: 0 1rem;
}
    
    svg.nav-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 360px) {
    .bottom-nav {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }
}
