/* SIM Giving: the donate card, in the look of today's donation-form-tabs card (/donate/, measured 10 Nov 2026). */
.sim-give {
	--sg-green: #14332d;
	--sg-lime: #f7ffc6;
	--sg-line: #efefef;
	--sg-stone: #dcd7ca;
	--sg-text: #363636;
	--sg-muted: #585e6a;
	--sg-red: #b42318;
	color: var(--sg-text);
	font-size: 15px;
	line-height: 1.5;
}
.sim-give *, .sim-give *::before, .sim-give *::after { box-sizing: border-box; }
.sim-give [hidden] { display: none !important; }
.sim-give .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Give once / Monthly */
.sg-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; margin: 0 0 20px; background: var(--sg-lime); border: 1px solid var(--sg-line); border-radius: 50px; }
.sg-tabs__ind { position: absolute; top: 1px; bottom: 1px; left: 1px; width: calc(50% - 1px); background: var(--sg-green); border-radius: 50px; transition: transform .3s ease; }
.sg-tab { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; margin: 0; padding: 0 12px; background: none; border: 0; border-radius: 50px; font: inherit; font-size: 15px; color: var(--sg-green); cursor: pointer; transition: color .3s ease; }
.sg-tab[aria-selected="true"] { color: #fff; }
.sg-tab svg { width: 14px; height: 14px; }
.sg-tab:focus-visible { outline: 2px solid var(--sg-green); outline-offset: 3px; }

/* Amounts */
.sg-amounts { margin: 0; padding: 0; border: 0; min-width: 0; }
.sg-presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 10px; margin: 0 0 10px; }
.sg-preset { position: relative; display: block; margin: 0; cursor: pointer; }
.sg-preset input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sg-preset span { display: flex; align-items: center; justify-content: center; height: 48px; padding: 5px; background: var(--sg-lime); border: 1px solid var(--sg-line); border-radius: 4px; font-size: 16px; color: var(--sg-green); transition: background-color .2s ease, color .2s ease; }
.sg-preset:hover span { border-color: var(--sg-green); }
.sg-preset input:checked + span { background: var(--sg-green); border-color: var(--sg-green); color: #fff; }
.sg-preset input:focus-visible + span { outline: 2px solid var(--sg-green); outline-offset: 2px; }
.sg-other { position: relative; display: flex; align-items: center; }
.sg-other__sign { position: absolute; left: 16px; color: var(--sg-muted); pointer-events: none; }
.sg-other__per { position: absolute; right: 16px; color: var(--sg-muted); pointer-events: none; display: none; }
.sim-give.is-monthly .sg-other__per { display: block; }
.sim-give .sg-other .sg-other__input { padding-left: 30px; }
.sim-give.is-monthly .sg-other .sg-other__input { padding-right: 84px; }
.sg-help { margin: 8px 0 20px; font-size: 13px; color: var(--sg-muted); }

/* Fields */
.sg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.sg-field { margin: 0 0 16px; min-width: 0; }
.sg-grid .sg-field { margin: 0; }
.sg-field--wide { grid-column: 1 / -1; }
.sg-field label, .sg-label, .sg-pay legend { display: block; margin: 0 0 8px; font-size: 16px; font-weight: 500; color: var(--sg-green); padding: 0; }
.sim-give .sg-input { display: block; width: 100%; height: 40px; margin: 0; padding: 0 14px; background: #fff; border: 1px solid var(--sg-stone); border-radius: 4px; font: inherit; font-size: 16px; color: #000; box-shadow: none; }
.sim-give .sg-select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2314332d' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.sim-give .sg-input:focus { outline: 0; border-color: var(--sg-green); box-shadow: 0 0 0 1px var(--sg-green); }
.sim-give .sg-input[aria-invalid="true"] { border-color: var(--sg-red); }
.sg-err { margin: 6px 0 0; font-size: 13px; color: var(--sg-red); }
.sg-secure { height: 40px; }
.sg-secure iframe { width: 100% !important; height: 40px !important; border: 0; }
.sg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Step 2 */
.sg-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin: 0 0 18px; padding: 0 0 14px; border-bottom: 1px solid var(--sg-line); font-size: 17px; font-weight: 500; color: var(--sg-green); }
.sg-summary__t:focus { outline: 0; }
.sg-link { padding: 0; margin: 0; background: none; border: 0; font: inherit; font-size: 15px; font-weight: 500; color: var(--sg-green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sg-link:hover { text-decoration-thickness: 2px; }
.sg-address { margin: 16px 0 18px; }
.sg-address summary { cursor: pointer; color: var(--sg-green); font-weight: 500; margin: 0 0 12px; }
.sg-pay { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.sg-pay__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sg-pay__opt { position: relative; display: block; margin: 0; cursor: pointer; }
.sg-pay__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sg-pay__opt span { display: flex; align-items: center; justify-content: center; height: 44px; background: var(--sg-lime); border: 1px solid var(--sg-line); border-radius: 4px; font-size: 16px; color: var(--sg-green); }
.sg-pay__opt input:checked + span { background: var(--sg-green); border-color: var(--sg-green); color: #fff; }
.sg-pay__opt input:focus-visible + span { outline: 2px solid var(--sg-green); outline-offset: 2px; }
.sg-pay__opt input:disabled + span { opacity: .45; cursor: not-allowed; }
.sg-card { margin: 0 0 16px; }
.sg-bank { margin: 0 0 16px; font-size: 15px; color: var(--sg-green); }
.sg-nudge { margin: 0 0 16px; padding: 12px 14px; background: var(--sg-lime); border-radius: 4px; font-size: 14px; color: var(--sg-green); }
.sg-nudge .sg-link { font-size: 14px; }
.sg-total { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 12px 0; border-top: 1px solid var(--sg-line); border-bottom: 1px solid var(--sg-line); font-size: 16px; font-weight: 500; color: var(--sg-green); }
.sg-agree { margin: 0 0 14px; font-size: 13px; color: var(--sg-muted); }
.sg-agree a { color: inherit; text-decoration: underline; }
.sg-msg { margin: 0 0 14px; padding: 10px 12px; border-left: 3px solid var(--sg-red); background: #fdf1f0; font-size: 14px; color: var(--sg-red); }

/* Buttons and the secure line */
.sim-give .sg-btn { display: block; width: 100%; min-height: 46px; margin: 0; padding: 14px 16px; background: var(--sg-green); border: 1px solid transparent; border-radius: 3px; box-shadow: 0 1px 4px rgba(18, 25, 97, .08); font: inherit; font-size: 16px; font-weight: 500; line-height: 1.1; color: #fff; text-align: center; cursor: pointer; }
.sim-give .sg-btn:hover { background: #0c211d; }
.sim-give .sg-btn:focus-visible { outline: 2px solid var(--sg-green); outline-offset: 3px; }
.sim-give .sg-btn:disabled { opacity: .6; cursor: default; }
.sg-secure-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 14px; font-size: 14px; color: var(--sg-green); }
.sg-secure-line svg { width: 12px; height: 12px; }
.sg-test { flex-basis: 100%; text-align: center; color: var(--sg-red); font-weight: 600; } /* eWAY sandbox mode */

/* Thank you */
.sg-done { text-align: center; padding: 8px 0 0; }
.sg-done:focus { outline: 0; }
.sg-done__tick { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sg-green); color: #fff; }
.sg-done__tick svg { width: 24px; height: 24px; }
.sim-give .sg-done__h { margin: 14px 0 8px; font-size: 22px; line-height: 1.25; color: var(--sg-green); }
.sg-done__p { margin: 0 0 18px; color: var(--sg-green); }
/* Bank transfer: the details on screen too (from Mukti). */
.sg-done__bank { text-align: left; margin: 0 0 18px; padding: 14px 16px; background: var(--sg-lime); border-radius: 4px; color: var(--sg-green); }
.sg-done__bank p { margin: 0 0 8px; white-space: pre-line; }
.sg-done__bank p:last-child { margin-bottom: 0; }
.sg-done__bankh { font-weight: 600; }
.sg-done__rows { text-align: left; }
.sg-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--sg-line); color: var(--sg-green); }
.sg-line--total { font-weight: 600; }

@media (max-width: 479px) {
	.sg-grid { grid-template-columns: 1fr; }
	.sg-field--wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.sg-tabs__ind, .sg-tab, .sg-preset span { transition: none; }
}
