/* ==========================================================================
   SkyDonate — Donation Checkout (.skd-dc)
   Styled on the FundraiseUp checkout, about 10% smaller: IBM Plex Sans, a
   464px appeal card and a 336×580 form card (16px radius, soft shadow), 8px-radius controls with
   1px inset rings, blue #3371E6 selection and buttons.
   Themes restyle buttons, inputs and selects hard, so collision-prone
   properties on those carry !important.
   ========================================================================== */

.skd-dc {
	--skd-dc-accent: #3371e6;
	--skd-dc-accent-hover: #2e66cf;
	--skd-dc-button: #4a91f2;
	--skd-dc-button-hover: #3a80e2;
	--skd-dc-switch-on: #4b7d46;
	--skd-dc-accent-soft: #edf3ff;
	--skd-dc-heart: #e0223d;
	--skd-dc-heart-hover: #c81a33;
	--skd-dc-trigger: #e30613;
	--skd-dc-ink: #222832;
	--skd-dc-muted: #667080;
	--skd-dc-line: #c7cdd6;
	--skd-dc-chip-line: #c7cdd6;
	--skd-dc-error: #e0223d;
	--skd-dc-card-shadow: 0 8px 16px rgba(35, 50, 89, .14), 0 2px 4px rgba(35, 50, 89, .08);
	--skd-dc-font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-family: var(--skd-dc-font);
	color: var(--skd-dc-ink);
	-webkit-font-smoothing: antialiased;
}
.skd-dc *, .skd-dc *::before, .skd-dc *::after { box-sizing: border-box; }
/* Doubled attribute so "hidden" beats the !important display on buttons
   (.skd-dc .skd-dc__btn) — an empty upsell button showed for £1 gifts. */
.skd-dc [hidden][hidden] { display: none !important; }
.skd-dc button, .skd-dc input, .skd-dc select { font-family: var(--skd-dc-font) !important; }
.skd-dc svg { display: block; }
.skd-dc__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Pop-up trigger ------------------------------------------------------ */

.skd-dc .skd-dc-trigger {
	display: inline-flex !important; align-items: center; gap: 8px;
	padding: 10px 20px !important; margin: 0 !important; border: 0 !important; border-radius: 999px !important;
	background: var(--skd-dc-trigger) !important; color: #fff !important;
	font-size: 16px !important; font-weight: 500 !important; line-height: 20px !important; text-transform: none !important;
	box-shadow: 0 4px 10px rgba(227, 6, 19, .25); cursor: pointer;
}
.skd-dc .skd-dc-trigger:hover { filter: brightness(.94); }
.skd-dc .skd-dc-trigger svg { width: 16px; height: 16px; }

/* ---- Overlay + dialog (pop-up) ------------------------------------------- */

