
/**
 * ============================================================
 * shared/components/MobileNav/MobileNav.css - СТИЛИ МОБИЛЬНОЙ НАВИГАЦИИ
 * ============================================================
 */

/* Нижняя навигация */
.mobile-nav {
    flex-shrink: 0 !important;
    height: 64px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    /*backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;*/
    border-top: 0.5px solid rgba(0, 0, 0, 0.06) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 4px 0 8px !important;
    z-index: 1000 !important;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px) + 4px) !important;
    height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    position: relative !important;
    width: 100% !important;
}

.mobile-nav-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    background: none !important;
    border: none !important;
    padding: 4px 12px !important;
    cursor: pointer !important;
    color: #9ca3af !important;
    font-size: 0.5rem !important;
    font-weight: 500 !important;
    min-width: 48px !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
}

.mobile-nav-btn .nav-icon {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    pointer-events: none !important;
    flex-shrink: 0 !important;
}

.mobile-nav-btn .nav-label {
    font-size: 0.5rem !important;
    letter-spacing: 0.3px !important;
    opacity: 0.7 !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

.mobile-nav-btn.active {
    color: #111 !important;
}

.mobile-nav-btn.active .nav-label {
    opacity: 1 !important;
    font-weight: 600 !important;
}

.mobile-nav-btn:active {
    transform: scale(0.88) !important;
}

/* Вкладки */
.mobile-tab-content {
    position: fixed !important;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    left: 0 !important;
    right: 0 !important;
    max-height: calc(100vh - 64px - env(safe-area-inset-bottom, 0px) - 20px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    background: rgba(255, 255, 255, 0.95) !important;
    /*backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;*/
    border-radius: 16px 16px 0 0 !important;
    padding: 16px 16px 24px !important;
    z-index: 999 !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06) !important;

    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease-out, opacity 0.35s ease-out;
}

.mobile-tab-content.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.mobile-tab-content.hiding {
    transform: translateY(100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform 0.25s ease-in, opacity 0.25s ease-in !important;
}