/* H5通用样式 */

/* 加载动画 */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    color: #999;
    font-size: 14px;
}

.loading i {
    margin-right: 8px;
}

/* 底部导航栏统一样式 */
.bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #999;
    text-decoration: none;
}

.nav-item.active {
    color: #28a745;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

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

.nav-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #28a745;
}

/* 页面容器通用样式 */
.page-container {
    min-height: 100vh;
    padding-bottom: 80px;
    background-color: #f5f5f5;
}

/* 我的页面容器样式调整 */
.my-page-container {
    min-height: 100vh;
    padding-bottom: 80px;
    background: #f5f5f5;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .bottom-navigation {
        height: 55px;
    }
    
    .nav-item i {
        font-size: 18px;
    }
    
    .nav-item span {
        font-size: 11px;
    }
    
    .page-container,
    .my-page-container {
        padding-bottom: 75px;
    }
}
