/* Bottom navigation */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

.nav-item:hover {
    color: #e2e8f0;
}

.nav-active {
    color: #38bdf8 !important;
}

/* Pulse animation for connection indicator */
.pulse-dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Touch targets for mobile */
.touch-target {
    min-height: 44px;
}

/* Safe area for bottom nav on iOS */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: calc(5rem + env(safe-area-inset-bottom));
    }
    nav.fixed.bottom-0 {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
