.donations-title { margin-bottom: 4px; }
.donations-intro { font-size: 1.1em; margin-bottom: 14px; }

.donations-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-start;
}
.donations-main { flex: 1 1 520px; min-width: 0; }
.donations-side { flex: 0 1 300px; min-width: 240px; }

.donations-progress {
	height: 12px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.08);
	overflow: hidden;
	margin: 8px 0;
}
.donations-progress-bar {
	height: 100%;
	border-radius: 6px;
	background: linear-gradient(90deg, #2f9e44, #51cf66);
	transition: width 0.6s ease;
}
.donations-goal-text { margin: 0; }

.donations-step {
	border: 0;
	padding: 0;
	margin: 0 0 22px;
}
.donations-step legend {
	font-size: 1.25em;
	font-weight: bold;
	margin-bottom: 10px;
	padding: 0;
}
.donations-step-num {
	display: inline-block;
	width: 1.6em;
	height: 1.6em;
	line-height: 1.6em;
	text-align: center;
	border-radius: 50%;
	background: #105289;
	color: #fff;
	font-size: 0.8em;
	margin-right: 4px;
}
.donations-step dl { margin-bottom: 8px; }
.donations-hint { color: #5d6b78; font-size: 0.95em; margin: 6px 0; }

.donations-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}
.donations-preset {
	min-width: 80px;
	padding: 10px 16px;
	border: 2px solid #c7d3de;
	border-radius: 8px;
	background: #fff;
	font-size: 1.15em;
	font-weight: bold;
	cursor: pointer;
	color: #105289;
	transition: border-color 0.15s, background 0.15s;
}
.donations-preset:hover { border-color: #105289; }
.donations-preset.is-active {
	border-color: #105289;
	background: #105289;
	color: #fff;
}
.donations-other {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.donations-amount-wrap { display: inline-flex; align-items: center; gap: 6px; }
.donations-amount-wrap .inputbox { width: 120px; font-size: 1.15em; padding: 6px 8px; }
.donations-currency { font-weight: bold; }
.donations-check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }

.donations-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.donations-tab {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 14px;
	border: 2px solid #c7d3de;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	font-weight: bold;
}
.donations-tab input { margin: 0 4px 0 0; }
.donations-tab.is-active { border-color: #105289; box-shadow: 0 0 0 1px #105289 inset; }

.donations-pane[hidden] { display: none; }
#payment-element { margin: 10px 0 4px; min-height: 40px; }

.donations-bank {
	font-family: monospace;
	padding: 10px 12px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.04);
	white-space: normal;
	margin: 8px 0;
}

.donations-error { padding: 8px 10px; border-radius: 6px; margin: 10px 0; }
.donations-error[hidden] { display: none; }

.donations-submit { margin-top: 16px; }
.button.donations-button {
	font-size: 1.2em;
	padding: 10px 22px;
	height: auto;
	background: #2f9e44;
	border-color: #2b8a3e;
	color: #fff;
}
.button.donations-button:hover { background: #2b8a3e; color: #fff; }
.button.donations-button[hidden] { display: none; }
.button.donations-button.is-busy { opacity: 0.7; cursor: progress; }
.donations-secure { color: #5d6b78; font-size: 0.9em; margin-top: 8px; }

.donations-donors { list-style: none; margin: 0; padding: 0; }
.donations-donors li { padding: 8px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.donations-donors li:last-child { border-bottom: 0; }
.donations-donor-head { display: flex; justify-content: space-between; gap: 8px; }
.donations-donor-name { font-weight: bold; }
.donations-donor-amount { color: #2f9e44; font-weight: bold; white-space: nowrap; }
.donations-donor-message { font-style: italic; margin: 4px 0; }
.donations-donor-time { color: #8a96a3; font-size: 0.85em; }

.donations-result { text-align: center; padding: 20px 10px; }
.donations-result .inner { max-width: 560px; margin: 0 auto; }
.donations-result-icon { font-size: 3em; margin-bottom: 6px; }
.donations-result-paid .donations-result-icon { color: #e03131; }
.donations-result-pending .donations-result-icon { color: #f08c00; }
.donations-result-failed .donations-result-icon,
.donations-result-canceled .donations-result-icon { color: #868e96; }
.donations-result-actions { margin-top: 16px; }
.donations-result-actions .button { margin: 0 4px; }

.donations-index .donations-progress { max-width: 500px; }

#paypal-buttons { margin: 10px 0 4px; max-width: 420px; }

.donations-platform-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.button.donations-platform {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: auto;
	padding: 8px 14px;
	font-size: 1.05em;
	font-weight: bold;
}

@media (max-width: 700px) {
	.donations-side { flex-basis: 100%; }
	.donations-preset { flex: 1 1 40%; }
}
