.cd-modal[hidden] {
	display: none !important;
}

.cd-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.cd-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 18, 0.55);
}

.cd-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 420px);
	max-height: calc(100vh - 2.5rem);
	overflow: auto;
	border-radius: 14px;
	background: #f7faf5;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.cd-modal__close {
	position: absolute;
	top: 0.45rem;
	right: 0.55rem;
	z-index: 2;
	border: 0;
	background: transparent;
	color: #33403a;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.25rem 0.45rem;
}

.cd-panel {
	padding: 1.5rem 1.35rem 1.25rem;
	color: #1f2a24;
	font-family: inherit;
}

.cd-title {
	margin: 0 0 0.35rem;
	font-size: 1.45rem;
	line-height: 1.25;
	color: #163528;
}

.cd-lead {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #3d4f45;
}

.cd-amounts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.cd-amount {
	flex: 1 1 auto;
	min-width: 4.5rem;
	border: 2px solid #2f6b4f;
	border-radius: 999px;
	background: #fff;
	color: #2f6b4f;
	font-weight: 600;
	font-size: 1rem;
	padding: 0.55rem 0.9rem;
	cursor: pointer;
}

.cd-amount.is-active,
.cd-amount:hover {
	background: #2f6b4f;
	color: #fff;
}

.cd-other {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 0.75rem;
	padding: 0.55rem 0.75rem;
	border: 1px solid #c5d5cb;
	border-radius: 10px;
	background: #fff;
}

.cd-other[hidden] {
	display: none !important;
}

.cd-other__prefix {
	font-weight: 700;
	color: #2f6b4f;
}

.cd-other input {
	flex: 1;
	border: 0;
	outline: none;
	font-size: 1.05rem;
	background: transparent;
	min-width: 0;
	width: 100%;
}

.cd-selected {
	margin: 0 0 1rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: #163528;
}

.cd-actions {
	display: grid;
	gap: 0.6rem;
}

.cd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: 0;
	border-radius: 10px;
	padding: 0.8rem 1rem;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
}

.cd-btn--paypal {
	background: #0070ba;
	color: #fff;
}

.cd-btn--paypal:hover {
	background: #005ea6;
}

.cd-btn--venmo {
	background: #008cff;
	color: #fff;
}

.cd-btn--venmo:hover {
	background: #0074d9;
}

.cd-note {
	min-height: 1.25rem;
	margin: 0.85rem 0 0.35rem;
	font-size: 0.88rem;
	line-height: 1.4;
	color: #2f6b4f;
}

.cd-fineprint {
	margin: 0;
	font-size: 0.78rem;
	color: #66786e;
	word-break: break-all;
}

.screen-reader-text {
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

body.cd-modal-open {
	overflow: hidden;
}
