/* Portal 登录 / 注册页辅助样式 */
.portal-auth-page {
	padding-bottom: 48px;
}
.portal-auth-form .form-group label {
	font-weight: 600;
}
.portal-auth-aside {
	margin-top: 1rem;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #e9ecef;
	text-align: center;
}
.portal-auth-qrcode img {
	display: block;
	margin: 0 auto 12px;
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}
.portal-auth-scan-text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #595959;
}
.portal-auth-back a {
	font-size: 0.875rem;
	color: #1890ff;
	text-decoration: none;
}
.portal-auth-back a:hover {
	text-decoration: underline;
}
@media (min-width: 992px) {
	.portal-auth-aside {
		margin-top: 2rem;
	}
}

.portal-auth-form [type=submit]:disabled {
	opacity: 0.72;
	cursor: wait;
}

.portal-auth-form .portal-auth-submit {
	background: var(--ec-blue);
	border-color: var(--ec-blue);
	color: var(--ec-white);
	min-height: 44px;
	padding: 0.5rem 1.5rem;
	font-weight: 600;
	border-radius: 6px;
	transition: background 0.2s var(--ec-ease-out), border-color 0.2s var(--ec-ease-out);
}
.portal-auth-form .portal-auth-submit:hover,
.portal-auth-form .portal-auth-submit:focus {
	background: var(--ec-blue-deep);
	border-color: var(--ec-blue-deep);
	color: var(--ec-white);
}
.portal-auth-form .portal-auth-submit:focus-visible {
	outline: 2px solid var(--ec-blue);
	outline-offset: 2px;
	box-shadow: none;
}

/* 登录反馈 — 居中弹窗 */
.portal-auth-notify {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2100;
	align-items: center;
	justify-content: center;
	padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
	box-sizing: border-box;
}
.portal-auth-notify.is-open {
	display: flex;
}
.portal-auth-notify-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
}
.portal-auth-notify-box {
	position: relative;
	width: 100%;
	max-width: 360px;
	padding: 32px 28px 24px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
	text-align: center;
	animation: portalAuthNotifyIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes portalAuthNotifyIn {
	from {
		opacity: 0;
		transform: scale(0.92) translateY(12px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}
.portal-auth-notify-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	font-size: 1.75rem;
	color: #fff;
}
.portal-auth-notify-icon.is-success {
	background: linear-gradient(135deg, #69c0ff 0%, #1890ff 100%);
	box-shadow: 0 8px 24px rgba(24, 144, 255, 0.35);
}
.portal-auth-notify-icon.is-error {
	background: linear-gradient(135deg, #ff7875 0%, #f5222d 100%);
	box-shadow: 0 8px 24px rgba(245, 34, 45, 0.3);
}
.portal-auth-notify-title {
	margin: 0 0 8px;
	font-size: 1.25rem;
	font-weight: 700;
	color: #262626;
	line-height: 1.4;
}
.portal-auth-notify-msg {
	margin: 0 0 4px;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #595959;
}
.portal-auth-notify-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	min-height: 40px;
	padding: 0 20px;
	border: none;
	border-radius: 8px;
	background: #1890ff;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
}
.portal-auth-notify-btn:hover {
	background: #096dd9;
	box-shadow: 0 4px 12px rgba(9, 109, 217, 0.35);
}
.portal-auth-notify-btn:focus-visible {
	outline: 2px solid #1890ff;
	outline-offset: 2px;
}
@media (max-width: 575px) {
	.portal-auth-notify-box {
		padding: 28px 22px 20px;
	}
}
