.lca-login-modal {
	box-sizing: border-box;
	width: min(570px, calc(100% - 32px));
	max-width: 570px;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: #1C3767;
	font-family: var(--gl-font, Arial, sans-serif);
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 20px 60px rgb(0 0 0 / 18%);
	overscroll-behavior: contain;
}
.lca-login-modal[open] { animation: lca-login-enter 250ms cubic-bezier(.2, .7, .3, 1) both; }
.lca-login-modal[open].is-closing { animation: lca-login-leave 180ms ease-in both; }
.lca-login-modal:not([open]) { display: none; }
.lca-login-modal::backdrop {
	background: rgb(21 42 79 / 48%);
	animation: lca-login-backdrop-enter 250ms ease-out both;
}
.lca-login-modal.is-closing::backdrop { animation: lca-login-backdrop-leave 180ms ease-in both; }
.lca-login-modal *, .lca-login-modal *::before, .lca-login-modal *::after { box-sizing: border-box; }
.lca-login-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding: 12px 16px;
	border-bottom: 1px solid #d6dfeb;
}
.lca-login-modal__header h2 { margin: 0; color: inherit; font-size: 18px; font-weight: 700; line-height: 1.4; }
.lca-login-modal__close {
	display: grid;
	place-items: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.lca-login-modal__close { transition: background-color 150ms ease; }
.lca-login-modal__close:hover { background: #f5c842; }
.lca-login-modal__close:focus-visible, .lca-login-modal a:focus-visible { outline: 2px solid #1C3767; outline-offset: 3px; }
.lca-login-modal__body { padding: 24px 24px 25px; }
.lca-login-modal__consent { margin: 0 0 18px; text-align: center; font-size: 14px; line-height: 1.5; }
.lca-login-modal__consent a, .lca-login-modal__consent span { color: #1C3767; text-decoration: none; font-weight: 600; }
.lca-login-modal__consent a:hover { text-decoration: underline; text-decoration-color: #f5c842; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lca-login-modal__methods { display: grid; gap: 16px; width: 300px; max-width: 100%; margin: 0 auto; }
.lca-login-modal__method {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 8px 12px;
	border: 2px solid #1C3767;
	border-radius: 999px;
	background: #fff;
	color: #1C3767;
	font: inherit;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	box-shadow: 0 2px 4px rgb(0 0 0 / 18%);
}
.lca-login-modal__method:disabled { opacity: 1; cursor: default; -webkit-text-fill-color: currentColor; }
.lca-login-modal__method--primary { border-color: #f5c842; background: #f5c842; color: #1C3767; }
.lca-login-modal__method svg { flex-shrink: 0; }
.lca-login-modal__method:not(:disabled) { cursor: pointer; transition: background-color 150ms ease, box-shadow 150ms ease; }
.lca-login-modal__method:not(:disabled):hover { background: #f8f4e6; box-shadow: 0 3px 8px rgb(28 55 103 / 20%); }
.lca-login-modal__method--primary:not(:disabled):hover { background: #f5c842; border-color: #1C3767; }
.lca-login-modal__method:focus-visible { outline: 2px solid #f5c842; outline-offset: 3px; }
.lca-login-modal__status { margin: 18px 0 0; padding: 12px; border-radius: 8px; background: #f6f8fb; color: #1C3767; text-align: center; font-size: 13px; }
.lca-login-modal__status[hidden] { display: none; }
.lca-login-modal__account-link { margin: 12px 0 0; text-align: center; }
.lca-login-modal__account-link a { color: #1C3767; font-weight: 600; text-decoration: underline; }
html.lca-login-modal-open { overflow: hidden; }
.lca-login-modal [data-lca-login-step][hidden] { display: none; }
.lca-otp-step { margin: 0; animation: lca-otp-step-enter 180ms ease-out both; }
.lca-otp-step__intro { margin: 0 0 18px; text-align: center; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.lca-otp-step__input {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 10px 15px;
	border: 1px solid #b9c9df;
	border-radius: 8px;
	background: #fff;
	color: #1C3767;
	font: inherit;
	font-size: 14px;
}
.lca-otp-step__input::placeholder { color: #647c9e; opacity: 1; }
.lca-otp-step__input:focus { outline: 2px solid #f5c842; outline-offset: 2px; border-color: #1C3767; }
.lca-otp-step__input[aria-invalid="true"] { border-color: #b42318; }
.lca-otp-step__input:disabled { background: #f5f7fa; }
.lca-otp-step__error { margin: 10px 0 0; color: #b42318; font-size: 13px; line-height: 1.5; }
.lca-otp-step__error[hidden] { display: none; }
.lca-otp-step__timer, .lca-otp-step__resend { margin: 18px 0 0; text-align: center; font-size: 14px; line-height: 1.5; }
.lca-otp-step__timer span { color: #1C3767; font-weight: 600; }
.lca-otp-step__resend button { margin: 0; padding: 0; border: 0; background: transparent; color: #1C3767; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.lca-otp-step__resend button:disabled { color: #929eaf; text-decoration: none; cursor: default; }
.lca-otp-step__actions { display: flex; justify-content: flex-end; gap: 16px; margin-top: 32px; }
.lca-otp-step__button { display: inline-flex; align-items: center; justify-content: center; min-width: 148px; min-height: 40px; margin: 0; padding: 8px 16px; border: 2px solid #1C3767; border-radius: 999px; background: #fff; color: #1C3767; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; cursor: pointer; box-shadow: 0 2px 4px rgb(28 55 103 / 12%); }
.lca-otp-step__button--primary { border-color: #f5c842; background: #f5c842; }
.lca-otp-step__button:not(:disabled):hover { border-color: #1C3767; background: #f8f4e6; }
.lca-otp-step__button:disabled { border-color: #d9e1ec; background: #fff; color: #a5b2c5; cursor: default; }
.lca-otp-step__button:focus-visible, .lca-otp-step__resend button:focus-visible { outline: 2px solid #f5c842; outline-offset: 3px; }
@keyframes lca-otp-step-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lca-login-enter {
	from { opacity: 0; transform: translateY(12px) scale(.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes lca-login-leave {
	from { opacity: 1; transform: translateY(0) scale(1); }
	to { opacity: 0; transform: translateY(8px) scale(.98); }
}
@keyframes lca-login-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes lca-login-backdrop-leave { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.lca-login-modal[open], .lca-login-modal[open].is-closing,
	.lca-login-modal::backdrop, .lca-login-modal.is-closing::backdrop { animation: none; }
	.lca-login-modal__close, .lca-login-modal__method:not(:disabled) { transition: none; }
	.lca-otp-step { animation: none; }
}
@media (max-width: 400px) {
	.lca-login-modal__body { padding: 22px 16px 24px; }
	.lca-login-modal__consent { font-size: 13px; }
	.lca-login-modal__method { font-size: 12px; }
	.lca-otp-step__actions { gap: 10px; }
	.lca-otp-step__button { min-width: 0; flex: 1; padding: 8px 12px; font-size: 13px; }
}
