/* ================= 浮动客服栏 ================= */
.service-bar {
	position: fixed;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

.free-trial-btn {
	width: 80px;
	height: 80px;
	border: 2px solid #36B37E;
	color: #36B37E;
	background-color: white;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(54, 179, 126, 0.25);
	animation: pulse 3s infinite;
	transition: all 0.3s ease;
}

.free-trial-btn .service-icon {
	font-size: 30px;
	color: #36B37E;
	transition: color 0.3s ease;
}

.free-trial-btn .service-text {
	font-size: 13px;
	font-weight: 700;
	color: #36B37E;
	transition: color 0.3s ease;
}

.free-trial-btn:hover {
	background-color: #36B37E;
	color: white;
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 6px 20px rgba(54, 179, 126, 0.35);
}

.free-trial-btn:hover .service-icon, .free-trial-btn:hover .service-text {
	color: white !important;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(54, 179, 126, 0.3);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(54, 179, 126, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(54, 179, 126, 0);
	}
}

.service-button:not(.free-trial-btn) {
	width: 70px;
	height: 70px;
	background-color: white;
	border-radius: 12px;
	color: #4A90E2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border: 1px solid #f0f5ff;
	text-decoration: none;
}

.service-button:not(.free-trial-btn) .service-icon {
	font-size: 22px;
	margin-bottom: 4px;
	transition: color 0.3s ease;
}

.service-button:not(.free-trial-btn) .service-text {
	font-size: 11px;
	font-weight: bold;
	transition: color 0.3s ease;
}

.service-button:not(.free-trial-btn):hover {
	background-color: #4A90E2;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
	border-color: transparent;
}

/* ================= 滚动条与输入框美化 ================= */
.custom-scrollbar::-webkit-scrollbar {
	width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
	background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
	background-color: #E5E6EB;
	border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
	background-color: #C9CDD4;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
}

/* ================= 自定义带宽滑块组件 ================= */
.slider-container {
	position: relative;
	width: 100%;
	height: 20px;
	display: flex;
	align-items: center;
}

.slider-track-bg {
	position: absolute;
	width: 100%;
	height: 6px;
	background-color: #E5E6EB;
	border-radius: 9999px;
	z-index: 0;
}

.slider-progress {
	position: absolute;
	height: 6px;
	background-color: #165DFF;
	border-radius: 9999px;
	z-index: 10;
	pointer-events: none;
	transition: width 0.1s ease;
}

input[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	appearance: none;
	background: transparent;
	outline: none;
	margin: 0;
	z-index: 20;
	cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: white;
	border: 5px solid #165DFF;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(22, 93, 255, 0.3);
	transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
	transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: white;
	border: 5px solid #165DFF;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(22, 93, 255, 0.3);
	transition: transform 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
	transform: scale(1.15);
}