.mvfp-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 10, 20, 0.65);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.mvfp-modal {
	position: relative;
	background: #fff;
	max-width: 480px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.35);
	border-top: 6px solid var(--mvfp-primary, #0a2647);
	padding: 20px;
	box-sizing: border-box;
}

.mvfp-anim-zoom .mvfp-modal { animation: mvfpZoom .25s ease-out; }
.mvfp-anim-fade .mvfp-modal { animation: mvfpFade .3s ease-out; }
.mvfp-anim-slide-up .mvfp-modal { animation: mvfpSlideUp .3s ease-out; }

@keyframes mvfpZoom { from { transform: scale(.85); opacity:0; } to { transform: scale(1); opacity:1; } }
@keyframes mvfpFade { from { opacity:0; } to { opacity:1; } }
@keyframes mvfpSlideUp { from { transform: translateY(40px); opacity:0; } to { transform: translateY(0); opacity:1; } }

.mvfp-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #444;
	z-index: 2;
}
.mvfp-close:hover { color: #000; }

.mvfp-media { text-align: center; margin-bottom: 12px; }
.mvfp-media img, .mvfp-media video { width: 100%; height: auto; border-radius: 8px; display: block; }
.mvfp-video-embed { position: relative; }
.mvfp-video-embed iframe { width: 100%; aspect-ratio: 16/9; border-radius: 8px; border: 0; }

.mvfp-event-date {
	text-align: center;
	font-weight: 700;
	color: var(--mvfp-primary, #0a2647);
	background: rgba(212,175,55,0.12);
	border: 1px solid var(--mvfp-accent, #d4af37);
	border-radius: 8px;
	padding: 8px 10px;
	margin: 10px 0;
	font-size: 14px;
}

.mvfp-cta-btn {
	display: block;
	width: 100%;
	background: var(--mvfp-accent, #d4af37);
	color: #1a1a1a;
	border: none;
	padding: 12px 16px;
	font-size: 16px;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	margin-top: 10px;
	transition: transform .15s ease, opacity .15s ease;
}
.mvfp-cta-btn:hover { opacity: .9; transform: translateY(-1px); }

.mvfp-view-form h3 {
	color: var(--mvfp-primary, #0a2647);
	margin-top: 0;
	text-align: center;
}
.mvfp-view-form p { margin: 10px 0; }
.mvfp-view-form label { display:block; font-weight:600; margin-bottom:4px; font-size: 13px; color:#333; }
.mvfp-view-form input[type="text"],
.mvfp-view-form input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
}
.mvfp-radio-inline { display: inline-block !important; font-weight: 500 !important; margin-right: 16px; }
.mvfp-form-msg { font-size: 13px; text-align:center; min-height: 16px; }
.mvfp-form-msg.mvfp-error { color: #c00; }
.mvfp-form-msg.mvfp-success { color: #0a7d00; }

.mvfp-view-thanks { text-align: center; padding: 24px 8px; }
.mvfp-thanks-text { font-size: 16px; color: var(--mvfp-primary, #0a2647); font-weight: 600; }

@media (max-width: 480px) {
	.mvfp-modal { padding: 16px; border-radius: 10px; }
}

/* ==== Mode gabungan: beberapa flyer gambar tampil sekaligus ==== */

.mvfp-stack {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 999998;
	display: flex;
	flex-direction: column-reverse;
	gap: 12px;
	max-width: 280px;
	pointer-events: none;
}

.mvfp-card {
	display: none;
	flex-direction: column;
	pointer-events: auto;
	background: #fff;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.22);
	border-top: 4px solid var(--mvfp-primary, #0a2647);
	position: relative;
}

.mvfp-card-close {
	position: absolute;
	top: 6px;
	right: 8px;
	background: rgba(0,0,0,0.45);
	color: #fff;
	border: none;
	width: 24px;
	height: 24px;
	line-height: 22px;
	border-radius: 50%;
	font-size: 16px;
	cursor: pointer;
	z-index: 2;
}
.mvfp-card-close:hover { background: rgba(0,0,0,0.7); }

.mvfp-card-media { cursor: pointer; }
.mvfp-card-media img { width: 100%; height: 140px; object-fit: cover; display: block; }

.mvfp-card-body { padding: 10px 12px 12px; }

.mvfp-card-date {
	font-size: 12px;
	font-weight: 700;
	color: var(--mvfp-primary, #0a2647);
	margin: 0 0 8px;
}

.mvfp-card-cta {
	display: block;
	width: 100%;
	background: var(--mvfp-accent, #d4af37);
	color: #1a1a1a;
	border: none;
	padding: 9px 10px;
	font-size: 13.5px;
	font-weight: 700;
	border-radius: 6px;
	cursor: pointer;
}
.mvfp-card-cta:hover { opacity: .9; }

.mvfp-cta-modal-title {
	text-align: center;
	font-size: 13px;
	color: #666;
	margin-top: -6px;
}

@media (max-width: 480px) {
	.mvfp-stack {
		right: 8px;
		left: 8px;
		bottom: 8px;
		max-width: none;
	}
}
