/* =========================
   MGL ACCES PRIVE
   ========================= */

body.mgl_acces_prive {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	background: #f3f4f6;
	color: #111;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Conteneur */
.mgl_box {
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 14px;
	padding: 40px 32px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	text-align: center;
}

/* Titre */
.mgl_box h1 {
	font-size: 22px;
	margin-bottom: 10px;
	font-weight: 600;
}

/* Message */
.mgl_box p {
	font-size: 14px;
	color: #555;
	margin-bottom: 20px;
}

/* Erreur */
.mgl_box .alerte {
	background: #ffe5e5;
	color: #b30000;
	padding: 10px 12px;
	border-radius: 8px;
	margin-bottom: 15px;
	font-size: 13px;
}

/* Input */
.mgl_box input[type="password"] {
	width: calc(100% - 48px);
	margin: 0 auto;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #ddd;
	font-size: 15px;
	outline: none;
	transition: all 0.2s ease;
}

.mgl_box input[type="password"]:focus {
	border-color: #4f46e5;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Bouton */
.mgl_box button {
	width: calc(100% - 22px);
	margin: 15px auto 0;
	padding: 12px 14px;
	border: none;
	border-radius: 10px;
	background: #4f46e5;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease;
}

.mgl_box button:hover {
	background: #4338ca;
}

/* Responsive */
@media (max-width: 480px) {
	.mgl_box {
		margin: 20px;
		padding: 30px 20px;
	}
}