.hlm-donate,
.hlm-donate * { box-sizing: border-box; }

.hlm-donate {
	--navy: #1c2b4a;
	--blue: #003087;
	--muted: #8b93a3;
	--line: #e4e7ee;
	--gold: #ffc439;
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	padding: 34px 28px 28px;
	background: #fff;
	border: 1px solid #e7eaef;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(16, 32, 51, 0.06);
	text-align: center;
	font-family: "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
	color: var(--navy);
	line-height: 1.35;
}

.hlm-donate img.hlm-d-logo {
	display: block;
	width: 188px;
	max-width: 70%;
	height: auto;
	margin: 2px auto 18px;
}

.hlm-donate .hlm-d-kicker {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.hlm-donate .hlm-d-title {
	margin: 2px 0 10px;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.hlm-donate .hlm-d-sub {
	max-width: 420px;
	margin: 0 auto 22px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}

.hlm-donate .hlm-d-amounts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.hlm-donate button.hlm-d-amt {
	appearance: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 76px;
	margin: 0;
	padding: 10px 6px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 16px rgba(16, 24, 40, 0.05);
	color: var(--navy);
	font-family: inherit;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.hlm-donate button.hlm-d-amt:hover { border-color: #d5dae3; }
.hlm-donate button.hlm-d-amt.is-selected {
	border-color: #2a56d6;
	box-shadow: 0 0 0 1px #2a56d6, 0 8px 16px rgba(42, 86, 214, 0.12);
}

.hlm-donate .hlm-d-cur {
	display: block;
	margin-top: 3px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.hlm-donate .hlm-d-other { display: block; margin-top: 12px; text-align: left; }
.hlm-donate .hlm-d-other[hidden],
.hlm-donate .hlm-d-cardpanel[hidden],
.hlm-donate .hlm-d-thanks[hidden],
.hlm-donate .hlm-d-card-unavailable[hidden] { display: none !important; }

.hlm-donate .hlm-d-other span,
.hlm-donate .hlm-d-cardpanel label {
	display: block;
	margin: 0 0 6px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
	text-align: left;
}

.hlm-donate .hlm-d-cardpanel label span { display: inline; color: #98a2b3; font-weight: 600; }

.hlm-donate .hlm-d-other input,
.hlm-donate .hlm-d-input {
	width: 100%;
	height: 48px;
	margin: 0 0 12px;
	padding: 0 14px;
	border: 1px solid #d5dbe3;
	border-radius: 10px;
	background: #fff;
	color: var(--navy);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	box-shadow: none;
}

.hlm-donate .hlm-d-fund {
	position: relative;
	margin-top: 16px;
	padding: 10px 40px 11px 14px;
	border: 1px solid #d7dce4;
	border-radius: 10px;
	background: #fff;
	text-align: left;
}

.hlm-donate .hlm-d-fund-label {
	display: block;
	color: #9aa3b2;
	font-size: 13px;
	font-weight: 700;
}

.hlm-donate .hlm-d-fund select {
	appearance: none;
	display: block;
	width: 100%;
	margin: 1px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--navy);
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: none;
}

.hlm-donate .hlm-d-fund::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid #667085;
	border-bottom: 2px solid #667085;
	transform: rotate(45deg);
	pointer-events: none;
}

.hlm-donate .hlm-d-fee {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 18px 2px 6px;
	color: #2a364c;
	font-size: 15px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.hlm-donate .hlm-d-fee input {
	width: 18px;
	height: 18px;
	margin: 0;
	flex: 0 0 18px;
	accent-color: var(--blue);
}

.hlm-donate button.hlm-d-paypal,
.hlm-donate button.hlm-d-card,
.hlm-donate button.hlm-d-card-submit {
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 52px;
	margin: 12px 0 0;
	padding: 0 18px;
	border-radius: 999px !important;
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0 !important;
	line-height: 1;
	text-transform: none !important;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}

.hlm-donate button.hlm-d-paypal,
.hlm-donate button.hlm-d-card-submit {
	border: 0 !important;
	background: var(--gold) !important;
	color: var(--blue) !important;
}

.hlm-donate button.hlm-d-paypal:hover,
.hlm-donate button.hlm-d-card-submit:hover { background: #ffb700 !important; }

.hlm-donate .hlm-d-paypal-inner {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hlm-donate .hlm-d-paypal-logo {
	display: block;
	width: 92px;
	height: 24px;
}

.hlm-donate.is-busy .hlm-d-paypal-logo { display: none; }

.hlm-donate button.hlm-d-card {
	border: 2px solid var(--blue) !important;
	background: #fff !important;
	color: var(--blue) !important;
}

.hlm-donate button.hlm-d-card:hover { background: #f5f8ff !important; }
.hlm-donate.is-busy button { opacity: 0.72; pointer-events: none; }

.hlm-donate .hlm-d-cardpanel {
	margin-top: 14px;
	padding: 16px 14px 14px;
	border: 1px solid #d7e3f8;
	border-radius: 14px;
	background: #f7faff;
	text-align: left;
}

.hlm-donate .hlm-d-cardpanel-title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 800;
}

.hlm-donate .hlm-d-cardpanel-note,
.hlm-donate .hlm-d-due {
	margin: 0 0 12px;
	color: #3d4d68;
	font-size: 13px;
	font-weight: 650;
}

.hlm-donate .hlm-d-due strong { color: var(--navy); font-size: 15px; }

.hlm-donate .hlm-d-hosted {
	height: 48px;
	margin: 0 0 12px;
	padding: 0 10px;
	border: 1px solid #d5dbe3;
	border-radius: 10px;
	background: #fff;
}

.hlm-donate .hlm-d-card-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.hlm-donate .hlm-d-msg {
	margin: 14px 0 0;
	font-size: 14px;
	font-weight: 700;
}
.hlm-donate .hlm-d-msg:empty { display: none; }
.hlm-donate .hlm-d-msg.is-error,
.hlm-donate .hlm-d-card-unavailable { color: #b42318; }
.hlm-donate .hlm-d-msg.is-ok { color: #067647; }

.hlm-donate .hlm-d-thanks-kicker { margin: 8px 0 6px; font-size: 22px; font-weight: 800; }
.hlm-donate .hlm-d-thanks p { margin: 0; font-size: 16px; font-weight: 700; }
.hlm-donate.is-thanks .hlm-d-form { display: none; }

@media (max-width: 420px) {
	.hlm-donate { padding: 28px 16px 20px; }
	.hlm-donate .hlm-d-title { font-size: 26px; }
	.hlm-donate .hlm-d-amounts { gap: 8px; }
	.hlm-donate button.hlm-d-amt { min-height: 68px; font-size: 16px; }
	.hlm-donate .hlm-d-card-row { grid-template-columns: 1fr; }
}
