/* 注意：设计系统变量已迁移到 UnoCSS 配置中 (uno.config.js) */
/* 保留组件样式中使用的必要 CSS 变量 */
:root {
	/* 主色调 */
	--primary: #20a53a;
	--secondary: #363636;
	--light: #fff;
	--dark: #1a1a1a;
	--success: #00b42a;
	--danger: #f53f3f;

	/* 间距系统 */
	--space-2: 0.75rem; /* 12px */
	--space-4: 1rem; /* 16px */
	--space-6: 1.5rem; /* 24px */
	--space-8: 2rem; /* 32px */
	--space-12: 3rem; /* 48px */
	--space-20: 5rem; /* 80px */

	/* 圆角系统 */
	--radius-lg: 0.125rem; /* 2px */
	--radius-md: 0.25rem; /* 4px */
	--radius-full: 9999px;

	/* 阴影系统 */
	--shadow-lg: 0 4px 6px -2px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
	--shadow-xl: 0 8px 12px -4px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);

	/* 透明度变体 */
	--primary-5: rgba(32, 165, 58, 0.05);
	--primary-10: rgba(32, 165, 58, 0.1);
	--primary-90: rgba(32, 165, 58, 0.9);
	--secondary-40: rgba(54, 54, 54, 0.4);
	--secondary-70: rgba(54, 54, 54, 0.7);
	--success-10: rgba(0, 180, 42, 0.1);
	--danger-80: rgba(255, 77, 79, 0.8);
}

/* 基础样式重置 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', system-ui, sans-serif;
	background-color: var(--light);
	color: var(--secondary);
	line-height: 1.6;
}

button{
  outline: none;
  background-color: transparent;
  border: none;
}

/* =========================== */
/* 联系客服悬停效果 */
/* =========================== */
.contact-service-trigger:hover .qr-code-popup {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateX(-50%) translateY(-8px) !important;
}

.contact-service-trigger {
	transition: all 0.2s ease;
	position: relative;
}

.contact-service-trigger:hover {
	color: var(--primary);
	border-color: var(--primary);
}

.qr-code-popup {
	pointer-events: none;
	z-index: 9999 !important;
	position: absolute;
}

/* =========================== */
/* 现代化价格表格样式 */
/* =========================== */
.modern-price-table {
	min-width: 600px;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid rgba(226, 232, 240, 0.8);
}

.price-table-header {
	background: linear-gradient(135deg, var(--primary) 0%, #16a34a 100%);
	position: relative;
}

.price-table-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.price-row {
	position: relative;
	transition: all 0.3s ease;
}

.price-row:hover {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.domain-suffix {
	align-items: center;
}

.price-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.price-main {
	/* font-weight: 700; */
	letter-spacing: -0.025em;
}

.price-original {
	opacity: 0.7;
	font-size: 0.75rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.modern-price-table {
		min-width: auto;
	}

	.price-table-header .grid,
	.price-row {
		grid-template-columns: 1fr 1fr 1fr 1fr;
		gap: 0.5rem;
	}

	.price-table-header {
		padding: 1rem 0.75rem;
	}

	.price-row {
		padding: 1rem 0.75rem;
	}

	.price-main {
		font-size: 0.75rem;
	}

	.price-original {
		font-size: 0.625rem;
	}
}

/* =========================== */
/* 组件特定类 - Component Classes */
/* =========================== */

/* 过滤按钮 */
.filter-btn {
	padding: 0.5rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: var(--radius-lg);
	background-color: white;
	color: var(--secondary-70);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s ease-in-out;
}

.filter-btn:hover {
	background-color: var(--primary-5);
	border-color: var(--primary);
	color: var(--primary);
}

.filter-btn.active {
	padding: 0.5rem 1rem;
	border: 1px solid var(--primary);
	border-radius: var(--radius-lg);
	background-color: var(--primary);
	color: white;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}

/* 搜索输入框 */
.search-input {
	width: 100%;
	padding: var(--space-2) var(--space-4);
	border-radius: var(--radius-lg);
	border: 1px solid var(--primary);
	font-size: 1rem;
	line-height: 1.75rem;
	outline: none;
	transition: all 0.15s ease-in-out;
}

.search-input:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-10);
}

.input-container {
	position: relative;
	flex: 1;
}

.clear-input-button {
  font-size: 1.6rem;
	position: absolute;
	right: 1rem;
	top: 14.5px;
	color: #9ca3af;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.15s ease-in-out;
}

.clear-input-button:hover {
	color: #6b7280;
}

.clear-input-button.visible {
	opacity: 1;
	visibility: visible;
}

/* 主要操作按钮 */
.primary-action-button {
	display: inline-block;
  cursor: pointer;
	background-color: var(--primary);
	color: white;
	font-weight: 700;
	padding: var(--space-2) var(--space-6);
	border-radius: var(--radius-lg);
	transition: all 0.15s ease-in-out;
	box-shadow: var(--shadow-lg);
	height: 54px;
}

/* 购物车按钮 */
.cart-action-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background-color: transparent;
	border: 2px solid var(--primary);
	color: var(--primary);
	font-weight: 700;
	padding: var(--space-2) var(--space-6);
	border-radius: var(--radius-lg);
	transition: all 0.15s ease-in-out;
	box-shadow: var(--shadow-lg);
	text-decoration: none;
	min-width: 60px;
	height: 54px;
}

/* 下拉选项样式 */
.dropdown-option {
	padding: 8px 12px;
	cursor: pointer;
	transition: background-color 0.15s ease;
	border-bottom: 1px solid #f3f4f6;
}

.dropdown-option:last-child {
	border-bottom: none;
}

.dropdown-option:hover {
	background-color: #f9fafb;
}

.dropdown-option.selected {
	background-color: var(--primary-10);
	color: var(--primary);
	font-weight: 500;
}

.select-dropdown {
	min-width: 120px;
}

.template-dropdown-modal {
	min-width: 280px;
}

.template-option {
	padding: 12px;
	border-bottom: 1px solid #f3f4f6;
}

.template-option:last-child {
		border-bottom: none;
}

.primary-action-button:hover {
	background-color: var(--primary-90);
	transform: translateY(-1px);
	box-shadow: var(--shadow-lg);
}

.cart-action-button:hover {
	background-color: #ecfdf5;
	border-color: #059669;
	color: #059669;
	transform: translateY(-1px);
	box-shadow: var(--shadow-lg);
}

/* 操作按钮 */
.action-button {
	border: 1px solid var(--primary);
	background-color: white;
	color: var(--primary);
	padding: 0.375rem 0.75rem;
	border-radius: var(--radius-lg);
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.15s ease-in-out;
}

.action-button[disabled] {
	cursor: not-allowed;
  background: #fff !important;
  border-color: #efefef;
  color: #666 !important;
}

.action-button-add-cart:hover {
	background-color: var(--primary-5);
	border-color: var(--primary);
	color: var(--primary);
}

.action-button-buy-now:hover {
	background-color: var(--success-10);
	border-color: var(--success);
	color: var(--success);
}

/* 状态徽章 */
.status-badge {
	padding: 0.125rem 0.5rem;
	/* border-radius: var(--radius-full); */
	font-size: 0.75rem;
	font-weight: 500;
	display: inline-block;
	background-color: #fff;
}

.status-badge-unavailable {
	background-color: var(--secondary-40);
	color: white;
}

.status-badge-available {
	background-color: var(--success-10);
	color: var(--success);
}

.status-badge-premium {
	background-color: #fbbf24;
	color: white;
}

.status-badge-new,.status-badge-discount {
	color: #d03050;
	background-color: rgba(208, 48, 80, 0.1);
}

.status-badge-popular,.status-badge-recommended {
	color: #f0a020;
	background-color: rgba(240, 160, 32, 0.15);
}


/* 购物车相关 */
.cart-item {
	background: white;
	border-radius: var(--radius-lg);
  padding: 6px 18px ;
	transition: all 0.3s ease;
	border: 1px solid #f1f1f1;
}

