/* Vee Magic Login — branded login card (ported from museum PageLogin look). */

.mll-login-card {
	max-width: 420px;
	margin: 50px auto;
	padding: 30px;
	border-radius: 12px;
	background-color: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
	font-family: Georgia, "Times New Roman", serif;
	color: #222;
}

.mll-brand-logo {
	text-align: center;
	margin-bottom: 16px;
}

.mll-brand-logo img {
	max-height: 64px;
	max-width: 100%;
	height: auto;
}

.mll-heading {
	font-size: 1.35rem;
	margin: 0 0 1rem;
	text-align: center;
	font-weight: 700;
}

.mll-chooser {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.mll-chooser-btn {
	flex: 1;
	padding: 10px 8px;
	border: 1px solid #ccc;
	border-radius: 8px;
	background: #f7f7f7;
	cursor: pointer;
	font: inherit;
	font-size: 0.9rem;
}

.mll-chooser-btn.is-active {
	background: var(--mll-primary, #2c7be5);
	border-color: var(--mll-primary, #2c7be5);
	color: #fff;
	font-weight: 700;
}

.mll-chooser-help,
.mll-panel-intro {
	font-size: 0.9rem;
	line-height: 1.45;
	color: #555;
	margin: 0 0 16px;
}

.mll-login-card label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	font-family: system-ui, sans-serif;
	font-size: 0.9rem;
}

.mll-login-card input[type="text"],
.mll-login-card input[type="password"],
.mll-login-card input[type="email"] {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
	font: inherit;
}

.mll-login-card button[type="submit"] {
	width: 100%;
	padding: 12px;
	background-color: var(--mll-primary, #2c7be5);
	color: #fff;
	font-weight: bold;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
}

.mll-login-card button[type="submit"]:hover {
	background-color: var(--mll-primary-hover, #1a5fcc);
}

.mll-feedback {
	margin-bottom: 15px;
	font-weight: bold;
	font-family: system-ui, sans-serif;
	font-size: 0.95rem;
}

.mll-error,
.mll-feedback.mll-error {
	color: #b32d2e;
}

.mll-success,
.mll-feedback.mll-success {
	color: #1e7e34;
}

.mll-links {
	text-align: center;
	font-family: system-ui, sans-serif;
	font-size: 0.9rem;
}

.mll-links a,
#mll-back-to-login {
	color: var(--mll-primary, #2c7be5);
}

.mll-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0 !important;
	width: 0 !important;
	opacity: 0 !important;
}

#mll-forgot-panel {
	margin-top: 8px;
	padding-top: 8px;
}

#mll-forgot-panel[hidden],
.mll-panel[hidden],
#mll-otp-panel[hidden],
.mll-resend-confirm[hidden] {
	display: none !important;
}

#mll-otp-panel {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e5e5e5;
}

.mll-resend-confirm {
	margin-top: 16px;
}

.mll-secondary-btn {
	width: 100%;
	padding: 10px;
	background: #fff;
	color: var(--mll-primary, #2c7be5);
	border: 1px solid var(--mll-primary, #2c7be5);
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
}

.mll-login-card input[type="text"]#mll_otp {
	letter-spacing: 0.35em;
	font-size: 1.25rem;
	text-align: center;
}

/* App client: login card only — hide site chrome. */
body.mll-client-app {
	background: #f5f5f5 !important;
}

body.mll-client-app .allvintage-header,
body.mll-client-app .allvintage-footer,
body.mll-client-app header.wp-block-template-part,
body.mll-client-app footer.wp-block-template-part,
body.mll-client-app .wp-block-template-part:has(header),
body.mll-client-app .wp-block-template-part:has(footer),
body.mll-client-app .av-dash,
body.mll-client-app .av-dash-band,
body.mll-client-app #wpadminbar,
body.mll-client-app nav,
body.mll-client-app .site-header,
body.mll-client-app .site-footer,
body.mll-client-app .site-navigation {
	display: none !important;
}

body.mll-client-app #mll-login,
body.mll-client-app .mll-login-card {
	margin-top: 12vh;
}
