/**
 * Account login page styles.
 *
 * Location: /assets/css/frontend/account/auth-login.css
 *
 * @package SunTechPortal
 */

html,
body.suntech-portal-auth-document {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	background: #f3f4f6;
}

body.suntech-portal-auth-document {
	overflow-x: hidden;
}

.suntech-portal-auth-document__wrap {
	min-height: 100vh;
}

.stp-auth-page--login {
	--stp-auth-primary: #ff5a00;
	--stp-auth-primary-dark: #d94d00;
	--stp-auth-text: #071326;
	--stp-auth-muted: #4f5f73;
	--stp-auth-border: #d4dce7;
	--stp-auth-field: #cbd5e1;
	--stp-auth-soft-orange: #fff7ed;

	position: relative;
	display: grid;
	min-height: 100vh;
	background: #f3f4f6;
	color: var(--stp-auth-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.stp-auth-page--login *,
.stp-auth-page--login *::before,
.stp-auth-page--login *::after {
	box-sizing: border-box;
}

.stp-auth-page--login a {
	color: inherit;
	text-decoration: none;
}

.stp-auth-page--login a:hover,
.stp-auth-page--login a:focus {
	text-decoration: none;
}

.stp-auth-page--login .stp-auth-back {
	position: fixed;
	top: 22px;
	left: 32px;
	z-index: 20;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 16px;
	border: 1px solid var(--stp-auth-border);
	border-radius: 999px;
	background: #ffffff;
	color: var(--stp-auth-text);
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.stp-auth-page--login .stp-auth-back .dashicons {
	width: 15px;
	height: 15px;
	color: #0f172a;
	font-size: 15px;
	line-height: 1;
}

.stp-auth-page--login .stp-auth-back:hover,
.stp-auth-page--login .stp-auth-back:focus {
	border-color: #fed7aa;
	background: var(--stp-auth-soft-orange);
	color: var(--stp-auth-primary-dark);
	outline: none;
}

.stp-auth-page--login .stp-auth-back:hover .dashicons,
.stp-auth-page--login .stp-auth-back:focus .dashicons {
	color: var(--stp-auth-primary-dark);
}

.stp-auth-page--login .stp-auth-shell {
	display: grid;
	grid-template-columns: minmax(420px, 1fr) minmax(360px, 450px);
	gap: clamp(46px, 7vw, 100px);
	align-items: center;
	width: min(1100px, calc(100% - 56px));
	min-height: 100vh;
	margin: 0 auto;
	padding: 56px 0 30px;
}

.stp-auth-page--login .stp-auth-identity {
	display: grid;
	align-content: center;
	gap: 18px;
	max-width: 620px;
}

.stp-auth-page--login .stp-auth-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	width: fit-content;
	max-width: 100%;
	color: var(--stp-auth-text);
}

.stp-auth-page--login .stp-auth-brand__logo {
	display: block;
	width: auto;
	max-width: 76px;
	max-height: 76px;
	object-fit: contain;
}

.stp-auth-page--login .stp-auth-brand__mark {
	position: relative;
	display: block;
	width: 56px;
	height: 56px;
	flex: 0 0 auto;
	border: 1px solid #fed7aa;
	border-radius: 999px;
	background: #fff3e8;
}

.stp-auth-page--login .stp-auth-brand__mark::before,
.stp-auth-page--login .stp-auth-brand__mark::after {
	content: "";
	position: absolute;
	border: 4px solid var(--stp-auth-primary);
	border-left-color: transparent;
	border-bottom-color: transparent;
	border-radius: 999px;
	transform: rotate(24deg);
}

.stp-auth-page--login .stp-auth-brand__mark::before {
	inset: 12px;
}

.stp-auth-page--login .stp-auth-brand__mark::after {
	inset: 21px;
}

.stp-auth-page--login .stp-auth-brand__text {
	display: block;
	min-width: 0;
}

.stp-auth-page--login .stp-auth-brand__text strong {
	display: block;
	color: var(--stp-auth-text);
	font-size: clamp(31px, 3vw, 43px);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 1.02;
}

.stp-auth-page--login .stp-auth-identity__content {
	display: grid;
	gap: 11px;
}

.stp-auth-page--login .stp-auth-identity__content h1,
.stp-auth-page--login .stp-auth-identity__content p {
	margin: 0;
}

.stp-auth-page--login .stp-auth-identity__content h1 {
	max-width: 660px;
	color: var(--stp-auth-text);
	font-size: clamp(34px, 3.25vw, 45px);
	font-weight: 900;
	letter-spacing: -0.065em;
	line-height: 1.08;
}

.stp-auth-page--login .stp-auth-identity__content h1 span {
	display: block;
	white-space: nowrap;
}

.stp-auth-page--login .stp-auth-identity__content p {
	max-width: 590px;
	color: var(--stp-auth-muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.58;
}

.stp-auth-page--login .stp-auth-highlights {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 6px;
}

.stp-auth-page--login .stp-auth-highlight {
	display: grid;
	gap: 7px;
	min-height: 118px;
	padding: 14px 13px;
	border: 1px solid var(--stp-auth-border);
	border-radius: 15px;
	background: #ffffff;
}

.stp-auth-page--login .stp-auth-highlight .dashicons {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: var(--stp-auth-soft-orange);
	color: #0f172a;
	font-size: 17px;
	line-height: 32px;
}

.stp-auth-page--login .stp-auth-highlight strong,
.stp-auth-page--login .stp-auth-highlight small {
	display: block;
	margin: 0;
}

.stp-auth-page--login .stp-auth-highlight strong {
	color: var(--stp-auth-text);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
}

.stp-auth-page--login .stp-auth-highlight small {
	color: var(--stp-auth-muted);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
}

.stp-auth-page--login .stp-auth-card {
	display: grid;
	gap: 11px;
	width: 100%;
	padding: 22px 24px;
	border: 1px solid var(--stp-auth-border);
	border-radius: 17px;
	background: #ffffff;
}

.stp-auth-page--login .stp-auth-card__head {
	display: grid;
	gap: 3px;
}

.stp-auth-page--login .stp-auth-card__head h2,
.stp-auth-page--login .stp-auth-card__head p {
	margin: 0;
}

.stp-auth-page--login .stp-auth-card__head h2 {
	color: var(--stp-auth-text);
	font-size: 25px;
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 1.1;
}

.stp-auth-page--login .stp-auth-card__head p {
	color: var(--stp-auth-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.stp-auth-page--login .stp-auth-notice {
	padding: 8px 10px;
	border: 1px solid #fed7aa;
	border-radius: 10px;
	background: var(--stp-auth-soft-orange);
	color: var(--stp-auth-primary-dark);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
}

.stp-auth-page--login .stp-auth-notice--registered,
.stp-auth-page--login .stp-auth-notice--password-sent {
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #15803d;
}

.stp-auth-page--login .stp-auth-form {
	display: grid;
	gap: 10px;
}

.stp-auth-page--login .stp-auth-field {
	display: grid;
	gap: 4px;
	margin: 0;
	color: var(--stp-auth-text);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
}

.stp-auth-page--login .stp-auth-field input,
.stp-auth-page--login .stp-auth-password input {
	display: block;
	width: 100%;
	min-height: 40px;
	padding: 0 11px;
	border: 1px solid var(--stp-auth-field);
	border-radius: 9px;
	background: #ffffff;
	color: var(--stp-auth-text);
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	outline: none;
	box-shadow: none;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

.stp-auth-page--login .stp-auth-field input:focus,
.stp-auth-page--login .stp-auth-password input:focus {
	border-color: var(--stp-auth-primary);
	background: #ffffff;
}

.stp-auth-page--login .stp-auth-password {
	position: relative;
	display: block;
}

.stp-auth-page--login .stp-auth-password input {
	padding-right: 56px;
}

.stp-auth-page--login .stp-auth-password button {
	position: absolute;
	top: 50%;
	right: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 26px;
	padding: 0 8px;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	background: var(--stp-auth-soft-orange);
	color: var(--stp-auth-primary-dark);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.stp-auth-page--login .stp-auth-password button:hover,
.stp-auth-page--login .stp-auth-password button:focus {
	border-color: var(--stp-auth-primary);
	background: var(--stp-auth-primary);
	color: #ffffff;
	outline: none;
}

.stp-auth-page--login .stp-auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.stp-auth-page--login .stp-auth-remember {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: var(--stp-auth-text);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
}

.stp-auth-page--login .stp-auth-remember input {
	width: 15px;
	height: 15px;
	margin: 0;
	flex: 0 0 auto;
	accent-color: var(--stp-auth-primary);
}

.stp-auth-page--login .stp-auth-link {
	color: var(--stp-auth-primary-dark);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
}

.stp-auth-page--login .stp-auth-link:hover,
.stp-auth-page--login .stp-auth-link:focus {
	color: var(--stp-auth-primary);
	outline: none;
}

.stp-auth-page--login .stp-auth-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	padding: 0 15px;
	border: 1px solid var(--stp-auth-primary);
	border-radius: 10px;
	background: var(--stp-auth-primary);
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

.stp-auth-page--login .stp-auth-submit:hover,
.stp-auth-page--login .stp-auth-submit:focus {
	border-color: var(--stp-auth-primary-dark);
	background: var(--stp-auth-primary-dark);
	color: #ffffff;
	outline: none;
}

.stp-auth-page--login .stp-auth-submit:disabled {
	cursor: wait;
	opacity: 0.75;
}

.stp-auth-page--login .stp-auth-switch {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
}

.stp-auth-page--login .stp-auth-switch span {
	color: var(--stp-auth-muted);
	font-size: 11px;
	font-weight: 600;
}

.stp-auth-page--login .stp-auth-switch a {
	color: var(--stp-auth-primary-dark);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
}

.stp-auth-page--login .stp-auth-switch a:hover,
.stp-auth-page--login .stp-auth-switch a:focus {
	color: var(--stp-auth-primary);
	outline: none;
}

@media (max-width: 1180px) {
	.stp-auth-page--login .stp-auth-back {
		top: 18px;
		left: 24px;
		min-height: 36px;
		padding: 0 13px;
		font-size: 11px;
	}

	.stp-auth-page--login .stp-auth-shell {
		grid-template-columns: 1fr;
		width: min(500px, calc(100% - 64px));
		min-height: 100vh;
		padding: 70px 0 24px;
	}

	.stp-auth-page--login .stp-auth-identity {
		display: none;
	}

	.stp-auth-page--login .stp-auth-card {
		width: 100%;
		max-width: 450px;
		margin: 0 auto;
		padding: 22px 24px;
		border-radius: 17px;
	}
}

@media (max-width: 640px) {
	.stp-auth-page--login .stp-auth-back {
		top: 16px;
		left: 18px;
	}

	.stp-auth-page--login .stp-auth-shell {
		width: min(450px, calc(100% - 44px));
		padding: 66px 0 18px;
	}

	.stp-auth-page--login .stp-auth-card {
		max-width: 450px;
		padding: 22px 18px;
		border-radius: 17px;
	}

	.stp-auth-page--login .stp-auth-row {
		flex-wrap: wrap;
	}

	.stp-auth-page--login .stp-auth-submit {
		min-height: 40px;
		font-size: 13px;
	}

	.stp-auth-page--login .stp-auth-switch {
		flex-wrap: wrap;
	}
}

@media (max-width: 420px) {
	.stp-auth-page--login .stp-auth-shell {
		width: calc(100% - 32px);
	}

	.stp-auth-page--login .stp-auth-card {
		padding-right: 16px;
		padding-left: 16px;
	}
}