.cart-item:hover {
	border-color: var(--primary);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.cart-item-content {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.cart-item-left {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 2;
	min-width: 200px;
}

.domain-info {
	flex: 1;
}

.domain-name {
	font-size: 16px;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 4px;
}

.domain-suffix {
	font-size: 14px;
	color: #6b7280;
}

.cart-item-options {
	display: flex;
	gap: 16px;
	flex: 1;
}

.option-group {
	flex: 1;
}

.option-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
  margin-left: 2px;
	color: #374151;
	margin-bottom: 2px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.custom-select {
	position: relative;
	width: 100%;
	cursor: pointer;
}

.select-display {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px 12px;
	border: 1px solid #f1f1f1;
	border-radius: var(--radius-ls);
	background-color: white;
	font-size: 14px;
  height: 36px;
  line-height: 36px;
	color: #374151;
	transition: all 0.3s ease;
	/* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
}

.select-text {
	flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-arrow {
	width: 16px;
	height: 16px;
	stroke-width: 2;
	color: #6b7280;
	transition: transform 0.2s ease;
}

.custom-select.open .select-arrow {
	transform: rotate(180deg);
}

/* 下拉菜单容器 - 由JS动态创建，使用fixed定位 */
.dropdown-container {
	position: fixed;
	z-index: 1050;
	background-color: white;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	max-height: 300px;
	overflow-y: auto;
	transition: opacity 0.15s ease;
}

/* 下拉菜单内容 */
.select-dropdown {
	width: 100%;
	background-color: white;
	/* border-radius: 8px; */
	max-height: 200px;
	overflow-y: auto;
}

/* 模态框模板下拉菜单 */
.template-dropdown-modal {
	width: 100%;
	background-color: white;
	border-radius: 8px;
	max-height: 250px;
	overflow-y: auto;
}

/* 下拉选项通用样式 */
.select-option,
.dropdown-option {
	padding: 8px 12px;
	font-size: 14px;
	color: #374151;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.select-option:hover,
.dropdown-option:hover {
	background-color: #f3f4f6;
}

.select-option.selected,
.dropdown-option.selected {
	background-color: var(--primary);
	color: white;
}

/* 模板选项特殊样式 */
.template-option {
	padding: 10px 12px;
	border-bottom: 1px solid #f1f1f1;
}

.template-option:last-child {
	border-bottom: none;
}

.template-dropdown-container {
	width: 100%;
	max-width: 400px;
}

.custom-select:hover .select-display {
	border-color: var(--primary);
	box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

.cart-item-right {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.price-info {
	text-align: right;
}

.unit-price {
	font-size: 12px;
	color: #6b7280;
	/* margin-bottom: 4px; */
}

.total-price {
	font-size: 16px;
	font-weight: 700;
	color: #ef4444;
}

.delete-item-btn {
  display: flex;
  justify-content: center;
  align-items: center;
	padding: 8px;
	background: transparent;
	color: #9ca3af;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: none;
}

.delete-item-btn:hover {
	background: rgba(254, 226, 226, 0.8);
	color: #ef4444;
	transform: scale(1.05);
	box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

@media (max-width: 768px) {
	.cart-item-content {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.cart-item-left {
		min-width: auto;
	}

	.cart-item-options {
		min-width: auto;
		flex-direction: column;
		gap: 12px;
	}

	.cart-item-right {
		justify-content: space-between;
	}
}

/* 购物车头部样式 */
.cart-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 18px;
  height: 58px;
  line-height: 58px;
  background: #f8fafc;
	border-radius: var(--radius-lg);
	margin-bottom: 8px;
}

.custom-checkbox-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.custom-checkbox {
	width: 20px;
	height: 20px;
	border: 2px solid #cbd5e1;
	border-radius: 6px;
	background-color: white;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
}

.custom-checkbox.checked {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
	border-color: var(--primary);
	box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.checkbox-inner {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.checkbox-icon {
	position: absolute;
	left: 1px;
	top: 2px;
	width: 12px;
	height: 12px;
	stroke-width: 3;
	color: white;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.custom-checkbox.checked .checkbox-icon {
	opacity: 1;
}

.custom-checkbox.indeterminate {
	background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
	border-color: #6b7280;
	box-shadow: 0 4px 8px rgba(107, 114, 128, 0.3);
}

.custom-checkbox.indeterminate .checkbox-icon {
	opacity: 1;
}

.custom-checkbox.indeterminate .checkbox-icon polyline {
	display: none;
}

.custom-checkbox.indeterminate .checkbox-icon::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 8px;
	height: 2px;
	background-color: white;
	border-radius: 1px;
}

.custom-checkbox:hover {
	border-color: var(--primary);
	transform: scale(1.05);
}

.checkbox-label {
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* 删除选中链接样式已通过 Tailwind CSS 类实现 */

.cart-items-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
  height: 280px;
  overflow-y: auto;
  padding-right: 5px;
}

/* 支付弹窗容器样式 */
.payment-modal-container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-height: 600px;
  max-height: 800px;
}

.payment-header-section {
	flex-shrink: 0;
	margin-bottom: 0.5rem;
}

.payment-middle-section {
	height: 440px;
	/* overflow-y: auto; */
}

.payment-bottom-section {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
	flex-shrink: 0;
	padding-top: 1rem;
	background-color: #f9fafb;
	padding: 1rem 1.5rem;
}

/* 自定义checkbox样式 */
.payment-modal-container input[type="checkbox"] {
	appearance: none;
	width: 18px;
	height: 18px;
	border: 2px solid #d1d5db;
	border-radius: 4px;
	background-color: white;
	cursor: pointer;
	position: relative;
	transition: all 0.2s ease;
}

.payment-modal-container input[type="checkbox"]:checked {
	background-color: var(--primary);
	border-color: var(--primary);
}

.payment-modal-container input[type="checkbox"]:checked::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 12px;
	font-weight: bold;
}

.payment-modal-container input[type="checkbox"]:hover {
	border-color: var(--primary);
}

/* 自定义select样式 */
.payment-modal-container select {
	appearance: none;
	background-color: white;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 6px 32px 6px 12px;
	font-size: 14px;
	cursor: pointer;
	background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 12px;
	transition: all 0.2s ease;
}

.payment-modal-container select:hover {
	border-color: var(--primary);
}

.payment-modal-container select:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cart-count {
	min-width: 1.25rem;
	height: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--primary-10);
	color: var(--primary);
	border-radius: var(--radius-full);
	font-weight: 700;
	font-size: 0.875rem;
	padding: 0.25rem 0.75rem;
}

/* 选择器组件 */
.year-selector,
.template-selector,
.template-selector-modal {
	/* background-color: white; */
	/* border: 1px solid #d1d5db; */
	/* border-radius: var(--radius-lg); */
	/* padding: 0.5rem; */
	cursor: pointer;
	transition: all 0.15s ease-in-out;
}

.year-selector:hover,
.template-selector:hover,
.template-selector-modal:hover {
	border-color: var(--primary);
}

/* 模态框层级优化 */
.confirm-delete-modal,
.order-success-modal,
.buy-now-modal,
.cart-payment-modal,
.payment-interface-modal {
	z-index: 9999 !important;
}

.confirm-delete-content {
	text-align: center;
	padding: 1rem 0;
}

.confirm-delete-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 1rem;
}

.confirm-delete-message {
	margin-bottom: 1.5rem;
}

.selected-items-preview {
	background-color: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 1rem;
	margin-top: 1rem;
	max-height: 200px;
	overflow-y: auto;
}

.preview-item {
	display: flex;
	align-items: center;
	padding: 0.5rem 0;
	border-bottom: 1px solid #f3f4f6;
}

.preview-item:last-child {
	border-bottom: none;
}

.preview-item.highlight {
	background-color: #fef3c7;
	border: 1px solid #fbbf24;
	border-radius: 6px;
	padding: 0.75rem;
	margin: 0.25rem 0;
}

.confirm-delete-modal .cancel-btn {
	background-color: #f3f4f6;
	color: #374151;
	border: 1px solid #d1d5db;
}

.confirm-delete-modal .cancel-btn:hover {
	background-color: #e5e7eb;
	border-color: #9ca3af;
}

.confirm-delete-modal .confirm-btn {
	background-color: #ef4444;
	color: white;
	border: 1px solid #ef4444;
}

.confirm-delete-modal .confirm-btn:hover {
	background-color: #dc2626;
	border-color: #dc2626;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* 下拉菜单容器样式优化 */
.dropdown-container {
	background-color: white;
	border: 1px solid #d1d5db;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	max-height: 300px;
	overflow-y: auto;
	/* 防止闪屏的初始样式 */
	opacity: 0;
	transform: translateY(-5px);
	transition: opacity 0.12s ease, transform 0.12s ease;
}

.dropdown-container.show {
	opacity: 1;
	transform: translateY(0);
}

.year-dropdown,
.template-dropdown,
.template-dropdown-modal {
	background-color: white;
	border: 1px solid #d1d5db;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	max-height: 12rem;
	overflow-y: auto;
	z-index: 50;
}

.year-option,
.template-option {
	padding: 0.5rem;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.year-option:hover,
.template-option:hover {
	background-color: var(--primary-5);
}

/* 移除按钮 */
.remove-item {
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.remove-item:hover {
	background-color: var(--danger-80);
}

/* 价格相关 */
.item-price {
	font-weight: 600;
	color: var(--dark);
}

.item-original-price {
	color: #9ca3af;
	font-size: 0.875rem;
	text-decoration: line-through;
}

.price-tooltip-container {
	position: relative;
}

.price-trigger { position: relative; overflow: visible;
	cursor: pointer;
	transition: color 0.15s ease;
}

.price-trigger:hover {
	color: var(--primary);
}

.price-tooltip {
	position: absolute;
	background-color: white;
	border: 1px solid #d1d5db;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-xl);
	padding: 1rem;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
	transform: translateY(4px);
	pointer-events: none;
}
/* 父容器 hover 时显示 price-tooltip（解决兄弟元素关系无法触发的问题） */
.price-tooltip-container:hover .price-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.price-container {
	transition: transform 0.2s ease;
}

/* 域名操作 */

/* 模板激活状态 */
.template-active {
	background-color: var(--primary-5);
	border-color: var(--primary);
}

.dropdown-active {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) !important;
}

/* 表格相关 */
thead {
	background-color: var(--light);
}

th {
	font-weight: 500;
	text-align: left;
}

th.text-right {
	text-align: right;
}

th.text-center {
	text-align: center;
}

/* 悬停提升效果 */
.hover-lift {
	transition:
		transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
	transform: translateY(-0.125rem);
}

.card-shadow {
	box-shadow:
		0 10px 25px -5px rgba(0, 0, 0, 0.05),
		0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

/* 动画 */
@keyframes fade-in {
	0% {
		opacity: 0;
		transform: translateY(10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in {
	animation: fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes smooth-fade-in {
	0% {
		opacity: 0;
		transform: translateY(8px) scale(0.98);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.animate-smooth-fade-in {
	animation: smooth-fade-in 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 响应式字体 */
.text-clamp {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
}

/* FAQ 组件 */
.faq-toggle {
	transition: background-color 0.2s ease;
}

.faq-toggle:hover {
	background-color: #f9fafb;
}

.faq-content {
	border-top: 1px solid #e5e7eb;
	background-color: #f9fafb;
}

/* 步骤指示器 */
.step-indicator {
	transition: background-color 0.2s ease;
}

.step-indicator.active {
	background-color: var(--primary);
}

.step-wrapper {
	transition: transform 0.3s ease-in-out;
}

/* 通知消息 */
.notification-toast {
	position: fixed;
	top: var(--space-20);
	right: var(--space-6);
	background-color: var(--dark);
	color: white;
	padding: var(--space-4) var(--space-6);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	transform: translateX(100%);
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 50;
	display: flex;
	align-items: center;
}

.notification-toast.show {
	transform: translateX(0);
	opacity: 1;
}

/* 容器 */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--space-4);
}

/* 固定宽度容器 */
.container-1200 {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.container-1000 {
	width: 100%;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* 折扣徽章 - 三角形角标 */
.discount-badge {
	display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 30px 30px 0;
  border-color: transparent var(--danger) transparent transparent;
  z-index: 10;
  border-radius: 0;
}


.discount-badge::after {
  content: attr(data-text);
  position: absolute;
  top: 5px;
  right: -32px;
  color: white;
  font-size: 0.5rem;
  transform: rotate(45deg);
  transform-origin: center;
  white-space: nowrap;
}

.cart-counter {
  width: 1.75rem;
  height: 1.75rem;
  line-height: 1.75rem;
  text-align: center;
  margin-left: var(--space-2);
  background-color: var(--primary-10);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
}

/* =========================== */
/* 支付界面样式 */
/* =========================== */
.payment-interface-container {
  display: flex;
  gap: 2rem;
  padding: 0 1rem;
  min-height: 500px;
  background: white;
  border-radius: 2px;
  padding: 1rem;
}

.payment-left-section,.payment-right-section {
  flex: 1;
  height: 500px;
}

.payment-right-section .payment-methods{
  height: 100%;
  display: flex;
  flex-direction: column;
}


.order-summary {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
}

.order-items {
  height: 294px;
  overflow-y: auto;
}

.order-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 0;
}

.order-item:last-child {
  border-bottom: none;
}

/* 分段式支付方式选择器 */

.segmented-control {
  position: relative;
  display: flex;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 4px;
  overflow: hidden;
}

.segmented-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
  z-index: 2;
  /* gap: 4px; */
  min-height: 60px;
}

.segmented-option .payment-icon {
  width: 18px;
  height: 18px;
  transition: opacity 0.3s ease;
  opacity: 0.7;
}

.segmented-option.active .payment-icon {
  opacity: 1;
}

.segmented-option span {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s ease;
}
.segmented-option.active span {
  color: var(--primary);
}

.segmented-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.segmented-option.disabled:hover {
  background: transparent;
}

.segmented-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(33.333% - 4px);
  height: calc(100% - 8px);
  background: white;
  border-radius: 8px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* 滑块位置 */
.segmented-control[data-active="wechat"] .segmented-slider {
  transform: translateX(0);
}

.segmented-control[data-active="alipay"] .segmented-slider {
  transform: translateX(100%);
}

.segmented-control[data-active="balance"] .segmented-slider {
  transform: translateX(200%);
}

/* WHOIS模态窗口Tab切换样式 - 现代化设计 */
.whois-tab-btn {
  position: relative;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #6b7280;
  background: #f9fafb;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
	position: relative;
	top: 2px;
	border:2px solid transparent;
	border-bottom: 2px solid #e5e7eb;
}

.whois-tab-btn:hover {
  color: #374151;
  background-color: #f9fafb;
}


.whois-tab-btn.active:hover{
	/* border-bottom: none; */
}


.whois-tab-btn.active {
	border-color: #e5e7eb;
	border-bottom: 2px solid #fff;
}

#whois-optimized-view{
	max-height: 560px;
	overflow-y: auto;
	padding: 10px;
}


/* Tab容器样式优化 */
.whois-tab-container {
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 12px;
  background: linear-gradient(to right, #f8fafc 0%, #ffffff 100%);
  border-radius: 12px 12px 0 0;
  /* padding: 8px 16px 0; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	box-sizing: content-box;
}

.whois-tab-content {
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 400px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(8px);
}

.whois-tab-content.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 原始数据视图样式优化 */
#whois-raw-view pre {
  line-height: 1.4;
  font-size: 0.875rem;
  word-break: break-all;
  white-space: pre-wrap;
}

#whois-raw-view::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#whois-raw-view::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

#whois-raw-view::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

#whois-raw-view::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* 优化视图样式 - 现代化卡片设计 */
.whois-overview-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.whois-overview-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  /* transform: translateY(-2px); */
}

.whois-domain-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.whois-domain-name {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.2;
  word-break: break-all;
}

.whois-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--primary-100);
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
}

.whois-registrar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

.whois-registrar-info i {
  color: var(--primary-500);
  font-size: 16px;
}

.whois-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.whois-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.whois-card-header {
  background: linear-gradient(135deg, var(--primary-50) 0%, #f8fafc 100%);
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whois-card-icon {
  color: var(--primary-600);
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.whois-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
}

.whois-card-content {
  padding: 20px;
}

.whois-info-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  gap: 16px;
}

.whois-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.whois-info-item:first-child {
  padding-top: 0;
}

.whois-info-label {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  min-width: 80px;
  flex-shrink: 0;
}

.whois-info-value {
  font-size: 14px;
  font-weight: 400;
  color: #1e293b;
  text-align: right;
  word-break: break-all;
  line-height: 1.4;
}

/* DNS服务器特殊样式 */
.whois-dns-card {
  grid-column: 1 / -1;
}

.whois-dns-servers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.whois-dns-server {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.whois-dns-server:hover {
  background: var(--primary-50);
  border-color: var(--primary-200);
  color: var(--primary-700);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .whois-info-grid {
    grid-template-columns: 1fr;
  }
  
  .whois-domain-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .whois-domain-name {
    font-size: 20px;
  }
  
  .whois-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .whois-info-value {
    text-align: left;
  }
  
  .whois-dns-servers {
    align-items: flex-start;
  }
}

/* 保留原有样式作为备用 */
.payment-method-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-method-item {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}

.payment-method-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(32, 165, 58, 0.1);
}

.payment-method-item.selected {
  border-color: var(--primary);
  background: var(--primary-5);
}

.payment-method-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f5f5;
}

.payment-method-item.disabled:hover {
  border-color: #e5e7eb;
  box-shadow: none;
}

.payment-method-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-method-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f9fafb;
}

.payment-method-info {
  flex: 1;
}

.payment-method-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.payment-method-desc {
  font-size: 0.875rem;
  color: #6b7280;
}

.payment-method-radio {
  width: 20px;
  height: 20px;
}

/* 自定义单选按钮 */
.custom-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  position: relative;
  transition: all 0.2s ease;
  background: white;
}

.custom-radio.checked {
  border-color: var(--primary);
  background: var(--primary);
}

.custom-radio.disabled {
  border-color: #d1d5db;
  background: #f5f5f5;
}

.radio-inner {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.custom-radio.checked .radio-inner {
  opacity: 1;
}

/* 二维码区域 */
.qr-code-section {
  flex: 1;
  border-radius: 8px;
  padding: 1.5rem;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-container {
  text-align: center;
}

.qr-code-header {
  margin-bottom: 1rem;
}

.qr-code-display {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qr-code-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.qr-code-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-code-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-image img {
  max-width: 180px;
  max-height: 180px;
  border-radius: 4px;
}

.qr-code-tips {
  margin-top: 1rem;
}

/* 支付按钮 */
.payment-actions {
  margin-top: 2rem;
}

#confirm-payment-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #16a34a 100%);
  border: none;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: .6rem 1.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: 0 4px 12px rgba(32, 165, 58, 0.3);
}

#confirm-payment-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(32, 165, 58, 0.4);
}

#confirm-payment-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

#cancel-payment-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #374151;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 0.75rem;
}

#cancel-payment-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

/* 用户信息区域样式 */
.user-info-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.user-info-details {
  background-color: #f9fafb;
  transition: all 0.2s ease;
}

.user-info-details:hover {
  background-color: #f3f4f6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.user-avatar {
  font-size: 14px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .payment-interface-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .payment-left-section {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding-right: 0;
    padding-bottom: 1.5rem;
  }

  .payment-right-section {
    padding-left: 0;
    padding-top: 0;
  }

  .qr-code-display {
    width: 160px;
    height: 160px;
  }

  .qr-code-image img {
    max-width: 140px;
    max-height: 140px;
  }

  /* 移动端分段控制器优化 */
  .segmented-option {
    min-height: 50px;
    padding: 8px 4px;
  }

  .segmented-option span {
    font-size: 11px;
  }

  .segmented-option i {
    font-size: 16px;
  }

  .user-info-details {
    font-size: 0.875rem;
  }

  .user-avatar {
    width: 2rem;
    height: 2rem;
    font-size: 12px;
  }
}

/* 价格悬浮框：默认隐藏，hover 时显示 */
.price-tooltip-container .price-tooltip {
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	pointer-events: none;
}
.price-trigger:hover .price-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* 扩大 hover 热区，避免移入悬浮框时闪烁 */
.price-trigger::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 8px; /* 与 .price-tooltip 的 mt-2 对应 */
}

/* 悬浮框自身 hover 亦保持显示 */
.price-trigger .price-tooltip:hover {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* =========================== */
/* 移动端底部简化购物车 */
/* =========================== */
.mobile-cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  display: none;
  align-items: center;
  justify-content: space-between;
  color: #000;
  border-radius: 0;
  padding: 0 max(env(safe-area-inset-right),12px) 0 max(env(safe-area-inset-left),12px);
  box-shadow: 0 -2px 10px rgba(0,0,0,.08);
  z-index: 9998;
  transform: translateY(12px);
  transition: transform .2s ease, opacity .2s ease;
  opacity: 0;
}
.mobile-cart-bar.visible { display: flex; opacity: 1; transform: translateY(0); }
.mobile-cart-left { display:flex; flex-direction: column; justify-content:center; }
.mobile-cart-summary { display:flex; align-items: baseline; gap: 4px; font-weight: 700; }
.mobile-cart-total-label { font-size: 14px; opacity: .9; }
.mobile-cart-total-value { font-size: 22px; color: #f97316; letter-spacing: .5px; }
.mobile-cart-count { font-size: 12px; color: #000; font-weight: 600; margin-left: 2px; }
.mobile-cart-discount { font-size: 12px; color: var(--primary); margin-top: -2px; }
.mobile-cart-submit {
  height: 44px;
  min-width: 120px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(32,165,58,.28);
  cursor: pointer;
}
.mobile-cart-bar.bump { animation: cart-bump .35s ease; }
@keyframes cart-bump { 0% { transform: translateY(12px) scale(1); } 50% { transform: translateY(8px) scale(1.01);} 100% { transform: translateY(0) scale(1);} }

/* 加入购物车按钮点击动画 */
.btn-pulse { animation: btn-pulse .35s ease; }
@keyframes btn-pulse { 0% { transform: scale(1); } 50% { transform: scale(0.96); } 100% { transform: scale(1);} }

/* 响应式显示控制 */
@media (max-width: 739px) {
  /* 隐藏右侧原有购物车容器 */
  .container-1200 .lg\:w-1\/4 { display: none; }
  /* 显示底部购物车 */
  .mobile-cart-bar { display: flex; }
}
@media (min-width: 740px) {
  .mobile-cart-bar { display: none !important; }
}

/* 移动端购物车下拉列表 */
.mobile-cart-toggle{
  margin-left: 8px;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; opacity: .9; border: none; background: transparent; cursor: pointer;
}
.mobile-cart-dropdown{
  position: fixed; left: 0; right: 0; bottom: 64px;
  background: #fff; border-top: 1px solid #e5e7eb;
  box-shadow: 0 -6px 20px rgba(0,0,0,.12);
  transform: translateY(8px); opacity: 0; pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
  z-index: 9998; /* 低于弹窗 */
}
.mobile-cart-dropdown.open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-cart-list{ max-height: 50vh; overflow-y: auto; padding: 10px 12px 12px; }
.mobile-cart-item{ padding: 10px 8px; border-bottom: 1px solid #f3f4f6; }
.mobile-cart-item:last-child{ border-bottom: none; }
.mobile-cart-item-main{ display:flex; align-items: center; justify-content: space-between; gap: 10px; }
.mobile-cart-domain{ flex: 1; min-width: 0; font-size: 14px; color: var(--dark); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-cart-actions{ display:flex; align-items:center; gap: 8px; }
.mobile-cart-price{ font-weight: 700; color: #ef4444; min-width: 76px; text-align: right; }
.mobile-remove{ width: 32px; height: 32px; border-radius: 6px; color: #9ca3af; background: transparent; border: none; display:flex; align-items:center; justify-content:center; }
.mobile-remove:hover{ background: #fee2e2; color: #ef4444; }
@media (max-width: 739px){
  .mobile-cart-dropdown{ display: block; }
}

.mobile-cart-toggle .icon-caret{ transition: transform .2s ease; }
#mobile-cart-toggle.expanded .fa-caret-down{ transform: rotate(180deg); }
.mobile-cart-empty{ color: #fff; font-size: 14px; font-weight: 600; opacity: .9; }

/* =========================== */
/* 移动端：域名搜索结果卡片式布局（<740px） */
/* 模型弹窗调整
/* =========================== */
@media (max-width: 739px) {
	/* 外层容器由水平改为垂直，保持 p-4 与 gap-3 */
	#search-results .flex.items-center.justify-between.p-4.gap-3 {
		flex-direction: column;
		align-items: stretch;
		gap: 30px; /* 上下层间距 30px */
	}

	/* 上层：域名 + 标签（保持贴左，可自动换行） */
	#search-results .flex.items-center.justify-between.p-4.gap-3 > .flex.items-center:first-child {
		justify-content: space-between; /* 左右对齐 */
		align-items: center;
		gap: 8px;
		flex-wrap: wrap;
		width: 100%;
	}

	/* 下层：价格信息 + 操作（两端对齐，按钮固定宽度） */
	#search-results .flex.items-center.justify-between.p-4.gap-3 > .flex.items-center.gap-6 {
		justify-content: space-between; /* 左右对齐 */
		align-items: center;
		gap: 8px;
		width: 100%;
	}

	/* 价格信息容器占据剩余空间，避免与按钮拥挤 */
	#search-results .flex.items-center.justify-between.p-4.gap-3 .price-tooltip-container {
		flex: 1 1 auto;
		min-width: 0; /* 允许内部文本截断 */
	}

	/* 次要文字在竖排下不再额外右外边距 */
	#search-results .flex.items-center.justify-between.p-4.gap-3 .text-xs.text-secondary-60.mr-4 {
		margin-right: 0;
	}

	/* 操作按钮不压缩，靠右显示 */
	#search-results .flex.items-center.justify-between.p-4.gap-3 .action-button {
		flex: 0 0 auto;
	}

	/* 覆盖下层价格信息容器的右对齐 */
	#search-results .flex.items-center.justify-between.p-4.gap-3 .price-tooltip-container.text-right {
    text-align: left;
  }
  /* 兜底：任何下层 .text-right 都改为左对齐 */
  #search-results .flex.items-center.justify-between.p-4.gap-3 > .flex.items-center.gap-6 .text-right {
    text-align: left;
  }
	/* 覆盖下层内部的 .justify-end，统一为左对齐 */
	#search-results .flex.items-center.justify-between.p-4.gap-3 > .flex.items-center.gap-6 .justify-end {
		justify-content: flex-start !important;
	}
	/* 针对价格触发容器的特殊覆盖 */
	#search-results .flex.items-center.justify-between.p-4.gap-3 .price-trigger.justify-end {
		justify-content: flex-start !important;
	}

	/* 模型弹窗样式 */
	.modal-container-dialog{
		padding: 0;
	}


	/* 购物车结算弹窗 - 移动端布局优化（≤740px） */
  /* 1) 域名列表项：左侧仅复选框，右侧上下两层（上：域名；下：年限+价格） */
  .cart-payment-modal .cart-item-content {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "domain  domain"
      "year    price";
    row-gap: 14px;
    column-gap: 10px;
    position: relative;
    padding-left: 44px;
  }
	.cart-payment-modal .cart-items-list .cart-item{
		padding: 10px 0;
	}
  /* 复选框固定在左侧，扩大触摸热区 */
  .cart-payment-modal .cart-item-content .custom-checkbox-wrapper {
    position: absolute;
    left: 10px;
    top: 40%;
  }

  /* 上层：域名名称单独占一行 */
  .cart-payment-modal .domain-info { grid-area: domain; }
  .cart-payment-modal .domain-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
  }
  /* 隐藏"注册域名"说明文案 */
  .cart-payment-modal .domain-suffix { display: none; }

  /* 下层左：年限选择 */
  .cart-payment-modal .cart-item-options { grid-area: year; }
  /* 隐藏"购买年限"说明文案 */
  .cart-payment-modal .option-label { display: none; }
  /* 年限选择器尺寸与行高优化 */
  .cart-payment-modal .year-selector .select-display {
    height: 32px;
    line-height: 32px;
    padding: 2px 10px;
  }

  /* 下层右：价格与删除 */
  .cart-payment-modal .cart-item-right {
    grid-area: price;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
  }
  .cart-payment-modal .price-info {
    text-align: right;
  }

  /* 2) 底部区域：协议独立占一行、价格汇总缩小字号 */
	/* 价格汇总顺序：应付 -> 原价 -> 优惠（仅移动端） */
	.cart-payment-modal .payment-section div.flex.justify-end {
		justify-content: start;
		flex-direction: column;
		row-gap: 30px;
	}
	.cart-payment-modal .payment-section .flex.justify-end > .flex.flex-row.items-center.mr-6 > div:last-child {
		order: 0; /* 应付 放到最前 */
		margin-right: 8px;
	}
	.cart-payment-modal .payment-section .flex.justify-end > .flex.flex-row.items-center.mr-6 > div:first-child {
		order: 1; /* 原价 */
		margin-right: 6px;
	}
	.cart-payment-modal .payment-section .flex.justify-end > .flex.flex-row.items-center.mr-6 > div:nth-child(2) {
		order: 2; /* 优惠 */
	}
  /* 价格汇总整体缩小字号 */
  .cart-payment-modal .payment-section .text-base.text-gray-600 {
    font-size: 12px !important;
  }
  .cart-payment-modal .payment-section .text-lg.font-bold.text-orange-500 {
    font-size: 20px !important;
  }
	/* 1) 全选位置对齐到列表项左侧复选框区域 */
	.cart-payment-modal .cart-header {
		position: relative;
		padding-left: 10px;
	}

	.cart-payment-modal .domain-name {
		font-size: 18px; 
		line-height: 1.35;
		white-space: normal;
		word-break: break-all;
	}

	/* 3) 下层价格信息同行展示（年限 + 单位价格 + 小计 同行） */
	.cart-payment-modal .cart-item-right {
		display: flex;
		align-items: center;
		gap: 10px;
		justify-content: flex-end;
	}
	.cart-payment-modal .price-info {
		display: flex;
		align-items: center;
		gap: 8px;
		white-space: nowrap;
	}
	.cart-payment-modal .price-info .unit-price,
	.cart-payment-modal .price-info .total-price {
		display: inline-block;
		line-height: 1.2;
	}
 
	/* 让左侧容器作为 domain 区域，跨两列占满上层 */
	.cart-payment-modal .cart-item-left {
		grid-area: domain;
		display: block;
		width: 100%;
		min-width: 0;
	}
	/* 覆盖内部信息容器，允许占满整行可换行 */
	.cart-payment-modal .cart-item-left .domain-info,
	.cart-payment-modal .cart-item-left .domain-name {
		max-width: 100% !important;
		width: 100%;
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
	}
	.payment-bottom-section{
		padding-right: 0;
		padding-left: 0;
	}
	/* 底部结算区域：网格两行，上=价格汇总，下=协议+按钮 */
	.cart-payment-modal .payment-section .footer-payment-view{
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:"price price";
		row-gap: 20px;
		align-items: center;
		padding: 0 1rem;
	}

	/* 把原"价格+按钮"的父容器扁平化，不占位 */
	.cart-payment-modal .payment-section > .price-pos {
		display: contents;
	}

	/* 上层：价格汇总（已调好顺序：应付 -> 原价 -> 优惠） */
	.cart-payment-modal .payment-section .price-pos {
		justify-self: start;
	}

	/* 下层：协议行（我已阅读并同意 + 协议链接） */
	.cart-payment-modal .payment-section .agreement-pos {
		padding: 0;
		position: absolute;
	}
	/* 下层：支付按钮贴右 */
	.cart-payment-modal .payment-section .payment-pos {
		margin: 20px 0 0 0;
		width: 100%;
	}

	/* 隐藏订单信息 */
	#payment-interface-modal .payment-left-section{
		display: none;
	}
}

/* =========================== */
/* AI域名推荐相关样式 */
/* =========================== */

/* Tab切换样式 - 竖线分割版 */

.domain-search-tabs .tab-buttons {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
}

.domain-search-tabs .tab-btn {
  background: transparent;
  color: #6b7280;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 4px;
  position: relative;
  white-space: nowrap;
}
.domain-search-tabs .tab-btn:first-child{
	padding-left: 0;
}

.domain-search-tabs .tab-btn:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  color: #d1d5db;
  font-size: 12px;
  font-weight: normal;
  pointer-events: none;
}

.domain-search-tabs .tab-btn.active {
  color: var(--primary);
}

.domain-search-tabs .tab-btn:hover:not(.active) {
  color: var(--primary);
  transform: translateY(-1px);
}

.domain-search-tabs .tab-btn i {
  font-size: 11px;
  margin-right: 4px;
  vertical-align: middle;
}

/* AI推荐按钮的NEW角标 */
.domain-search-tabs .tab-btn {
  position: relative;
}

.domain-search-tabs .tab-btn .new-badge {
  position: absolute;
  top: 1px;
  right: -6px;
  padding: 0 2px 0 4px;
	border-radius: 6px 6px 6px 0;
	background: #f64041;
	color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
}


/* 移动端角标调整 */
@media (max-width: 768px) {
  .domain-search-tabs .tab-btn .new-badge {
    font-size: 9px;
    padding: 1px 4px;
    top: -1px;
    right: -4px;
    border-radius: 6px;
  }
}

/* =========================== */
/* AI搜索面板渐变样式 */
/* =========================== */

/* 整体渐变容器 */
.ai-search-container {
  position: relative;
  background: linear-gradient(85deg, rgb(85, 153, 255), rgb(179, 154, 255) 60%, rgb(234, 163, 204) 84%, rgb(255, 192, 72));
  padding: 2px;
  transition: all 0.3s ease;
  width: 100%;
}

/* 焦点状态渐变变化 */
.ai-search-container:focus-within::before {
  content: '';
  position: absolute;
  left: -2px;
	top: -2px;
	right: -2px;
	bottom: -2px;
	filter: blur(5.7px);
  background: linear-gradient(90deg, rgb(163, 200, 255), rgb(183, 181, 255) 58%, rgb(255, 219, 166));
  border-radius: 2px;
  transition: 0.3s;
}

/* 内层白色容器 */
.ai-search-inner {
  position: relative;
  background: white;
  border-radius: 2px;
  padding: 6px 16px;
  z-index: 2;
}

/* 输入框组 */
.ai-input-group {
  display: flex;
  align-items: center;
  height: 42px;
  position: relative;
}

/* 输入框图标 */
.ai-input-icon {
  background-clip: text;
  font-size: 12px;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* 品牌图标延迟 */
.fa-building {
  animation-delay: 0.5s;
}

/* 行业图标延迟 */
.fa-industry {
  animation-delay: 1.5s;
}

/* 魔法图标延迟 */
.fa-magic {
  animation-delay: 2s;
}

/* 输入框本身 */
.ai-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #333;
  height: 100%;
  padding: 0;
  /* 禁用浏览器默认自动完成下拉框 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  autocomplete: off;
}

/* 禁用自动完成的额外样式 */
.ai-search-input::-webkit-outer-spin-button,
.ai-search-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ai-search-input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  height: 0;
  width: 0;
  margin: 0;
}

.ai-search-input::placeholder {
  color: #999;
  transition: all 0.3s ease;
}

.ai-search-input:focus::placeholder {
  color: #bbb;
}

/* AI推荐按钮（透明背景） */
.ai-transparent-button {
  background: transparent;
  border: none;
  height: 42px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  position: relative;
}

/* 按钮左侧分隔符 */
.ai-transparent-button::after {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  z-index: 3;
}

@media (max-width: 1024px) {
  .ai-transparent-button::after {
    display: none;
  }
}

/* 按钮文字渐变动画 */
@keyframes animate-text {
  0% {
    color: rgba(0, 0, 0, 0.9);
    background-position: -100% center;
  }
  50% {
    color: transparent;
    background-position: 100% center;
  }
  90% {
    color: transparent;
    background-position: 100% center;
  }
  100% {
    color: transparent;
    background-position: -100% center;
  }
}

/* 按钮文字渐变 */
.ai-button-text {
  color: rgba(0, 0, 0, 0.9);
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 5%, rgb(255, 194, 76) 40%, rgb(198, 105, 255) 50%, rgb(147, 121, 255) 60%, rgba(0, 0, 0, 0.9) 90%) 0% 0% / 200% text;
	-webkit-background-clip: text;
	background-clip: text;
	animation: 6s linear 0s infinite normal none running animate-text;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* 按钮图标渐变 */
.ai-button-icon {
  color: rgba(0, 0, 0, 0.9);
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 5%, rgb(255, 194, 76) 40%, rgb(198, 105, 255) 50%, rgb(147, 121, 255) 60%, rgba(0, 0, 0, 0.9) 90%) 0% 0% / 200% text;
	-webkit-background-clip: text;
	background-clip: text;
  transition: all 0.3s ease;
  font-size: 16px;
}

/* 按钮文字和图标保持动画效果，不受焦点状态影响 */

/* AI搜索提示信息样式 */
#ai-search-panel .text-sm {
  background: var(--primary-5);
  border-left: 3px solid var(--primary);
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  margin: 0;
}