.skd-dc--popup .skd-dc__overlay {
	position: fixed; inset: 0; z-index: 999999;
	background: rgba(34, 40, 50, .72);
	overflow-y: auto; -webkit-overflow-scrolling: touch;
	animation: skd-dc-fade .2s ease-out;
}
@keyframes skd-dc-fade { from { opacity: 0; } to { opacity: 1; } }
/* Centred in the window, both ways; if the window is too short it scrolls. */
.skd-dc--popup .skd-dc__dialog { min-height: 100%; padding: 40px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
html.skd-dc-lock, html.skd-dc-lock body { overflow: hidden !important; }
/* The old quick-donate modal a checkout stands in for never shows. */
.quick-modal[data-skd-dc-host] { display: none !important; }
/* Nothing else floats over the checkout while it is open (recent-donation
   toasts, chat bubbles, back-to-top). */
html.skd-dc-lock .skydonate-notification,
html.skd-dc-lock .skydonate-notifications,
html.skd-dc-lock .scrollToTop,
html.skd-dc-lock .wd-scroll-top { display: none !important; }

/* Red pill sitting just above the form card's top-right corner. */
.skd-dc .skd-dc__close {
	position: absolute; top: -46px; right: 0; z-index: 3;
	width: 50px; height: 36px; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 18px !important;
	background: #e8382a !important; color: #fff !important; cursor: pointer;
	display: flex !important; align-items: center; justify-content: center;
	box-shadow: 0 4px 10px rgba(232, 56, 42, .3);
}
.skd-dc .skd-dc__close svg { width: 20px; height: 20px; }
.skd-dc .skd-dc__close:hover { background: #d22c1f !important; }
.skd-dc .skd-dc__close:focus-visible { outline: 2px solid #fff !important; outline-offset: 2px; }

.skd-dc__footer { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: center; font-size: 12px; line-height: 18px; color: rgba(255, 255, 255, .8); }
.skd-dc__footer a { color: rgba(255, 255, 255, .8) !important; text-decoration: none !important; }
.skd-dc__footer a:hover { color: #fff !important; text-decoration: underline !important; }

/* ---- The two cards ------------------------------------------------------- */

.skd-dc__cards { display: flex; gap: 20px; justify-content: center; align-items: stretch; width: 100%; }
.skd-dc--inline .skd-dc__cards { padding: 8px 0; }

.skd-dc__campaign {
	position: relative; flex: 0 1 464px; min-width: 0; height: 580px;
	background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--skd-dc-card-shadow);
}
.skd-dc__media { height: 278px;overflow: hidden; background: #e7e8ed; }
.skd-dc__img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }
.skd-dc__campaign-body { padding: 24px 28px; }
.skd-dc .skd-dc__campaign-title { margin: 0 !important; font-family: var(--skd-dc-font) !important; font-size: 20px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--skd-dc-ink) !important; letter-spacing: 0 !important; text-transform: none !important; }
.skd-dc__campaign-fade { position: absolute; inset: 0; background: rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .25s; }
.skd-dc:not([data-current="amount"]) .skd-dc__campaign-fade { opacity: 1; }

.skd-dc__card-wrap { position: relative; flex: 0 0 336px; width: 336px; display: flex; }
.skd-dc__card {
	position: relative; flex: 1 1 auto; width: 100%; height: 580px; margin: 0 !important;
	background: #fff; border-radius: 16px; box-shadow: var(--skd-dc-card-shadow);
	display: flex; flex-direction: column; overflow: hidden;
}

/* ---- Steps --------------------------------------------------------------- */

.skd-dc__step { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.skd-dc__step.is-active { animation: skd-dc-in .2s ease-out; }
@keyframes skd-dc-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

.skd-dc__head {
	position: relative; flex: 0 0 auto; min-height: 61px; padding: 18px 48px;
	display: flex; align-items: center; justify-content: center;
	border-bottom: 1px solid var(--skd-dc-line);
}
.skd-dc__head--secure { border-bottom: 0; min-height: 0; padding: 36px 28px 18px; gap: 10px; }
.skd-dc__head--secure svg { width: 26px; height: 26px; flex: 0 0 26px; }
.skd-dc .skd-dc__title {
	margin: 0 !important; font-family: var(--skd-dc-font) !important; font-size: 20px !important; line-height: 24px !important;
	font-weight: 600 !important; color: var(--skd-dc-ink) !important; text-align: center; letter-spacing: 0 !important;
	text-transform: none !important; outline: none;
}
.skd-dc__head:not(.skd-dc__head--secure) .skd-dc__title { font-size: 18px !important; font-weight: 500 !important; }
.skd-dc .skd-dc__back {
	position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
	width: 32px; height: 32px; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important;
	color: var(--skd-dc-muted) !important; cursor: pointer; display: flex !important; align-items: center; justify-content: center; border-radius: 8px !important;
}
.skd-dc .skd-dc__back:hover { color: var(--skd-dc-ink) !important; background: #f2f3f6 !important; }
.skd-dc__back svg { width: 22px; height: 22px; }

.skd-dc__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 18px 28px 8px; display: flex; flex-direction: column; gap: 12px; }
.skd-dc__step[data-step="amount"] .skd-dc__body { padding-top: 0; }
.skd-dc__body--center { text-align: center; align-items: center; }
.skd-dc__foot { flex: 0 0 auto; padding: 12px 28px 24px; display: flex; flex-direction: column; gap: 12px; }

.skd-dc__lead { margin: 40px 0 0; font-size: 16px; line-height: 24px; color: var(--skd-dc-ink); }
.skd-dc__lead strong { font-weight: 600; }

/* ---- Frequency + amounts ------------------------------------------------- */

.skd-dc fieldset { border: 0 !important; margin: 0 !important; padding: 0 !important; min-width: 0; }
.skd-dc__freq {
	display: grid !important; grid-template-columns: repeat(var(--skd-dc-cols, 2), 1fr);
	border-radius: 8px; box-shadow: inset 0 0 0 1px var(--skd-dc-line); background: #fff;
}
.skd-dc__freq-opt { position: relative; margin: 0 !important; cursor: pointer; }
.skd-dc__freq-opt input, .skd-dc__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.skd-dc__freq-opt span {
	display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 4px;
	border-radius: 8px; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--skd-dc-ink);
}
.skd-dc__freq-opt span svg { width: 16px; height: 16px; color: var(--skd-dc-heart); }
.skd-dc__freq-opt input:checked + span { background: var(--skd-dc-accent-soft); box-shadow: inset 0 0 0 2px var(--skd-dc-accent); font-weight: 500; }
.skd-dc__freq-opt input:focus-visible + span { outline: 2px solid var(--skd-dc-accent); outline-offset: 2px; }

.skd-dc__chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.skd-dc__chip { position: relative; margin: 0 !important; cursor: pointer; }
.skd-dc__chip span {
	display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 2px;
	border-radius: 8px; box-shadow: inset 0 0 0 1px var(--skd-dc-chip-line); background: #fff;
	font-size: 16px; line-height: 24px; font-weight: 400; color: var(--skd-dc-ink);
	transition: box-shadow .12s, background .12s;
}
.skd-dc__chip:hover span { box-shadow: inset 0 0 0 1px var(--skd-dc-accent); }
.skd-dc__chip input:checked + span { background: var(--skd-dc-accent-soft); box-shadow: inset 0 0 0 2px var(--skd-dc-accent); font-weight: 500; }
.skd-dc__chip input:focus-visible + span { outline: 2px solid var(--skd-dc-accent); outline-offset: 2px; }

.skd-dc__amount-box {
	position: relative; display: flex; align-items: center; height: 52px; padding: 0 16px;
	border-radius: 8px; box-shadow: inset 0 0 0 1px var(--skd-dc-line); background: #fff;
}
.skd-dc__amount-box:focus-within { box-shadow: inset 0 0 0 2px var(--skd-dc-accent); }
.skd-dc__amount-box.is-invalid { box-shadow: inset 0 0 0 2px var(--skd-dc-error); }
.skd-dc__amount-symbol { font-size: 24px; line-height: 36px; color: var(--skd-dc-ink); }
.skd-dc .skd-dc__amount-box input {
	flex: 1 1 auto; min-width: 0; height: 50px !important; margin: 0 !important; padding: 0 0 0 1px !important;
	border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important;
	font-size: 24px !important; line-height: 36px !important; font-weight: 400 !important; color: var(--skd-dc-ink) !important;
}
.skd-dc__amount-code { font-size: 16px; color: var(--skd-dc-muted); padding-left: 8px; }
.skd-dc__impact { margin: -2px 0 0; font-size: 14px; line-height: 20px; color: var(--skd-dc-muted); }

/* ---- Grouped fields (details) -------------------------------------------- */

.skd-dc__group { position: relative; display: flex; flex-direction: column; border-radius: 8px; }
.skd-dc__row { display: flex; }
.skd-dc__row > .skd-dc__field { flex: 1 1 0; min-width: 0; }
.skd-dc__row > .skd-dc__field--title { flex: 0 0 120px; }
.skd-dc__field { position: relative; margin-top: -1px; }
.skd-dc__row > .skd-dc__field + .skd-dc__field { margin-left: -1px; }
.skd-dc__group > :first-child, .skd-dc__group > .skd-dc__ga-why + .skd-dc__field { margin-top: 0; }

.skd-dc .skd-dc__field input,
.skd-dc .skd-dc__field select {
	display: block; width: 100% !important; height: 52px !important; margin: 0 !important;
	padding: 22px 16px 6px !important; border: 0 !important; border-radius: 0 !important;
	background: #fff !important; color: var(--skd-dc-ink) !important;
	box-shadow: inset 0 0 0 1px var(--skd-dc-line) !important; outline: none !important;
	font-size: 16px !important; line-height: 24px !important; font-weight: 400 !important;
	-webkit-appearance: none; appearance: none;
}
.skd-dc .skd-dc__field select { padding-right: 40px !important; cursor: pointer; }
.skd-dc .skd-dc__field input:focus,
.skd-dc .skd-dc__field select:focus { position: relative; z-index: 1; box-shadow: inset 0 0 0 2px var(--skd-dc-accent) !important; }
.skd-dc .skd-dc__field [aria-invalid="true"] { position: relative; z-index: 1; box-shadow: inset 0 0 0 2px var(--skd-dc-error) !important; }

/* Corner radii of the grouped block */
.skd-dc__group > .skd-dc__field:first-child input, .skd-dc__group > .skd-dc__field:first-child select { border-radius: 8px 8px 0 0 !important; }
.skd-dc__group > .skd-dc__field:last-child input, .skd-dc__group > .skd-dc__field:last-child select { border-radius: 0 0 8px 8px !important; }
.skd-dc__group > .skd-dc__field:only-child input, .skd-dc__group > .skd-dc__field:only-child select { border-radius: 8px !important; }
.skd-dc__group > .skd-dc__row:first-child > .skd-dc__field:first-child input, .skd-dc__group > .skd-dc__row:first-child > .skd-dc__field:first-child select { border-radius: 8px 0 0 0 !important; }
.skd-dc__group > .skd-dc__row:first-child > .skd-dc__field:last-child input, .skd-dc__group > .skd-dc__row:first-child > .skd-dc__field:last-child select { border-radius: 0 8px 0 0 !important; }
.skd-dc__group > .skd-dc__row:first-child > .skd-dc__field:only-child input { border-radius: 8px 8px 0 0 !important; }
.skd-dc__group > .skd-dc__row:last-child > .skd-dc__field:first-child input { border-radius: 0 0 0 8px !important; }
.skd-dc__group > .skd-dc__row:last-child > .skd-dc__field:last-child input { border-radius: 0 0 8px 0 !important; }

/* Label inside the field: large as a placeholder, small once filled */
.skd-dc__field label {
	position: absolute; left: 17px; top: 14px; z-index: 2; margin: 0 !important; pointer-events: none;
	font-size: 16px; line-height: 24px; font-weight: 400; color: var(--skd-dc-muted);
	transition: top .12s, font-size .12s, line-height .12s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 32px);
}
.skd-dc__field input:focus + label,
.skd-dc__field input:not(:placeholder-shown) + label,
.skd-dc__field select + label { top: 7px; font-size: 12px; line-height: 16px; }
.skd-dc__field--select.is-empty select { color: transparent !important; }
.skd-dc__field--select.is-empty select + label { top: 14px; font-size: 16px; line-height: 24px; }
.skd-dc__chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 2; width: 20px; height: 20px; color: var(--skd-dc-muted); pointer-events: none; }
.skd-dc__chev svg { width: 20px; height: 20px; }

