/* Bewdley Carnival Donations — front-end styles
   Brand: navy #162039, gold #E8A020, red #C8272D
   Fonts: Playfair Display (headings), DM Sans (body)
   Scoped under .bcdon- prefix throughout to avoid theme collisions.
*/

.bcdon-wrap {
	max-width: 520px;
	margin: 0 auto;
	padding: 32px 24px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(22, 32, 57, 0.08);
	font-family: 'DM Sans', -apple-system, sans-serif;
}

.bcdon-heading {
	font-family: 'Playfair Display', Georgia, serif;
	color: #162039;
	font-size: 28px;
	margin: 0 0 8px 0;
	text-align: center;
}

.bcdon-intro {
	color: #444;
	text-align: center;
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 24px 0;
}

.bcdon-amounts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 16px;
}

.bcdon-amount-btn {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	padding: 14px 8px;
	border: 2px solid #162039;
	background: #ffffff;
	color: #162039;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.bcdon-amount-btn:hover {
	background: #f4f6fa;
}

.bcdon-amount-btn.bcdon-selected {
	background: #162039;
	color: #ffffff;
}

.bcdon-amount-other {
	border-color: #E8A020;
	color: #8a5e10;
}

.bcdon-amount-other.bcdon-selected {
	background: #E8A020;
	color: #162039;
	border-color: #E8A020;
}

.bcdon-custom-amount {
	margin-bottom: 16px;
}

.bcdon-custom-amount label,
.bcdon-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #162039;
	margin-bottom: 4px;
}

.bcdon-custom-amount input,
.bcdon-field input,
.bcdon-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	border: 1px solid #d0d4dd;
	border-radius: 6px;
	background: #fff;
	color: #1a1a1a;
}

.bcdon-custom-amount input:focus,
.bcdon-field input:focus,
.bcdon-field textarea:focus {
	outline: none;
	border-color: #162039;
}

.bcdon-field {
	margin-bottom: 14px;
}

.bcdon-consent-field {
	margin: 18px 0;
	padding: 12px;
	background: #f7f8fa;
	border-radius: 8px;
}

.bcdon-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: #333;
	cursor: pointer;
	line-height: 1.4;
}

.bcdon-checkbox-label input[type="checkbox"] {
	margin-top: 2px;
	flex-shrink: 0;
}

.bcdon-error {
	background: #fdecec;
	border: 1px solid #C8272D;
	color: #C8272D;
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 14px;
	margin-bottom: 14px;
}

.bcdon-submit-btn {
	width: 100%;
	background: #C8272D;
	color: #ffffff;
	font-family: 'DM Sans', sans-serif;
	font-size: 17px;
	font-weight: 700;
	padding: 14px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.bcdon-submit-btn:hover {
	background: #a81f24;
}

.bcdon-submit-btn:disabled {
	background: #c7898c;
	cursor: not-allowed;
}

.bcdon-secure-note {
	text-align: center;
	font-size: 12px;
	color: #888;
	margin: 10px 0 0 0;
}

@media (max-width: 480px) {
	.bcdon-amounts {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Success / declined status page (see includes/shortcode.php) */
.bcdon-status-wrap {
	text-align: center;
	max-width: 480px;
}

.bcdon-status-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}

.bcdon-status-success .bcdon-status-icon {
	background: #e6f4ea;
	color: #1e7e34;
}

.bcdon-status-declined .bcdon-status-icon {
	background: #fdecec;
	color: #C8272D;
}

.bcdon-status-wrap .bcdon-intro {
	margin-bottom: 0;
}

.bcdon-status-wrap .bcdon-submit-btn {
	margin-top: 8px;
}
