.msm-access {
	--msm-access-text: #fff;
	--msm-access-border: rgba(255, 255, 255, .92);
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	color: var(--msm-access-text);
	font-family: Manrope, Arial, sans-serif;
}

.msm-access__field { margin: 0 0 18px; }
.msm-access__field label { display: block; margin: 0 0 7px; color: #fff; font-size: 18px; font-weight: 500; }
.msm-access__field input[type="text"],
.msm-access__field input[type="email"],
.msm-access__field input[type="password"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 54px;
	padding: 12px 16px;
	border: 1px solid var(--msm-access-border);
	border-radius: 4px;
	outline: 0;
	background: rgba(255,255,255,.08);
	color: #fff;
	font-size: 18px;
}
.msm-access__field input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.2); }
.msm-access__field small { display: block; margin-top: 6px; color: rgba(255,255,255,.85); }
.msm-access__remember { display: flex; gap: 8px; align-items: center; margin: 4px 0 18px; color: #fff; }
.msm-access__button {
	display: inline-flex;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 12px 24px;
	border: 1px solid #fff;
	border-radius: 30px;
	background: #fff;
	color: #000;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
}
.msm-access__button:hover, .msm-access__button:focus { background: #000; color: #fff; }
.msm-access__links { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; }
.msm-access__links a, .msm-access__link { color: #fff; text-decoration: underline; }
.msm-access__notice { margin: 0 0 16px; padding: 12px 14px; border-radius: 8px; background: rgba(0,0,0,.72); color: #fff; }
.msm-access__notice--success { background: rgba(25,100,55,.88); }
.msm-access__turnstile { width: 100%; margin: 0 0 18px; }
.msm-access--logged-in { padding: 22px; border-radius: 12px; background: rgba(0,0,0,.55); text-align: center; }
.msm-access__actions { display: flex; flex-direction: column; gap: 14px; align-items: center; }

@media (max-width: 767px) {
	.msm-access__field label { font-size: 23px; }
	.msm-access__field input[type="text"],
	.msm-access__field input[type="email"],
	.msm-access__field input[type="password"] { min-height: 58px; font-size: 20px; }
	.msm-access__button { font-size: 23px; }
	.msm-access__links { flex-direction: column; align-items: center; }
}

/* Template MSM storico, ricostruito senza dipendenze dai vecchi customizer. */
:root {
	--msm-login-pink: rgba(255, 209, 220, .89);
	--msm-login-accent: #ff2f68;
	--msm-login-background: url('/wp-content/uploads/2024/02/programmi-prova-1-e1708955573480.jpg');
}

.msm-login-layout {
	box-sizing: border-box;
	width: 320px;
	max-width: 100%;
	margin: 0 auto;
	color: #fff;
	font-family: Arial, sans-serif;
}

.msm-login-layout__title {
	margin: 0 0 24px;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
}

.msm-login-layout__panel {
	box-sizing: border-box;
	width: 320px;
	min-height: 520px;
	padding: 26px 24px;
	background: var(--msm-login-pink);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .13);
}

.msm-login-layout .msm-access {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	color: #292929;
	font-family: Arial, sans-serif;
}

.msm-login-layout .msm-access__field { display: block; margin: 0 0 16px; }
.msm-login-layout .msm-access__field label {
	display: block;
	margin: 0 0 11px;
	padding: 0;
	color: #292929;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

.msm-login-layout .msm-access__field input[type='text'],
.msm-login-layout .msm-access__field input[type='email'],
.msm-login-layout .msm-access__field input[type='password'] {
	box-sizing: border-box;
	width: 100%;
	min-height: 47px;
	margin: 0;
	padding: 8px 15px;
	border: 1px solid #ddd;
	border-radius: 0;
	background: #f2f6fc;
	box-shadow: none;
	color: #111;
	font-size: 14px;
}

.msm-access__password { position: relative; }
.msm-access__password input { padding-right: 48px !important; }
.msm-access__password-toggle {
	position: absolute;
	top: 50%;
	right: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #3c434a;
	cursor: pointer;
	transform: translateY(-50%);
}

.msm-login-layout .msm-access__remember {
	gap: 8px;
	margin: 6px 0 20px;
	color: #292929;
	font-size: 14px;
}
.msm-login-layout .msm-access__remember input { width: 17px; height: 17px; margin: 0; accent-color: var(--msm-login-accent); }
.msm-login-layout .msm-access__button {
	min-height: 46px;
	padding: 12px 24px;
	border: 0;
	border-radius: 5px;
	background: var(--msm-login-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.msm-login-layout .msm-access__button:hover,
.msm-login-layout .msm-access__button:focus { background: #ec2058; color: #fff; }

.msm-login-layout__links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 26px;
	font-size: 13px;
}
.msm-login-layout__links a,
.msm-login-layout__back { color: #fff; text-decoration: underline; }
.msm-login-layout__back,
.msm-login-layout__terms { display: table; margin: 19px auto 0; font-size: 13px; }
.msm-login-layout__terms { color: #50575e; text-decoration: none; }

body.page-id-7810 { background: #252a2c var(--msm-login-background) center top / cover no-repeat fixed; }
body.page-id-7810 .elementor-7810 .elementor-element.elementor-element-399796e {
	min-height: 100vh !important;
	background: #252a2c var(--msm-login-background) center top / cover no-repeat !important;
}
body.page-id-7810 .elementor-7810 .elementor-element.elementor-element-245395d {
	width: 100% !important;
	min-height: 100vh !important;
	padding: 70px 20px 50px;
	align-items: center;
	justify-content: flex-start;
}
body.page-id-7810 .elementor-7810 .elementor-element.elementor-element-b522af3 { display: none; }

@media (max-width: 767px) {
	.msm-login-layout { width: 350px; }
	.msm-login-layout__panel { width: 100%; }
	body.page-id-7810 .elementor-7810 .elementor-element.elementor-element-245395d { padding-right: 39px; padding-left: 39px; }
}
