@charset "utf-8";

/* 与统一登录页 icon-bukeshi / icon-keshi 使用同一个图标字体。 */
@font-face {
	font-family: "hmy-login-eye";
	src: url("https://at.alicdn.com/t/font_1778269_y5rqr8ka6en.woff2?t=1587871719805") format("woff2"),
		url("https://at.alicdn.com/t/font_1778269_y5rqr8ka6en.woff?t=1587871719805") format("woff"),
		url("https://at.alicdn.com/t/font_1778269_y5rqr8ka6en.ttf?t=1587871719805") format("truetype");
	font-style: normal;
	font-weight: normal;
	font-display: block;
}

/*
 * 登录用户弱密码强制修改弹窗。
 * 项目根字号随屏宽变化；以 375px 宽度下 22px = 1rem 为基准还原设计稿。
 */
html.hmy-account-security-locked,
body.hmy-account-security-locked {
	overflow: hidden !important;
	height: 100% !important;
}

.hmy-account-security-mask {
	position: fixed;
	z-index: 2147483646;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 0.909rem 0;
	background: rgba(31, 38, 40, 0.4);
	font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
	-webkit-tap-highlight-color: transparent;
	touch-action: none;
}

.hmy-account-security-dialog {
	position: relative;
	box-sizing: border-box;
	width: 88.8vw;
	max-width: 15.136rem;
	min-height: 19.545rem;
	padding: 0.909rem 0.932rem 1rem;
	overflow: hidden;
	background: -webkit-linear-gradient(top, rgba(31, 194, 150, 0.24) 0%, rgba(31, 194, 150, 0) 40%), #fff;
	background: linear-gradient(180deg, rgba(31, 194, 150, 0.24) 0%, rgba(31, 194, 150, 0) 40%), #fff;
	border: 0.091rem solid rgba(255, 255, 255, 0.4);
	border-radius: 0.364rem;
	color: #333;
	text-align: center;
	box-shadow: 0 0.182rem 0.818rem rgba(0, 0, 0, 0.04);
}

.hmy-account-security-icon {
	display: block;
	width: 2.909rem;
	height: 2.909rem;
	margin: 0 auto;
	object-fit: contain;
}

.hmy-account-security-title {
	margin-top: 0.273rem;
	font-size: 0.773rem;
	font-weight: 700;
	line-height: 1.091rem;
	color: #333;
}

.hmy-account-security-description {
	margin-top: 0.227rem;
	font-size: 0.636rem;
	font-weight: 400;
	line-height: 1rem;
	color: #666;
}

.hmy-account-security-mobile-tip {
	margin-top: 0.909rem;
	font-size: 0.636rem;
	font-weight: 700;
	line-height: 1rem;
	color: #333;
}

.hmy-account-security-field {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	height: 2rem;
	margin-top: 0.364rem;
	background: #f8f8f8;
	border-radius: 0.364rem;
}

.hmy-account-security-password-field {
	margin-top: 0.545rem;
}

input.hmy-account-security-input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 2rem;
	padding: 0 0.591rem;
	background: transparent;
	border: 0 !important;
	border-radius: 0.364rem !important;
	outline: none;
	box-shadow: none !important;
	color: #333;
	font-family: inherit;
	font-size: 0.591rem;
	font-weight: 400;
	line-height: 2rem;
	-webkit-appearance: none;
	appearance: none;
}

.hmy-account-security-code-input {
	padding-right: 4.455rem;
}

.hmy-account-security-password-input {
	padding-right: 2.091rem;
}

.hmy-account-security-input::-webkit-input-placeholder {
	color: #ccc;
	opacity: 1;
}

.hmy-account-security-input::-moz-placeholder {
	color: #ccc;
	opacity: 1;
}

.hmy-account-security-input:-ms-input-placeholder {
	color: #ccc;
	opacity: 1;
}

.hmy-account-security-input::placeholder {
	color: #ccc;
	opacity: 1;
}

.hmy-account-security-send-code {
	position: absolute;
	top: 0;
	right: 0;
	box-sizing: border-box;
	min-width: 4.273rem;
	height: 2rem;
	padding: 0 0.591rem 0 0.273rem;
	background: transparent;
	border: 0;
	outline: none;
	color: #83dec8;
	font-family: inherit;
	font-size: 0.591rem;
	font-weight: 400;
	line-height: 2rem;
	text-align: right;
	white-space: nowrap;
	cursor: pointer;
	-webkit-appearance: none;
}

.hmy-account-security-send-code[disabled] {
	color: #b8d9d1;
	cursor: default;
}

.hmy-account-security-eye {
	position: absolute;
	top: 0;
	right: 0.182rem;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	background: transparent;
	border: 0;
	outline: none;
	color: #bbb;
	cursor: pointer;
	-webkit-appearance: none;
}

.hmy-account-security-eye::before {
	font-family: "hmy-login-eye" !important;
	font-size: 0.909rem;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	content: "\e600";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.hmy-account-security-eye.is-password-visible::before {
	content: "\e601";
}

.hmy-account-security-save {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 1.818rem;
	margin-top: 0.909rem;
	padding: 0;
	background: #1fc296;
	border: 0;
	border-radius: 0.364rem;
	outline: none;
	color: #fff;
	font-family: inherit;
	font-size: 0.636rem;
	font-weight: 700;
	line-height: 1.818rem;
	text-align: center;
	cursor: pointer;
	-webkit-appearance: none;
}

.hmy-account-security-save[disabled] {
	opacity: 0.65;
	cursor: default;
}

.hmy-account-security-footer-tip {
	margin-top: 0.455rem;
	font-size: 0.5rem;
	font-weight: 400;
	line-height: 0.818rem;
	color: #999;
	white-space: nowrap;
}

.hmy-account-security-toast {
	position: absolute;
	z-index: 2;
	top: 4.182rem;
	left: 50%;
	box-sizing: border-box;
	max-width: calc(100% - 1.909rem);
	padding: 0.318rem 0.545rem;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	background: rgba(51, 51, 51, 0.88);
	border-radius: 0.182rem;
	color: #fff;
	font-size: 0.545rem;
	line-height: 0.818rem;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	-webkit-transition: opacity 0.18s ease;
	transition: opacity 0.18s ease;
}

.hmy-account-security-toast.is-visible {
	opacity: 1;
}

@media only screen and (max-width: 340px) {
	.hmy-account-security-dialog {
		width: calc(100vw - 1.2rem);
		min-height: 20.4rem;
		padding-right: 0.8rem;
		padding-left: 0.8rem;
	}

	.hmy-account-security-icon {
		width: 2.8rem;
		height: 2.8rem;
	}

	.hmy-account-security-mobile-tip {
		margin-top: 0.75rem;
	}

	.hmy-account-security-save {
		margin-top: 0.8rem;
	}

	.hmy-account-security-footer-tip {
		font-size: 0.5rem;
	}
}

@media only screen and (max-height: 520px) {
	.hmy-account-security-mask {
		-webkit-box-align: start;
		-webkit-align-items: flex-start;
		align-items: flex-start;
		overflow-y: auto;
	}
}