/* Error bubble (FundraiseUp shows a small tip beside the field) */
.skd-dc__error-tip {
	position: absolute; z-index: 5; right: 8px; top: 50%; transform: translateY(-50%);
	max-width: 70%; padding: 6px 10px; border-radius: 6px; background: #fff;
	box-shadow: 0 2px 8px rgba(35, 50, 89, .18), 0 0 0 1px rgba(35, 50, 89, .06);
	font-size: 13px; line-height: 18px; color: var(--skd-dc-ink); pointer-events: none;
}
.skd-dc__error-tip::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; margin-right: 6px; border-radius: 50%; border: 1.5px solid var(--skd-dc-error); color: var(--skd-dc-error); font-size: 10px; font-weight: 700; line-height: 1; vertical-align: -2px; }
.skd-dc__error-tip:empty { display: none; }
/* As FundraiseUp: every invalid field gets the red ring, but only the field
   being edited shows its message (the first one is focused on submit). */
.skd-dc__field .skd-dc__error-tip { display: none; }
.skd-dc__field:focus-within .skd-dc__error-tip:not(:empty) { display: block; }
.skd-dc__amounts ~ .skd-dc__error-tip, [data-error="amount"] { position: static; transform: none; max-width: none; align-self: flex-start; }

/* ---- Checkboxes ------------------------------------------------------------ */

