
@font-face {
  font-family: "HNforTELUSDisplay";
  src: url('/resources/HNforTELUS/HNforTELUSDisplay_normal_normal.woff') format('woff2'), url('/resources/HNforTELUS/HNforTELUSDisplay_normal_normal.woff') format('woff');
}

@font-face {
  font-family: "HNforTELUSDisplayBold";
  src: url('/resources/HNforTELUS/HNforTELUSDisplayBold_normal_normal.woff2') format('woff2'), url('/resources/HNforTELUS/HNforTELUSDisplayBold_normal_normal.woff') format('woff');
}

/* 全局样式重置 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	height: 100%;
	font-family: HNforTELUSDisplay;
}

.telusfont {
	font-family: HNforTELUSDisplayBold;
	font-size: 15px;
	color: #CF3493;
	text-align: center;
	margin: 0 0 20px 0;
}

#error_info {
	margin: 10px 0;
}

/* 主容器 - Flex 布局核心 */
.sign-in-container {
	display: flex;
	height: 100vh;
}

.left {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 50px 20px 0 20px;
	position: relative;
}

.right {
	flex: 1;
	background: url(/resources/v1/images/merchandiser2.jpg);
	background-size: cover;
}

/* 内容区域 */
.content-form, .title-div, .login-div, .reset-div, .lock-div{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 400px;
}

.logo {
	margin-bottom: 20px;
}

.title {
	font-family: HNforTELUSDisplayBold;
	font-size: 30px;
	color: #65299E;
	margin-bottom: 75px;
	text-align: center;
}

.input-container {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 400px;
	gap: 10px;
}

.verify_tr {
	margin-bottom: 10px;
}

.input-field {
	background: #F5F5F5;
	height: 40px;
	width: 100%;
	max-width: 400px;
	border-radius: 8px;
	line-height: 40px;
	text-align: center;
	font-family: HNforTELUSDisplay;
	font-size: 18px!important;
	color: #333333;
	margin-bottom: 10px;
	padding: 0 10px;
	box-shadow: none;
	border: none;
	outline: none;
}

.input-field.placeholder,
.input-field::placeholder {
	color: #AAAAAA;
	transition: opacity 0.2s ease, color 0.3s ease;
}

.input-field.password {
	padding-top: 15px;
}

.password-dot {
	background-image: url(/resources/v1/images/password_dot.svg);
	width: 10px;
	height: 10px;
	margin-right: 3px;
	display: inline-block;
}

/* 验证码输入框*/
.captcha-input {
	flex: 2;
	background: #F5F5F5;
	height: 40px;
	border-radius: 8px;
	border: none;
	outline: none;
	text-align: center;
	font-family: HNforTELUSDisplay;
	font-size: 18px;
	color: #333333;
	box-shadow: none;
	padding: 0 10px;
}

.captcha-input::placeholder {
	color: #AAAAAA;
}

.captcha-image {
	flex: 1;
	height: 40px;
	border-radius: 8px;
	overflow: hidden;
	background: #F5F5F5;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
	cursor: pointer;
}

.captcha-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	box-shadow: none;
}

/* 有焦点后变透明 */
.input-field:focus::placeholder,
.captcha-input:focus::placeholder {
	opacity: 0 !important;
}

.sign-in-button {
	background: #65299E;
	height: 40px;
	width: 100%;
	max-width: 400px;
	border-radius: 8px;
	line-height: 40px;
	font-size: 18px;
	color: #FFFFFF;
	cursor: pointer;
	border: none;
	margin-bottom: 10px;
	font-family: inherit;
	text-align: center;
	/* 新增过渡效果 */
	transition: all 0.2s ease;
	/* 新增阴影增强立体感 */
	box-shadow: 0 2px 4px rgba(101, 41, 158, 0.2);
	/* 防止文字选中 */
	user-select: none;
}

/* 悬浮效果 */
#login_arrow.sign-in-button:hover:not(:disabled):not(.disabled) {
	background: #7530B2;
	box-shadow: 0 4px 8px rgba(101, 41, 158, 0.3);
	transform: translateY(-1px);
}

/* 点击效果 */
#login_arrow.sign-in-button:active:not(:disabled):not(.disabled) {
	background: #5A248E;
	box-shadow: 0 1px 2px rgba(101, 41, 158, 0.2);
	transform: translateY(1px);
}

.sign-in-button:disabled,
.sign-in-button.disabled {
	background: #B3A0C2;
	cursor: not-allowed;
	opacity: 0.7;
	transform: none;
	box-shadow: none;
}

.loading {
	position: relative;
	pointer-events: none;
}

.loading::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	border: 2px solid #ffffff;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to { transform: translateY(-50%) rotate(360deg); }
}

.forgot-password {
	font-size: 15px;
	color: #65299E;
	text-decoration: none;
	margin-bottom: 30px;
}

