#command-palette-navbar-trigger {
	background: transparent;
	border: 1px solid #808080;
	border-radius: 4px;
	color: #ccc;
	font-size: 16px;
	padding: 6px 10px;
	margin: 8px 6px;
	float: left;
}

#command-palette-navbar-trigger:hover,
#command-palette-navbar-trigger:focus {
	color: #fff;
	border-color: #fff;
}

@media (min-width: 768px) {
	#command-palette-navbar-trigger {
		display: none;
	}
}

#command-palette-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10000;
}

#command-palette-overlay.open {
	display: block;
}

#command-palette-box {
	position: relative;
	width: 640px;
	max-width: 92%;
	margin: 10vh auto 0;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	direction: rtl;
}

#command-palette-input {
	width: 100%;
	border: none;
	outline: none;
	padding: 16px 18px;
	font-size: 18px;
	box-sizing: border-box;
	border-bottom: 1px solid #eee;
}

#command-palette-results {
	max-height: 60vh;
	overflow-y: auto;
}

.cp-group-title {
	padding: 6px 14px;
	font-size: 12px;
	font-weight: bold;
	font-style: italic;
	color: #555;
	background: #fafafa;
	border-bottom: 1px solid #eee;
}

.cp-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	cursor: pointer;
	border-bottom: 1px solid #f5f5f5;
}

.cp-row:hover,
.cp-row.active {
	background: #f0f4ff;
}

.cp-row-main {
	flex: 1;
	min-width: 0;
}

.cp-row-title {
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cp-row-tapi-badge {
	font-size: 11px;
	color: #2a6ebb;
	margin-top: 2px;
}

.cp-row-sub {
	font-size: 12px;
	color: #222;
}

.cp-row-actions {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
	margin-right: 10px;
}

.cp-chip {
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 12px;
	background: #e8e8e8;
	color: #333;
	white-space: nowrap;
}

.cp-chip:hover {
	background: #d5d5d5;
}

.cp-empty {
	padding: 16px;
	color: #999;
	text-align: center;
}
