/* ===============================
Documentation Search
=============================== */

.doc-search {
	position: relative;
	width: 320px;
}

#docSearchInput {
	width: 100%;
	padding: 10px 14px;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: rgba(255,255,255,0.04);
	color: var(--text);
	outline: none;
}

#docSearchResults {
	position: absolute;
	top: 110%;
	left: 0;
	right: 0;
	background: linear-gradient(180deg, #111820, #0d141c);
	border: 1px solid var(--border);
	border-radius: 18px;
	box-shadow: 0 25px 60px rgba(0,0,0,0.6);
	max-height: 420px;
	overflow-y: auto;
	display: none;
	z-index: 9999;
}

.doc-search-item {
	padding: 14px 16px;
	border-bottom: 1px solid rgba(255,255,255,0.05);
	cursor: pointer;
	transition: background 0.2s ease;
}

.doc-search-item:hover {
	background: rgba(255,255,255,0.05);
}

.doc-search-title {
	font-weight: 650;
	color: var(--text);
}

.doc-search-excerpt {
	font-size: 0.85rem;
	color: var(--muted);
	margin-top: 4px;
	line-height: 1.4;
}

.doc-search-highlight {
	color: var(--accent);
	font-weight: 600;
}