html,
body.page-login {
	min-height: 100%;
	margin: 0;
	background: #fff;
}

body.page-login .wp-site-blocks {
	min-height: 100vh;
	padding: 0;
}

.ju-login-main {
	min-height: 100vh;
}

.ju-otp-login {
	position: relative;
	display: flex;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
	padding: 90px 24px;
	color: #171717;
	font-family: Arial, Helvetica, sans-serif;
}

.ju-otp-login__brand {
	position: absolute;
	top: 42px;
	left: 50%;
	color: #111;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
	transform: translateX(-50%);
	white-space: nowrap;
}

.ju-otp-login__panel {
	width: 100%;
	max-width: 408px;
}

.ju-otp-login__step {
	display: none;
}

.ju-otp-login__step.is-active {
	display: block;
}

.ju-otp-login__step h1 {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
}

.ju-otp-login__step > p {
	margin: 0 0 22px;
	color: #777;
	font-size: 13px;
	line-height: 1.4;
}

.ju-otp-login__email-form label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.ju-otp-login__email-field {
	position: relative;
}

.ju-otp-login__email-field input {
	box-sizing: border-box;
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 17px 58px 6px 14px;
	border: 1px solid #cfcfcf;
	border-radius: 10px;
	background: #fff;
	color: #111;
	font-size: 15px;
	outline: none;
}

.ju-otp-login__email-field::before {
	position: absolute;
	z-index: 1;
	top: 6px;
	left: 14px;
	content: "Email";
	color: #777;
	font-size: 10px;
	pointer-events: none;
}

.ju-otp-login__email-field input:focus {
	border-color: #1473e6;
	box-shadow: 0 0 0 1px #1473e6;
}

.ju-otp-login__email-field button {
	position: absolute;
	top: 8px;
	right: 8px;
	display: flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #1473e6;
	color: #fff;
	font-size: 21px;
	cursor: pointer;
}

.ju-otp-login__email-field button:disabled,
.ju-otp-login__verify:disabled {
	cursor: wait;
	opacity: 0.65;
}

.ju-otp-login__step--code > p {
	display: flex;
	align-items: center;
	gap: 5px;
}

.ju-otp-login__change-email {
	padding: 0;
	border: 0;
	background: transparent;
	color: #1473e6;
	font-size: 12px;
	cursor: pointer;
}

.ju-otp-login__code-boxes {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 9px;
}

.ju-otp-login__code-boxes input {
	box-sizing: border-box;
	width: 100%;
	height: 76px;
	padding: 0;
	border: 1px solid #d4d4d4;
	border-radius: 10px;
	background: #fff;
	color: #111;
	font-size: 27px;
	text-align: center;
	outline: none;
}

.ju-otp-login__code-boxes input:focus {
	border-color: #1473e6;
	box-shadow: 0 0 0 1px #1473e6;
}

.ju-otp-login__verify {
	width: 100%;
	margin-top: 18px;
	padding: 13px 18px;
	border: 0;
	border-radius: 8px;
	background: #1473e6;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.ju-otp-login__resend-wrap,
.ju-otp-login__status {
	min-height: 20px;
	margin-top: 12px;
	color: #777;
	font-size: 12px;
	text-align: center;
}

.ju-otp-login__resend {
	padding: 0;
	border: 0;
	background: transparent;
	color: #1473e6;
	cursor: pointer;
}

.ju-otp-login__status.is-error {
	color: #c62828;
}

.ju-otp-login__privacy {
	position: absolute;
	bottom: 28px;
	left: 50%;
	color: #1473e6;
	font-size: 12px;
	text-decoration: none;
	transform: translateX(-50%);
	white-space: nowrap;
}

@media (max-width: 589px) {
	.ju-otp-login {
		align-items: flex-start;
		padding-top: 180px;
	}

	.ju-otp-login__brand {
		top: 32px;
	}

	.ju-otp-login__code-boxes {
		gap: 6px;
	}

	.ju-otp-login__code-boxes input {
		height: 58px;
		font-size: 22px;
	}
}

