/* Mobile app-style bottom tab bar (resources/views/partials/tabbar.blade.php).
   Shared by layouts.app and the standalone /ai-world page so it is identical everywhere.
   Self-contained: no Bootstrap or site.css needed. */
.bal-tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: #fff;
    border-top: 1px solid #ECECF3;
    box-shadow: 0 -4px 16px rgba(20, 19, 43, 0.04);
    justify-content: space-around;
    align-items: center;
    height: calc(72px + env(safe-area-inset-bottom));
    padding: 0 6px env(safe-area-inset-bottom);
}
.bal-tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 60px;
    min-height: 52px;
    color: #6B6A82;
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.bal-tabbar a .ic {
    width: 52px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.15s ease, transform 0.12s ease;
}
.bal-tabbar a:active .ic { transform: scale(0.9); }
.bal-tabbar a.active { color: #4F46E5; }
.bal-tabbar a.active .ic { background: #EEF2FF; }
.bal-tabbar, .bal-tabbar * { box-sizing: border-box; }
@media (min-width: 992px) {
    .bal-tabbar { display: none !important; }
}