/* AI搜索面板响应式调整 */
@media (max-width: 1024px) {
  #ai-search-section {
    flex-direction: column;
    gap: 16px;
  }
  
  .ai-search-inner {
    padding: 10px 14px;
  }
  
  .ai-input-group {
    height: 38px;
  }
  
  .ai-input-icon {
    font-size: 16px;
    margin-right: 10px;
  }
  
  .ai-search-input {
    font-size: 15px;
  }
  
  .ai-transparent-button {
    width: 100%;
    min-width: auto;
    height: 38px;
  }
  
  .ai-button-text {
    font-size: 15px;
  }
  
  .ai-button-icon {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .ai-search-inner {
    padding: 8px 12px;
  }
  
  .ai-input-group {
    height: 36px;
  }
  
  .ai-input-icon {
    font-size: 15px;
    margin-right: 8px;
  }
  
  .ai-search-input {
    font-size: 14px;
  }
  
  .ai-transparent-button {
    height: 36px;
    padding: 0 16px;
  }
  
  .ai-button-text {
    font-size: 14px;
  }
  
  .ai-button-icon {
    font-size: 14px;
  }
}

/* 桌面端布局调整 */
@media (min-width: 1025px) {
  #ai-search-section {
    align-items: stretch;
  }
  
  .ai-input-group {
    min-height: 42px;
  }
  
  .ai-transparent-button {
    flex-shrink: 0;
  }
}

