.login-otp,
.login-otp * {
	box-sizing: border-box;
}

.login-otp {
	margin-left: auto;
	margin-right: auto;
	max-width: 430px;
	width: 100%;
}

.login-otp .login-otp__card {
	background: #fff;
	border-radius: 0;
	box-shadow: none;
	padding: 40px 34px;
	position: relative;
}

.login-otp .login-otp__title {
	color: #001744;
	font-size: clamp( 2rem, 6vw, 2.8rem );
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.08;
	margin: 0;
	text-align: center;
}

.login-otp .login-otp__title--otp {
	margin-right: 44px;
	margin-top: 12px;
}

.login-otp .login-otp__form {
	display: grid;
	gap: 20px;
	margin: 0;
}

.login-otp .login-otp__form[hidden] {
	display: none;
}

.login-otp .login-otp__field {
	display: grid;
	gap: 8px;
}

.login-otp .login-otp__label {
	color: #001744;
	display: inline-block;
	font-size: 0.96rem;
	font-weight: 700;
}

.login-otp .login-otp__input-wrap {
	position: relative;
}

.login-otp .login-otp__input-wrap::before {
	color: #6b7894;
	content: "";
	height: 18px;
	left: 19px;
	line-height: 1;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	width: 18px;
	background: no-repeat center / contain url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7894' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a2 2 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E" );
}

.login-otp .login-otp__input {
	background: #fff;
	border: 1px solid #d8deeb;
	border-radius: 999px;
	color: #001744;
	font-size: 1rem;
	min-height: 54px;
	padding: 12px 18px 12px 52px;
	width: 100%;
}

.login-otp .login-otp__input::placeholder {
	color: #8b95aa;
	opacity: 1;
}

.login-otp .login-otp__input:focus,
.login-otp .login-otp__otp-input:focus,
.login-otp .login-otp__button:focus,
.login-otp .login-otp__reset:focus,
.login-otp .login-otp__resend:focus {
	box-shadow: 0 0 0 3px rgba( 0, 23, 68, 0.18 );
	outline: 2px solid transparent;
}

.login-otp .login-otp__input:focus,
.login-otp .login-otp__otp-input:focus {
	border-color: #001744;
}

.login-otp .login-otp__input[aria-invalid="true"],
.login-otp .login-otp__otp-input[aria-invalid="true"] {
	border-color: #b42318;
}

.login-otp .login-otp__button {
	background: #001744;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 12px 22px rgba( 0, 23, 68, 0.2 );
	color: #fff;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 800;
	min-height: 56px;
	padding: 14px 24px;
	transition: opacity 0.2s ease, transform 0.2s ease;
	width: 100%;
}

.login-otp .login-otp__button:hover {
	transform: translateY( -1px );
}

.login-otp .login-otp__button:disabled {
	cursor: wait;
	opacity: 0.68;
	transform: none;
}

.login-otp .login-otp__helper,
.login-otp .login-otp__message,
.login-otp .login-otp__status,
.login-otp .login-otp__notice {
	color: #59647a;
	font-size: 0.94rem;
	line-height: 1.55;
	margin: 0;
}

.login-otp .login-otp__helper--intro {
	margin-top: -10px;
	text-align: left;
}

.login-otp .login-otp__otp-subtitle,
.login-otp .login-otp__masked-email {
	display: block;
}

.login-otp .login-otp__masked-email {
	font-weight: 700;
	margin-top: 4px;
}

.login-otp .login-otp__message:not(:empty) {
	color: #b42318;
}

.login-otp .login-otp__otp-message:not(:empty) {
	color: #59647a;
}

.login-otp .login-otp__reset {
	align-items: center;
	background: #f5f7fb;
	border: 0;
	border-radius: 999px;
	color: #001744;
	cursor: pointer;
	display: inline-flex;
	font-size: 1.8rem;
	font-weight: 300;
	height: 42px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 4px;
	position: absolute;
	right: 24px;
	top: 24px;
	width: 42px;
}

.login-otp .login-otp__otp-group {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat( 6, minmax( 0, 1fr ) );
	margin: 10px 0 4px;
}

.login-otp .login-otp__otp-input {
	-webkit-appearance: none;
	appearance: none;
	background: #f6f8fc;
	border: 1.5px solid #d8deeb;
	border-radius: 14px;
	color: #001744;
	font-size: clamp( 1.35rem, 6vw, 1.75rem );
	font-weight: 800;
	height: 58px;
	line-height: 1;
	padding: 0;
	text-align: center;
	width: 100%;
}

.login-otp .login-otp__resend {
	background: transparent;
	border: 0;
	color: #59647a;
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 700;
	justify-self: center;
	padding: 2px 4px;
}

.login-otp .login-otp__resend:disabled {
	cursor: default;
	font-weight: 600;
	opacity: 0.75;
}

@media ( max-width: 420px ) {
	.login-otp .login-otp__card {
		padding: 28px 22px;
	}

	.login-otp .login-otp__otp-group {
		gap: 7px;
	}

	.login-otp .login-otp__otp-input {
		border-radius: 12px;
		height: 50px;
	}
}
