/* David A. Holland — Donations. Scoped under .dah-donate; theme via the CSS variables below. */
.dah-donate {
	--dah-accent: #2563eb;
	--dah-accent-contrast: #ffffff;
	--dah-radius: 10px;
	--dah-border: #d9dee8;
	box-sizing: border-box;
	max-width: 540px;
	font-family: inherit;
}

.dah-donate *,
.dah-donate *::before,
.dah-donate *::after {
	box-sizing: border-box;
}

/* Card layout (blue) — matches the "David, Let's go!" proposal. */
.dah-donate.dah-layout-card {
	background: var(--dah-accent);
	color: var(--dah-accent-contrast);
	padding: 28px;
	border-radius: 16px;
}

/* Presets grid */
.dah-presets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 12px;
}

.dah-preset {
	appearance: none;
	cursor: pointer;
	padding: 18px 12px;
	font-size: 20px;
	font-weight: 700;
	border-radius: var(--dah-radius);
	border: 1px solid var(--dah-border);
	background: #ffffff;
	color: #111111;
	transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.dah-preset:hover,
.dah-preset.selected {
	background: var(--dah-accent);
	color: var(--dah-accent-contrast);
	box-shadow: 0 0 0 2px var(--dah-accent) inset;
}

.dah-layout-card .dah-preset {
	background: rgba(255, 255, 255, .15);
	color: #ffffff;
	border-color: rgba(255, 255, 255, .35);
}

.dah-layout-card .dah-preset:hover,
.dah-layout-card .dah-preset.selected {
	background: #ffffff;
	color: #111111;
	box-shadow: none;
}

/* Custom amount */
.dah-custom {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	border: 1px solid var(--dah-border);
	border-radius: var(--dah-radius);
	padding: 12px 16px;
	margin-bottom: 14px;
}

.dah-custom .dah-cur {
	font-size: 20px;
	font-weight: 700;
	color: #111111;
}

.dah-amount {
	flex: 1;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 20px;
	font-weight: 700;
	color: #111111;
	text-align: center;
}

/* Mode toggles */
.dah-monthly-toggle,
.dah-mode {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-weight: 600;
}

.dah-mode {
	justify-content: center;
	gap: 24px;
}

.dah-monthly-toggle input,
.dah-radio input {
	width: 18px;
	height: 18px;
	accent-color: var(--dah-accent);
}

.dah-radio {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

/* Monthly day selector */
.dah-day {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	text-align: center;
}

.dah-day[hidden] {
	display: none;
}

.dah-day-select {
	padding: 10px 14px;
	border-radius: var(--dah-radius);
	border: 1px solid var(--dah-border);
	font-size: 16px;
	max-width: 220px;
}

/* Submit */
.dah-submit {
	display: block;
	width: 100%;
	cursor: pointer;
	padding: 16px 24px;
	font-size: 20px;
	font-weight: 700;
	border: 0;
	border-radius: var(--dah-radius);
	background: #ffffff;
	color: #111111;
	transition: opacity .15s ease;
}

.dah-layout-plain .dah-submit {
	background: var(--dah-accent);
	color: var(--dah-accent-contrast);
}

.dah-submit:hover {
	opacity: .9;
}

.dah-submit:disabled {
	opacity: .6;
	cursor: default;
}

/* Error */
.dah-error {
	margin: 12px 0 0;
	font-weight: 600;
	color: #b00020;
}

.dah-layout-card .dah-error {
	color: #ffe0e0;
}

@media (max-width: 600px) {
	.dah-presets {
		grid-template-columns: repeat(2, 1fr);
	}
	.dah-preset,
	.dah-amount,
	.dah-submit {
		font-size: 18px;
	}
}