/* 域名意义展示样式 */
.domain-meaning {
  margin-top: 6px;
  font-size: 0.8rem;
}

.domain-meaning .fa-lightbulb {
  margin-right: 6px;
  color: #f59e0b;
}

/* =========================== */
/* 0.01秒杀活动样式 */
/* =========================== */


/* 活动标题 */
.activity-title {
  background: linear-gradient(135deg, var(--primary) 0%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 活动规则说明 */
.activity-rules .rule-item {
  background: rgba(32, 165, 58, 0.05);
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid rgba(32, 165, 58, 0.15);
}

/* 扁平化商品卡片 */
.seckill-flat-card {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.flat-card-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  height: 180px;
  align-items: center;
}

/* 左侧产品信息区 */
.product-info-section {
  background: linear-gradient(135deg, var(--primary) 0%, #16a34a 100%);
  color: white;
  padding: 24px 28px;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
	text-align: left;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-content {
  flex: 1;
}

.product-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.2;
}

.product-desc {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.4;
  margin: 0;
}

/* 右侧购买信息区（4列网格） */
.purchase-info-section {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1.2fr;
  gap: 20px;
  align-items: center;
  height: 100%;
	position: relative;
}

.info-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.column-label {
  font-size: 14px;
  color: var(--secondary-70);
  margin-bottom: 6px;
  font-weight: 500;
}

.column-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
	margin-bottom: 50px;
}

/* 价格列样式 */
.price-column {
  gap: 2px;
}

.current-price-info {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.price-symbol {
  font-size: 16px;
  color: #f97316;
  font-weight: 600;
}

.price-number {
  font-size: 24px;
  color: #f97316;
  font-weight: bold;
  line-height: 1;
}

.price-unit {
  font-size: 12px;
  color: #f97316;
  font-weight: 500;
}

.original-price-info {
  font-size: 12px;
  color: var(--secondary-70);
  margin-bottom: 50px;
	text-align: left;
}

.strikethrough {
  text-decoration: line-through;
}

.progress-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.progress-text {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.progress-bar-mini {
  width: 100%;
  height: 5px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill-mini {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #16a34a 100%);
  border-radius: 2px;
  transition: width 0.5s ease;
  position: relative;
}

.progress-fill-mini::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* 操作列样式 */
.action-column {
  text-align: center;
  gap: 4px;
}

/* 倒计时区域 */
.countdown-section {
  margin-bottom: 8px;
}

.countdown-label-mini {
  font-size: 12px;
  color: var(--secondary-70);
  margin-bottom: 4px;
  font-weight: 500;
}

.countdown-display-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* 进度信息区域（替代倒计时位置） */
#progress-info-section {
  margin-bottom: 8px;
}

.time-digit-mini {
  background: var(--primary);
  color: white;
  padding: 6px 8px;
  border-radius: 2px;
  font-size: 16px;
  font-weight: bold;
  min-width: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.time-digit-mini.urgent {
  background: #e53e3e;
}

.time-digit-mini.animate {
  transform: scale(1.05);
}

.time-sep {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary);
}

.seckill-btn-flat {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 2px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #16a34a 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(32, 165, 58, 0.3);
  margin-bottom: 4px;
}

.seckill-btn-flat:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(32, 165, 58, 0.4);
}

.seckill-btn-flat.not-started {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.seckill-btn-flat.not-started:hover {
  transform: none;
}

.seckill-btn-flat.can-seckill {
  animation: seckill-pulse 1.5s infinite;
}

@keyframes seckill-pulse {
  0% { box-shadow: 0 2px 8px rgba(32, 165, 58, 0.3); }
  50% { box-shadow: 0 2px 12px rgba(32, 165, 58, 0.5), 0 0 0 2px rgba(32, 165, 58, 0.2); }
  100% { box-shadow: 0 2px 8px rgba(32, 165, 58, 0.3); }
}
.seckill-btn-flat.sold-out,
.seckill-btn-flat.participated {
  background: none;
  cursor: not-allowed;
  box-shadow: none;
	border: 1px solid #999999;
	color:#999999
}

.seckill-btn-flat.participated:hover {
  transform: none;
}

.seckill-btn-flat.sold-out:hover {
  transform: none;
}

.seckill-btn-flat.loading .btn-text {
  opacity: 0;
}

.seckill-btn-flat .btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 4px;
  color: white;
  font-size: 11px;
}

.action-tips-mini {
  font-size: 12px;
  color: var(--secondary-70);
  line-height: 1.3;
}
.action-tips-footer-info{
	position: absolute;
	bottom: 38px;
	left:60px;
}

/* 按钮点击动画 */
.seckill-btn.btn-click {
  animation: btn-click 0.2s ease;
}

@keyframes btn-click {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* 按钮闪烁提示 */
.seckill-btn.blink {
  animation: btn-blink 0.5s ease 3;
}

@keyframes btn-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* 响应式适配 */
@media (max-width: 920px) {
  .seckill-activity-section {
    margin: 1rem 0;
    padding: 1.5rem 0;
  }

  .seckill-flat-card {
    margin: 0 1rem;
  }

  .flat-card-container {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 160px;
  }

  .product-info-section {
    padding: 16px 20px;
    min-height: 80px;
  }

  .product-name {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .product-desc {
    font-size: 13px;
  }

  .purchase-info-section {
    padding: 16px 20px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
  }

  .action-column {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .countdown-section,
  #progress-info-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4px;
  }

  .countdown-display-mini {
    justify-self: center;
    margin-bottom: 0;
  }

  .seckill-btn-flat {
    height: 36px;
    font-size: 13px;
    margin-bottom: 0;
  }

  .action-tips-mini {
    width: 100%;
    text-align: center;
    font-size: 11px;
  }

  .activity-rules {
    gap: 8px;
  }
	.price-column{
		grid-column: 1 / -1;
	}

  .activity-rules .rule-item {
    padding: 6px 10px;
    font-size: 12px;
  }
	.action-tips-footer-info{
		position: static;
		margin-top: 20px;
	}
	.original-price-info,
	.column-value{
		margin-bottom: 10px;
	}
}
@media (max-width: 740px) {
	.activity-rules{
		flex-direction:row;
	}
	.activity-rules .rule-item{
		font-size: 10px;
	}
}

/* 小屏设备优化 */
@media (max-width: 480px) {
  .activity-title {
    font-size: 1.5rem;
  }

  .seckill-flat-card {
    margin: 0 0.5rem;
  }

  .flat-card-container {
    height: auto;
    min-height: 140px;
  }

  .product-info-section {
    padding: 14px 16px;
    min-height: 70px;
  }

  .product-name {
    font-size: 16px;
  }

  .product-desc {
    font-size: 12px;
  }
	.product-badge{
		top: 10px;
    right: 8px;
		padding: 2px 8px;
	}

  .purchase-info-section {
    padding: 14px 16px;
    gap: 10px;
  }

  .column-label {
    font-size: 11px;
  }

  .column-value {
    font-size: 14px;
  }

  .price-number {
    font-size: 20px;
  }

  .time-digit-mini {
    font-size: 14px;
    padding: 4px 6px;
    min-width: 26px;
  }

  .seckill-btn-flat {
    height: 32px;
    font-size: 12px;
  }

  .action-tips-mini {
    font-size: 10px;
  }
  
  .countdown-section,
  #progress-info-section {
    margin-bottom: 6px;
  }
	.activity-rules .rule-item{
		padding: 2px;
		border-radius:2px;
	}
	.activity-rules .rule-item .fa{
		display: none;
	}
	.original-price-info, .column-value{
		margin-bottom: 0;
	}

}



/* 组队活动样式 */

.activity-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding-top: 60px;
}
/* 通用标题 */
.title-container {
	margin-bottom: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* 主标题 */
.title-container-title {
	color: #333;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px;
}

/* 副标题 */
.title-container-desc {
	font-size: 14px;
	color: #666;
}

/* 活动模拟表格 */

.activity-simulated-table .table-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}


.activity-simulated-table .table-header .header-tr {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	align-items: flex-end;
}

.table-left {
	width: 180px;
	flex: none !important;
}

.activity-simulated-table .table-header .table-header-item {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.activity-simulated-table .table-header .table-header-th,
.activity-simulated-table .table-body .table-body-td {
	display: flex;
	flex: 1 1 0%;
	height: 58px;
	padding: 0 20px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	font-size: 14px;
}


.table-header .table-header-th .title {
	color: #333;
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
}

.table-header .table-header-th .title-desc {
	color: #787a79;
	font-size: 14px;
	font-weight: 500;
}


/* 表格内容 */

.activity-simulated-table .table-body .table-body-tr {
	width: 100%;
	display: flex;
	align-items: center;
	height: 58px;
}

.activity-simulated-table .table-body .table-body-tr.bg-one {
	background-color: #e9edf3;
}

.activity-simulated-table .table-body .table-body-tr.bg-two {
	background-color: #f4f7fb;
}


/* 表格左侧标题 */
.table-header-th .table-daily-price,
.table-body-td .table-daily-price {
	display: flex;
	align-items: center;
	justify-content: center;
}

.table-header-th .table-daily-price .title,
.table-body-td .table-daily-price .title {
	color: #787a79;
	font-weight: 500;
	white-space: nowrap;
}

.table-header-th .title .tips {
	display: block;
	width: 52px;
	height: 22px;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	color: rgba(255, 255, 255, 1);
	background-image: url(/static/new/images/724/corner-marker-3.svg);
	margin-left: 10px;
}

.table-header-th .table-daily-price .title-desc,
.table-body-td .table-daily-price .title-desc {
	color: #787a79;
	font-size: 14px;
	font-weight: 500;
}


/* 表格价格 */

.table-body-price {
	display: flex;
	align-items: center;
	justify-content: center;
}

.table-body-price.active {
	color: #333;
}

.table-body-price.active {
	color: #ff6416;
}

.table-body-price .title {
	font-size: 24px;
	font-weight: 500;
}

.table-body-price .discount {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2px 8px;
	background: rgba(255, 100, 22, 1);
	/* border-radius: 4px; */
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	margin-left: 8px;
}

.table-body-price .title-desc {
	font-size: 14px;
	font-weight: 500;
	margin-left: 4px;
}

.justify-between {
	justify-content: space-between;
}

.faq-item {
	background-color: #fff;
	border-radius: 10px;
	padding: 30px;
	flex: 1;
	box-shadow: 0px 0px 22.5px rgba(235, 238, 243, 1);
}

.faq-question {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.faq-question h3 {
	margin: 0;
}

.faq-q-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	color: #FF0000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	flex-shrink: 0;
	font-size: 20px;
}

.faq-answer p {
	color: #666;
	font-size: 14px;
	line-height: 1.8;
	margin: 0;
}

.activity-container .initiate-team-btn {
	width: 100%;
	height: 48px;
	background-color: #20a53a;
	text-align: center;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.3s ease;
	/* border-radius: 8px; */
	box-shadow: 0px 4px 4px rgba(211, 211, 211, 0.1);
	text-decoration: none;
	opacity: 0;
	animation: button-intro 0.6s ease-out 0.5s forwards;
	margin: 0 auto;
}
.activity-container .initiate-team-btn .team-icon {
  width: 21px;
  height: 21px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' fill='none'%3E%3Ccircle cx='10.5' cy='5.25' r='3.5' stroke='%23fff' stroke-width='1.5'/%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-width='1.5' d='M15.75 7.875c1.45 0 2.625-.98 2.625-2.187 0-1.209-1.175-2.188-2.625-2.188M5.25 7.875c-1.45 0-2.625-.98-2.625-2.187C2.625 4.479 3.8 3.5 5.25 3.5' opacity='.5'/%3E%3Cellipse cx='10.5' cy='14.875' stroke='%23fff' stroke-width='1.5' rx='5.25' ry='3.5'/%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-width='1.5' d='M17.5 16.625c1.535-.337 2.625-1.19 2.625-2.187 0-.999-1.09-1.851-2.625-2.188M3.5 16.625c-1.535-.337-2.625-1.19-2.625-2.187 0-.999 1.09-1.851 2.625-2.188' opacity='.5'/%3E%3C/svg%3E");
}

@keyframes button-intro {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==================== 原子类工具样式 ==================== */
/**
 * 容器宽度类
 */
 .w-container {
	width: 1134px;
}

/**
 * 内边距类
 */
.px-\[220px\] {
	padding-left: 220px;
	padding-right: 220px;
}

.\!w-\[400px\] {
	width: 400px !important;
}

/**
 * 高度类
 */
.h-full {
	height: 100%;
}

.\!h-\[30px\] {
	height: 30px !important;
}

.\!h-\[60px\] {
	height: 68px !important;
}

/**
 * 布局类
 */
.flex {
	display: flex;
}

/**
 * 背景颜色类
 */
.bg-white {
	background-color: #fff;
}

.bg-\[\#F4F7FB\] {
	background-color: #F4F7FB;
}

.bg-\[\#DBEFDE\] {
	background-color: #ffe0e0 !important;
}

.bg-\[\#E9F6EB\] {
	background-color: #ffeeee !important;
}

/**
 * 间距类
 */
.mb-\[120px\] {
	margin-bottom: 120px;
}

.rounded-left-top-\[16px\] {
	border-top-left-radius: 16px;
}

.rounded-right-top-\[16px\] {
	border-top-right-radius: 16px;
}

.rounded-bottom-left-\[16px\] {
	border-bottom-left-radius: 16px;
}

.rounded-bottom-right-\[16px\] {
	border-bottom-right-radius: 16px;
}

.border-left-\[2px\] {
	border-left: 2px solid #fff;
}

.border-right-\[2px\] {
	border-right: 2px solid #fff;
}

.border-bottom-\[2px\] {
	border-bottom: 2px solid #fff;
}

.border-top-\[2px\] {
	border-top: 2px solid #fff;
}

.border-left-\[1px\] {
	border-left: 1px solid #eaedf2;
}

.border-right-\[1px\] {
	border-right: 1px solid #eaedf2;
}

.border-bottom-\[1px\] {
	border-bottom: 1px solid #eaedf2;
}

.border-top-\[1px\] {
	border-top: 1px solid #eaedf2;
}

/* .flex-col {
	flex-direction: column;
} */

.flex-row {
	flex-direction: row;
}

.flex-row-reverse {
	flex-direction: row-reverse;
}

.flex-col-reverse {
	flex-direction: column-reverse;
}

.flex-wrap {
	flex-wrap: wrap;
}

.flex-nowrap {
	flex-wrap: nowrap;
}

.flex-shrink-0 {
	flex-shrink: 0;
}

.align-center {
	align-items: center;
}

.\!align-center {
	align-items: center !important;
}

.align-end {
	align-items: flex-end;
}


.\!align-start {
	align-items: flex-start !important;
}

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

.\!justify-center {
	justify-content: center !important;
}

.pt-20 {
	padding-top: 80px;
}

.pb-20 {
	padding-bottom: 80px;
}

.w-\[1200px\] {
	width: 1200px;
}

.m-auto {
	margin: auto;
}

.text-left {
	text-align: left;
}

.text-center {
	text-align: center;
}

.text-\[40px\] {
	font-size: 40px;
}

.font-bold {
	font-weight: 700;
}

.mb-12 {
	margin-bottom: 48px;
}

.mb-4 {
	margin-bottom: 16px;
}

.gap-y-5 {
	row-gap: 20px;
}

.gap-x-3 {
	column-gap: 12px;
}

.items-center {
	align-items: center;
}

.text-2xl {
	font-size: 24px;
}

.pl-12 {
	padding-left: 48px;
}

.pb-\[100px\] {
	padding-bottom: 100px;
}

.text-\[\#666\] {
	color: #666;
}

.leading-loose {
	line-height: 1.8;
}

.text-black {
	color: #000;
}

.relative {
	position: relative;
}

.bg-white {
	background-color: #fff;
}
.activity-container .initiate-team-btn {
	position: absolute;
	left: 50%;
	margin-left: -150px;
}
.title-desc-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ==================== 弹窗样式 ==================== */
/**
 * 模态框遮罩层
 */
 .modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	/* 添加渐变动画 */
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

/**
 * 模态框显示状态
 */
.modal-overlay.show {
	opacity: 1;
	visibility: visible;
}

/**
 * 模态框内容容器
 */
.modal-content {
	background: white;
	/* border-radius: 12px; */
	max-width: 90vw;
	max-height: 90vh;
	overflow: auto;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	/* 添加缩放和移动动画 */
	transform: scale(0.7) translateY(-50px);
	opacity: 0;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

/**
 * 模态框内容显示状态
 */
.modal-overlay.show .modal-content {
	transform: scale(1) translateY(0);
	opacity: 1;
}

/**
 * 关闭按钮
 */
.modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	border: none;
	background: rgba(0, 0, 0, 0.1);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #666;
	z-index: 1001;
	transition: all 0.2s ease;
	backdrop-filter: blur(10px);
}

/**
 * 关闭按钮悬停效果
 */
.modal-close:hover {
	background: rgba(255, 0, 0, 0.1);
	color: #ff4757;
	transform: scale(1.1);
}

/**
 * 关闭按钮点击效果
 */
.modal-close:active {
	transform: scale(0.95);
}

/**
 * 关闭按钮图标（使用CSS绘制X）
 */
.modal-close::before,
.modal-close::after {
	content: '';
	position: absolute;
	width: 14px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
}

.modal-close::before {
	transform: rotate(45deg);
}

.modal-close::after {
	transform: rotate(-45deg);
}

/**
 * 模态框主体内容
 */
.modal-body {
	padding: 24px;
}


#custom-modal.team-view .modal-content,
#custom-modal.my-team-view .modal-content {
	width: 1000px;
	padding: 0;
	/* border-radius: 8px; */
	overflow-y: auto;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#custom-modal.team-view .modal-body,
#custom-modal.my-team-view .modal-body {
	padding: 0;
}

#custom-modal.team-view .team-modal-header,
#custom-modal.my-team-view .team-modal-header {
	padding: 24px 32px;
	background: linear-gradient(180deg, #F5FCF7 0%, #FFFFFF 100%);
	text-align: center;
	position: relative;
	background-image: url('/static/new/images/724/popup-bg.png');
	background-size: 100% auto;
	background-repeat: no-repeat;
}

#custom-modal.team-view .team-modal-title,
#custom-modal.my-team-view .team-modal-title {
	font-size: 22px;
	font-weight: 500;
	color: #333;
	margin: 0 0 8px;
}

#custom-modal.team-view .team-modal-subtitle,
#custom-modal.my-team-view .team-modal-subtitle {
	font-size: 14px;
	color: #666;
	margin: 0;
}

#custom-modal.team-view .team-modal-details,
#custom-modal.team-view .team-modal-notes {
	padding: 15px 32px;
}

#custom-modal.team-view .team-modal-details h4,
#custom-modal.team-view .team-modal-notes h4 {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin: 0 0 16px;
}