.microsoft-signin {
	background: #E0D4EC;
	color: #65299E;
	box-shadow: 0 2px 3px rgba(101, 41, 158, 0.08);
	margin-bottom: 20px;
}

.microsoft-signin:hover:not(:disabled):not(.disabled) {
	background: #E9E0F0;
	box-shadow: 0 3px 6px rgba(101, 41, 158, 0.12);
	transform: translateY(-1px);
}

.microsoft-signin:active:not(:disabled):not(.disabled) {
	background: #D5C8E2;
	box-shadow: 0 1px 2px rgba(101, 41, 158, 0.06);
	transform: translateY(1px);
}

/* 底部 banner 区域 */
.banner {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.banner-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 30px 30px;
	background: #FFFFFF;
}

.language-switcher {
	display: flex;
}

.language {
	background: #E0D4EC;
	height: 20px;
	line-height: 19px;
	font-size: 14px;
	color: #65299E;
	cursor: pointer;
	padding: 0 8px;
	text-align: center;
	text-decoration: none;
	transition: all 0.2s ease;
	display: inline-block;
	box-shadow: 0 1px 2px rgba(101, 41, 158, 0.08);
	user-select: none;
}

.language:hover:not(.selected) {
	background: #E9E0F0;
	box-shadow: 0 2px 4px rgba(101, 41, 158, 0.12);
	transform: translateY(-1px);
}

.language:active:not(.selected) {
	background: #D5C8E2;
	box-shadow: 0 1px 2px rgba(101, 41, 158, 0.08);
	transform: translateY(1px);
}

.language.selected {
	background: #65299E;
	color: #FFFFFF;
	cursor: default;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
	transform: none;
}

.language.left {
	border-radius: 4px 0 0 4px;
}

.language.right {
	border-radius: 0 4px 4px 0;
}

.copyright {
	font-size: 14px;
	color: #65299E;
	text-align: center;
}

.privacy-terms {
	font-size: 14px;
	color: #65299E;
	text-decoration: none;
}

.banner-middle {
	background: #CF3493;
	color: #FFFFFF;
	font-family: HNforTELUSDisplayBold;
	font-size: 15px;
	text-align: center;
	padding: 20px 0;
	margin: 0 -20px;
}

.banner-bottom {
	background: #FFFFFF;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px 0;
	gap: 30px;
}

.icp-info {
	font-size: 14px;
	color: #AAAAAA;
	text-decoration: none;
}

.sign-in-icon.hand {
	background-image: url("/resources/v1/images/sign_in_hand.svg");
	width: 50px;
	height: 50px;
	margin-bottom: 20px;
}

.sign-in-icon.locked {
	background-image: url("/resources/v1/images/sign_in_locked.svg");
	width: 50px;
	height: 50px;
	margin-bottom: 20px;
}

.sign-in-icon.sent {
	background-image: url("/resources/v1/images/sign_in_sent.svg");
	width: 50px;
	height: 50px;
	margin-bottom: 20px;
}

.translatable {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
	transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: opacity, transform; /* 硬件加速 */
}

.translatable.fade-out {
	opacity: 0;
	transform: translateY(5px);
}

/* 骨架屏 */
.skeleton-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: opacity 0.5s ease-out;
}

.skeleton-hidden {
	opacity: 0;
	pointer-events: none;
}

/* 动画效果 */
.skeleton-shimmer {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}

.skeleton-container {
	display: flex;
	height: 100vh;
}

.skeleton-left {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 50px 20px 0 20px;
	/*min-width: 300px;*/
}

.skeleton-right {
	flex: 1;
	background-color: #f8f8f8;
	min-height: 100%;
}

.skeleton-logo {
	width: 220px;
	height: 22px;
	border-radius: 4px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
}

.skeleton-title {
	width: 300px;
	height: 30px;
	border-radius: 4px;
	margin-bottom: 75px;
	margin-left: auto;
	margin-right: auto;
}

.skeleton-input {
	width: 400px;
	height: 40px;
	border-radius: 8px;
	margin-bottom: 10px;
}

.skeleton-button {
	width: 400px;
	height: 40px;
	border-radius: 8px;
	margin-bottom: 10px;
}

.skeleton-link {
	width: 150px;
	height: 18px;
	border-radius: 4px;
	margin-bottom: 30px;
	margin-left: auto;
	margin-right: auto;
}

.skeleton-banner {
	width: 100%;
}

.skeleton-banner-top {
	height: 20px;
	margin-bottom: 30px;
	border-radius: 4px;
}

.skeleton-banner-middle {
	height: 50px;
	margin-bottom: 10px;
	border-radius: 4px;
}

.skeleton-banner-bottom {
	height: 60px;
	border-radius: 4px;
}

.click-url {
	cursor: pointer;
}
.no-hover-url {
	color: inherit;
	text-decoration: inherit;
	pointer-events: none;
	outline: none;
}