.overlay {
	position: fixed;
	inset: 0;
	z-index: var(--z-index-contextmenu);
}

.menu {
	position: fixed;
	min-width: 188px;
	padding: 6px 8px;
	background-color: var(--background-floating, var(--background-primary));
	border-radius: var(--radius-md);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
	z-index: var(--z-index-contextmenu);
}

.menuItem {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 6px 8px;
	border-radius: var(--radius-sm);
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-secondary);
	font-size: 0.875rem;
	font-weight: 500;
	font-family: inherit;
	text-align: left;
	transition: background-color 0.1s, color 0.1s;
}

.menuItem:hover {
	background-color: var(--brand-primary);
	color: #fff;
}

.menuItemDanger {
	color: var(--status-danger, #da373c);
}

.menuItemDanger:hover {
	background-color: var(--status-danger, #da373c);
	color: #fff;
}

.separator {
	height: 1px;
	margin: 4px 8px;
	background-color: var(--background-modifier-accent);
}