#custom-modal.team-view .team-modal-table {
	border: 1px solid #E9F6EB;
	/* border-radius: 16px; */
	overflow: hidden;
}

#custom-modal.team-view .team-modal-table-header,
#custom-modal.team-view .team-modal-table-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: center;
}

#custom-modal.team-view .team-modal-table-cell {
	padding: 12px 16px;
	text-align: center;
	font-size: 14px;
	color: #666;
}

#custom-modal.team-view .team-modal-table-header {
	/* background-color: #F7FBF8; */
}

#custom-modal.team-view .team-modal-table-header .team-modal-table-cell {
	color: #333;
	font-weight: 500;
}

#custom-modal.team-view .team-modal-table-row {
	/* border-top: 1px solid #E9F6EB; */
}

#custom-modal.team-view .team-modal-table>*:nth-child(odd),
#custom-modal.team-view .team-modal-table .team-modal-table-body>*:nth-child(even) {
	background-color: #E9F6EB;
}

#custom-modal.team-view .team-modal-table .team-modal-table-body>*:nth-child(odd) {
	background-color: #DBEFDE;
}

#custom-modal.team-view .team-modal-table-row .team-modal-table-cell:first-child {
	text-align: left;
	color: #333;
	font-weight: 500;
}

#custom-modal.team-view .team-modal-table .price.active,
#custom-modal.team-view .team-modal-table .price.active span {
	color: #ff6416;
}

