/* ===== Interx v4 底部导航栏样式 ===== */

/* 底部导航栏 */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; height: 60px;
    background: #fff; border-top: 1px solid #E2E8F0;
    display: flex; justify-content: space-around; align-items: center;
    z-index: 1000; padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.04);
}
.bottom-nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; padding: 4px 10px; min-width: 50px;
    text-decoration: none; cursor: pointer; border: none; background: none;
    font-family: inherit; transition: all 0.15s;
    position: relative;
}
.bottom-nav-item .nav-icon { font-size: 22px; color: #94A3B8; transition: color 0.15s; }
.bottom-nav-item .nav-label { font-size: 10px; font-weight: 500; color: #94A3B8; transition: color 0.15s; }
.bottom-nav-item.active .nav-icon { color: #3B82F6; }
.bottom-nav-item.active .nav-label { color: #3B82F6; font-weight: 600; }
.bottom-nav-item.active::after {
    content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    width: 16px; height: 3px; background: #3B82F6; border-radius: 0 0 3px 3px;
}
.bottom-nav-item .badge {
    position: absolute; top: 2px; right: calc(50% - 18px);
    min-width: 16px; height: 16px; border-radius: 8px;
    background: #EF4444; color: #fff; font-size: 10px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; padding: 0 4px;
    transform: scale(0); transition: transform 0.2s;
}
.bottom-nav-item .badge.show { transform: scale(1); }

/* 页面内容区域 - 给底部导航留空间 */
.page-content { padding-bottom: 80px; padding-top: 0; min-height: 100vh; }

/* 顶部简单标题栏 */
.topbar-simple {
    background: #fff; border-bottom: 1px solid #E2E8F0; height: 50px;
    display: flex; align-items: center; padding: 0 16px; position: sticky; top: 0; z-index: 99;
}
.topbar-simple .title { font-size: 17px; font-weight: 600; color: #1E293B; }
