/* 登录页样式修复 */

/* 覆盖 login.css 中把 logo 整张图变白的 filter，并去掉白底/边框，按横向 logo 比例调整尺寸 */
/* login.css 中 .login .login-container .brand-div .brand-content #brand-logo-img 优先级为 (0,1,4,0)，这里用同层级 + 多类名压住它 */
.login .login-container .brand-div .brand-content #brand-logo-img.brand-logo-image {
	display: block;
	width: auto;
	max-width: 18rem;
	height: auto;
	max-height: 4.5rem;
	margin: 0 auto 2rem;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	-webkit-filter: none;
	filter: none;
	object-fit: contain;
}
.brand-logo-image{
	max-width: 25rem;
	width:25rem;
}

/* 响应式下原 login.css 也用嵌套规则改了尺寸，这里同样压住 */
@media (max-width: 64rem) {
	.login .login-container .brand-div .brand-content #brand-logo-img.brand-logo-image {
		width: auto;
		height: auto;
		max-width: 15rem;
		max-height: 3.75rem;
		margin: 0 auto 1.5rem;
	}
}

.brand-logo-fallback {
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
}

.action-btn-note {
	display: block;
	font-size: 0.75rem;
	line-height: 1.2;
}

.action-btn-trial {
	gap: 0.75rem;
}

.action-btn-copy {
	align-items: flex-start;
	line-height: 1.2;
}

.action-btn-copy > span:first-child {
	display: block;
}

.brand-features .feature-item:nth-child(1) {
	animation-delay: 0s;
}

.brand-features .feature-item:nth-child(2) {
	animation-delay: 0.2s;
}

.brand-features .feature-item:nth-child(3) {
	animation-delay: 0.4s;
}

.brand-features .feature-item:nth-child(4) {
	animation-delay: 0.6s;
}

/* 申请试用弹窗 */
.trial-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}

.trial-modal.is-open {
	display: flex;
}

.trial-modal-mask {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	-webkit-backdrop-filter: blur(0.25rem);
	backdrop-filter: blur(0.25rem);
}

.trial-modal-dialog {
	position: relative;
	background: #ffffff;
	border-radius: 1rem;
	padding: 2rem 2.25rem 1.75rem;
	width: min(22rem, 92vw);
	box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.25);
	text-align: center;
	animation: trialPopIn 0.22s ease-out;
}

@keyframes trialPopIn {
	from { transform: scale(0.94); opacity: 0; }
	to   { transform: scale(1);    opacity: 1; }
}

.trial-modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2rem;
	height: 2rem;
	border: none;
	background: transparent;
	color: #6b7280;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.2s ease, color 0.2s ease;
}

.trial-modal-close:hover {
	background: #f3f4f6;
	color: #1f2937;
}

.trial-modal-close i {
	width: 1.125rem;
	height: 1.125rem;
}

.trial-modal-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 0.5rem;
}

.trial-modal-sub {
	font-size: 0.875rem;
	color: #6b7280;
	margin: 0 0 1.25rem;
}

.trial-modal-qr {
	width: 12rem;
	height: 12rem;
	margin: 0 auto 1rem;
	padding: 0.5rem;
	border: 0.0625rem solid #e5e7eb;
	border-radius: 0.75rem;
	background: #ffffff;
}

.trial-modal-qr img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.trial-modal-tel {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #f0f9ff;
	color: #1e40af;
	font-weight: 600;
	font-size: 1rem;
	padding: 0.5rem 1rem;
	border-radius: 999px;
}

.trial-modal-tel i {
	width: 1rem;
	height: 1rem;
}
