body {
	margin: 0;
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
	background-color: #121212;
	color: #f0f0f0;
}

a {
	text-decoration: none;
}

li {
	list-style: none;
	padding-left: 0;
}

header,footer {
	max-width: 1400px;
	margin: 0 auto;
}

header {
	border-bottom: 1px solid #333;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	flex-wrap: wrap;
	gap: 10px;
}

.logo {
	display: flex;
	align-items: center;
	font-size: 2rem;
	font-weight: bold;
}

.logo span {
	color: #fff;
}

.logo span em {
	font-style: normal;
	font-family: fantasy;
	background: linear-gradient(270deg, #ff7e5f, #feb47b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.search-box {
	display: flex;
	max-width: 300px;
	flex: 1;
	margin-left: auto;
}

.search-box input {
	flex: 1;
	padding: 10px 12px;
	background: #2a2a2a;
	border: 1px solid #444;
	border-right: none;
	border-radius: 4px 0 0 4px;
	color: #fff;
}

.search-box button.search-btn {
	width: 40px;
	background: #2a2a2a url('http://aitoolsz.com/aitoolsz/img/search-icon.png') center center no-repeat;
	background-size: 20px 20px;
	border: 1px solid #444;
	border-left: none;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
}

.search-box input:focus {
	outline: none;
	box-shadow: none;
	border: none;
}

footer {
	border-top: 1px solid #333;
	margin-top: 30px;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	flex-wrap: wrap;
	gap: 10px;
}

.footer-left {
	font-size: 0.9rem;
}

.footer-right a {
	margin-left: 15px;
	text-decoration: none;
	color: #bbb;
	font-size: 0.9rem;
}

.footer-right a:hover {
	color: #fff;
}

.language-switcher {
	position: relative;
	display: inline-block;
}

.globe-icon {
	width: 24px;
	height: 24px;
	background-image: url('http://aitoolsz.com/aitoolsz/img/globe-icon.png');
 /* 你可以替换为实际图标路径 */
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
	margin: 0 auto;
	padding: 8px 0;
	background-position: center;
}

.dropdown {
	display: none;
	position: absolute;
	top: 40px;
	left: 50%;
	transform: translateX(-50%);
	background-color: white;
	border-radius: 6px;
	padding: 10px 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 1;
}

.dropdown div {
	padding: 8px 25px;
	white-space: nowrap;
	cursor: pointer;
}

.dropdown div:hover {
	background-color: #f1f1f1;
}

.language-switcher:hover .dropdown {
	display: block;
}

@media (max-width: 1000px) {
    .dropdown {
		left: 0;
    }
    
	.header-inner {
		flex-direction: inherit;
		align-items: normal;
		padding: 15px 0;
	}

	.logo {
		font-size: 1.7rem;
	}

    .logo span em {
        font-family: none;
    }

	footer {
		margin-top: 0;
	}

	.footer-inner {
		justify-content: center;
	}

	.search-box {
		max-width: 165px;
		width: 100%;
	}

	.search-box input {
		width: 100%;
	}

	.footer-right a {
		margin-left: 0;
		margin-right: 12px;
	}

	header,footer {
		padding: 0 1rem;
	}

	.tool-container {
		padding: 1rem;
	}
}