:root {
	--mv-green: #2e7d32;
	--mv-green-dark: #1f6b2a;
	--mv-green-light: #43a047;
	--mv-orange: #f57c00;
	--mv-yellow: #fbc02d;
	--mv-ink: #2f3a4a;
	--mv-muted: #5f6b7a;
	--mv-line: #e3e8ee;
	--mv-field: #f3f5f7;
	--mv-bg: #ffffff;
	--mv-strip: linear-gradient(90deg, var(--mv-green) 0 55%, var(--mv-orange) 55% 82%, var(--mv-yellow) 82%);
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	min-height: 100%;
	background: var(--mv-bg);
	color: var(--mv-ink);
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.mv-login {
	display: grid;
	grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
	min-height: 100vh;
}

/* ---------- Left hero ---------- */
.mv-hero {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 36px 56px 32px;
	color: #fff;
	background:
		radial-gradient(circle at 88% 6%, rgba(251, 192, 45, 0.45), transparent 22%),
		radial-gradient(circle at 60% 20%, rgba(139, 160, 40, 0.35), transparent 35%),
		linear-gradient(160deg, #2c7a2f 0%, #2e7d32 45%, #3a8f3e 100%);
}

.mv-hero-mountains {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	width: 100%;
	height: 42%;
	fill: rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.mv-hero-blob {
	position: absolute;
	right: 14%;
	top: 60%;
	width: 72px;
	height: 84px;
	border-radius: 50%;
	background: rgba(251, 192, 45, 0.35);
	pointer-events: none;
}

.mv-brand {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}
.mv-brand-logo {
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	flex: none;
}
.mv-brand-logo img { width: 32px; height: 32px; object-fit: contain; }
.mv-brand > span { min-width: 0; }
.mv-brand strong { display: block; font-size: 15px; font-weight: 600; }
.mv-brand small { font-size: 12px; opacity: 0.9; }

.mv-hero-body {
	position: relative;
	margin: auto 0;
	padding: 32px 0;
	max-width: 520px;
}

.mv-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.1);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
}
.mv-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--mv-yellow); }

.mv-hero h1 {
	margin: 20px 0 14px;
	font-family: "Merriweather", Georgia, serif;
	font-size: clamp(26px, 2.5vw, 36px);
	line-height: 1.25;
	font-weight: 900;
}
.mv-hero h1 em { font-style: normal; color: var(--mv-yellow); }
.mv-hero-body > p { margin: 0; max-width: 470px; font-size: 14.5px; line-height: 1.65; opacity: 0.95; }


.mv-hero-foot { position: relative; font-size: 12.5px; opacity: 0.9; }

.mv-bottom-strip,
.mv-top-strip { height: 4px; background: var(--mv-strip); }
.mv-bottom-strip { position: absolute; left: 0; right: 0; bottom: 0; }
.mv-top-strip {
	position: fixed;
	top: 0; right: 0;
	width: 40%;
	z-index: 2;
	background: linear-gradient(90deg, var(--mv-green) 0 55%, var(--mv-orange) 55% 80%, var(--mv-yellow) 80%);
}

/* ---------- Right panel ---------- */
.mv-panel {
	display: flex;
	flex-direction: column;
	padding: 32px 40px 20px;
}

.mv-card {
	width: 100%;
	max-width: 380px;
	margin: auto;
	padding: 24px 0;
}

.mv-card-logo {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 6px rgba(46, 125, 50, 0.07), 0 8px 18px rgba(46, 125, 50, 0.15);
}
.mv-card-logo img { width: 36px; height: 36px; object-fit: contain; }

.mv-eyebrow {
	margin: 0 0 4px;
	color: var(--mv-orange);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
}
.mv-card h2 { margin: 0 0 6px; font-size: 23px; font-weight: 700; letter-spacing: -0.01em; }
.mv-sub { margin: 0 0 22px; color: var(--mv-muted); font-size: 13.5px; line-height: 1.5; }
.mv-sub b { color: var(--mv-green); font-weight: 600; }

.mv-card form > label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; }

