/* ── Päästik: nupp / link ─────────────────────────────────────────── */
.mv-vorm-ava--nupp {
	display: inline-block;
	background: #04213E;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease;
}
.mv-vorm-ava--nupp:hover,
.mv-vorm-ava--nupp:focus-visible {
	background: #185FA5;
	color: #fff;
}
.mv-vorm-ava--link {
	display: inline;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	color: #185FA5;
	font: inherit;
	cursor: pointer;
	text-decoration: underline;
}
.mv-vorm-ava--link:hover { color: #04213E; }

/* ── Popup ─────────────────────────────────────────────────────────── */
.mv-vorm-overlay {
	display: none !important;
	position: fixed;
	inset: 0;
	z-index: 99990;
	background: rgba(4, 33, 62, 0.55);
	align-items: flex-start;
	justify-content: center;
	padding: 5vh 16px;
	overflow-y: auto;
	pointer-events: none;
}
.mv-vorm-overlay.is-open {
	display: flex !important;
	pointer-events: auto;
}
.mv-vorm-modal {
	background: #fff;
	border-radius: 12px;
	width: 100%;
	max-width: 680px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	animation: mvVormIn 0.18s ease;
}
@keyframes mvVormIn {
	from { opacity: 0; transform: translateY(-12px); }
	to   { opacity: 1; transform: translateY(0); }
}
.mv-vorm-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px;
	background: #04213E;
	color: #fff;
}
.mv-vorm-modal__title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
}
.mv-vorm-modal__close {
	background: none;
	border: 0;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
	opacity: 0.85;
}
.mv-vorm-modal__close:hover { opacity: 1; }
.mv-vorm-modal__body {
	padding: 22px;
	max-height: 75vh;
	overflow-y: auto;
}

/* ── Vorm ──────────────────────────────────────────────────────────── */
.mv-vorm__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mv-vorm__section {
	margin: 22px 0 12px;
	font-size: 18px;
	font-weight: 600;
	color: #04213E;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 6px;
}
.mv-vorm__section:first-child { margin-top: 0; }
.mv-vorm__field { margin-bottom: 14px; }
.mv-vorm__label {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	color: #3a4a5a;
}
.mv-vorm__req { color: #c0392b; }
.mv-vorm__field input[type="text"],
.mv-vorm__field input[type="email"],
.mv-vorm__field input[type="tel"],
.mv-vorm__field input[type="number"],
.mv-vorm__field textarea,
.mv-vorm__field select {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #cfd9e4;
	border-radius: 6px;
	background: #eef4fb;
	font-size: 15px;
	color: #1a2836;
}
.mv-vorm__field textarea { min-height: 120px; resize: vertical; }
.mv-vorm__field input:focus,
.mv-vorm__field textarea:focus,
.mv-vorm__field select:focus {
	outline: none;
	border-color: #185FA5;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(24, 95, 165, 0.15);
}
.mv-vorm__field--check { margin-bottom: 10px; }
.mv-vorm__check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: #1a2836;
	cursor: pointer;
}
.mv-vorm__check input { width: 18px; height: 18px; }

.mv-vorm__field--error input,
.mv-vorm__field--error textarea,
.mv-vorm__field--error select {
	border-color: #c0392b;
	background: #fdecea;
}
.mv-vorm__field-error {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: #c0392b;
}

.mv-vorm__foot {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}
.mv-vorm__submit {
	background: #1B3A66;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}
.mv-vorm__submit:hover { background: #185FA5; }
.mv-vorm__submit:disabled { opacity: 0.6; cursor: default; }
.mv-vorm__spinner {
	display: none;
	width: 20px;
	height: 20px;
	border: 2px solid #cfd9e4;
	border-top-color: #185FA5;
	border-radius: 50%;
	animation: mvVormSpin 0.7s linear infinite;
}
.mv-vorm__spinner.is-on { display: inline-block; }
@keyframes mvVormSpin { to { transform: rotate(360deg); } }

.mv-vorm__msg { margin-top: 14px; font-size: 15px; }
.mv-vorm__msg--ok {
	padding: 14px 16px;
	background: #e6f5ec;
	border: 1px solid #b7e0c4;
	border-radius: 8px;
	color: #1d6b3a;
}
.mv-vorm__msg--err {
	padding: 12px 14px;
	background: #fdecea;
	border: 1px solid #f2c2bc;
	border-radius: 8px;
	color: #a3271e;
}

@media (max-width: 600px) {
	.mv-vorm-modal__body { padding: 16px; }
	.mv-vorm-overlay { padding: 2vh 10px; }
}
