/* css/tabbar.css */
#tabbar {
    height: calc(var(--tabbar-height) + var(--safe-area-bottom));
    padding-bottom: var(--safe-area-bottom);
    background: var(--color-white);
    display: flex;
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
    z-index: 10;
}

.tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--color-medium-gray);
    transition: color var(--transition-fast);
    font-size: var(--font-size-xs);
    font-weight: 500;
    position: relative;
}

.tab.active {
    color: var(--color-dynamic-red);
}

.tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--color-dynamic-red);
    border-radius: 0 0 2px 2px;
}

.tab svg {
    width: 24px;
    height: 24px;
}
