/* WP Donations - frontend form styles */

.wpdon-form-wrapper {
	max-width: 480px;
	margin: 0 auto;
}

.wpdon-form {
	border: 1px solid #e2e4e7;
	border-radius: 10px;
	padding: 24px;
	background: #fff;
	box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.06 );
}

.wpdon-form__title {
	margin: 0 0 4px;
	font-size: 1.4em;
}

.wpdon-form__description {
	margin: 0 0 16px;
	color: #50575e;
}

.wpdon-field {
	margin-bottom: 16px;
}

.wpdon-field__label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 0.95em;
}

.wpdon-required {
	color: #d63638;
}

.wpdon-input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	font-size: 1em;
	line-height: 1.4;
}

.wpdon-input:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

.wpdon-amounts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.wpdon-amount {
	flex: 1 1 auto;
	min-width: 72px;
	padding: 10px 12px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background: #f6f7f7;
	cursor: pointer;
	font-size: 1em;
	font-weight: 600;
	transition: all 0.12s ease;
}

.wpdon-amount:hover {
	border-color: #2271b1;
}

.wpdon-amount.is-selected {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.wpdon-custom-amount {
	position: relative;
}

.wpdon-custom-amount__symbol {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY( -50% );
	color: #50575e;
	font-weight: 600;
	pointer-events: none;
}

.wpdon-input--amount {
	padding-left: 26px;
}

.wpdon-field--checkbox label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95em;
	cursor: pointer;
}

.wpdon-field--checkbox input {
	width: auto;
}

.wpdon-gateways {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wpdon-gateway-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	cursor: pointer;
}

.wpdon-submit {
	width: 100%;
	padding: 13px 16px;
	border: none;
	border-radius: 6px;
	background: #2271b1;
	color: #fff;
	font-size: 1.05em;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.12s ease;
}

.wpdon-submit:hover:not( :disabled ) {
	background: #135e96;
}

.wpdon-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.wpdon-paypal-buttons {
	margin-top: 12px;
}

.wpdon-messages {
	margin-bottom: 12px;
	color: #d63638;
	font-size: 0.95em;
}

.wpdon-messages:empty {
	margin-bottom: 0;
}

.wpdon-thankyou {
	padding: 20px;
	border: 1px solid #c3d6c3;
	border-radius: 8px;
	background: #f0f6f0;
	color: #1e4620;
}

.wpdon-notice {
	padding: 12px 16px;
	border: 1px dashed #c3c4c7;
	border-radius: 6px;
	color: #50575e;
	background: #f6f7f7;
}
