body {
	background: #f3f6fb;
}

.auth-page,
.auth-page * {
	box-sizing: border-box;
	letter-spacing: 0;
}

.auth-page {
	min-height: calc(100vh - var(--h5-app-topbar, 56px) - var(--h5-app-navbar, 68px));
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: calc(var(--h5-app-topbar, 56px) + 16px) 14px calc(var(--h5-app-navbar, 68px) + 24px);
	background: #f3f6fb;
}

.auth-card {
	width: 100%;
	max-width: 430px;
	margin: 0 auto;
	padding: 22px 18px 20px;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
}

.auth-header {
	text-align: center;
	margin: 0 0 22px;
}

.auth-logo {
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
}

.auth-logo img {
	width: 46px;
	height: 46px;
	object-fit: contain;
}

.auth-header h1 {
	margin: 0;
	color: #172033;
	font-size: 23px;
	font-weight: 800;
	line-height: 1.24;
}

.auth-header p {
	margin: 8px 0 0;
	color: #667085;
	font-size: 14px;
	line-height: 1.5;
}

.auth-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: #344054;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.auth-section-title::before,
.auth-section-title::after {
	flex: 1;
	height: 1px;
	background: #e4e7ec;
	content: '';
}

.auth-form {
	width: 100%;
}

.auth-form .el-form {
	margin: 0 !important;
}

.auth-input-wrap {
	position: relative;
	margin-bottom: 14px !important;
}

.auth-input-icon {
	position: absolute;
	z-index: 2;
	top: 16px;
	left: 14px;
	color: #98a2b3;
	font-size: 18px;
	line-height: 1;
}

.auth-card .el-input__inner {
	height: 48px !important;
	line-height: 48px !important;
	padding: 0 14px 0 44px !important;
	border: 1px solid #d0d5dd !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: #172033 !important;
	font-size: 15px !important;
	box-shadow: none !important;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-card .el-input__inner:focus {
	border-color: #20a978 !important;
	box-shadow: 0 0 0 3px rgba(32, 169, 120, 0.14) !important;
}

.auth-card .el-form-item__error {
	padding-top: 4px;
	font-size: 12px;
}

.auth-primary-button.el-button {
	width: 100%;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 4px 0 0;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: #20a978 !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	text-transform: none;
	box-shadow: 0 8px 20px rgba(32, 169, 120, 0.22);
}

.auth-primary-button.el-button:hover,
.auth-primary-button.el-button:focus {
	background: #168b63 !important;
	box-shadow: 0 10px 22px rgba(32, 169, 120, 0.26) !important;
	transform: none;
}

.auth-primary-button i {
	font-size: 17px;
	font-weight: 800;
}

.auth-links,
.auth-info {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 0;
	color: #667085;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}

.auth-links a,
.auth-info a {
	color: #16835d !important;
	font-weight: 700;
	text-decoration: none !important;
}

.auth-divider-dot {
	width: 1px;
	height: 16px;
	background: #d0d5dd;
}

.auth-google {
	width: 100%;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #e4e7ec;
	text-align: center;
}

.auth-google-label {
	margin: 0 0 12px;
	color: #667085;
	font-size: 13px;
	font-weight: 700;
}

#google-signin-btn {
	min-height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

#google-signin-btn > div,
#google-signin-btn iframe {
	max-width: 100% !important;
}

.auth-google-fallback {
	width: 100%;
	min-height: 44px;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	background: #fff;
	color: #344054;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
}

.auth-google-fallback img {
	width: 18px;
	height: 18px;
}

.auth-google-fallback.visible {
	display: flex;
}

.auth-card .password-strength {
	height: 4px;
	margin-top: 8px;
	border-radius: 2px;
	background: #e4e7ec;
}

.auth-card .password-strength-bar {
	height: 100%;
	border-radius: inherit;
}

.auth-card .el-dialog {
	border-radius: 8px !important;
}

@media (min-width: 560px) {
	.auth-page {
		align-items: center;
	}
}

@media (max-width: 380px) {
	.auth-page {
		padding-right: 10px;
		padding-left: 10px;
	}

	.auth-card {
		padding: 20px 14px 18px;
	}

	.auth-header h1 {
		font-size: 21px;
	}

	.auth-links,
	.auth-info {
		gap: 8px;
		font-size: 13px;
	}
}
