/* Die Klassen des Magic Logins entsprechen den Klassen im Plugin pebweb-modals, damit dieses Login gleich aussieht. */

.pebweb-magic-login-note {
	margin-top: 10px;
	font-size: 0.9em;
	opacity: 0.8;
}

#peb_magic_email{
	font-size: 1.2em;
}
#peb_magic_login_submit {
	width: 100%;
	font-size: 0.9em !important;
}

#peb_magic_login_form {
	width: 100%;
	max-width: 300px;
}



.peb-ml-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	background: rgba(255, 255, 255, 0.15);
	animation: pebMlFadeIn 0.25s ease-out;
}

.peb-ml-card {
	width: min(78vw, 300px);
	aspect-ratio: 1 / 1;
	background: #fff;
	border-radius: 34px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 32px;
	box-sizing: border-box;
	transform: translateY(-8px);
	animation: pebMlPop 0.3s ease-out forwards;
}

.peb-ml-icon {
	width: 120px;
	height: 120px;
	object-fit: contain;
	margin-bottom: 22px;
}

.peb-ml-text {
	font-size: 24px;
	line-height: 1.15;
	font-weight: 400;
	color: #111;
}

.peb-ml-overlay.is-hiding {
	animation: pebMlFadeOut 0.4s ease-in forwards;
}

@keyframes pebMlFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes pebMlFadeOut {
	from { opacity: 1; }
	to { opacity: 0; }
}

@keyframes pebMlPop {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.94);
	}
	to {
		opacity: 1;
		transform: translateY(-8px) scale(1);
	}
}

@media (max-width: 480px) {
	.peb-ml-card {
		width: min(82vw, 260px);
		border-radius: 28px;
		padding: 28px;
	}

	.peb-ml-icon {
		width: 96px;
		height: 96px;
		margin-bottom: 18px;
	}

	.peb-ml-text {
		font-size: 21px;
	}
}