.skd-dc__check { position: relative; display: flex; align-items: center; gap: 10px; margin: 4px 0 0 !important; font-size: 16px; line-height: 24px; color: var(--skd-dc-ink); cursor: pointer; text-align: left; }
.skd-dc__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.skd-dc__box { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 4px; box-shadow: inset 0 0 0 1px #8a93a3; background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.skd-dc__box svg { width: 14px; height: 14px; opacity: 0; }
.skd-dc__check input:checked + .skd-dc__box { background: var(--skd-dc-accent); box-shadow: none; }
.skd-dc__check input:checked + .skd-dc__box svg { opacity: 1; }
.skd-dc__check input:focus-visible + .skd-dc__box { outline: 2px solid var(--skd-dc-accent); outline-offset: 2px; }
.skd-dc__check a { color: var(--skd-dc-accent) !important; }
.skd-dc__check--spaced { margin-top: 8px !important; }
.skd-dc__help { width: 18px; height: 18px; color: var(--skd-dc-muted); cursor: help; }
.skd-dc__help svg { width: 18px; height: 18px; }

/* ---- Gift Aid ------------------------------------------------------------ */

.skd-dc .skd-dc__ga-logo { display: block; height: 40px !important; width: auto !important; max-width: 200px !important; margin: 0 auto; }
.skd-dc__ga-heart {width: 64px; height: 56px; margin: 16px auto 4px; }
.skd-dc__ga-heart svg { width: 64px; height: 56px; }
.skd-dc__ga-boost { margin: 8px 0 0; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--skd-dc-ink); }
.skd-dc__ga-text { margin: 4px 0 0; font-size: 16px; line-height: 24px; color: var(--skd-dc-ink); }
.skd-dc__ga-declaration {
	margin-top: auto; width: 100%; max-height: 108px; overflow-y: auto; padding: 10px 12px;
	border-radius: 8px; box-shadow: inset 0 0 0 1px var(--skd-dc-line);
	font-size: 13px; line-height: 18px; color: var(--skd-dc-ink); text-align: left;
}
.skd-dc__ga-address { width: 100%; text-align: left; margin-top: 12px; }
.skd-dc__ga-why { margin: 0 0 8px; font-size: 14px; line-height: 20px; color: var(--skd-dc-muted); }
.skd-dc[data-ga-address="open"] .skd-dc__ga-heart, .skd-dc[data-ga-address="open"] .skd-dc__ga-text { display: none; }

