.mtr-nav-list .mtr-account-nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	margin-left: 5px;
	padding: 5px 12px;
	gap: 8px;
	border: 1px solid rgba(44, 136, 153, .24);
	border-radius: 9px;
	background: linear-gradient(135deg, rgba(229, 246, 249, .96), rgba(255, 255, 255, .94));
	box-shadow: 0 7px 20px rgba(30, 91, 109, .08);
	color: #216f7d;
	font-weight: 650;
	font-size: 13px;
	line-height: 1.5;
	white-space: nowrap;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.mtr-nav-list .mtr-account-nav-link:hover,
.mtr-nav-list .mtr-account-nav-link:focus-visible,
.mtr-nav-list .mtr-account-nav-link[aria-current="page"] {
	transform: translateY(-1px);
	border-color: rgba(44, 136, 153, .42);
	background: linear-gradient(135deg, #edf9fb, #fff);
	box-shadow: 0 10px 24px rgba(43, 128, 144, .14);
	color: #216f7d;
}

.mtr-account-nav-link svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

.mtr-account-nav-label {
	display: inline-block;
}

.mtr-account-nav-item {
	position: relative;
}

.mtr-auth-popover[hidden],
.mtr-auth-popover [hidden] {
	display: none !important;
}

.mtr-auth-popover {
	position: absolute;
	z-index: 100000;
	top: calc(100% + 12px);
	right: 0;
	width: min(344px, calc(100vw - 24px));
	max-height: min(590px, calc(100vh - 96px));
	padding: 15px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid rgba(74, 158, 174, .2);
	border-radius: 18px;
	background: linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(235, 248, 250, .98));
	box-shadow: 0 24px 65px rgba(17, 52, 69, .24);
	opacity: 0;
	transform: translateY(-14px) scale(.985);
	transform-origin: top right;
	transition: opacity .16s ease, transform .16s ease;
	scrollbar-gutter: stable;
}

.mtr-auth-popover.is-open {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.mtr-auth-popover::-webkit-scrollbar {
	width: 7px;
}

.mtr-auth-popover::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(49, 139, 154, .35);
}

.mtr-auth-popover__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 11px;
}

.mtr-auth-popover__head small,
.mtr-auth-popover__head strong {
	display: block;
}

.mtr-auth-popover__head small {
	margin-bottom: 2px;
	color: #4b8c98;
	font-size: 8px;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mtr-auth-popover__head strong {
	color: #142b41;
	font-size: 17px;
	line-height: 1.2;
}

.mtr-auth-popover__head > button {
	display: grid;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	padding: 0;
	place-items: center;
	border: 1px solid rgba(47, 135, 150, .18);
	border-radius: 10px;
	background: #fff;
	color: #347e8a;
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
}

.mtr-auth-popover label > span,
.mtr-auth-popover__selected,
.mtr-auth-popover__rule,
.mtr-auth-popover__copy {
	display: block;
}

.mtr-auth-popover label > span {
	margin-bottom: 5px;
	color: #476372;
	font-size: 11px;
	font-weight: 750;
}

.mtr-auth-popover input[type="email"],
.mtr-auth-popover input[type="password"],
.mtr-auth-popover input[type="text"],
.mtr-auth-popover input[inputmode="numeric"] {
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	padding: 0 13px;
	border: 1px solid rgba(65, 137, 151, .24);
	border-radius: 12px;
	background: rgba(255, 255, 255, .96);
	box-shadow: inset 0 1px 2px rgba(20, 52, 68, .04);
	color: #173047;
	font: inherit;
	font-size: 14px;
	outline: 0;
}

.mtr-auth-popover input:focus {
	border-color: #4a9cab;
	box-shadow: 0 0 0 3px rgba(74, 156, 171, .12);
}

.mtr-auth-popover input:-webkit-autofill,
.mtr-auth-popover input:-webkit-autofill:hover,
.mtr-auth-popover input:-webkit-autofill:focus {
	-webkit-text-fill-color: #173047;
	-webkit-box-shadow: 0 0 0 1000px #fff inset;
	transition: background-color 9999s ease-out;
}

.mtr-auth-popover__social {
	display: grid;
	grid-template-columns: 1fr;
	gap: 7px;
}

.mtr-auth-popover__social button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	gap: 9px;
	border: 1px solid rgba(65, 137, 151, .18);
	border-radius: 12px;
	background: rgba(255, 255, 255, .94);
	color: #173047;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
	cursor: pointer;
}

