/* Bottom Navigation Styles - iOS Design */
:root {
    --primary-color: #007AFF;
    --text-secondary: #8E8E93;
    --text-tertiary: #636366;
    --active-bg: #0A84FF;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 0.5px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 16px 24px 16px;
    z-index: 1000;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #8E8E93;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 12px;
    border-radius: 8px;
    min-width: 44px;
    position: relative;
}

.bottom-nav .nav-item:hover {
    transform: none;
    box-shadow: none;
}

/* iOS Active State - Dark blue background around icon and text */
.bottom-nav .nav-item.active {
    background: var(--active-bg);
    border-radius: 8px;
    padding: 6px 12px;
    margin: -2px;
}

.bottom-nav .nav-item.active .nav-icon {
    color: #FFFFFF !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: none;
    margin-bottom: 2px;
}

.bottom-nav .nav-item.active .nav-label {
    color: #FFFFFF;
    font-weight: 600;
}

/* Inactive State - Just blue icons, no backgrounds */
.bottom-nav .nav-icon {
    font-size: 22px;
    color: #007AFF;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: none;
    border: none;
    box-shadow: none;
    margin-bottom: 4px;
    width: auto;
    height: auto;
    padding: 0;
}

.bottom-nav .nav-label {
    font-size: 12px;
    color: #8E8E93;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
}

/* Responsive adjustments - iOS Style */
@media (max-width: 480px) {
    .bottom-nav {
        height: 85px;
        padding: 8px 12px 20px 12px;
    }
    
    .bottom-nav .nav-icon {
        font-size: 20px;
        padding: 0;
    }
    
    .bottom-nav .nav-label {
        font-size: 11px;
    }
    
    .bottom-nav .nav-item {
        padding: 5px 10px;
        min-width: 40px;
    }
}

@media (max-width: 360px) {
    .bottom-nav {
        height: 80px;
        padding: 6px 10px 18px 10px;
    }
    
    .bottom-nav .nav-icon {
        font-size: 18px;
        padding: 0;
    }
    
    .bottom-nav .nav-label {
        font-size: 10px;
    }
    
    .bottom-nav .nav-item {
        padding: 4px 8px;
        min-width: 36px;
    }
}
