.cmrla-auth {
	--ca-orange: #ffaa00;
	--ca-orange-text: #a25a00;
	--ca-ink: #212121;
	--ca-muted: #6b7178;
	--ca-soft: #e9f0f0;
	--ca-field: #f7f7f7;
	--ca-line: #dfe5e5;
	--ca-error: #b3261e;
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	overflow-y: auto;
	background: rgba(17, 21, 26, 0.55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	font-family: "Poppins", var(--e-global-typography-primary-font-family, sans-serif), sans-serif;
	color: var(--ca-ink);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, visibility 0s linear 0.22s;
	-webkit-font-smoothing: antialiased;
}
.cmrla-auth.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.22s ease;
}
.cmrla-auth *,
.cmrla-auth *::before,
.cmrla-auth *::after {
	box-sizing: border-box;
}
.cmrla-auth__dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	margin: auto;
	padding: 40px 40px 32px;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 30px 80px rgba(17, 21, 26, 0.28);
	transform: translateY(14px);
	transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cmrla-auth.is-open .cmrla-auth__dialog {
	transform: none;
}
.cmrla-auth__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ca-field);
	color: var(--ca-ink);
	cursor: pointer;
	transition: background 0.15s ease;
}
.cmrla-auth__close:hover {
	background: var(--ca-soft);
}
.cmrla-auth__close svg {
	width: 16px;
	height: 16px;
}
.cmrla-auth__kicker {
	margin: 0 48px 10px 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ca-orange-text);
}
.cmrla-auth__title {
	margin: 0 0 10px;
	font-family: inherit;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -1.2px;
	color: var(--ca-ink);
}
.cmrla-auth__sub {
	margin: 0 0 24px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--ca-muted);
}
.cmrla-auth__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	margin: 0 0 24px;
	padding: 4px;
	border-radius: 50px;
	background: var(--ca-soft);
}
.cmrla-auth__tab {
	padding: 11px 12px;
	border: 0;
	border-radius: 50px;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--ca-muted);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.cmrla-auth__tab[aria-selected="true"] {
	background: #fff;
	color: var(--ca-ink);
	box-shadow: 0 2px 8px rgba(17, 21, 26, 0.08);
}
.cmrla-auth [hidden] {
	display: none !important;
}
.cmrla-auth__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 12px;
}
.cmrla-auth__full {
	grid-column: 1 / -1;
}
.cmrla-auth__field {
	display: block;
	min-width: 0;
	margin: 0;
}
.cmrla-auth__label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--ca-ink);
}
.cmrla-auth__opt {
	font-weight: 400;
	color: var(--ca-muted);
}
.cmrla-auth input[type="text"],
.cmrla-auth input[type="email"],
.cmrla-auth input[type="tel"],
.cmrla-auth input[type="password"],
.cmrla-auth select {
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--ca-line);
	border-radius: 12px;
	background-color: var(--ca-field);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--ca-ink);
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.cmrla-auth select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23212121' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}
.cmrla-auth input::placeholder {
	color: #9aa1a8;
}
.cmrla-auth input:focus,
.cmrla-auth select:focus,
.cmrla-auth__code:focus-within {
	border-color: var(--ca-orange);
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(255, 170, 0, 0.25);
}
.cmrla-auth [aria-invalid="true"],
.cmrla-auth__code.is-invalid {
	border-color: var(--ca-error) !important;
}
.cmrla-auth__err {
	display: block;
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--ca-error);
}
.cmrla-auth__err:empty {
	display: none;
}
.cmrla-auth__phone {
	display: grid;
	grid-template-columns: 124px 1fr;
	gap: 8px;
}
.cmrla-auth__code {
	position: relative;
	height: 50px;
	border: 1px solid var(--ca-line);
	border-radius: 12px;
	background: var(--ca-field);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.cmrla-auth__code-face {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 100%;
	padding: 0 32px 0 14px;
	font-size: 16px;
	white-space: nowrap;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23212121' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}
.cmrla-auth__code-flag {
	font-size: 20px;
	line-height: 1;
}
.cmrla-auth .cmrla-auth__code select {
	position: absolute;
	inset: 0;
	height: 100%;
	opacity: 0;
	border: 0;
	box-shadow: none;
}
.cmrla-auth__pw {
	position: relative;
}
.cmrla-auth .cmrla-auth__pw input {
	padding-right: 84px;
}
.cmrla-auth__pw-toggle {
	position: absolute;
	top: 7px;
	right: 7px;
	height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: 50px;
	background: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--ca-ink);
	cursor: pointer;
}
.cmrla-auth__pw-toggle:hover {
	background: var(--ca-soft);
}
.cmrla-auth__hint {
	display: block;
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--ca-muted);
}
.cmrla-auth__checks {
	display: grid;
	gap: 12px;
	margin: 20px 0 0;
}
.cmrla-auth__check {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 12px;
	align-items: start;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--ca-ink);
	cursor: pointer;
}
.cmrla-auth__check input {
	width: 22px;
	height: 22px;
	margin: 0;
	border: 1.5px solid #b9c1c1;
	border-radius: 6px;
	background: #fff;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.cmrla-auth__check input::after {
	content: "";
	width: 11px;
	height: 6px;
	margin-top: -2px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg) scale(0);
	transition: transform 0.12s ease;
}
.cmrla-auth__check input:checked {
	background: var(--ca-orange);
	border-color: var(--ca-orange);
}
.cmrla-auth__check input:checked::after {
	transform: rotate(-45deg) scale(1);
}
.cmrla-auth__check input:focus-visible {
	outline: 3px solid rgba(255, 170, 0, 0.45);
	outline-offset: 2px;
}
.cmrla-auth__check a {
	color: var(--ca-ink);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.cmrla-auth__alert {
	margin: 0 0 18px;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.45;
}
.cmrla-auth__alert[hidden] {
	display: none;
}
.cmrla-auth__alert.is-error {
	background: #fdecea;
	color: #8a1c1c;
}
.cmrla-auth__alert.is-info {
	background: #fff4dc;
	color: #6b4200;
}
.cmrla-auth__alert.is-success {
	background: #e8f6ec;
	color: #1b5e20;
}
.cmrla-auth__submit {
	display: block;
	width: 100%;
	margin: 24px 0 0;
	padding: 18px 24px;
	border: 0;
	border-radius: 50px;
	background: var(--ca-orange);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.18s ease;
}
.cmrla-auth__submit:hover {
	background: var(--ca-ink);
}
.cmrla-auth__submit:focus-visible,
.cmrla-auth__tab:focus-visible,
.cmrla-auth__close:focus-visible,
.cmrla-auth__pw-toggle:focus-visible,
.cmrla-auth__link:focus-visible {
	outline: 3px solid rgba(255, 170, 0, 0.6);
	outline-offset: 2px;
}
.cmrla-auth__submit[disabled] {
	opacity: 0.65;
	cursor: wait;
}
.cmrla-auth__foot {
	margin: 18px 0 0;
	font-size: 14px;
	text-align: center;
	color: var(--ca-muted);
}
.cmrla-auth__link {
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--ca-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.cmrla-auth__forgot {
	display: block;
	margin: 10px 0 0;
	text-align: right;
}
.cmrla-auth__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.cmrla-auth__brand {
	margin: 22px 0 0;
	font-size: 12px;
	text-align: center;
	color: var(--ca-muted);
}
html.cmrla-auth-lock,
html.cmrla-auth-lock body {
	overflow: hidden;
}

@media (max-width: 600px) {
	.cmrla-auth {
		align-items: flex-start;
		padding: 12px;
	}
	.cmrla-auth__dialog {
		padding: 28px 20px 24px;
		border-radius: 20px;
	}
	.cmrla-auth__title {
		font-size: 26px;
		letter-spacing: -1px;
	}
	.cmrla-auth__sub {
		font-size: 14px;
		margin-bottom: 20px;
	}
	.cmrla-auth__grid {
		grid-template-columns: 1fr;
	}
	.cmrla-auth__phone {
		grid-template-columns: 112px 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cmrla-auth,
	.cmrla-auth__dialog {
		transition: none;
	}
}
