/* Donation form additions -- app.min.css is a compiled bundle (don't hand-edit),
   this covers the pieces the donation form needs that main.js/app.min.css don't
   already style: frequency/package radio "cards", the Stripe Card Element, and
   inline form status/error messaging. Loaded after app.min.css. */

.donate-wrap .check {
	position: relative;
}

.donate-wrap .check input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}

.donate-wrap .check label {
	display: flex;
	border: 2px solid #4e87df;
	border-radius: 8px;
	padding: 10px;
	cursor: pointer;
	color: #4e87df;
	font-weight: 600;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.donate-wrap .check label span {
	font-weight: 400;
	font-size: 0.85em;
}

.donate-wrap .check input:checked + label {
	background-color: #4e87df;
	color: #fff;
}

.donation-card-element {
	border: 1px solid #ced4da;
	border-radius: 8px;
	padding: 14px 16px;
	background: #fff;
}

.donation-card-errors {
	color: #dc3545;
	font-size: 0.9em;
	margin-top: 6px;
	min-height: 1.2em;
}

.donation-form-error {
	color: #dc3545;
}

.donation-form-status.text-danger {
	color: #dc3545;
}