/* ---- Payment ------------------------------------------------------------- */

.skd-dc__payment { min-height: 140px; }
.skd-dc__skeleton { display: grid; gap: 10px; }
.skd-dc__skeleton span { height: 44px; border-radius: 8px; background: linear-gradient(90deg, #eef1f4 0%, #f7f9fa 50%, #eef1f4 100%); background-size: 200% 100%; animation: skd-dc-shimmer 1.2s infinite linear; }
@keyframes skd-dc-shimmer { to { background-position: -200% 0; } }
.skd-dc__total { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid #e3e6eb; font-size: 14px; line-height: 20px; color: var(--skd-dc-ink); }
.skd-dc__total strong { font-weight: 500; }
.skd-dc__form-error { padding: 10px 12px; border-radius: 8px; background: #fdecee; color: #a3142a; font-size: 14px; line-height: 20px; text-align: left; }
.skd-dc__form-error a { color: inherit !important; font-weight: 600; text-decoration: underline !important; }

/* ---- Buttons ------------------------------------------------------------- */

.skd-dc .skd-dc__btn {
	display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; min-height: 0 !important;
	margin: 0 !important; padding: 1px 8px !important; border: 0 !important; border-radius: 8px !important;
	font-size: 16px !important; line-height: 24px !important; font-weight: 500 !important; letter-spacing: 0 !important;
	text-transform: none !important; text-decoration: none !important; cursor: pointer; transition: background .12s;
}
.skd-dc .skd-dc__btn--primary { background: var(--skd-dc-button) !important; color: #fff !important; border-radius: 10px !important; height: 52px; font-weight: 600 !important; }
.skd-dc .skd-dc__btn--primary:hover:not(:disabled) { background: var(--skd-dc-button-hover) !important; }

/* "Donate      £50 GBP ›" (first page) */
.skd-dc .skd-dc__btn--amount { justify-content: space-between; padding: 0 16px 0 18px !important; gap: 10px; }
.skd-dc__btn-label { font-size: 16px; font-weight: 600; }
.skd-dc__btn-sum { margin-left: auto; display: inline-flex; align-items: baseline; gap: 6px; }
.skd-dc__btn-sum strong { font-size: 18px; line-height: 24px; font-weight: 600; }
.skd-dc__btn-sum small { font-size: 12px; font-weight: 500; letter-spacing: .04em; opacity: .75; }
.skd-dc__btn-arrow { width: 20px; height: 20px; flex: 0 0 20px; }

/* Cover transaction fees: grey panel + switch */
.skd-dc__fee {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 !important;
	padding: 13px 14px 13px 16px; border-radius: 12px; background: #f2f2f2; cursor: pointer;
	font-size: 15px; line-height: 22px; color: #333;
}
.skd-dc__fee input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.skd-dc__toggle { position: relative; flex: 0 0 44px; width: 44px; height: 26px; border-radius: 13px; background: #c7cdd6; transition: background .15s; }
.skd-dc__toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.skd-dc__fee input:checked + .skd-dc__toggle { background: var(--skd-dc-switch-on); }
.skd-dc__fee input:checked + .skd-dc__toggle::after { transform: translateX(18px); }
.skd-dc__fee input:focus-visible + .skd-dc__toggle { outline: 2px solid var(--skd-dc-accent); outline-offset: 2px; }

/* Payment page (left-aligned title, method tiles, card box, summary) */
.skd-dc__head--left { justify-content: flex-start; border-bottom: 0; padding: 26px 24px 6px 20px; min-height: 0; gap: 4px; }
.skd-dc__head--left .skd-dc__back { position: static; transform: none; flex: 0 0 28px; width: 28px; color: var(--skd-dc-ink) !important; }
.skd-dc .skd-dc__head--left .skd-dc__title { text-align: left; font-size: 20px !important; font-weight: 600 !important; }

.skd-dc__methods { display: flex; flex-direction: column; gap: 8px; }
.skd-dc__method { position: relative; margin: 0 !important; cursor: pointer; }
.skd-dc__method input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.skd-dc__method-box {
	display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px;
	border-radius: 10px; box-shadow: inset 0 0 0 1px #d9dde3; background: #fff; font-size: 16px; color: var(--skd-dc-ink);
}
.skd-dc__method-icon { width: 24px; height: 24px; flex: 0 0 24px; color: var(--skd-dc-ink); }
.skd-dc__method-icon svg { width: 24px; height: 24px; }
.skd-dc__method-name { flex: 1 1 auto; }
.skd-dc__method-tick { width: 18px; height: 18px; color: var(--skd-dc-accent); opacity: 0; }
.skd-dc__method-tick svg { width: 18px; height: 18px; }
.skd-dc__method input:checked + .skd-dc__method-box { background: #eef3ff; box-shadow: inset 0 0 0 1.5px #6d8fd8; }
.skd-dc__method input:checked + .skd-dc__method-box .skd-dc__method-tick { opacity: 1; }
.skd-dc__method input:focus-visible + .skd-dc__method-box { outline: 2px solid var(--skd-dc-accent); outline-offset: 2px; }

.skd-dc__cardbox { margin-top: 6px; border-radius: 10px; box-shadow: inset 0 0 0 1px #d9dde3; background: #fff; overflow: hidden; }
.skd-dc__card-number { padding: 16px; min-height: 52px; border-bottom: 1px solid #d9dde3; }
.skd-dc__card-row { display: flex; }
.skd-dc__card-expiry, .skd-dc__card-cvc { flex: 1 1 0; padding: 16px; min-height: 52px; }
.skd-dc__card-expiry { border-right: 1px solid #d9dde3; }
.skd-dc__cardbox.StripeElement--focus, .skd-dc__cardbox:focus-within { box-shadow: inset 0 0 0 2px var(--skd-dc-accent); }
.skd-dc__card-error { margin: 0; font-size: 13px; line-height: 18px; color: var(--skd-dc-error); }

.skd-dc__summary { margin: 10px 0 0; padding: 14px 16px; border-radius: 12px; background: #f7f7f7; display: flex; flex-direction: column; gap: 8px; }
.skd-dc__summary > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; line-height: 22px; color: var(--skd-dc-ink); }
.skd-dc__summary dt, .skd-dc__summary dd { margin: 0; font-weight: 400; }
.skd-dc__summary .skd-dc__summary-fee { font-size: 14px; color: #8a8f98; }
.skd-dc__summary .skd-dc__summary-total { padding-top: 10px; border-top: 1px solid #dedede; font-size: 18px; line-height: 24px; }
.skd-dc__summary .skd-dc__summary-total dt, .skd-dc__summary .skd-dc__summary-total dd { font-weight: 700; }

/* Address lookup */
.skd-dc__address { display: flex; flex-direction: column; gap: 10px; }
.skd-dc__field--search .skd-dc__search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); z-index: 2; width: 20px; height: 20px; color: var(--skd-dc-muted); pointer-events: none; }
.skd-dc__field--search .skd-dc__search-icon svg { width: 20px; height: 20px; }
.skd-dc .skd-dc__field--search input { padding: 0 16px 0 46px !important; border-radius: 8px !important; }
.skd-dc .skd-dc__manual-link {
	align-self: flex-start; margin: -2px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
	font-size: 15px !important; line-height: 22px !important; font-weight: 400 !important; color: #3c9a46 !important;
	text-decoration: underline !important; text-underline-offset: 3px; text-transform: none !important; cursor: pointer; min-height: 0 !important;
}
/* Google's suggestion list must sit above the pop-up. */
.pac-container { z-index: 1000003 !important; font-family: "IBM Plex Sans", Arial, sans-serif; border-radius: 8px; margin-top: 4px; box-shadow: 0 8px 20px rgba(35, 50, 89, .18); }
.skd-dc .skd-dc__btn--heart { background: var(--skd-dc-heart) !important; color: #fff !important; }
.skd-dc .skd-dc__btn--heart:hover { background: var(--skd-dc-heart-hover) !important; }
.skd-dc .skd-dc__btn--heart svg { width: 18px; height: 18px; }
.skd-dc .skd-dc__btn:disabled { opacity: .5; cursor: not-allowed; }
.skd-dc .skd-dc__btn:focus-visible, .skd-dc .skd-dc__link:focus-visible { outline: 2px solid var(--skd-dc-accent) !important; outline-offset: 2px; }
.skd-dc.is-busy [data-pay] { opacity: .8; cursor: progress; }
.skd-dc .skd-dc__link {
	display: block !important; width: 100%; margin: 0 !important; padding: 4px !important; border: 0 !important; background: none !important;
	font-size: 16px !important; line-height: 24px !important; font-weight: 400 !important; color: var(--skd-dc-ink) !important;
	text-decoration: underline !important; text-underline-offset: 3px; text-transform: none !important; cursor: pointer; text-align: center;
}

/* ---- Done ---------------------------------------------------------------- */

.skd-dc__done-icon { width: 64px; height: 64px; margin: 56px auto 8px; border-radius: 50%; background: var(--skd-dc-accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.skd-dc__done-icon svg { width: 32px; height: 32px; }
.skd-dc__done .skd-dc__lead { margin-top: 8px; color: var(--skd-dc-muted); }

.skd-dc-notice { padding: 16px; border: 1px dashed #c3c4c7; border-radius: 8px; color: #50575e; background: #f6f7f7; }

/* ---- Short screens: keep the card inside the viewport --------------------- */

@media (min-width: 768px) and (max-height: 760px) {
	.skd-dc--popup .skd-dc__dialog { padding-top: 24px; padding-bottom: 24px; }
	.skd-dc--popup .skd-dc__campaign, .skd-dc--popup .skd-dc__card { height: max(520px, calc(100vh - 88px)); }
}

/* ---- Tablet: the appeal card narrows ---------------------------------------- */

@media (max-width: 960px) and (min-width: 768px) {
	.skd-dc__campaign { flex-basis: 340px; }
	.skd-dc__media { height: 220px; }
}

/* ---- Phones: one full-screen sheet, as FundraiseUp does -------------------- */

@media (max-width: 767px) {
	.skd-dc--popup .skd-dc__overlay { background: #fff; }
	.skd-dc--popup .skd-dc__dialog { padding: 0; justify-content: flex-start; }
	/* Over the photo, in the corner, as on FundraiseUp's phone sheet. */
	.skd-dc .skd-dc__close { position: fixed; top: 12px; right: 12px; z-index: 5; }
	.skd-dc__card-wrap { flex: none; width: 100%; display: block; }
	.skd-dc__footer { color: var(--skd-dc-muted); padding: 0 16px 24px; }
	.skd-dc__footer a { color: var(--skd-dc-muted) !important; }

	.skd-dc__cards { flex-direction: column; gap: 0; }
	.skd-dc--inline .skd-dc__cards { border-radius: 16px; overflow: hidden; box-shadow: var(--skd-dc-card-shadow); padding: 0; }
	.skd-dc__campaign, .skd-dc__card { flex: none; width: 100%; height: auto; border-radius: 0; box-shadow: none; }
	.skd-dc__media { height: auto; aspect-ratio: 390 / 230; }
	.skd-dc__campaign-body { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--skd-dc-line); }
	.skd-dc__campaign-fade { display: none; }

	.skd-dc__card { overflow: visible; }
	.skd-dc__head { border-bottom: 0; padding: 20px 48px 4px; }
	.skd-dc__head--secure { padding: 28px 20px 16px; }
	.skd-dc__body { overflow: visible; padding: 12px 20px 8px; }
	.skd-dc__foot { padding: 12px 20px 24px; }
	.skd-dc__lead { margin-top: 16px; }
	.skd-dc__ga-declaration { margin-top: 16px; }
	.skd-dc__chip span, .skd-dc__freq-opt span { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.skd-dc__step.is-active, .skd-dc__skeleton span, .skd-dc--popup .skd-dc__overlay { animation: none; }
	.skd-dc__campaign-fade { transition: none; }
}
