/* -------------------------------------------------------------------------- *
 * Bank-transfer (Offline) donation tab — ADR-0015. Split out of
 * donation-form.css: this lives on a LIGHT surface (gateway-tab metaphor + the
 * bank-instruction card), a different contrast basis than the dark form panel.
 * Style Charitable's NATIVE gateway selector (#charitable-gateway-selector) as
 * payment-method tabs, and the injected bank-instruction block. We restyle the
 * native radio list — we do not reimplement gateway selection.
 * -------------------------------------------------------------------------- */
#charitable-gateway-selector {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	border-bottom: 2px solid #e2e6ea;
}
#charitable-gateway-selector li {
	margin: 0;
	list-style: none;
}
/* Hide the native radio; the label becomes the tab. */
#charitable-gateway-selector input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: -1px;
	pointer-events: none;
}
#charitable-gateway-selector label {
	display: inline-block;
	margin: 0;
	padding: 0.65rem 1.25rem;
	font-weight: 600;
	color: #5a6672;
	cursor: pointer;
	border: 2px solid transparent;
	border-bottom: none;
	border-radius: 8px 8px 0 0;
	transition: color 0.15s ease, background 0.15s ease;
	margin-bottom: -2px;
}
#charitable-gateway-selector label:hover {
	color: #28527A;
}
/* Selected tab: the radio is checked (native show/hide JS already runs). */
#charitable-gateway-selector input[type="radio"]:checked + label {
	color: #28527A;
	background: #fff;
	border-color: #e2e6ea;
	border-bottom: 2px solid #fff;
}
#charitable-gateway-selector input[type="radio"]:focus-visible + label {
	outline: 2px solid #28527A;
	outline-offset: 2px;
}

/* The templated bank-instruction block (pre-submit, receipt, email-safe). */
.charitable-sc-bank-transfer {
	margin: 0 0 1rem;
	padding: 1.1rem 1.25rem;
	background: #f7f9fb;
	border: 1px solid #e2e6ea;
	border-radius: 10px;
}
.charitable-sc-bank-transfer__intro {
	margin: 0 0 0.85rem;
	font-size: 0.92rem;
	color: #5a6672;
	line-height: 1.5;
}
.charitable-sc-bank-transfer__details {
	margin: 0;
}
/* ADR-0019 D1 — the inter-row hairline was an accidental seam; the rows read
   cleanly on whitespace alone (a little more vertical breathing room replaces it). */
.charitable-sc-bank-transfer__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	padding: 0.45rem 0;
}
.charitable-sc-bank-transfer__row dt {
	/* Wide enough for the longest label (uppercase "KEDVEZMÉNYEZETT" ≈ 134px at
	   0.78rem + 0.03em tracking) and pinned to one line — narrow modal widths
	   were breaking it mid-word into "KEDVEZMÉNYEZET / T". The value column
	   (dd, flex 1 1) absorbs the remaining width and wraps instead. */
	flex: 0 0 8.75rem;
	white-space: nowrap;
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #8a96a3;
}
.charitable-sc-bank-transfer__row dd {
	flex: 1 1 12rem;
	margin: 0;
	font-weight: 600;
	color: #28323c;
	word-break: break-word;
}
.charitable-sc-bank-transfer__row--memo dd {
	font-weight: 400;
}
.charitable-sc-bank-transfer__memo {
	display: inline-block;
	padding: 0.25rem 0.55rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.92rem;
	font-weight: 700;
	color: #28527A;
	background: #eaf1f7;
	border: 1px dashed #b9cde0;
	border-radius: 6px;
	user-select: all;
}
