/* SARA PayPal Support — matches SARA theme palette */
.sara-support-wrap {
	--paper: #f5efe4;
	--cream: #faf6ee;
	--ink: #1f1c17;
	--mid: #5a544a;
	--muted: #8a8377;
	--rule: #e5dcc9;
	--olive: #6a7849;
	--olive-deep: #475233;
	--olive-soft: #a6b282;
	max-width: 640px;
	margin: 0 auto;
	padding: 2rem 0 3rem;
	font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
}

.sara-support-wrap *,
.sara-support-result * {
	box-sizing: border-box;
}

.sara-support-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--olive-deep);
	margin-bottom: 1rem;
}

.sara-support-kicker::before {
	content: "";
	width: 18px;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}

.sara-support-title {
	font-family: 'Instrument Serif', ui-serif, Georgia, serif;
	font-weight: 400;
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	line-height: 0.98;
	letter-spacing: -0.018em;
	margin: 0 0 0.75rem;
}

.sara-support-desc {
	color: var(--mid);
	font-size: 16px;
	line-height: 1.65;
	max-width: 52ch;
	margin: 0 0 2rem;
}

.sara-support-card {
	background: linear-gradient(180deg, rgba(250, 246, 238, 0.92), rgba(245, 239, 228, 0.85));
	border: 1px solid var(--rule);
	border-radius: 20px;
	padding: 1.75rem 1.75rem 2rem;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.5) inset,
		0 20px 50px -30px rgba(31, 28, 23, 0.15);
}

.sara-support-notice {
	background: rgba(106, 120, 73, 0.1);
	border: 1px solid rgba(106, 120, 73, 0.25);
	border-radius: 12px;
	padding: 0.85rem 1rem;
	font-size: 13px;
	color: var(--olive-deep);
	margin-bottom: 1.25rem;
	line-height: 1.5;
}

.sara-support-label {
	display: block;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.5rem;
}

.sara-support-amounts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 1.25rem;
}

.sara-support-amount {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4.5rem;
	padding: 0.7rem 1.1rem;
	background: transparent;
	color: var(--ink);
	border: 1px solid rgba(31, 28, 23, 0.18);
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sara-support-amount:hover {
	background: rgba(31, 28, 23, 0.04);
	border-color: rgba(31, 28, 23, 0.35);
}

.sara-support-amount.is-selected {
	background: var(--olive);
	color: var(--cream);
	border-color: var(--olive);
}

.sara-support-field {
	margin-bottom: 1rem;
}

.sara-support-field input {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 15px;
	font-family: inherit;
	color: var(--ink);
	background: var(--cream);
	border: 1px solid var(--rule);
	border-radius: 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sara-support-field input:focus {
	outline: none;
	border-color: var(--olive-soft);
	box-shadow: 0 0 0 3px rgba(106, 120, 73, 0.15);
}

.sara-support-field input::placeholder {
	color: var(--muted);
}

.sara-support-field-hint {
	font-size: 12px;
	color: var(--muted);
	margin-top: 0.35rem;
}

.sara-support-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	margin-top: 0.5rem;
	padding: 0.95rem 1.4rem;
	background: var(--ink);
	color: var(--cream);
	border: none;
	border-radius: 9999px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.35s ease, transform 0.35s ease, opacity 0.25s ease;
}

.sara-support-submit:hover:not(:disabled) {
	background: #0f0d09;
	transform: translateY(-1px);
}

.sara-support-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.sara-support-footnote {
	margin-top: 1rem;
	font-size: 12px;
	color: var(--muted);
	text-align: center;
}

.sara-support-error {
	display: none;
	margin-top: 0.75rem;
	padding: 0.75rem 1rem;
	background: rgba(180, 60, 50, 0.08);
	border: 1px solid rgba(180, 60, 50, 0.2);
	border-radius: 10px;
	font-size: 13px;
	color: #8b3a32;
}

.sara-support-error.is-visible {
	display: block;
}

/* Result pages (success / cancel) */
.sara-support-result {
	max-width: 560px;
	margin: 0 auto;
	padding: 2.5rem 0 3rem;
	font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
	color: var(--ink);
}

.sara-support-result-card {
	background: linear-gradient(180deg, rgba(250, 246, 238, 0.92), rgba(245, 239, 228, 0.85));
	border: 1px solid var(--rule);
	border-radius: 20px;
	padding: 2rem 2rem 2.25rem;
	text-align: center;
	box-shadow: 0 20px 50px -30px rgba(31, 28, 23, 0.12);
}

.sara-support-result-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sara-support-result--success .sara-support-result-icon {
	background: rgba(106, 120, 73, 0.15);
	color: var(--olive-deep);
}

.sara-support-result--cancel .sara-support-result-icon {
	background: rgba(31, 28, 23, 0.06);
	color: var(--mid);
}

.sara-support-result h2 {
	font-family: 'Instrument Serif', ui-serif, Georgia, serif;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 400;
	line-height: 1.1;
	margin: 0 0 0.75rem;
}

.sara-support-result p {
	color: var(--mid);
	font-size: 15px;
	line-height: 1.65;
	margin: 0 0 1.25rem;
}

.sara-support-receipt {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	background: var(--cream);
	border: 1px solid var(--rule);
	border-radius: 14px;
	text-align: left;
	font-size: 14px;
}

.sara-support-receipt li {
	padding: 0.35rem 0;
	color: var(--mid);
	border-bottom: 1px solid rgba(229, 220, 201, 0.6);
}

.sara-support-receipt li:last-child {
	border-bottom: none;
}

.sara-support-receipt strong {
	color: var(--ink);
	font-weight: 500;
}

.sara-support-receipt code {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 12px;
	word-break: break-all;
}

.sara-support-result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
	margin-top: 0.5rem;
}

.sara-support-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.35rem;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.sara-support-btn--primary {
	background: var(--ink);
	color: var(--cream);
}

.sara-support-btn--primary:hover {
	background: #0f0d09;
	color: var(--cream);
	transform: translateY(-1px);
}

.sara-support-btn--olive {
	background: var(--olive);
	color: var(--cream);
}

.sara-support-btn--olive:hover {
	background: var(--olive-deep);
	color: var(--cream);
	transform: translateY(-1px);
}

.sara-support-btn--ghost {
	background: transparent;
	color: var(--ink);
	border: 1px solid rgba(31, 28, 23, 0.18);
}

.sara-support-btn--ghost:hover {
	background: rgba(31, 28, 23, 0.04);
	border-color: rgba(31, 28, 23, 0.35);
	color: var(--ink);
	transform: translateY(-1px);
}

/* Compact button layout (theme embed) */
.sara-paypal-btn-compact {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 1.4rem;
	background: var(--olive, #6a7849);
	color: var(--cream, #faf6ee);
	border: none;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.35s ease, transform 0.35s ease;
}

.sara-paypal-btn-compact:hover {
	background: var(--olive-deep, #475233);
	transform: translateY(-1px);
}
