body {
	font-family:
		/* Apple platforms */
		-apple-system, BlinkMacSystemFont,
		/* Windows */
		"Segoe UI",
		/* Android & ChromeOS & Fire OS */
		Roboto,
		/* Linux desktops */
		Oxygen-Sans, Ubuntu, Cantarell, "Noto Sans",
		/* Legacy macOS/Windows */
		"Helvetica Neue", Arial,
		/* tvOS/watchOS fallback */
		system-ui,
		/* e-reader Silk */
		Bookerly,
		/* Last resort */
		sans-serif;
	background: #2b2a32;
	color: #f5f5f7;
	margin: 0;
	padding: 0;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.search-container {
	width: 90%;
	max-width: 600px;
	text-align: center;
}

.search-box {
	display: flex;
	position: relative;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-box:focus-within {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 255, 255, 0.2);
}

#searchInput {
	flex: 1;
	padding: 18px 24px;
	font-size: 18px;
	border: none;
	outline: none;
	background: #3a3942;
	color: #f5f5f7;
	border-radius: 12px 0 0 12px;
}

#searchInput::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

#searchBtn {
	background: #45c045;
	border: none;
	color: white;
	padding: 0 24px;
	cursor: pointer;
	transition: background 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

#searchBtn:hover {
	background: #59dc59;
}

/* New Bang Categories Styles */
.bang-categories {
	margin-top: 20px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	text-align: left;
}

.bang-categories-header {
	display: flex;
	justify-content: center;
	align-items: center;
}

.bang-categories-header p {
	margin: 0;
}

.toggle-button {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: #f5f5f7;
	padding: 2px 8px;
	border-radius: 4px;
	margin-left: 8px;
	cursor: pointer;
	font-size: 12px;
	transition: background 0.2s ease;
}

.toggle-button:hover {
	background: rgba(255, 255, 255, 0.2);
}

.bang-list {
	max-height: 300px;
	overflow-y: auto;
	margin-top: 10px;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	padding: 12px;
	transition: max-height 0.3s ease, opacity 0.3s ease;
}

.bang-list.hidden {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	padding: 0;
	margin: 0;
}

.category {
	margin-bottom: 16px;
}

.category-title {
	font-weight: bold;
	margin-bottom: 8px;
	color: #45c045;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 4px;
}

.bang-item {
	display: flex;
	align-items: center;
	margin-bottom: 6px;
}

.bang-code {
	background: rgba(255, 255, 255, 0.1);
	padding: 2px 6px;
	border-radius: 4px;
	margin-right: 8px;
	font-family: monospace;
	font-weight: bold;
	min-width: 30px;
	text-align: center;
}

.bang-name {
	margin-right: 8px;
	font-weight: 500;
}

.bang-domain {
	color: rgba(255, 255, 255, 0.5);
	font-size: 12px;
}

@media (max-width: 768px) {
	.search-container {
		width: 95%;
	}

	#searchInput {
		padding: 16px 20px;
		font-size: 16px;
	}

	#searchBtn {
		padding: 0 20px;
	}

	.bang-categories {
		font-size: 12px;
	}
	
	.bang-list {
		max-height: 200px;
	}
}