.mv-input {
	position: relative;
	display: flex;
	align-items: center;
	margin-bottom: 16px;
	border: 1.5px solid transparent;
	border-radius: 8px;
	background: var(--mv-field);
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.mv-input:focus-within {
	background: #fff;
	border-color: var(--mv-green);
	box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}
.mv-input > svg { flex: none; width: 17px; height: 17px; margin-left: 13px; color: #8a96a3; }
.mv-input:focus-within > svg { color: var(--mv-green); }
.mv-input input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 12px 0 10px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--mv-ink);
	font: inherit;
	font-size: 14px;
}
.mv-input input::placeholder { color: #8a96a3; }

.mv-eye {
	display: grid;
	place-items: center;
	width: 36px; height: 36px;
	margin-right: 4px;
	border: 0;
	background: none;
	color: #8a96a3;
	cursor: pointer;
}
.mv-eye svg { width: 17px; height: 17px; }
.mv-eye.is-on { color: var(--mv-green); }

.mv-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: -2px 0 18px;
	font-size: 13px;
}
.mv-check { display: inline-flex; align-items: center; gap: 8px; color: var(--mv-muted); cursor: pointer; }
.mv-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--mv-green); }
.mv-link { color: var(--mv-green); font-weight: 600; }
.mv-link:hover { text-decoration: underline; }

.mv-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 46px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(90deg, var(--mv-green-dark), var(--mv-green-light));
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(46, 125, 50, 0.22);
	transition: transform .1s, filter .15s;
}
.mv-btn svg { width: 16px; height: 16px; }
.mv-btn:hover { filter: brightness(1.05); }
.mv-btn:active { transform: translateY(1px); }
.mv-btn[disabled] { opacity: .7; cursor: progress; }

.mv-msg { display: none; margin: -4px 0 14px; padding: 8px 12px; border-radius: 6px; font-size: 13px; }
.mv-msg.is-error { display: block; background: #fdecea; color: #b3261e; }
.mv-msg.is-success { display: block; background: #e8f5e9; color: var(--mv-green-dark); }

.mv-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 12px;
	color: #8a96a3;
	font-size: 12px;
}
.mv-divider::before, .mv-divider::after { content: ""; flex: 1; height: 1px; background: var(--mv-line); }

.mv-sso { display: grid; gap: 8px; }
.mv-sso-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 42px;
	border: 1.5px solid var(--mv-line);
	border-radius: 8px;
	background: #fff;
	font-size: 13.5px;
	font-weight: 500;
	transition: border-color .15s, background .15s;
}
.mv-sso-btn:hover { border-color: var(--mv-green); background: #f6fbf6; }
.mv-sso-icon { display: inline-flex; width: 18px; height: 18px; color: var(--mv-muted); }
.mv-sso-icon img, .mv-sso-icon svg { width: 18px; height: 18px; object-fit: contain; }

.mv-secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 18px 0 0;
	color: var(--mv-muted);
	font-size: 12px;
}
.mv-secure svg { width: 14px; height: 14px; color: var(--mv-green); }
.mv-back { margin: 16px 0 0; text-align: center; font-size: 13px; }

.mv-panel-foot {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 16px;
	border-top: 1px solid var(--mv-line);
	color: var(--mv-muted);
	font-size: 12px;
}
.mv-panel-foot a:hover { color: var(--mv-green); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.mv-login { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
	.mv-hero { padding: 32px 24px 28px; }
	.mv-hero-body { padding: 28px 0 8px; }
	.mv-hero h1 { font-size: 24px; }
	.mv-hero-body > p { font-size: 14px; }
	.mv-hero-foot, .mv-hero-blob { display: none; }
	.mv-top-strip { display: none; }
	.mv-panel { padding: 16px 16px 20px; }
	.mv-card { margin: 0 auto; padding: 16px 0 32px; }
}

@media (max-width: 480px) {
	.mv-hero-body > p { display: none; }
	.mv-brand strong { font-size: 15px; }
	.mv-card h2 { font-size: 21px; }
	.mv-row { font-size: 12.5px; }
}