#custom-modal.team-view .team-modal-table .price {
	font-size: 20px;
	font-weight: bold;
	color: #333;
}

#custom-modal.team-view .team-modal-table .price span {
	font-size: 14px;
	font-weight: normal;
	color: #333;
}

#custom-modal.team-view .team-modal-notes ol {
	padding-left: 20px;
	margin: 0;
	list-style: decimal;
	color: #666;
	font-size: 14px;
	line-height: 2;
}

#custom-modal.team-view .team-modal-notes ol li::marker {
	color: #333;
	font-weight: 500;
}

#custom-modal.team-view .team-modal-footer,
#custom-modal.my-team-view .team-modal-footer {
	padding: 20px 32px;
	display: flex;
	justify-content: center;
	gap: 50px;
}

#custom-modal.team-view .btn,
#custom-modal.my-team-view .btn {
	min-width: 200px;
	padding: 10px 24px;
	/* border-radius: 6px; */
	border: 1px solid transparent;
	font-size: 14px;
	cursor: pointer;
	font-weight: 500;
	transition: all 0.3s;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#custom-modal.team-view .btn-cancel,
#custom-modal.my-team-view .btn-cancel {
	background-color: #F0F2F5;
	color: #333;
	border-color: #e9ecef;
}

#custom-modal.team-view .btn-cancel:hover,
#custom-modal.my-team-view .btn-cancel:hover {
	background-color: #e9ecef;
	/* box-shadow: 0 4px 12px rgba(30, 0, 0, 0.1); */
}

