/* PWA Navigation Bar - Shared styles for Listbot, Rulebot, Trackbot */

.pwa-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #1a1a2e;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    z-index: 1000;
}

.pwa-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 72px;
}

.pwa-nav-item:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.pwa-nav-item.active {
    color: #4ecca3;
}

.pwa-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.pwa-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Safe area for iOS devices with home indicator */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .pwa-nav {
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }
}

/* Ensure main content doesn't get hidden behind nav */
.pwa-nav-spacer {
    height: 70px;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .pwa-nav-spacer {
        height: calc(70px + env(safe-area-inset-bottom));
    }
}
