/* Modern Bottom Navigation - iOS Style */

.bjj-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    /* Translucent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 8px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    /* Safe area for iPhone X+ */
    z-index: 9999;
}

.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #8E8E93;
    /* iOS Gray */
    background: transparent;
    border: none;
    padding: 4px;
    flex: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
}

.nav-tab svg {
    width: 26px;
    height: 26px;
    margin-bottom: 2px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.nav-tab .nav-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.nav-tab span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: -0.1px;
}

/* Active State */
.nav-tab.active {
    color: #000000;
    /* Active is Black for high contrast */
}

.nav-tab.active svg {
    transform: translateY(-1px);
}

.nav-tab:active {
    opacity: 0.7;
}

/* Add padding to the bottom of the main content so it's not hidden behind the nav */
.bjj-app-wrapper {
    padding-bottom: 90px;
}