.donation-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.donation-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.donation-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(5, 8, 20, 0.82);
}

.donation-modal__box {
	position: relative;
	z-index: 1;
	width: min(100%, 420px);
	padding: 2rem 2rem 1.75rem;
	background: linear-gradient(160deg, rgb(31, 41, 76) 0%, rgb(22, 32, 62) 100%);
	border: 1px solid rgba(203, 172, 112, 0.35);
	border-radius: 8px;
	box-shadow: rgba(8, 12, 28, 0.55) 0px 24px 64px;
	text-align: center;
}

.donation-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: rgba(203, 172, 112, 0.12);
	color: rgb(203, 172, 112);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.donation-modal__close:hover {
	background: rgba(203, 172, 112, 0.22);
}

.donation-modal__title {
	margin: 0 0 0.75rem;
	font-family: "Playfair Display", serif;
	font-size: 1.75rem;
	font-weight: 500;
	color: rgb(253, 253, 253);
}

.donation-modal__title--success {
	color: rgb(245, 230, 205);
}

.donation-modal__title--cancel {
	color: rgb(203, 172, 112);
}

.donation-modal__text {
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 0.95rem;
	font-weight: 300;
	line-height: 1.6;
	color: rgb(200, 205, 218);
}
