#mfa-overlay-lg {
	position: fixed;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0,0,0,.65);
	backdrop-filter: blur(8px);
	z-index: 9999;
}

.mfa-dialog-lg {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 2rem;
	border-radius: 1rem;
	background: rgba(0,0,0,.35);
	box-shadow: 0 0 40px rgba(0,0,0,.7);
	max-width: 90vw;
	text-align: center;
	color: #fff;
}

.lock-lg {
	width: 6rem;
	height: 6rem;
	color: #3490ff;
	transform: rotate(0deg);
}

.title-lg {
	font: 700 1.8rem/1.2 system-ui, sans-serif;
}

.input-lg {
	width: 12rem;
	padding: .8rem 1rem;
	font: 600 1.2rem/1 system-ui, sans-serif;
	text-align: center;
	border: 2px solid #3490ff;
	border-radius: .5rem;
	background: #000;
	color: #fff;
	outline: none;
	transition: border-color .2s;
}
.input-lg:focus {
	border-color: #5fb3ff;
}

.btn-lg {
	background: #3490ff;
	color: #fff;
	border: 0;
	padding: .8rem 2.5rem;
	font: 700 1rem/1 system-ui, sans-serif;
	border-radius: .6rem;
	cursor: pointer;
	transition: background .15s;
	display: flex;
    max-height: 39px;
    align-items: center;
    justify-content: center;
}
.btn-lg:active { transform: scale(.97); }

@keyframes fadein-lg {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeout-lg {
	from { opacity: 1; transform: translateY(0); }
	to { opacity: 0; transform: translateY(20px); }
}

.toast-lg,
.toast-info-lg {
	background: #c0392b;
	color: #fff;
	padding: .9rem 1.4rem;
	border-radius: .6rem;
	font: 600 1rem/1.2 system-ui, sans-serif;
	box-shadow: 0 4px 14px rgba(0,0,0,.5);
	animation: fadein-lg 0.3s ease;
	min-width: 200px;
	max-width: 320px;
	word-break: break-word;
	cursor: pointer;
	transition: transform 0.3s ease, margin 0.3s ease, opacity 0.3s ease;
}
.toast-warning-lg {
	background: #f39c12; /* насыщенный оранжевый */
	color: #fff;
	padding: .9rem 1.4rem;
	border-radius: .6rem;
	font: 600 1rem/1.2 system-ui, sans-serif;
	box-shadow: 0 4px 14px rgba(0,0,0,.5);
	animation: fadein-lg 0.3s ease;
	min-width: 200px;
	max-width: 320px;
	word-break: break-word;
	cursor: pointer;
	transition: transform 0.3s ease, margin 0.3s ease, opacity 0.3s ease;
}

.toast-hide {
	opacity: 0;
	margin: 0;
	transform: scale(0.95);
}

.toast-info-lg {
	background: #3490ff;
}

@keyframes fadein-lg { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeout-lg { to { opacity: 0; transform: translateY(.5rem); } }

@keyframes shake-lg {
	10%, 90% { transform: translateX(-2px); }
	20%, 80% { transform: translateX(4px); }
	30%, 50%, 70% { transform: translateX(-6px); }
	40%, 60% { transform: translateX(6px); }
}

.btn-error-lg {
	background: #e74c3c !important;
	animation: shake-lg .5s cubic-bezier(.36,.07,.19,.97);
}

@media (max-width: 480px) {
	.lock-lg   { width: 4rem; height: 4rem; }
	.title-lg  { font-size: 1.4rem; }
	.input-lg  { width: 80vw; font-size: 1rem; }
	.btn-lg    { width: 100%; }
}

.spinner-lg {
	width: 1.4rem;
	height: 1.4rem;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	display: inline-block;
	animation: spin-lg .8s linear infinite;
}

.hidden-lg {
	display: none !important;
}

@keyframes spin-lg { to { transform: rotate(360deg); } }

.btn-disabled-lg {
	opacity: .6;
	pointer-events: none;
}