/* Modal de sucesso (confetti via canvas-confetti — mfs-custom) */

.mfs-fx-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	background: rgba(0, 10, 40, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	animation: mfs-fx-overlay-in 0.28s ease;
	backdrop-filter: blur(3px);
}

@keyframes mfs-fx-overlay-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.mfs-fx-modal {
	background: #fff;
	color: #0a1628;
	max-width: 340px;
	width: 100%;
	padding: 1.35rem 1.2rem 1.2rem;
	border-radius: 12px;
	text-align: center;
	font-family: inherit;
	box-shadow:
		0 24px 80px rgba(0, 20, 80, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.08) inset;
	animation: mfs-fx-modal-pop 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
}

@keyframes mfs-fx-modal-pop {
	from {
		opacity: 0;
		transform: scale(0.88) translateY(12px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.mfs-fx-modal__title {
	margin: 0 0 0.85rem;
	font-size: clamp(0.95rem, 2.4vw, 1.12rem);
	font-weight: 800;
	letter-spacing: 0.035em;
	line-height: 1.3;
	color: #003593;
}

.mfs-fx-modal__btn {
	display: inline-block;
	margin-top: 0.1rem;
	padding: 15px 50px;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff !important;
	background: #0064b6 !important;
	border: none !important;
	border-radius: 30px;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.mfs-fx-modal__btn:hover,
.mfs-fx-modal__btn:focus-visible {
	background: #a11112 !important;
	color: #fff !important;
	outline: none;
}

.mfs-fx-modal__btn:active {
	transform: scale(0.98);
}
