body {
	/* background-color: #eeeeee; */
	font-family: "microsoft yahei";
	height: 100%;
	margin: 0;
}

button {
	outline: 0 !important
}

* {
	list-style: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

.iconfont {
	font-size: 22px;
}

/*回到顶部的按钮*/
.mescroll-totop {
	z-index: 9990;
	position: fixed;
	right: 10px;
	bottom: 30px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	opacity: 0;
}

a,
a:hover {
	text-decoration: none;
}

/* 头部样式 */
.main-nav {
	background: #7a0000;
	padding: 12px 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}

/* 左侧区域 */
.left-section {
	display: flex;
	align-items: center;
	gap: 40px;
}

.logo {
	height: 40px;
	cursor: pointer;
	transition: transform 0.3s;
}

.nav-menu {
	display: flex;
	gap: 30px;
	list-style: none;
}

.nav-item {
	text-decoration: none;
	color: #ddd;
	font-size: 16px;
	cursor: pointer;
	transition: color 0.3s;
	position: relative;
	padding: 0 10px;
}

.nav-item:hover {
	color: #ffffff;
}

.nav-active {
	color: #ffffff;
	font-weight: bold;
}

/* 新导航 */
.main-nav1 {
	width: 100%;
	border-bottom: 1px solid #e6e6e6;
	background: #fff;
}

.nav-container1 {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.nav-list {
	display: flex;
	position: relative;
	gap: 20px;
}

.nav-item1 {
	position: relative;
	padding: 20px 10px;
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
	white-space: nowrap;
	font-size: 18px;
	font-weight: 500;
}

.nav-item1:first-child {
	margin-left: 0;
}

.nav-item1:last-child {
	margin-right: 0;
}

.nav-item1:hover,
.nav-item1.active {
	color: #7a0000;
}

.underline {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 4px;
	background: #7a0000;
	transform: scalex(0);
	transform-origin: center;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item1:hover .underline,
.nav-item1.active .underline {
	/* width: calc(100%   15px); */
	transform: scalex(1);
}

/* 右侧区域 */
.right-section {
	display: flex;
	align-items: center;
	gap: 30px;
}

/* 搜索框 */
.search-box {
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 20px;
	overflow: hidden;
	/* border: 1px solid #ccc; */
}

.search-box input {
	border: none;
	padding: 8px 15px;
	width: 200px;
	outline: none;
	background: none;
	color: #e8d7d7;
}

.search-box input::placeholder {
	color: #e8d7d7;
}

.search-box input::-webkit-input-placeholder {
	color: #e8d7d7;
}

.search-box input::-moz-placeholder {
	/* firefox 19  */
	color: #e8d7d7;
}

.search-btn {
	border: none;
	padding: 8px 15px;
	cursor: pointer;
	color: white;
	background: none;
	/* transition: background 0.3s; */
	/* background: url(/uploads/image/cimages/btn-sou_03.jpg) no-repeat center; */
}

/* 登录注册按钮 */
.auth-buttons {
	display: flex;
	gap: 5px;
	position: relative;
}

.btn {
	padding: 8px 5px;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 16px;
}

.btn.login {
	color: #ffffff;
}

.btn.login:hover {
	color: #e6e6e6;
	cursor: pointer;
}

.btn.register {
	color: white;
	border: none;
}

.btn.register:hover {
	color: #e6e6e6;
	cursor: pointer;
}

/* 移动端菜单按钮 */
.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	padding: 5px;
	cursor: pointer;
}

.menu-toggle .bar {
	display: block;
	width: 25px;
	height: 3px;
	background: #ddd;
	margin: 5px 0;
	transition: all 0.3s;
}

.menu-toggle.active .bar:nth-child(1) {
	transform: translatey(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
	transform: translatey(-8px) rotate(-45deg);
}

button {
	outline: none;
}

button,
button:active {
	background: none;
}

/* 移动端菜单 */
.mobile-menu {
	background: #f8f9fa;
	text-align: center;
	background: #7a0000;
	text-align: center;
	position: absolute;
	left: 0;
	right: 0;
	top: 50px;
	overflow: hidden;
	transition: all 0.5s ease;
	z-index: 8;
}

.mobile-menu ul {
	list-style: none;
	margin-bottom: 20px;
}

.mobile-menu li {
	padding: 12px;
	border-bottom: 1px solid #eee;
	cursor: pointer;
}

.mobile-auth {
	display: flex;
	justify-content: center;
	gap: 15px;
	color: #fff;
	margin-top: 20px;
}

.mobile-auth .btn {
	color: #fff;
}

/* 过渡动画 */
.slide-down-enter-active,
.slide-down-leave-active {
	transition: all 0.3s ease;
}

.slide-down-enter-from,
.slide-down-leave-to {
	opacity: 0;
	transform: translatey(-20px);
}

.mobile-auth2 {
	display: flex;
	justify-content: center;
	gap: 15px;
	color: #fff;
	margin-top: 25px;
}

.mobile-auth2 a {
	color: #ffffff;
	font-size: 14px;
}

.mobile-auth2 a:active {
	color: #dadada;
}

.mobile-auth2 i {
	padding-right: 3px;
}

.heig0 {
	height: 0;
}

.heig77 {
	height: 77px;
}

/* 头部样式end */
/*显示动画--淡入*/
.mescroll-fade-in {
	-webkit-animation: mescrollfadein .5s linear forwards;
	animation: mescrollfadein .5s linear forwards;
}

/* 加载动画 */
.loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: white;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.loading .spinner {
	width: 50px;
	height: 50px;
	border: 5px solid #f3f3f3;
	border-top: 5px solid #3498db;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

.toast {
	position: fixed;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #4caf50;
	color: white;
	padding: 15px;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	animation: fadeinout 3s ease-in-out;
	opacity: 0;
}

@keyframes fadeinout {
	0% {
		opacity: 0;
		transform: translatey(-20px);
	}

	20% {
		opacity: 1;
		transform: translatey(0);
	}

	80% {
		opacity: 1;
		transform: translatey(0);
	}

	100% {
		opacity: 0;
		transform: translatey(-20px);
	}
}

@-webkit-keyframes mescrollfadein {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes mescrollfadein {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

/*隐藏动画--淡出*/
.mescroll-fade-out {
	pointer-events: none;
	-webkit-animation: mescrollfadeout .5s linear forwards;
	animation: mescrollfadeout .5s linear forwards;
}

@-webkit-keyframes mescrollfadeout {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@keyframes mescrollfadeout {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

/* 底部样式 */
.footer-container {
	background: #333333;
	border-top: 2px solid #b80000;
	padding: 50px 15px;
	box-sizing: border-box;
	width: 100%;
	margin-top: 50px;
}

/* 导航链接样式 */
.nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.nav-item {
	color: #ffffff;
	text-decoration: none;
	padding: 10px 15px;
	position: relative;
	font-size: 16px;
	transition: color 0.3s ease;
}

/* 竖线分隔符 */
.nav-item:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translatey(-50%);
	width: 1px;
	height: 16px;
	background: #ffffff;
}

.nav-item:hover {
	color: #b80000;
}

/* 备案信息样式 */
.footer-info {
	text-align: center;
	color: #adadad;
	font-size: 14px;
	line-height: 1.5;
}

.separator {
	margin: 0 10px;
}

.head_nav {
	display: flex;
	position: relative;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.head_nav li {
	padding: 20px 10px;
	color: #333;
	text-decoration: none;
	white-space: nowrap;
	font-size: 18px;
	font-weight: 500;
	position: relative;
}

.head_nav li::before {
	content: "";
	z-index: 1;
	display: block;
	width: 0;
	height: 4px;
	background: #7a0000;
	transition: ease 0.8s;
	position: absolute;
	left: 50%;
	bottom: 0;
}

.head_nav li.cur::before,
.head_nav li:hover::before {
	width: 100%;
	left: 0;
}

.head_nav li a {
	display: block;
	font-size: 18px;
	color: #333;
}

.head_nav li.cur a,
.head_nav li:hover a {
	color: #7a0000;
}

/* 回到顶部样式 */
.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 100px;
	/* margin-top: 15px; */
	width: 52px;
	height: 50px;
	border-radius: 5px;
	background: #a00000;
	color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background: #d72339;
}

.back-to-top i {
	font-size: 22px;
	/* transform: rotate(90deg); */
}

/* 分页样式 */
.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 100px;
}

.pagination button {
	padding: 8px 16px;
	border: 1px solid #ddd;
	background: white;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.3s;
}

.pagination button:hover:not(:disabled) {
	background: #7a0000;
	color: white;
	border-color: #7a0000;
}

.pagination button.active {
	background: #7a0000;
	color: white;
	border-color: #7a0000;
}

.pagination button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* 注册样式star*/
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
	visibility: hidden;
}

.modal-overlay.hidden {
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s;
}

.modal-overlay.visible {
	visibility: visible;
	opacity: 1;
	height: auto;
}

.modal-content {
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	width: 90%;
	max-width: 500px;
	position: relative;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.close-btn {
	font-size: 24px;
	cursor: pointer;
	color: #999;
}

.close-btn:hover {
	color: #333;
}

.form-row2 {
	display: flex;
	margin-bottom: 25px;
	flex-wrap: wrap;
}

.form-row2 .form-label {
	width: 100px;
	padding-top: 10px;
	font-size: 14px;
	color: #333;
}

.form-row2 .form-input {
	flex: 1;
	position: relative;
}

.form-row2 .input-field {
	width: 100%;
	padding: 10px 15px 10px 35px;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	font-size: 14px;
}

.form-row2 .input-icon {
	position: absolute;
	left: 10px;
	top: 10px;
	color: #999;
}

.form-row2 .captcha-container {
	display: flex;
	gap: 10px;
}

.form-row2 .captcha-input {
	flex: 1;
}

.form-row2 .captcha-img {
	width: 97px;
	height: 40px;
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	cursor: pointer;
	user-select: none;
	font-weight: bold;
	letter-spacing: 2px;
	color: #333;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.form-row2 .sms-container {
	display: flex;
	gap: 10px;
}

.form-row2 .sms-input {
	flex: 1;
}

.form-row2 .sms-btn {
	padding: 0 15px;
	background-color: #7a0000;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s;
	white-space: nowrap;
	height: 39px;
}

.form-row2 .sms-btn:hover {
	background-color: #e94740;
}

.form-row2 .sms-btn:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

.form-row2 .qrcode-container {
	display: flex;
	align-items: center;
}

.form-row2 .qrcode-img {
	width: 150px;
	height: 150px;
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
}

.form-row2 .qrcode-img img {
	width: 100%;
	height: auto;
}

.submit-btn {
	width: 100%;
	padding: 12px;
	background-color: #7a0000;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	margin-top: 20px;
	transition: background-color 0.3s;
	overflow: hidden;
	position: relative;
}

.submit-btn.loading::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	animation: loading 1.5s infinite;
}

.submit-btn:hover {
	background-color: #e94740;
}

.agreement {
	text-align: center;
	margin-top: 20px;
	font-size: 12px;
	color: #868686;
}

.agreement a {
	color: #868686;
	text-decoration: none;
}

.agreement a:hover {
	color: #e94740;
}

.form-row2 .error-msg {
	color: red;
	font-size: 12px;
	top: 42px;
	display: none;
	position: absolute;
}

/*注册样式end */
/*登录样式star */
.login-dropdown {
	position: absolute;
	top: 38px;
	right: 0;
	width: 460px;
	display: none;
	z-index: 100;
}

.login-dropdowna {
	width: 100%;
	margin-top: 15px;
	background-color: white;
	padding: 30px;
	/* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-radius: 5px; */
}

.login-dropdowna1 {
	width: 100%;
	margin-top: 15px;
	padding: 30px;
}

.login-btn:hover .login-dropdown {
	display: block;
}

.switch-tab {
	text-align: right;
	margin-bottom: 30px;
	color: #7a0000;
	cursor: pointer;
}

.switch-tab i {
	margin-right: 5px;
}

.form-row {
	display: flex;
	margin-bottom: 30px;
	align-items: center;
	position: relative;
}

.form-row .form-label {
	width: 50px;
	text-align: right;
	padding-right: 15px;
}

.form-row .form-input {
	flex: 1;
	position: relative;
}

.form-row .form-input input {
	width: 100%;
	padding: 15px 15px 15px 35px;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	outline: none;
}

.form-row .form-input i {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translatey(-50%);
	color: #999;
}

.form-row .form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	width: 100%;
}

.auto-login {
	display: flex;
	align-items: center;
	color: #868686;
}

.auto-login input {
	margin-right: 5px;
}

.forget-pwd {
	color: #868686;
	text-decoration: none;
}

.forget-pwd:hover {
	color: #e94740;
}

.form-btns {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.login-btn-submit {
	background-color: #7a0000;
	color: white;
	border: none;
	padding: 10px 0;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s;
	font-size: 16px;
	position: relative;
	overflow: hidden;
	width: 200px;
}

.login-btn-submit.loading::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 80%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	animation: loading 1.5s infinite;
}

@keyframes loading {
	0% {
		transform: translatex(-100%);
	}

	100% {
		transform: translatex(100%);
	}
}

.login-btn-submit:hover {
	background-color: #e94740;
}

.register-btn {
	color: #7a0000;
	background: none;
	border: none;
	padding: 10px 25px;
	cursor: pointer;
	transition: color 0.3s;
	font-size: 16px;
}

.register-btn:hover {
	color: #e94740;
}

.wechat-login {
	text-align: center;
	/* display: none; */
}

.wechat-title {
	margin-bottom: 15px;
	font-size: 18px;
}

.qrcode {
	width: 200px;
	margin: 0 auto 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
}

.qrcode img {
	width: 100%;
	height: auto;
}

.wechat-tip {
	font-size: 14px;
	color: #999;
}

.form-row .error-msg {
	color: red;
	font-size: 12px;
	top: 43px;
	left: 50px;
	position: absolute;
}

.login-success {
	text-align: center;
	padding: 20px;
	color: green;
	font-size: 18px;
	display: none;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	height: 0;
}

.modal-content {
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	width: 90%;
	max-width: 500px;
	position: relative;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.close-btn {
	font-size: 24px;
	cursor: pointer;
	color: #999;
}

.close-btn:hover {
	color: #333;
}

.form-row2 {
	display: flex;
	margin-bottom: 25px;
	flex-wrap: wrap;
}

.form-row2 .form-label {
	width: 100px;
	padding-top: 10px;
	font-size: 14px;
	color: #333;
}

.form-row2 .form-input {
	flex: 1;
	position: relative;
}

.form-row2 .input-field {
	width: 100%;
	padding: 10px 15px 10px 35px;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	font-size: 14px;
}

.form-row2 .input-icon {
	position: absolute;
	left: 10px;
	top: 10px;
	color: #999;
}

.form-row2 .captcha-container {
	display: flex;
	gap: 10px;
}

.form-row2 .captcha-input {
	flex: 1;
}

.form-row2 .captcha-img {
	width: 97px;
	height: 40px;
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	cursor: pointer;
	user-select: none;
	font-weight: bold;
	letter-spacing: 2px;
	color: #333;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.form-row2 .sms-container {
	display: flex;
	gap: 10px;
}

.form-row2 .sms-input {
	flex: 1;
}

.form-row2 .sms-btn {
	padding: 0 15px;
	background-color: #7a0000;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s;
	white-space: nowrap;
	height: 39px;
}

.form-row2 .sms-btn:hover {
	background-color: #e94740;
}

.form-row2 .sms-btn:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

.form-row2 .qrcode-container {
	display: flex;
	align-items: center;
}

.form-row2 .qrcode-img {
	width: 150px;
	height: 150px;
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
}

.form-row2 .qrcode-img img {
	width: 100%;
	height: auto;
}

.submit-btn {
	width: 100%;
	padding: 12px;
	background-color: #7a0000;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	margin-top: 20px;
	transition: background-color 0.3s;
}

.submit-btn:hover {
	background-color: #e94740;
}

.agreement {
	text-align: center;
	margin-top: 20px;
	font-size: 12px;
	color: #868686;
}

.agreement a {
	color: #868686;
	text-decoration: none;
}

.agreement a:hover {
	color: #e94740;
}

.form-row2 .error-msg {
	color: red;
	font-size: 12px;
	top: 42px;
	display: none;
	position: absolute;
}

.personal-name {
	color: #ffffff;
}

.personal-name:hover {
	color: #e6e6e6;
	cursor: pointer;
}

.dl-contents:hover .menu-list {
	visibility: visible;
	opacity: 1;
}

.menu-list {
	position: absolute;
	top: 40px;
	left: 0;
	background-color: white;
	visibility: hidden;
	opacity: 0;
	-webkit-transform: scale(0.8);
	-ms-transform: scale(0.8);
	transform: scale(0.8);
	-webkit-transition: 300ms;
	transition: 300ms;
	-webkit-transform-origin: 100% 0;
	-ms-transform-origin: 100% 0;
	transform-origin: 100% 0;
	z-index: 9999;
}

.nav-down li {
	/* width: 100%; */
	text-align: left;
	padding-left: 15px;
	margin-top: 5px;
	height: 32px;
	line-height: 32px;
}

.nav-down li:hover {
	background-color: #f2f2f2;
}

.nav-down li a {
	color: #333 !important;
	font-size: 16px;
}

.nav-down li i {
	color: #898989;
	margin-right: 3px;
	font-size: 20px;
}

.dl-contents {
	position: relative;
}

.dl-contents:hover .menu-list {
	display: block;
}

.menu-list .dropdown-sub_box {
	z-index: 10001;
	background: #fff;
	border: #dadada 1px solid;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
	position: absolute;
	width: 120px;
	top: 3px;
	padding-bottom: 15px;
}

/* 登录样式end */
/* ai问答 */
.float-btn {
	bottom: 100px;
	font-size: 12px;
	position: fixed;
	right: 20px;
	width: 52px;
	z-index: 999;
}

.ai-button {
	width: 52px;
	height: 60px;
	background: #a00000;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transition: all 0.3s;
	z-index: 999;
}

.ai-button:hover {
	background: #d72339;
	transform: scale(1.05);
}

.ai-button i {
	font-size: 24px;
	margin-bottom: 5px;
}

.ai-button span {
	font-size: 12px;
}

.chat-container {
	position: fixed;
	right: -400px;
	top: 0;
	width: 400px;
	height: 100vh;
	background: white;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease-in-out;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	z-index: 9999;
}

.chat-container.active {
	right: 0;
}

.chat-header {
	padding: 15px 20px;
	background: #35a6fe;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.close-btnai {
	background: none;
	border: none;
	color: white;
	font-size: 20px;
	cursor: pointer;
	transition: transform 0.2s;
}

.close-btnai:hover {
	transform: scale(1.2);
}

.chat-body {
	flex: 1;
	padding: 20px;
	overflow-y: auto;
	background: #f9f9f9;
}

.message {
	margin-bottom: 15px;
	max-width: 80%;
	padding: 10px 15px;
	border-radius: 18px;
	line-height: 1.4;
	word-wrap: break-word;
	opacity: 0;
	animation: fadein 0.3s forwards;
}

@keyframes fadein {
	to {
		opacity: 1;
	}
}

.user-message {
	background: #e3f2fd;
	margin-left: auto;
	border-bottom-right-radius: 5px;
}

.ai-message {
	background: #f1f1f1;
	margin-right: auto;
	border-bottom-left-radius: 5px;
}

.typing-indicator {
	display: inline-block;
	padding: 10px 15px;
	background: #f1f1f1;
	border-radius: 18px;
	margin-bottom: 15px;
	border-bottom-left-radius: 5px;
}

.typing-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #666;
	margin-right: 3px;
	animation: typinganimation 1.4s infinite both;
}

.typing-dot:nth-child(1) {
	animation-delay: 0s;
}

.typing-dot:nth-child(2) {
	animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes typinganimation {

	0%,
	60%,
	100% {
		transform: translatey(0);
	}

	30% {
		transform: translatey(-5px);
	}
}

.chat-input {
	display: flex;
	padding: 15px;
	background: white;
	border-top: 1px solid #eee;
	position: relative;
}

.chat-input input {
	flex: 1;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 30px;
	outline: none;
	transition: border 0.3s;
}

.chat-input input:focus {
	border-color: #3377ff;
}

.voice-btn {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translatey(-50%);
	background: none;
	border: none;
	color: #35a6fe;
	font-size: 20px;
	cursor: pointer;
	transition: all 0.3s;
}

.voice-btn.listening {
	color: #3377ff;
	animation: pulse 1.5s infinite;
}

@keyframes pulse {
	0% {
		transform: translatey(-50%) scale(1);
	}

	50% {
		transform: translatey(-50%) scale(1.2);
	}

	100% {
		transform: translatey(-50%) scale(1);
	}
}

.send-btn {
	margin-left: 10px;
	padding: 12px 20px;
	background: #3377ff;
	color: white;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	transition: background 0.3s;
}

.send-btn:hover {
	background: #35a6fe;
}

/* 骨架屏加载效果 */
.skeleton {
	animation: shimmer 1.5s infinite linear;
	background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
	background-size: 800px 100%;
}

.skeleton-image {
	width: 100%;
	padding-top: 56.25%;
}

.skeleton-text {
	height: 16px;
	margin-top: 10px;
	border-radius: 4px;
}

@keyframes shimmer {
	0% {
		background-position: -800px 0
	}

	100% {
		background-position: 800px 0
	}
}

/* 骨架屏加载效果end */
.lazy {
	animation: shimmer 1.5s infinite linear;
	background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
	background-size: 800px 100%;
	transition: opacity 0.3s ease;
}

.vip-btn {
	color: #e3b479;
	margin-left: 2px;
}

/* 加载动画容器 */
.loader-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: rgba(255, 255, 255, 0.9); */
	background-color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s;
}

.loader-wrapper.active {
	opacity: 1;
	pointer-events: all;
}

/* 脉冲动画 */
.loader-pulse {
	width: 80px;
	height: 100px;
	/* background: #3498db;
	border-radius: 50%; */
	/* animation: pulse 1.5s ease-in-out infinite; */
}

.loader-pulse img {
	width: 100%;
	height: auto;
}

@keyframes pulse {

	0%,
	100% {
		transform: scale(0.8);
		opacity: 0.5;
	}

	50% {
		transform: scale(1.2);
		opacity: 1;
	}
}

.zanwei {
	opacity: 0;
}

/* 骨架屏加载效果 */
.skeletong {
	animation: shimmer 2s infinite linear;
	background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
	background-size: 800px 100%;
}

.skeleton-image {
	width: 100%;
	padding-top: 56.25%;
}

.skeleton-text {
	height: 16px;
	margin-top: 10px;
	border-radius: 4px;
}

/* 下拉菜单 */
.dropdown-menu {
	position: absolute;
	top: 101%;
	left: -30px;
	width: 120px;
	display: none;
	max-height: 0;
	/* overflow: hidden; */
	transition: max-height 0.3s ease-out;
	/* display: block; */
	z-index: 9999;
}

.xl-menu:hover .dropdown-menu {
	padding: 12px 0;
	background-color: #ffffff;
	/* border: 1px solid #e6e6e6; */
	border-right: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
	border-left: 1px solid #e6e6e6;
	/*border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px; */
	display: block;
	max-height: 395px;
	z-index: 9999;
}

.dropdown-item {
	padding: 10px 0;
	text-align: center;
	color: #333;
	font-size: 16px !important;
	text-decoration: none;
	display: block;
	transition: all 0.3s ease;
	/* position: relative; */
}

.sub3-menu {
	position: relative;
}

.dropdown-item {
	color: #333 !important;
}

.dropdown-item:hover {
	background-color: #f8f8f8;
	color: #b70100 !important;
}

.dr-menu-3 {
	position: absolute;
	right: -121px;
	top: 0;
	padding: 12px 0;
	width: 120px;
	background-color: #ffffff;
	border-top: 1px solid #e6e6e6;
	border-right: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
	/* border: 1px solid #e6e6e6; */
	/* border-radius: 6px; */
	display: none;
	z-index: 9999;
}

.sub3-menu:hover .dr-menu-3 {
	display: block;
}

@media (max-width: 1400px) {
	.nav-container1 {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.nav-list1 {
		width: max-content;
		min-width: 100%;
	}
}

/* 响应式布局 */
@media (max-width: 992px) {
	.nav-container {
		padding: 0 15px;
		gap: 10px;
	}

	.nav-menu {
		gap: 20px;
	}

	.main-nav {
		box-shadow: none;
	}
}

@media (max-width: 768px) {
	.float-btn {
		width: 42px;
		bottom: 50px;
		right: 15px;
	}

	.back-to-top {
		width: 42px;
		height: 50px;
	}

	.back-to-top i {
		font-size: 18px;
	}

	.back-to-top span {
		font-size: 10px;
	}

	.right-section {
		gap: 10px;
	}

	.nav-list {
		gap: 10px;
	}

	.nav-menu,
	.auth-buttons {
		display: none;
	}

	.menu-toggle {
		display: block;
	}

	.search-box input {
		width: 150px;
	}

	.mobile-menu.active {
		/* display: block; */
		visibility: visible;
		transform: translatey(0);
	}

	.nav-item {
		padding: 8px 12px;
		font-size: 14px;
	}

	.nav-item:not(:last-child)::after {
		height: 12px;
	}

	.footer-info {
		font-size: 12px;
		flex-direction: column;
	}

	.footer-info span {
		width: 100%;
	}

	.separator {
		display: none;
	}

	.footer-info span {
		display: block;
		margin-bottom: 5px;
	}

	/* ai问答 */
	.ai-button {
		width: 42px;
		height: 50px;
	}

	.ai-button i {
		font-size: 18px;
	}

	.ai-button span {
		font-size: 10px;
	}

	.chat-container {
		width: 100%;
		right: -100%;
	}

	.chat-container.active {
		right: 0;
	}

	.message {
		max-width: 90%;
	}
}

@media (max-width: 480px) {
	.head_nav {
		/* flex-wrap: wrap; */
		gap: 8px 10px;
		width: 100%;
		overflow-x: auto;
		scrollbar-width: thin;
	}

	.head_nav li {
		flex: 1 1 auto;
		padding: 12px 0;
		text-align: center;
		font-size: 1rem;
		font-weight: 600;
	}

	.head_nav li a {
		font-size: 1rem;
	}

	.logo {
		height: 30px;
	}

	.search-box {
		border-radius: 15px;
	}

	.search-box input {
		width: 110px;
		padding: 6px 12px;
	}

	.search-btn {
		padding: 6px 12px;
	}

	.nav-list {
		flex-wrap: wrap;
		gap: 8px 10px;
	}

	.nav-item1 {
		flex: 1 1 auto;
		padding: 12px 0;
		text-align: center;
		font-size: 1rem;
		font-weight: 600;
	}

	.underline {
		display: none;
	}

	.nav-item1.active {
		font-weight: 600;
	}

	.nav-links {
		flex-direction: column;
		align-items: center;
	}

	.nav-item {
		padding: 6px 0;
	}

	.nav-item:not(:last-child)::after {
		display: none;
	}

	.pagination button {
		padding: 6px 12px;
	}

	.toast {
		font-size: 12px;
	}

	.login-dropdowna {
		padding: 0;
	}

	.login-btn-submit {
		padding: 10px 0;
		width: 135px;
	}
}