.search-container {
	padding: 0 24px 16px;
	position: relative;
}
.search-input {
	width: 100%;
	background: #1e293b;
	border: 1px solid #334155;
	border-radius: 6px;
	padding: 8px 12px;
	color: #f1f5f9;
	font-size: 13px;
	outline: none;
	transition: border-color 0.15s;
}
.search-input:focus {
	border-color: #3b82f6;
}
.search-results {
	position: absolute;
	top: 100%;
	left: 24px;
	right: 24px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
	z-index: 1000;
	display: none;
	max-height: 400px;
	overflow-y: auto;
}
.search-result-item {
	display: block;
	padding: 12px 16px;
	text-decoration: none;
	border-bottom: 1px solid #f1f5f9;
	transition: background 0.1s;
}
.search-result-item:last-child {
	border-bottom: none;
}
.search-result-item:hover {
	background: #f8fafc;
}
.search-result-title {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 2px;
}
.search-result-subtitle {
	font-size: 12px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.search-no-results {
	padding: 16px;
	text-align: center;
	color: #94a3b8;
	font-size: 13px;
}

/* Screenshot Styling */
.screenshot {
	margin: 24px 0;
	text-align: center;
}
.screenshot img {
	max-width: 100%;
	height: auto;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}
.screenshot-caption {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	color: #64748b;
	font-style: italic;
}

/* Copy Button */
pre {
	position: relative;
}
.copy-btn {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #334155;
	color: #f1f5f9;
	border: none;
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 11px;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s, background 0.2s;
}
pre:hover .copy-btn {
	opacity: 1;
}
.copy-btn:hover {
	background: #475569;
}
.copy-btn.copied {
	background: #22c55e;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
	display: none;
	background: #0f172a;
	color: #fff;
	border: none;
	padding: 10px 16px;
	font-size: 14px;
	width: 100%;
	text-align: left;
	cursor: pointer;
}
@media (max-width: 768px) {
	.mobile-nav-toggle {
		display: block;
	}
	.sidebar.open {
		display: block !important;
		width: 100%;
		height: auto;
		position: relative;
	}
}
