.account-access {
	--account-accent: #4d1765;
	--account-accent-dark: #321044;
	--account-text: #29243a;
	--account-muted: #697089;
	--account-border: #e8e4eb;
	max-width: 780px;
	margin: 32px auto 56px;
	padding: 0 18px;
	color: var(--account-text);
	font-family: 'PT Sans Narrow', Arial, sans-serif;
}

.account-access *,
.account-access *::before,
.account-access *::after {
	box-sizing: border-box;
}

.account-access__card {
	padding: clamp(24px, 5vw, 48px);
	border: 1px solid var(--account-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(49, 22, 63, .07);
}

.account-access__eyebrow {
	margin: 0 0 8px;
	color: var(--account-accent);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.account-access h1 {
	margin: 0;
	color: var(--account-text);
	font-size: clamp(28px, 5vw, 38px);
	line-height: 1.15;
}

.account-access__intro {
	max-width: 520px;
	margin: 12px 0 28px;
	color: var(--account-muted);
	font-size: 18px;
	line-height: 1.55;
}

.account-access__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin: 0 0 26px;
	padding: 5px;
	border-radius: 13px;
	background: #f1f2f7;
}

.account-access__tab {
	min-height: 48px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #5d6375 !important;
	-webkit-text-fill-color: currentColor !important;
	font-family: 'PT Sans Narrow', Arial, sans-serif !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-indent: 0 !important;
	visibility: visible !important;
	cursor: pointer;
	transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.account-access__tab[aria-selected="true"] {
	background: var(--account-accent) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	box-shadow: 0 3px 10px rgba(49, 22, 63, .16) !important;
}

.account-access__panel[hidden] {
	display: none !important;
}

.account-access__field {
	position: relative;
	margin: 0 0 18px;
}

.account-access__field-control {
	position: relative;
}

.account-access__field label {
	display: block;
	margin: 0 0 7px;
	color: var(--account-text);
	font-size: 17px;
	font-weight: 700;
}

.account-access__field label span {
	color: #c23b4a;
}

.account-access__field input {
	position: relative;
	z-index: 1;
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 50px;
	margin: 0 !important;
	padding: 11px 14px 11px 46px !important;
	border: 1px solid var(--account-border);
	border-radius: 10px;
	background-color: #fff !important;
	background-image: none !important;
	color: var(--account-text);
	font: 16px/1.35 'PT Sans Narrow', Arial, sans-serif !important;
	box-shadow: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.account-access__field--email .account-access__field-control::before,
.account-access__field--password .account-access__field-control::before {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 15px;
	width: 19px;
	height: 19px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	transform: translateY(-50%);
	pointer-events: none;
}

.account-access__field--email .account-access__field-control::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234d1765' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") !important;
}

.account-access__field--password .account-access__field-control::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234d1765' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 14v3'/%3E%3C/svg%3E") !important;
}

.account-access__field input:-webkit-autofill,
.account-access__field input:-webkit-autofill:hover,
.account-access__field input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--account-text);
	-webkit-box-shadow: 0 0 0 1000px #fff inset;
	box-shadow: 0 0 0 1000px #fff inset;
}

.account-access__field input:focus {
	border-color: var(--account-accent);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(87, 71, 165, .13);
}

.account-access__field input[aria-invalid="true"] {
	border-color: #c23b4a;
	background: #fffafa;
}

.account-access__remember {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px;
	color: var(--account-muted);
	font-size: 16px;
}

.account-access__remember input {
	width: 17px;
	height: 17px;
	margin: 0;
}

.account-access__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 22px;
}

.account-access__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 170px;
	min-height: 50px;
	padding: 12px 24px;
	border: 0;
	border-radius: 10px;
	background: var(--account-accent) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-family: 'PT Sans Narrow', Arial, sans-serif !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-indent: 0 !important;
	text-transform: none !important;
	visibility: visible !important;
	cursor: pointer;
	transition: background-color .18s ease, box-shadow .18s ease;
}

.account-access__submit:hover {
	background: var(--account-accent-dark) !important;
	box-shadow: 0 5px 14px rgba(49, 22, 63, .16);
}

.account-access__forgot {
	color: var(--account-accent-dark);
	font-size: 16px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.account-access__forgot:hover {
	color: var(--account-accent);
}

.account-access__field-error {
	display: block;
	margin-top: 7px;
	color: #b42318;
	font-size: 15px;
	line-height: 1.4;
}

.account-access__notice {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid #f3c4c4;
	border-radius: 10px;
	background: #fff5f5;
	color: #9f2020;
	font-size: 16px;
	line-height: 1.45;
}

.account-access__notice--success {
	border-color: #eed5a0;
	border-left: 4px solid #f2c35d;
	background: #fff9ed;
	color: var(--account-accent-dark);
}

.account-access__help {
	margin: 0 0 22px;
	padding: 17px 19px;
	border: 1px solid #eee5f2;
	border-radius: 12px;
	background: #fbf8fc;
}

.account-access__help h2 {
	margin: 0 0 12px;
	color: var(--account-accent-dark);
	font: 700 19px/1.25 'PT Sans Narrow', Arial, sans-serif;
}

.account-access__steps {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none !important;
	counter-reset: account-step;
}

.account-access__steps li {
	position: relative;
	min-height: 25px;
	margin: 0;
	padding: 2px 0 2px 35px;
	color: var(--account-muted);
	font-size: 16px;
	line-height: 1.4;
	counter-increment: account-step;
}

.account-access__steps li::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 25px;
	height: 25px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #f0e5f5;
	color: var(--account-accent);
	content: counter(account-step);
	font-size: 14px;
	font-weight: 700;
}

.account-access__submit-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.account-access__hint {
	margin: 14px 0 0;
	color: var(--account-muted);
	font-size: 15px;
	line-height: 1.45;
}

@media (max-width: 520px) {
	.account-access {
		margin: 18px auto 36px;
		padding: 0 12px;
	}

	.account-access__card {
		padding: 24px 18px;
		border-radius: 16px;
	}

	.account-access__intro {
		font-size: 16px;
	}

	.account-access__submit {
		width: 100%;
	}

	.account-access__actions {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}

	.account-access__forgot {
		text-align: center;
	}
}