.mtr-auth-popover__social button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.mtr-auth-popover__social i {
	display: grid;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	place-items: center;
	border-radius: 0;
	font-size: 0;
	font-style: normal;
	font-weight: 900;
}

.mtr-auth-popover__social i.is-google {
	background: transparent;
	box-shadow: none;
}

.mtr-auth-popover__social i.is-facebook {
	background: transparent;
}

.mtr-auth-popover__social i svg {
	display: block;
	width: 20px;
	height: 20px;
}

.mtr-auth-popover__separator {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 10px 0;
	color: #7a919d;
	font-size: 10px;
}

.mtr-auth-popover__separator::before,
.mtr-auth-popover__separator::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(55, 126, 141, .14);
}

.mtr-auth-popover__primary,
.mtr-auth-popover__text,
.mtr-auth-popover__back,
.mtr-auth-popover__tabs button {
	font: inherit;
	cursor: pointer;
}

.mtr-auth-popover__primary {
	width: 100%;
	min-height: 40px;
	margin-top: 10px;
	padding: 9px 14px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, #55a9b8, #2f8291);
	box-shadow: 0 10px 24px rgba(47, 130, 145, .18);
	color: #fff;
	font-size: 13px;
	font-weight: 850;
}

.mtr-auth-popover__primary:disabled {
	opacity: .55;
}

.mtr-auth-popover__text,
.mtr-auth-popover__back {
	border: 0;
	background: transparent;
	color: #377f8c;
	font-size: 10px;
	font-weight: 800;
}

.mtr-auth-popover__text {
	display: block;
	margin: 9px auto 0;
}

.mtr-auth-popover__back {
	margin: 0 0 8px;
	padding: 0;
}

.mtr-auth-popover__selected {
	margin-bottom: 9px;
	color: #58727f;
	font-size: 10px;
}

.mtr-auth-popover__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3px;
	margin-bottom: 11px;
	padding: 3px;
	border: 1px solid rgba(65, 143, 157, .1);
	border-radius: 999px;
	background: rgba(65, 143, 157, .09);
}

.mtr-auth-popover__tabs button {
	min-height: 32px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #5d7683;
	font-size: 11px;
	font-weight: 800;
}

.mtr-auth-popover__tabs button.is-active {
	background: #fff;
	box-shadow: 0 4px 12px rgba(26, 69, 86, .08);
	color: #246f7c;
}

.mtr-auth-popover__names {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin-bottom: 9px;
}

.mtr-auth-popover form > label + label,
.mtr-auth-popover form > label + .mtr-auth-popover__rule {
	margin-top: 9px;
}

.mtr-auth-popover__rule,
.mtr-auth-popover__copy {
	margin: 6px 0 9px;
	color: #718895;
	font-size: 9px;
	line-height: 1.4;
}

.mtr-auth-popover h3 {
	margin: 2px 0 5px;
	color: #173047;
	font-size: 18px;
}

.mtr-auth-popover__check {
	display: grid !important;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: start;
	gap: 7px;
	margin-top: 8px;
}

.mtr-auth-popover__check input {
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	border: 1px solid rgba(48, 123, 137, .35);
	border-radius: 5px;
	accent-color: #388a99;
}

.mtr-auth-popover__check span {
	margin: 0 !important;
	font-size: 9px !important;
	font-weight: 600 !important;
	line-height: 1.4;
}

.mtr-auth-popover__status {
	min-height: 15px;
	margin: 7px 0 0;
	color: #2d785d;
	font-size: 9px;
	line-height: 1.35;
}

.mtr-auth-popover__status.is-error {
	color: #b6464c;
}

.mtr-auth-popover__code {
	font-size: 20px !important;
	font-weight: 850 !important;
	letter-spacing: .28em;
	text-align: center;
}

@media (max-width: 860px) {
	.mtr-nav-list .mtr-account-nav-link {
		justify-content: center;
		width: auto;
		min-height: 36px;
		margin: 5px 0 0;
		padding: 7px 12px;
	}

	.mtr-auth-popover {
		position: fixed;
		top: 68px;
		right: clamp(12px, 6vw, 24px);
		left: clamp(12px, 6vw, 24px);
		width: auto;
		max-height: calc(100vh - 82px);
		transform-origin: top center;
	}
}

@media (max-width: 420px) {
	.mtr-auth-popover {
		padding: 14px;
		border-radius: 16px;
	}

	.mtr-auth-popover__head strong {
		font-size: 16px;
	}

	.mtr-auth-popover__names {
		grid-template-columns: 1fr;
	}
}
