/* ===== Navigation ===== */
.top-nav {
    grid-column: 1 / -1;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-primary), #8b5cf6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 14px;
}

.nav-title { font-weight: 600; color: var(--text-white); }

.project-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.project-name {
    background: var(--bg-tertiary);
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.project-name:hover { background: var(--bg-hover); }

.branch-info {
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.fork-badge {
    background: var(--accent-warning);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.nav-actions { display: flex; gap: 8px; }

.nav-btn {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
    border: none;
    font-family: inherit;
}

.nav-btn.primary {
    background: linear-gradient(135deg, var(--accent-primary), #8b5cf6);
    color: white;
}

.nav-btn.primary:hover { box-shadow: 0 0 20px var(--glow-primary); }

.nav-btn.secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.nav-btn.secondary:hover { background: var(--bg-hover); }

.nav-btn.success {
    background: var(--accent-secondary);
    color: white;
}

.nav-btn.success:hover { box-shadow: 0 0 20px var(--glow-secondary); }

/* ===== Activity Bar ===== */
.activity-bar {
    grid-row: 2 / 3;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-default);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
}

.activity-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    font-size: 20px;
}

.activity-icon:hover { color: var(--text-white); }
.activity-icon.active { color: var(--text-white); }

.activity-icon.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--text-white);
}

.activity-tooltip {
    position: absolute;
    left: 56px;
    background: var(--bg-tertiary);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    z-index: 100;
}

.activity-icon:hover .activity-tooltip { opacity: 1; }
.activity-bottom { margin-top: auto; }