/**
 * Floating navbar styles with glassmorphism effect
 */

.navbar {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Hidden permanently */
    gap: 8px;
    padding: 2px;
    background: rgba(30, 41, 54, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 20px;
    min-width: 70px;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: var(--tg-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item .nav-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item svg {
    stroke: var(--tg-text-secondary);
    transition: stroke 0.3s ease;
    width: 20px;
    height: 20px;
}

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

.nav-item:active {
    transform: scale(0.95);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--tg-text);
}

.nav-item.active svg {
    stroke: var(--tg-text);
}
