.ogmdct-donate {
	--ogmdct-bg: #ffffff;
	--ogmdct-text: #2D1810;
	--ogmdct-muted: #5b677a;
	--ogmdct-border: rgba(123, 30, 30, 0.15);
	--ogmdct-shadow: 0 10px 30px rgba(45, 24, 16, 0.08);
	--ogmdct-primary: #7B1E1E;
	--ogmdct-primary-strong: #5D0D0F;
	--ogmdct-gold: #C9A227;
	--ogmdct-focus: rgba(123, 30, 30, 0.2);
	--ogmdct-radius: 16px;

	color: var(--ogmdct-text);
	font: inherit;
}

.ogmdct-donate--not-configured {
	max-width: 560px;
	margin: 2rem auto;
}
.ogmdct-donate-notice {
	padding: 1rem 1.25rem;
	background: rgba(123, 30, 30, 0.08);
	border-left: 4px solid var(--ogmdct-primary, #7B1E1E);
	border-radius: 8px;
	margin: 0;
}
.ogmdct-donate-notice a {
	color: var(--ogmdct-primary, #7B1E1E);
	font-weight: 600;
}

/* Split layout: left 60% content, right 40% single donation card. One card only. */
.ogmdct-donate--layout-split {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 0 20px;
}
.ogmdct-donate--layout-split .ogmdct-donate__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
}
/* Desktop: 60% left, 40% right; right column sticky */
@media (min-width: 900px) {
	.ogmdct-donate--layout-split .ogmdct-donate__grid {
		grid-template-columns: 60% 40%;
		gap: 48px;
	}
	.ogmdct-donate--layout-split .ogmdct-donate__right {
		position: sticky;
		top: 100px;
	}
}
/* Mobile: content first, card below; sticky disabled */
@media (max-width: 899px) {
	.ogmdct-donate--layout-split .ogmdct-donate__right {
		position: static;
	}
}
.ogmdct-donate--layout-split .ogmdct-donate__left {
	min-width: 0;
}
.ogmdct-donate--layout-split .ogmdct-donate__right {
	min-width: 0;
	box-shadow: none;
}
.ogmdct-donate--layout-split .ogmdct-donate-card--single {
	width: 100%;
	background: var(--ogmdct-bg);
	border: 1px solid var(--ogmdct-border);
	border-radius: var(--ogmdct-radius);
	box-shadow: var(--ogmdct-shadow);
	overflow: hidden;
}
.ogmdct-donate--layout-split .ogmdct-donate-amounts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
.ogmdct-donate--layout-split .ogmdct-donate-amount {
	flex: 1 1 auto;
	min-width: 80px;
}

/* Single donation card (legacy / minimal layout) */
.ogmdct-donate--single {
	max-width: 560px;
	margin: 2rem auto;
}
.ogmdct-donate--single .ogmdct-donate__card-wrap {
	width: 100%;
}
.ogmdct-donate--single .ogmdct-donate-amounts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
.ogmdct-donate--single .ogmdct-donate-amount {
	flex: 1 1 auto;
	min-width: 80px;
}
.ogmdct-donate-currency-symbol {
	margin-right: 4px;
	font-weight: 600;
}

/* Two-column: amount left, content right (Chariti-style layout) */
.ogmdct-donate--twocol .ogmdct-donate__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	max-width: 1100px;
	margin: 0 auto;
	align-items: start;
}
@media (min-width: 900px) {
	.ogmdct-donate--twocol .ogmdct-donate__grid {
		grid-template-columns: 1fr 1fr;
		gap: 48px;
	}
	.ogmdct-donate--twocol .ogmdct-donate__left {
		position: sticky;
		top: 24px;
	}
}
.ogmdct-donate__right {
	background: var(--ogmdct-bg);
	border-radius: var(--ogmdct-radius);
	border: 1px solid var(--ogmdct-border);
	padding: 28px 24px;
	box-shadow: var(--ogmdct-shadow);
}
.ogmdct-donate-content__title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 700;
	color: var(--ogmdct-primary);
}
.ogmdct-donate-content__text,
.ogmdct-donate-content__secure {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ogmdct-text);
}
.ogmdct-donate-content__secure {
	font-size: 13px;
	color: var(--ogmdct-muted);
}

