/* 底部导航栏修复样式 */
.bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 1200px !important; /* 与顶部栏宽度一致 */
    margin: 0 auto !important;
    background-color: white !important;
    display: flex !important;
    justify-content: space-around !important;
    padding: 10px 0 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 9999 !important;
    border-top: 1px solid #eee !important;
    height: auto !important;
    min-height: 60px !important;
    box-sizing: border-box !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.bottom-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 0 !important;
    width: 33.33% !important;
    cursor: pointer !important;
    color: #999 !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

.bottom-nav-item.active {
    color: var(--primary-color) !important;
}

.bottom-nav-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 4px !important;
}

.bottom-nav-icon svg {
    width: 24px !important;
    height: 24px !important;
}

.bottom-nav-text {
    font-size: 12px !important;
    text-align: center !important;
}

/* 确保底部导航栏在所有情况下都可见 */
body {
    padding-bottom: 70px !important;
}

/* 修复可能的冲突 */
#app {
    position: relative !important;
    min-height: calc(100vh - 70px) !important;
    overflow: visible !important;
}

/* 确保搜索页面和个人中心页面的内容区域有足够的底部间距 */
.search-page, .profile-page {
    padding-bottom: 80px !important;
    margin-bottom: 0 !important;
    min-height: calc(100vh - 180px) !important; /* 确保内容区域足够高 */
}
