/* ParkingMudde FOMO Elements Pro — Frontend Styles */

.pmvfomo {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.4;
}
.pmvfomo * { box-sizing: border-box; }
.pmvfomo[hidden] { display: none !important; }

/* ---- Counter ---- */
.pmvfomo-counter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 8px;
}

/* ---- Adopter banner ---- */
.pmvfomo-adopter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	justify-content: space-between;
}
.pmvfomo-adopter .pmvfomo-text { flex: 1 1 auto; }

/* ---- Generic CTA button ---- */
.pmvfomo-cta {
	border: none;
	cursor: pointer;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
	transition: background 0.15s ease;
}

/* ---- Social proof carousel ---- */
.pmvfomo-proof {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	padding: 4px 0;
}
.pmvfomo-proof-item { flex: 0 0 auto; white-space: nowrap; }

/* ---- Waitlist modal trigger + overlay ---- */
.pmvfomo-waitlist-trigger {
	background: #15489E;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
}
.pmvfomo-modal-overlay,
.pmvfomo-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 16px;
}
.pmvfomo-modal,
.pmvfomo-popup {
	position: relative;
	width: 100%;
	box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.pmvfomo-modal-close,
.pmvfomo-popup-close {
	position: absolute;
	top: 10px;
	right: 14px;
	border: none;
	background: none;
	font-size: 24px;
	cursor: pointer;
	line-height: 1;
	color: inherit;
	opacity: 0.6;
}
.pmvfomo-modal-close:hover,
.pmvfomo-popup-close:hover { opacity: 1; }
.pmvfomo-modal-title,
.pmvfomo-popup-title { margin: 0 0 8px; font-size: 20px; }
.pmvfomo-modal-subtitle,
.pmvfomo-popup-text { margin: 0 0 16px; opacity: 0.85; }
.pmvfomo-modal-cities { font-size: 13px; opacity: 0.7; margin-bottom: 16px; }
.pmvfomo-email-form { display: flex; flex-direction: column; gap: 10px; }
.pmvfomo-email-input {
	padding: 12px 14px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
	width: 100%;
}
.pmvfomo-email-submit {
	background: #15489E;
	color: #fff;
	border: none;
	padding: 12px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
}
.pmvfomo-email-submit:disabled { opacity: 0.6; cursor: default; }
.pmvfomo-form-message { font-size: 13px; margin: 0; min-height: 16px; }
.pmvfomo-form-message.is-success { color: #1F8A5B; }
.pmvfomo-form-message.is-error { color: #B3261E; }

/* ---- Offer banner ---- */
.pmvfomo-offer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	justify-content: space-between;
}
.pmvfomo-offer .pmvfomo-countdown { font-weight: 700; opacity: 0.9; }
.pmvfomo-offer .pmvfomo-cta { background: rgba(255,255,255,0.18); color: inherit; }
.pmvfomo-offer .pmvfomo-cta:hover { background: rgba(255,255,255,0.3); }

/* ---- Ticker ---- */
.pmvfomo-ticker {
	display: flex;
	align-items: center;
	gap: 10px;
	overflow: hidden;
	border-radius: 4px;
}
.pmvfomo-ticker-track { flex: 1 1 auto; overflow: hidden; white-space: nowrap; }
.pmvfomo-ticker-item { display: inline-block; }
.pmvfomo-ticker-item.is-leaving { animation: pmvfomo-ticker-out 0.4s ease forwards; }
.pmvfomo-ticker-item.is-entering { animation: pmvfomo-ticker-in 0.4s ease forwards; }
@keyframes pmvfomo-ticker-out { to { transform: translateY(-100%); opacity: 0; } }
@keyframes pmvfomo-ticker-in { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---- Geo callout ---- */
.pmvfomo-geo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	justify-content: space-between;
}
.pmvfomo-geo .pmvfomo-cta { background: rgba(255,255,255,0.2); color: inherit; }
.pmvfomo-geo .pmvfomo-cta:hover { background: rgba(255,255,255,0.32); }

/* ---- Scarcity / leaderboard ---- */
.pmvfomo-scarcity { display: flex; align-items: center; gap: 10px; }

/* ---- Badge ---- */
.pmvfomo-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
}

/* ---- Video testimonials grid ---- */
.pmvfomo-videos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
.pmvfomo-video-item iframe { display: block; width: 100%; border: none; }
.pmvfomo-video-name { text-align: center; font-size: 13px; margin-top: 6px; opacity: 0.8; }
@media (max-width: 700px) {
	.pmvfomo-videos { grid-template-columns: 1fr !important; }
}

/* ---- Animations ---- */
@keyframes pmvfomo-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pmvfomo-fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pmvfomo-slideInDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pmvfomo-slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pmvfomo-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.pmvfomo-anim-fadeIn { animation: pmvfomo-fadeIn 0.5s ease both; }
.pmvfomo-anim-fadeInUp { animation: pmvfomo-fadeInUp 0.5s ease both; }
.pmvfomo-anim-slideInDown { animation: pmvfomo-slideInDown 0.45s ease both; }
.pmvfomo-anim-slideUp { animation: pmvfomo-slideUp 0.45s ease both; }
.pmvfomo-anim-pulse { animation: pmvfomo-pulse 1.6s ease-in-out infinite; }
.pmvfomo-anim-scroll-text { /* handled via JS text-swap, no CSS keyframe needed */ }

@media (max-width: 600px) {
	.pmvfomo-adopter, .pmvfomo-offer, .pmvfomo-geo { flex-direction: column; align-items: flex-start; }
	.pmvfomo-cta { width: 100%; text-align: center; }
}