#custom-modal.team-view .btn-confirm,
#custom-modal.my-team-view .btn-confirm {
	background-color: #28a745;
	color: #fff;
}

#custom-modal.team-view .btn-confirm:hover,
#custom-modal.my-team-view .btn-confirm:hover {
	background-color: #218838;
}

/* ==================== 我的队伍 ==================== */


#custom-modal.my-team-view .my-team-body {
	padding: 16px 32px;
}

#custom-modal.my-team-view .current-tier-section h4,
#custom-modal.my-team-view .team-qr-code-section h4 {
	font-size: 18px;
	font-weight: 400;
	color: #333;
	margin: 0 0 16px;
	text-align: center;
}

#custom-modal.my-team-view .tier-content-wrapper {
	display: flex;
	align-items: flex-start;
}

#custom-modal.my-team-view .tier-card {
	flex-grow: 1;
	background: #FFFFFF;
	border: 1px solid #F0F2F5;
	border-right: none;
	/* border-top-left-radius: 8px;
	border-bottom-left-radius: 8px; */
	padding: 20px;
}

#custom-modal.my-team-view .tier-info p {
	margin: 0 0 8px;
	font-size: 18px;
	color: #333;
}

#custom-modal.my-team-view .tier-info .tier-description {
	font-size: 14px;
	color: #999;
	margin-top: 4px;
}

#custom-modal.my-team-view .tier-progress-bar {
	position: relative;
	height: 8px;
	background-color: #F0F2F5;
	border-radius: 4px;
	margin: 30px 0 50px 0;
}

#custom-modal.my-team-view .progress-line {
	position: absolute;
	height: 100%;
	background-color: #34D399;
	border-radius: 4px;
	height: 7px;
}

#custom-modal.my-team-view .progress-milestone {
	position: absolute;
	top: 15px;
	transform: translate(-50%, -50%);
	text-align: center;
}

#custom-modal.my-team-view .progress-milestone:first-child {
	left: 210px;
}

#custom-modal.my-team-view .progress-milestone-icon {
	width: 32px;
	height: 32px;
	background-color: #F0F2F5;
	border-radius: 50%;
}

#custom-modal.my-team-view .progress-milestone-icon.active {
	background-color: #34D399;
}

#custom-modal.my-team-view .progress-milestone-icon.no-icon {
	background-color: transparent;
}

#custom-modal.my-team-view .progress-milestone span {
	font-size: 14px;
	color: #999;
	display: block;
	margin-top: 5px;
	white-space: pre;
}

#custom-modal.my-team-view .progress-milestone img {
	width: 30px;
	height: 30px;
	position: absolute;
	/* top: -40px; */
	/* left: 50%; */
	transform: translateX(-50%);
}

/* #custom-modal.my-team-view .progress-milestone::before {
  content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border: 2px solid #DCDFE6;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
} */

#custom-modal.my-team-view .progress-milestone.active::before {
	border-color: #34D399;
}

#custom-modal.my-team-view .tier-members {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin-top: 16px;
}

#custom-modal.my-team-view .member-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

#custom-modal.my-team-view .member-avatar,
#custom-modal.my-team-view .add-member {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

#custom-modal.my-team-view .member-avatar {
	background-color: #F0F2F5;
}

#custom-modal.my-team-view .member-avatar img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

#custom-modal.my-team-view .member-avatar.leader::after {
	content: '✓';
	position: absolute;
	right: -8px;
	top: 0;
	width: 16px;
	height: 16px;
	background-color: #28a745;
	color: white;
	border-radius: 50%;
	font-size: 9px;
	line-height: 16px;
	text-align: center;
	border: 1px solid white;
}

#custom-modal.my-team-view .add-member {
	border: 1px #FF0000 dashed;
	color: #FF0000;
	background-color: #F0FFF9;
}

#custom-modal.my-team-view .add-member::before,
#custom-modal.my-team-view .add-member::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: currentColor;
}

#custom-modal.my-team-view .add-member::before {
	width: 16px;
	height: 2px;
	transform: translate(-50%, -50%);
}

#custom-modal.my-team-view .add-member::after {
	width: 2px;
	height: 16px;
	transform: translate(-50%, -50%);
}

#custom-modal.my-team-view .add-member-item .member-label {
	color: #FF0000;
}

#custom-modal.my-team-view .member-label {
	font-size: 12px;
	color: #666;
}


#custom-modal.my-team-view .tier-status {
	width: 240px;
	flex-shrink: 0;
	background: #F8F9FA;
	/* border-top-right-radius: 8px;
	border-bottom-right-radius: 8px; */
	border: 1px solid #F0F2F5;
	border-left: none;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	align-self: stretch;
}

#custom-modal.my-team-view .status-icon {
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #999;
	margin-bottom: 12px;
	background-image: url('/static/new/images/724/icon-no-team.svg');
	background-size: cover;
	background-repeat: no-repeat;
}

#custom-modal.my-team-view .status-icon.active {
	width: 140px;
	height: 86px;
	background-image: url('/static/new/images/724/icon-active-team.svg');
}

#custom-modal.my-team-view .tier-status span {
	font-size: 24px;
	font-weight: 400;
	color: #333;
}

#custom-modal.my-team-view .tier-status p {
	font-size: 16px;
	color: #999;
	margin: 4px 0 0;
}

#custom-modal.my-team-view .team-qr-code-section {
	text-align: center;
	/* margin-top: 24px; */
	padding-top: 24px;
}

#custom-modal.my-team-view .qr-code-image {
	width: 140px;
	height: 140px;
	margin: 0 auto 12px;
	display: block;
}

#custom-modal.my-team-view .team-qr-code-section p {
	font-size: 12px;
	color: #999;
	margin: 0;
}

.refresh-team-icon {
	width: 20px;
	height: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' class='icon' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23CCC' d='M774.63 239.56c-66.918-71.698-162.516-114.717-267.673-114.717-210.315 0-382.391 172.076-382.391 382.391s172.076 382.392 382.391 382.392c176.856 0 325.032-124.278 368.052-286.793H774.632c-38.24 109.937-143.397 191.195-267.674 191.195-157.736 0-286.793-129.057-286.793-286.793 0-157.736 129.058-286.792 286.793-286.792 81.258 0 148.177 33.459 200.755 86.037L554.757 459.437h334.591V124.845z'/%3E%3C/svg%3E");
	background-size: cover;
	display: inline-block;
	background-color: transparent !important;
	vertical-align: middle;
	cursor: pointer;
}
#custom-modal.my-team-view .btn-quit {
	background-color: #F0F2F5;
	color: #333;
	border-color: #DCDFE6;
}

#custom-modal.my-team-view .btn-quit:hover {
	background-color: #e9ecef;
}

#custom-modal.my-team-view .btn-invite {
	background-color: #28a745;
	border-radius: 0;
	color: #fff;
}

#custom-modal.my-team-view .btn-invite:hover {
	background-color: #218838;
}


#custom-modal .add-member-item {
	cursor: pointer;
}

/* Message Loading Overlay */
#message-loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s ease-out;
}

#message-loading-overlay.show {
	display: flex;
	opacity: 1;
}

.loading-content {
	display: flex;
	align-items: center;
	background-color: #fff;
	padding: 20px 30px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.loading-spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-left-color: #FF0000;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	animation: spin 1s linear infinite;
	margin-right: 20px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.loading-text {
	font-size: 16px;
	font-weight: 500;
	color: #333;
}

.my-team-share-section {
	display: flex;
	gap: 20px;
	align-items: stretch;
	justify-content: center;
}

#claimed-coupons-section {
	display: none;
	flex: 1;
	padding-right: 20px;
}

#claimed-coupons-section h4 {
	text-align: center;
	padding-top: 24px;
	font-size: 18px;
	font-weight: 400;
	color: #333;
	margin: 0 0 16px;
	text-align: center;
}

#my-team-qr-section {
	flex: 1;
	padding-left: 20px;
}

.payment-content .qr-code-caption {
	margin-top: 5px;
}

#my-team-qr-code {
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.coupon-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 20px 0 0 0;
	overflow-y: auto;
	overflow-x: hidden;
	max-height: 154px;
}

.coupon-list-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.coupon-item {
	width: 200px;
	height: 67px;
	background-image: url('/static/new/images/724/coupon-bg.svg');
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 8px;
	/* border: 1px solid #FF0000; */
	box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
}

.coupon-title {
	font-size: 12px;
}

.coupon-item .coupon-content {
	display: flex;
}

.coupon-item .coupon-content .coupon-left {
	width: 72px;
}

.coupon-item .coupon-content .coupon-right {
	width: 130px;
	color: #888;
}

