.titlebar {
	height: var(--titlebar-height);
	background: var(--bg-darker);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--spacing-sm);
	border-bottom: 1px solid var(--border-color);
}

.titlebar-left {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
}

.logo {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-color);
}

.titlebar-title {
	font-size: 12px;
	color: var(--text-secondary);
}

.titlebar-controls {
	display: flex;
	align-items: center;
}

.control-btn {
	width: 46px;
	height: var(--titlebar-height);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-secondary);
	transition: background-color 0.15s;
}

.control-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.control-btn.close-btn:hover {
	background: var(--error-color);
	color: white;
}