.ogmdct-donate-card {
	max-width: 100%;
	margin: 0;
	background: var(--ogmdct-bg);
	border: 1px solid var(--ogmdct-border);
	border-radius: var(--ogmdct-radius);
	box-shadow: var(--ogmdct-shadow);
	overflow: hidden;
}
.ogmdct-donate--twocol .ogmdct-donate-card {
	max-width: 100%;
}

.ogmdct-donate-header {
	padding: 28px 28px 12px;
}

.ogmdct-donate-title {
	margin: 0;
	font-size: 28px;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ogmdct-donate-subtitle {
	margin: 10px 0 0;
	color: var(--ogmdct-muted);
	font-size: 15px;
	line-height: 1.5;
}

.ogmdct-donate-form {
	padding: 12px 28px 28px;
}

.ogmdct-donate-amounts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 8px;
}

.ogmdct-donate-currency-wrap {
	margin-top: 6px;
	margin-bottom: 10px;
}

.ogmdct-donate-select {
	width: 100%;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--ogmdct-border);
	background: #fff;
	padding: 0 12px;
	font: inherit;
}

.ogmdct-donate-select:focus {
	outline: none;
	box-shadow: 0 0 0 4px var(--ogmdct-focus);
	border-color: var(--ogmdct-primary);
}

.ogmdct-donate-amount {
	appearance: none;
	border: 1px solid var(--ogmdct-border);
	background: #fff;
	color: var(--ogmdct-text);
	border-radius: 12px;
	padding: 12px 10px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, background-color 120ms ease;
	user-select: none;
}

.ogmdct-donate-amount:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(2, 6, 23, 0.08);
}

.ogmdct-donate-amount:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px var(--ogmdct-focus);
	border-color: var(--ogmdct-primary);
}

.ogmdct-donate-amount.is-selected {
	border-color: var(--ogmdct-primary);
	background: rgba(123, 30, 30, 0.08);
	color: var(--ogmdct-primary);
}

.ogmdct-donate-custom-wrap {
	margin-top: 16px;
	padding: 14px;
	border: 1px solid var(--ogmdct-border);
	border-radius: 14px;
	background: rgba(15, 23, 42, 0.02);
}

.ogmdct-donate-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ogmdct-muted);
	margin-bottom: 8px;
}

.ogmdct-donate-input-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ogmdct-donate-currency {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--ogmdct-border);
	background: #fff;
	font-weight: 700;
}

.ogmdct-donate-input {
	flex: 1;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--ogmdct-border);
	padding: 0 12px;
	font: inherit;
}

.ogmdct-donate-input:focus {
	outline: none;
	box-shadow: 0 0 0 4px var(--ogmdct-focus);
	border-color: var(--ogmdct-primary);
}

.ogmdct-donate-hint {
	margin: 10px 0 0;
	color: var(--ogmdct-muted);
	font-size: 12px;
}

.ogmdct-donate-footer {
	margin-top: 18px;
	display: grid;
	gap: 10px;
}

.ogmdct-donate-submit {
	appearance: none;
	height: 48px;
	border-radius: 14px;
	border: none;
	background: linear-gradient(135deg, var(--ogmdct-primary) 0%, var(--ogmdct-primary-strong) 100%);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	transition: filter 120ms ease, transform 120ms ease;
}

.ogmdct-donate-submit:hover {
	filter: brightness(1.03);
	transform: translateY(-1px);
}

.ogmdct-donate-submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px var(--ogmdct-focus);
}

.ogmdct-donate-secure {
	margin: 0;
	color: var(--ogmdct-muted);
	font-size: 12px;
	text-align: center;
}

@media (max-width: 520px) {
	.ogmdct-donate-header {
		padding: 20px 16px 8px;
	}
	.ogmdct-donate-form {
		padding: 10px 16px 18px;
	}
	.ogmdct-donate-amounts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