.coupon-item .coupon-content .coupon-left,
.coupon-item .coupon-content .coupon-right {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.coupon-item .coupon-content .coupon-price {
	font-size: 24px;
}

.coupon-item .coupon-content .coupon-price span {
	font-size: 12px;
}

.coupon-name {
	margin-top: 5px;
	font-size: 12px;
	font-weight: 500;
	opacity: .8;
}

.coupon-title {
	font-size: 14px;
	font-weight: 500;
}

.coupon-value {
	font-size: 12px;
	font-weight: bold;
	margin-top: 8px;
}

.coupon-footer {
	font-size: 12px;
	color: #999;
	margin-top: 8px;
	text-align: center;
}

/* 移动端团队表格样式 */
@media (max-width: 500px) {
	.activity-simulated-table.mobile-table-view {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border-radius: 16px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		padding: 10px;
	}

	.sm-flex-col {
		flex-direction: column;
	}

	.sm-hide {
		display: none !important;
	}

	.banner-content .banner-countdown:before {
		background-image: linear-gradient(#FF0000);
		height: calc(100% + 20px);
		width: 140%;
		border-radius: 8px;
		box-shadow: 0 0 13px rgba(0, 0, 0, 0.2);
		top: -8px;
	}

	.mobile-team-table {
		width: 100%;
		border-collapse: collapse;
		font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
		background: #fff;
		border-radius: 16px;
		overflow: hidden;
		min-width: 480px;
		/* 确保在小屏幕上有水平滚动 */
	}

	.mobile-team-table thead {
		background: linear-gradient(135deg, #67C23A 0%, #5AB532 100%);
	}

	.mobile-team-table th {
		padding: 12px 8px;
		text-align: center;
		font-weight: 600;
		font-size: 14px;
		color: #fff;
		border: none;
		position: relative;
	}

	.mobile-team-table th.product-col {
		width: 25%;
		text-align: left;
		padding-left: 16px;
	}

	.mobile-team-table th.price-col {
		width: 18.75%;
	}

	.mobile-team-table th.highlight {
		background: #ff6416;
		position: relative;
	}

	/* .mobile-team-table th.highlight::before {
                                                                                                                                                                                                                                                                                                      content: '推荐';
                                                                                                                                                                                                                                                                                                      position: absolute;
                                                                                                                                                                                                                                                                                                      top: -8px;
                                                                                                                                                                                                                                                                                                      right: 8px;
                                                                                                                                                                                                                                                                                                      background: #F56C6C;
                                                                                                                                                                                                                                                                                                      color: #fff;
                                                                                                                                                                                                                                                                                                      font-size: 10px;
                                                                                                                                                                                                                                                                                                      padding: 2px 6px;
                                                                                                                                                                                                                                                                                                      border-radius: 8px;
                                                                                                                                                                                                                                                                                                      transform: scale(0.8);
                                                                                                                                                                                                                                                                                                    } */
	.activity-container .initiate-team-btn {
		margin-top: 25px;
	}

	.w-\[1200px\] {
		width: 100%;
		padding: 20px;
	}

	#faq .w-\[1200px\] {
		flex-direction: column;
	}

	.mobile-team-table tbody tr {
		transition: background-color 0.2s ease;
	}

	.mobile-team-table tbody tr:hover {
		background-color: #f8f9fa;
	}

	.mobile-team-table td {
		padding: 12px 8px;
		text-align: center;
		border-bottom: 1px solid #ebeef5;
		vertical-align: middle;
	}

	.mobile-team-table .product-name {
		text-align: left;
		padding-left: 16px;
		font-weight: 600;
		font-size: 14px;
		color: #303133;
	}

	.mobile-team-table .even-row {
		background-color: #fafbfc;
	}

	.mobile-team-table .odd-row {
		background-color: #fff;
	}

	.mobile-team-table .price-display {
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.mobile-team-table .currency {
		font-size: 12px;
		color: #606266;
		font-weight: normal;
	}

	.mobile-team-table .amount {
		font-size: 16px;
		font-weight: 700;
		color: #303133;
	}

	.mobile-team-table .savings {
		font-size: 11px;
		color: #F56C6C;
		background: #FEF0F0;
		padding: 2px 6px;
		border-radius: 6px;
		font-weight: 500;
	}

	.mobile-team-table .team-price.highlight {
		background: linear-gradient(180deg, rgba(255, 249, 243, 1) 0%, rgba(255, 255, 255, 1) 100%);
		position: relative;
	}

	.mobile-team-table .team-price.highlight .amount {
		color: #ff6416;
	}

	.mobile-team-table .team-price.highlight .savings {
		background: #ff6416;
		color: #fff;
	}

	.mobile-team-table .discount-row {
		background: #f5f7fa !important;
		border-top: 2px solid #dcdfe6;
	}

	.mobile-team-table .discount-row .product-name {
		color: #ff6416;
		font-weight: 700;
	}

	.mobile-team-table .no-discount {
		font-size: 13px;
		color: #909399;
		font-weight: 500;
	}

	.mobile-team-table .discount-rate {
		font-size: 16px;
		font-weight: 700;
		color: #67C23A;
	}

	.mobile-team-table .discount-row .team-price.highlight .discount-rate {
		color: #ff6416;
	}

	/* 最后一行移除底部边框 */
	.mobile-team-table tbody tr:last-child td {
		border-bottom: none;
	}

	/* 响应式调整 */
	@media (max-width: 400px) {
		.mobile-team-table {
			min-width: 380px;
		}

		.mobile-team-table th,
		.mobile-team-table td {
			padding: 10px 6px;
		}

		.mobile-team-table th {
			font-size: 13px;
		}

		.mobile-team-table .amount {
			font-size: 15px;
		}

		.mobile-team-table .product-name {
			font-size: 13px;
			padding-left: 12px;
		}
	}
}

/* 确保桌面端不受影响 */
@media (min-width: 501px) {
	.mobile-team-table {
		display: none;
	}

	.activity-simulated-table.mobile-table-view {
		/* 重置移动端样式 */
		overflow-x: visible;
	}
}

/* 阶梯优惠表格响应式修复 */
.title-desc-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
}

@media screen and (max-width: 1420px) {
	.activity-simulated-table .table-body .table-body-tr {
		height: 50px;
	}

	.activity-simulated-table .table-header .table-header-th,
	.activity-simulated-table .table-body .table-body-td {
		height: 50px;
		padding: 0 10px;
	}

	.table-left {
		width: 200px;
	}

	.table-right {
		width: 100px;
	}

	.activity-simulated-table {
		width: 1200px;
	}
}


@media screen and (max-width: 1300px) {
	.activity-simulated-table .table-body .table-body-tr {
		height: 60px;
	}

	.activity-simulated-table .table-header .table-header-th,
	.activity-simulated-table .table-body .table-body-td {
		height: 60px;
		padding: 0 5px;
		display: flex;
		align-items: center;
	}

	.table-header-th .table-daily-price .title,
	.table-body-td .table-daily-price .title,
	.table-header .table-header-th .title {
		font-size: 12px;
	}

	.table-body-price .title {
		font-size: 16px;
	}

	.table-body-price .num {
		font-size: 20px;
	}

	.table-left {
		width: 200px;
	}

	.activity-simulated-table {
		width: 900px;
		padding: 2%;
	}

	.table-left-title {
		font-size: 12px;
		text-align: center;
	}

	.table-header .table-header-th .title {
		text-align: center;
	}

	.table-header .table-header-th .title .tips {
		display: none;
	}

	.title-desc-wrapper {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.table-body-price {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.table-body-price .discount {
		margin-left: 0;
		padding: 0 2px;
		font-size: 12px;
	}
}


@media screen and (max-width: 900px) {
	#team-coupon .container {
		width: 100%;
	}

	.activity-simulated-table {
		width: 100%;
	}

	.table-left {
		width: 130px;
	}

}

@media screen and (max-width: 700px) {
	.banner-new-container .banner-new-title {
		width: 95%;
	}
}

@media screen and (max-width: 600px) {
	#team-coupon .container {
		padding: 0;
		overflow-y: auto;
	}

	.activity-simulated-table {
		width: 600px;
		padding: 0;
	}
}
.tabs-wrapper .tab-item {
	position: relative;
}

.team-tips {
	position: absolute;
	left: -120%;
	top: 50%;
	transform: translateY(-50%);
	/* margin-left: 8px; */
	background: #ff4d4f;
	color: #fff;
	padding: 0 8px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	z-index: 1;
	height: 40px;
	line-height: 40px;
}

.team-tips::before {
	content: '';
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	border-width: 6px;
	border-style: solid;
	border-color: transparent transparent transparent #ff4d4f;
}

/* Message Toast styles */
#message-container {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	pointer-events: none;
}

.message-toast {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border: 1px solid #e8e8e8;
	width: auto;
	min-width: 280px;
	max-width: 380px;
	opacity: 0;
	transform: translateY(20px) scale(0.95);
	transition: transform 0.2s ease-out, opacity 0.2s ease-out;
	pointer-events: auto;
}

.message-toast.show {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.message-toast-icon {
	margin-right: 15px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.message-toast-content {
	flex-grow: 1;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

.message-toast-close {
	margin-left: 15px;
	cursor: pointer;
	font-size: 20px;
	color: #999;
	font-weight: bold;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.message-toast-close:hover {
	opacity: 1;
}

/* Type variations */
.message-toast-success .message-toast-icon {
	color: #52c41a;
}

.message-toast-error .message-toast-icon {
	color: #ff4d4f;
}

.message-toast-info .message-toast-icon {
	color: #1890ff;
}

.message-toast-warning .message-toast-icon {
	color: #faad14;
}

.message-toast-success {
	border-left: none;
}

.message-toast-error {
	border-left: none;
}

.message-toast-info {
	border-left: none;
}

.message-toast-warning {
	border-left: none;
}

/* Payment Modal Styles */
.modal-overlay.payment-view .modal-content {
	max-width: 950px;
	width: 100%;
	border-radius: 16px;
}

.payment-modal-container {
	font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.payment-modal-header {
	text-align: center;
	margin-bottom: 25px;
}

.payment-modal-title {
	font-size: 24px;
	font-weight: 600;
	color: #333;
}

.payment-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 25px;
	border-radius: 10px;
	background-color: #f0f2f5;
	padding: 5px;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.payment-tab {
	padding: 10px 30px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	color: #555;
	transition: all 0.3s ease;
	border-radius: 8px;
}

.payment-tab.active {
	background-color: #fff;
	color: #FF0000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.payment-content {
	display: flex;
	gap: 40px;
	padding: 20px 0;
}

.qr-code-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1;
	border-left: 1px solid #e8e8e8;
	padding: 0 10px;
}

.qr-code-wrapper {
	position: relative;
	border: 1px solid #e8e8e8;
	padding: 10px;
	border-radius: 8px;
	width: 180px;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.qr-code-wrapper .qr-code-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-color: white;
	border-radius: 4px;
	padding: 2px;
	display: none;
	/* 默认隐藏 */
}

.qr-code-wrapper .qr-code-icon.wx {
	background-image: url('/static/new/images/724/wechat.svg');
}

.qr-code-wrapper .qr-code-icon.ali {
	background-image: url('/static/new/images/724/alipay.svg');
}

.qr-code-image {
	width: 160px;
	height: 160px;
}

.qr-code-caption {
	font-size: 14px;
	color: #888;
	margin-top: 5px;
	text-align: center;
}

.payment-amount {
	font-size: 16px;
	font-weight: bold;
	color: #ff6416;
}

.payment-amount .amount-value {
	font-size: 28px;
	font-weight: bold;

}

.order-details {
	flex: 1.5;
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.detail-item {
	display: flex;
	align-items: flex-start;
	font-size: 15px;
}

.detail-item.coupon-info {
	align-items: center
}

.detail-item.market-price {
	color: #ff6416;
}

.detail-item .label {
	color: #666;
	width: 100px;
	flex-shrink: 0;
}

.detail-item .value {
	color: #333;
	font-weight: 500;
}

.detail-item .value.product-name-value {
	white-space: pre-line;
}

.coupon-select-wrapper {
	position: relative;
	width: 100%;
}

.coupon-select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #dcdfe6;
	border-radius: 4px;
	background-color: #fff;
	font-size: 14px;
	line-height: 1.5;
	color: #606266;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.coupon-select:focus {
	outline: none;
	border-color: #409eff;
}

.detail-item img {
	width: 20px;
	margin-right: 8px;
}

.payment-modal-footer {
	text-align: center;
	margin-top: 15px;
	color: #999;
	font-size: 13px;
}

/* Payment Success Styles */
.modal-overlay.payment-success-view .modal-content {
	max-width: 420px;
	border-radius: 20px;
	text-align: center;
	padding: 40px;
}

.payment-success-container {}

.success-icon-wrapper {
	margin-bottom: 25px;
}

.success-icon {
	width: 80px;
	height: 80px;
	display: inline-block;
}

.success-icon-circle {
	stroke-width: 2;
	stroke: #4CAF50;
	stroke-dasharray: 166;
	stroke-dashoffset: 166;
	animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-icon-checkmark {
	stroke-width: 3;
	stroke: #4CAF50;
	stroke-dasharray: 48;
	stroke-dashoffset: 48;
	animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
	100% {
		stroke-dashoffset: 0;
	}
}

.success-title {
	font-size: 28px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}

.success-message {
	font-size: 16px;
	color: #666;
	margin-bottom: 30px;
}

.btn-close-success {
	background-color: #007bff;
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.btn-close-success:hover {
	background-color: #0056b3;
}

/* Message Loading Overlay */
#message-loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s ease-out;
}

#message-loading-overlay.show {
	display: flex;
	opacity: 1;
}

.loading-content {
	display: flex;
	align-items: center;
	background-color: #fff;
	padding: 20px 30px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.loading-spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-left-color: #FF0000;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	animation: spin 1s linear infinite;
	margin-right: 20px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.loading-text {
	font-size: 16px;
	font-weight: 500;
	color: #333;
}
/* 活动说明 */
#team-coupon{
	position: relative;
}
.action-activity-desc{
	font-size: 12px;
	color: #999;
	position: absolute;
	bottom: -55px;
	left: 0;
	text-align: left;
}
/* 活动说明end */