@charset "UTF-8";
.selectable-option {
	border-width: 2px !important;
	border-style: solid !important;
	transition: all 0.2s ease;
	position: relative; /* 确保标记相对于选项定位 */
	overflow: visible; /* 允许标记超出元素范围显示 */
}
.selectable-option:not(.selected) {
	border-color: #E5E7EB !important;
}
.selectable-option.selected {
	border-color: #2878FF !important;
	background-color: rgba(40, 120, 255, 0.05) !important;
}
.selectable-option.selected::after {
	content: '\2713';
	position: absolute;
	top: -8px; /* 调整位置使其完全显示 */
	right: -8px;
	background-color: #2878FF;
	color: white;
	width: 20px; /* 稍微增大尺寸 */
	height: 20px;
	border-radius: 50%;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 添加轻微阴影增强可见性 */
	z-index: 10; /* 确保显示在其他内容上方 */
}
/* 套餐选项卡的样式 - 优化高度和添加图标 */
.package-tab {
	position: relative;
	transition: all 0.3s ease;
	padding: 0.75rem 1.5rem; /* 减少内边距，降低高度 */
	margin-bottom: -1px;
	cursor: pointer;
	display: flex; /* 使用flex布局排列图标和文字 */
	align-items: center; /* 垂直居中对齐 */
	gap: 0.75rem; /* 图标和文字之间的间距 */
}
.package-tab .tab-icon {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0; /* 防止图标被压缩 */
}
.package-tab.tab-active {
	color: #2878FF;
	font-weight: 600;
	border-bottom-width: 3px;
}
.package-tab:not(.tab-active):hover {
	color: #2878FF;
	background-color: rgba(40, 120, 255, 0.05);
}
.package-tab.tab-active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: #2878FF;
	border-radius: 2px 2px 0 0;
}
/* 移除滚动条但保留滚动功能 */
.scrollbar-hide {
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
}
.scrollbar-hide::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}
/* Tab Pane 内容区域样式 */
.tab-pane {
	display: none;
	animation: fadeIn 0.3s ease-in-out;
}
.tab-pane.active {
	display: block;
}
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}
/* 数量选择器样式 */
.quantity-options {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}
.custom-quantity {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin 0.3s ease-out;
	margin-top: 0;
	padding: 0;
}
.custom-quantity.active {
	max-height: 200px;
	opacity: 1;
	transition: max-height 0.5s ease-in, opacity 0.5s ease-in, margin 0.5s ease-in;
	margin-top: 1.5rem;
	padding: 1.5rem;
}
/* 到期时间提示样式 */
.expiry-notice {
	background-color: rgba(40, 120, 255, 0.05);
	border-left: 3px solid #2878FF;
	padding: 1rem;
	margin-top: 1.5rem;
	border-radius: 0 6px 6px 0;
	transition: all 0.2s ease;
}
.expiry-notice:hover {
	background-color: rgba(40, 120, 255, 0.08);
}
/* 当前选择的IP数量显示样式 */
.current-ip-count {
	background-color: rgba(40, 120, 255, 0.05);
	border-radius: 8px;
	padding: 1rem;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
/* 价格摘要样式 */
.price-summary {
	background-color: white;
	border-radius: 12px;
	padding: 1.5rem;
	width: 100%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}
.price-summary:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.price-row {
	display: flex;
	justify-content: space-between;
	padding: 0.75rem 0;
	border-bottom: 1px dashed #E5E7EB;
}
.price-row:last-child {
	border-bottom: none;
}
.price-label {
	color: #6B7280;
	display: flex;
	align-items: center;
}
.price-label i {
	margin-right: 0.5rem;
	opacity: 0.7;
}
.price-value {
	font-weight: 500;
	color: #1F2937;
}
/* 进度条样式 - 修复重叠问题 */
.progress-container {
	position: relative;
	height: 6px;
	margin: 1rem 0;
}
.progress-bar {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #E5E7EB;
	border-radius: 3px;
	overflow: hidden;
}
.progress-value {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background-color: #2878FF;
	border-radius: 3px;
	transition: width 0.5s ease;
}
/* 输入滑块美化 */
input[type="range"] {
	-webkit-appearance: none;
	height: 6px;
	border-radius: 3px;
	background: transparent; /* 设为透明，让进度条显示在下方 */
	outline: none;
	margin: 0;
	position: relative;
	z-index: 2; /* 确保滑块在进度条上方 */
	width: 100%;
}
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #2878FF;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	border: 2px solid white; /* 添加白色边框增强视觉效果 */
}
input[type="range"]::-webkit-slider-thumb:hover {
	transform: scale(1.1);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* 右侧订单卡片粘性定位 */
.order-sidebar {
	position: sticky;
	top: 2rem;
}
/* 退款政策链接样式 */
.refund-policy-link {
	color: #9CA3AF;
	font-size: 0.875rem;
	text-decoration: none;
	transition: color 0.2s ease;
}
.refund-policy-link:hover {
	color: #6B7280;
	text-decoration: underline;
}
/* 计费方式选项卡样式 */
.billing-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
	margin-bottom: 1rem;
}
.billing-option {
	padding: 1.5rem;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-weight: 500;
}
/* 套餐说明样式 */
.plan-description {
	font-size: 0.875rem;
	color: #6B7280;
	margin-top: 0.5rem;
	margin-bottom: 1.5rem;
	padding-left: 1.75rem;
}
/* 赠送信息样式 */
.bonus-info {
	font-size: 0.875rem;
	font-weight: 500;
	display: block;
}
.bonus-percentage {
	color: #F43F5E;
}
.bonus-total {
	color: #36D399;
}
/* 选中状态的文字样式 */
.selectable-option.selected .text-2xl {
	color: #2878FF !important;
}
/* 套餐选项卡的样式 - 统一设计 */
.package-tabs-container {
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
	padding: 10px;
	background: rgba(249, 250, 251, 0.5);
	border-radius: 16px;
}
.package-tab {
	position: relative;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	padding: 20px 15px;
	border-radius: 12px;
	margin: 0 8px 12px 0;
	cursor: pointer;
	flex: 1;
	min-width: 200px;
	border: 2px solid transparent !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
	background: white;
	text-align: left;
	display: flex; /* 统一使用flex布局 */
	align-items: center; /* 垂直居中 */
	gap: 18px; /* 图标与文字间距保持一致 */
}
.package-tab.tab-active {
	color: #2878FF;
	font-weight: 600;
	background: linear-gradient(145deg, #f0f7ff 0%, #e6f0ff 100%);
	border-color: #2878FF !important;
	/* box-shadow: 0 8px 24px rgba(40, 120, 255, 0.15); */
	transform: translateY(0);
}
.package-tab:not(.tab-active) {
	color: #6B7280;
	background-color: white;
	border-color: #F3F4F6 !important;
}
.package-tab:not(.tab-active):hover {
	color: #2878FF;
	background-color: rgba(40, 120, 255, 0.04);
	transform: translateY(-4px);
	border-color: rgba(40, 120, 255, 0.3) !important;
	/* box-shadow: 0 4px 12px rgba(40, 120, 255, 0.08); */
}
.package-tab.tab-active::after {
	display: none;
}
.package-tab-icon {
	font-size: 32px; /* 确保所有图标都是32px */
	transition: all 0.3s ease;
	min-width: 32px; /* 固定图标宽度，防止布局跳动 */
	display: flex; /* 确保图标居中 */
	align-items: center;
	justify-content: center;
}
.package-tab.tab-active .package-tab-icon {
	color: #2878FF;
	transform: scale(1.1);
}
.package-tab:not(.tab-active) .package-tab-icon {
	color: #9CA3AF; /* 非活跃状态图标颜色 */
}
.package-tab:not(.tab-active):hover .package-tab-icon {
	color: #2878FF; /* 悬停时图标变色 */
}
.package-tab-title {
	font-weight: 600;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	font-size: 16px;
}
.package-tab-desc {
	display: block; /* 显示简介文字 */
	font-size: 12px;
	color: #6B7280;
	margin-top: 4px;
	line-height: 1.4;
}

.btn-disabled {
	pointer-events: none; /* 禁止所有鼠标事件 */
	opacity: 0.6;         /* 可选：降低透明度以示区别 */
	cursor: not-allowed;  /* 可选：显示禁止图标 */
}