.roh-total-label {
    font-size: 22px;
}

.roh-donation-tip {
    border-radius: 10px;
	margin-top: 20px;
}

.roh-tip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.roh-tip-text {
    font-weight: 600;
    font-size: 16px;
    color: #222;
    align-items: center;
    gap: 6px;
}

.roh-tip-popover-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #888;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
}

.roh-tip-amount-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #31a497;
}

.roh-tip-edit {
    border: none;
    background: #fff;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    border: 1px solid #e5e5e5;
}

.roh-tip-pencil {
    font-size: 14px;
}

.roh-tip-pencil img{
	width: 17px;
}

.roh-tip-subtext {
    margin-top: 8px;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.roh-tip-input-wrap {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.roh-tip-input {
    width: 120px;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.roh-tip-save {
    background: #31a497;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
}

.roh-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-weight: 700;
    font-size: 16px;
}

.roh-total-value {
    color: #31a497;
}

/* Tip Preset Buttons */
.roh-tip-presets-wrap {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
}

.roh-tip-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.roh-tip-preset-btn {
    border-radius: 999px;
    border: 1px solid #ccc;
    padding: 0.5rem 1.1rem;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.roh-tip-preset-btn:hover {
    border-color: #31a497;
    color: #31a497;
}

.roh-tip-preset-btn.is-selected {
    background: #31a497;
    border-color: #31a497;
    color: #fff;
}

.roh-tip-preset-btn.roh-tip-preset-custom {
    background: #f5f5f5;
    border-color: #999;
    color: #666;
    font-weight: 600;
}

.roh-tip-preset-btn.roh-tip-preset-custom:hover {
    background: #e8e8e8;
    border-color: #666;
    color: #333;
}

.roh-donation-preset-btn.is-selected,
.roh-donation-frequency-btn.is-selected {
    background: #31a497;
    border-color: #31a497;
    color: #fff;
}
/* ===== Ray of Hope – Donation Modal ===== */
/* Full-width donation modal */
.donation-modal-wrapper .modal-dialog {
	max-width: 100%;
	width: 100%;
	margin: 0;
}

.donation-modal-wrapper .modal-content {
	border-radius: 0;
	border: none;
	min-height: 100vh;
}

.roh-donation-modal-fullscreen {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.roh-donation-header {
	border-bottom: 1px solid #eee;
	padding: 1.5rem 1.5rem 0;
	max-width: 900px; /* Match .roh-donation-body */
	margin: 0 auto; /* Center horizontally */
	width: 100%;
	display: flex;
	justify-content: center; /* Center content */
}

.roh-donation-tabs {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.roh-donation-tab-btn {
	border-radius: 999px;
	border: 1px solid #31a497;
	background: #fff;
	color: #31a497;
	padding: 0.6rem 1.4rem;
	font-weight: 600;
	cursor: pointer;
}

.roh-donation-tab-btn.is-active {
	background: #31a497 !important;
	color: #fff !important;
}

.roh-donation-body {
	padding: 1.5rem 2rem 2rem;
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - 120px);
}

.roh-donation-tab-panels {
	margin-top: 1rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}
/*
.roh-donation-tab-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
}
    */
.roh-donation-tab-panel {
	display: none;
}

.roh-donation-tab-panel.is-active {
	display: block;
}

.roh-donation-form-wrapper {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.roh-donation-form {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.roh-donation-section-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 0.75rem;
	font-family: 'Work Sans';
}

.roh-donation-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.roh-donation-preset-btn {
	border-radius: 999px;
	border: 1px solid #ccc;
	padding: 0.5rem 1.1rem;
	background: #fff;
	color: #333;
	cursor: pointer;
	transition: all 0.2s ease;
}

.roh-donation-preset-btn:hover {
	border-color: #31a497;
	color: #31a497;
}

.roh-donation-preset-btn.is-selected, .roh-donation-preset-btn.roh-donation-preset-custom.is-selected {
	background: #31a497 !important;
	border-color: #31a497 !important;
	color: #fff !important;
}

.roh-donation-preset-btn.roh-donation-preset-custom {
	background: #31a497;
	border-color: #31a497;
	color: #fff;
}

.roh-donation-amount-input-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.roh-donation-amount-input-wrap .currency_symbol {
	font-weight: 600;
}

.roh-donation-amount-input {
	flex: 1;
}

.roh-donation-frequency-options {
	display: flex;
	gap: 0.75rem;
}

.roh-donation-frequency-btn {
	border-radius: 999px;
	border: 1px solid #31a497;
	padding: 0.5rem 1.2rem;
	background: #fff;
	color: #31a497;
	cursor: pointer;
	transition: all 0.2s ease;
}

.roh-donation-frequency-btn:hover {
	background: #f5f5f5;
}

.roh-donation-frequency-btn.is-active,
.roh-donation-frequency-btn.is-selected {
	background: #31a497 !important;
	color: #fff !important;
}

.roh-donation-submit-wrapper {
	margin-top: auto;
	padding-top: 2rem;
}

.roh-donation-submit-wrapper .roh-donation-submit-button {
	width: 100%;
	background: #31a497;
	border-color: #31a497;
	color: #fff;
	padding: 0.9rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.roh-donation-submit-wrapper .roh-donation-submit-button:hover {
	background: #0b514d;
	border-color: #0b514d;
}

/* Center content within full-width modal */
.roh-donation-modal-fullscreen {
	max-width: 100%;
	margin: 0 auto;
}

.roh-donation-body {
	max-width: 900px;
	margin: 0 auto;
	width: 100%;
}

@media (max-width: 600px) {
	.roh-donation-modal-fullscreen {
		max-width: 100%;
		padding: 0 0.5rem;
	}

	.roh-donation-body {
		padding: 1rem;
		min-height: calc(100vh - 100px);
	}

	.roh-donation-header {
		padding: 1rem 1rem 0;
	}

	.roh-donation-tabs {
		flex-direction: row;
	}

	.roh-donation-section {
		margin-bottom: 1.5rem;
	}

	.roh-donation-submit-wrapper {
		padding-top: 1.5rem;
	}
}

/* Give Collective brand refresh */
.donation-modal-wrapper,
.roh-donation-modal-fullscreen,
.roh-donation-body {
	--gc-crimson: #f47c98;
	--gc-crimson-deep: #9f4f60;
	--gc-crimson-soft: #f8ebe3;
	--gc-turquoise: #31a497;
	--gc-turquoise-deep: #0f6f68;
	--gc-turquoise-dark: #0b514d;
	--gc-porcelain: #eef8f7;
	--gc-ivory: #fbf4e8;
	--gc-gold: #b88934;
	--gc-blue: #1c4f78;
	--gc-ink: #183734;
	--gc-muted: #536b68;
	--gc-border: rgba(15, 111, 104, 0.18);
}

.donation-modal-wrapper .modal-content {
	background: #ffffff;
	color: var(--gc-ink);
}

.roh-tip-amount-display,
.roh-total-value,
.roh-donation-section-title {
	color: var(--gc-turquoise-deep);
}

.roh-tip-save,
.roh-tip-preset-btn.is-selected,
.roh-donation-preset-btn.is-selected,
.roh-donation-frequency-btn.is-selected,
.roh-donation-tab-btn.is-active,
.roh-donation-frequency-btn.is-active,
.roh-donation-submit-wrapper .roh-donation-submit-button {
	background: var(--gc-turquoise-deep) !important;
	border-color: var(--gc-turquoise-deep) !important;
	color: #ffffff !important;
}

.roh-donation-submit-wrapper .roh-donation-submit-button:hover {
	background: var(--gc-turquoise-dark) !important;
	border-color: var(--gc-turquoise-dark) !important;
}

.roh-tip-preset-btn:hover,
.roh-donation-tab-btn,
.roh-donation-frequency-btn {
	border-color: var(--gc-turquoise);
	color: var(--gc-turquoise-deep);
}

.roh-tip-preset-btn.roh-tip-preset-custom:hover,
.roh-donation-frequency-btn:hover {
	background: var(--gc-crimson-soft);
	border-color: var(--gc-crimson);
	color: var(--gc-crimson-deep);
}

.roh-donation-tab-btn,
.roh-tip-edit,
.roh-tip-preset-btn,
.roh-donation-frequency-btn,
.roh-donation-section {
	background: #ffffff;
	border-color: var(--gc-border);
}

/* Minimal Peranakan refinement */
.donation-modal-wrapper .modal-content {
	background: #ffffff;
}

.roh-donation-header {
	border-bottom-color: rgba(15, 111, 104, 0.14);
}

.roh-donation-form-wrapper,
.roh-donation-section {
	border-color: rgba(15, 111, 104, 0.14);
}

.roh-donation-submit-wrapper .roh-donation-submit-button {
	border-radius: 8px;
}

/* Refined character layer */
.roh-donation-body {
	background: #ffffff;
	border-top: 4px solid var(--gc-gold);
	box-shadow: 0 16px 44px rgba(24, 55, 52, 0.08);
}

.roh-donation-tab-btn {
	box-shadow: 2px 2px 0 rgba(184, 137, 52, 0.16);
}

.roh-donation-tab-btn.is-active {
	box-shadow: 2px 2px 0 rgba(184, 137, 52, 0.28);
}

.roh-donation-submit-wrapper .roh-donation-submit-button {
	box-shadow: 0 14px 26px rgba(15, 111, 104, 0.22);
}

/* Donate modal shell: apply the same restrained Give Collective treatment to #donateModal. */
#donateModal {
	--gc-crimson: #f47c98;
	--gc-crimson-deep: #9f4f60;
	--gc-crimson-soft: #f8ebe3;
	--gc-turquoise: #31a497;
	--gc-turquoise-deep: #0f6f68;
	--gc-turquoise-dark: #0b514d;
	--gc-porcelain: #eef8f7;
	--gc-ivory: #fbf4e8;
	--gc-gold: #b88934;
	--gc-blue: #1c4f78;
	--gc-ink: #183734;
	--gc-muted: #536b68;
	--gc-border: rgba(15, 111, 104, 0.16);
}

#donateModal .modal-dialog {
	margin: 0;
	max-width: 100%;
	width: 100%;
}

#donateModal .modal-content.donate-modal {
	background: #ffffff;
	border: 0;
	border-radius: 0;
	color: var(--gc-ink);
	min-height: 100vh;
	overflow: hidden;
}

#donateModal .modal-content.donate-modal:before {
	background: linear-gradient(90deg, var(--gc-turquoise-deep), var(--gc-blue), var(--gc-gold), var(--gc-crimson));
	content: "";
	display: block;
	height: 4px;
	width: 100%;
}

#donateModal .modal-header {
	background: #ffffff;
	border-bottom: 1px solid var(--gc-border);
	margin: 0 auto;
	max-width: 980px;
	padding: 1.25rem 1.5rem;
	width: 100%;
}

#donateModal .modal-title {
	color: var(--gc-ink);
	font-size: clamp(1.35rem, 2.5vw, 2rem) !important;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.12;
}

#donateModal .btn-close {
	border-radius: 999px;
	box-shadow: none;
	opacity: 0.72;
}

#donateModal .btn-close:hover,
#donateModal .btn-close:focus {
	opacity: 1;
	outline: 2px solid rgba(15, 111, 104, 0.22);
	outline-offset: 2px;
}

#donateModal .modal-body {
	margin: 0 auto;
	max-width: 980px;
	padding: 0 1.5rem 2rem;
	width: 100%;
}

#donateModal .roh-donation-body,
#donateModal .wpneo-donation-form-wrapper,
#donateModal .donation_field,
#donateModal .roh-donation-section {
	background: #ffffff;
	border-color: var(--gc-border);
}

#donateModal .roh-donation-body {
	border-radius: 0 0 8px 8px;
	border-top: 4px solid var(--gc-gold);
	margin-top: 0;
	max-width: 980px;
	padding: 1.5rem 2rem 2rem;
}

#donateModal .roh-donation-header {
	background: #ffffff;
	border-bottom: 0;
	padding-top: 1.25rem;
}

#donateModal .roh-donation-tab-btn,
#donateModal .roh-donation-preset-btn,
#donateModal .roh-tip-preset-btn,
#donateModal .roh-donation-frequency-btn,
#donateModal ul.wpcf_predefined_pledge_amount li a {
	background: #ffffff;
	border: 1px solid var(--gc-border);
	border-radius: 999px;
	box-shadow: 2px 2px 0 rgba(184, 137, 52, 0.14);
	color: var(--gc-turquoise-deep);
	font-weight: 750;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#donateModal .roh-donation-tab-btn:hover,
#donateModal .roh-donation-preset-btn:hover,
#donateModal .roh-tip-preset-btn:hover,
#donateModal .roh-donation-frequency-btn:hover,
#donateModal ul.wpcf_predefined_pledge_amount li a:hover,
#donateModal ul.wpcf_predefined_pledge_amount li a:focus {
	background: var(--gc-porcelain);
	border-color: rgba(15, 111, 104, 0.34);
	color: var(--gc-turquoise-dark);
	transform: translateY(-1px);
}

#donateModal .roh-donation-tab-btn.is-active,
#donateModal .roh-donation-preset-btn.is-selected,
#donateModal .roh-donation-preset-btn.roh-donation-preset-custom.is-selected,
#donateModal .roh-tip-preset-btn.is-selected,
#donateModal .roh-donation-frequency-btn.is-active,
#donateModal .roh-donation-frequency-btn.is-selected {
	background: var(--gc-turquoise-deep) !important;
	border-color: var(--gc-turquoise-deep) !important;
	box-shadow: 2px 2px 0 rgba(184, 137, 52, 0.32);
	color: #ffffff !important;
}

#donateModal .roh-donation-preset-btn.roh-donation-preset-custom:not(.is-selected) {
	background: #ffffff;
	border-color: rgba(184, 137, 52, 0.42);
	color: var(--gc-blue);
}

#donateModal .roh-donation-section-title,
#donateModal .roh-total-value,
#donateModal .roh-tip-amount-display,
#donateModal .currency_symbol {
	color: var(--gc-turquoise-deep);
}

#donateModal .roh-donation-amount-input,
#donateModal .input-text {
	background: #ffffff;
	border: 1px solid var(--gc-border);
	border-radius: 8px;
	box-shadow: none;
	color: var(--gc-ink);
	min-height: 46px;
}

#donateModal .roh-donation-amount-input:focus,
#donateModal .input-text:focus {
	border-color: var(--gc-turquoise);
	box-shadow: 0 0 0 3px rgba(49, 164, 151, 0.16);
	outline: none;
}

#donateModal .roh-donation-submit-wrapper .roh-donation-submit-button,
#donateModal .addtocart-btn .button,
#donateModal .single_add_to_cart_roh_button {
	background: var(--gc-turquoise-deep) !important;
	border: 1px solid var(--gc-turquoise-deep) !important;
	border-radius: 8px !important;
	box-shadow: 0 14px 26px rgba(15, 111, 104, 0.22) !important;
	color: #ffffff !important;
	font-weight: 800;
	min-height: 50px;
}

#donateModal .roh-donation-submit-wrapper .roh-donation-submit-button:hover,
#donateModal .addtocart-btn .button:hover,
#donateModal .single_add_to_cart_roh_button:hover {
	background: var(--gc-turquoise-dark) !important;
	border-color: var(--gc-turquoise-dark) !important;
}

@media (max-width: 600px) {
	#donateModal .modal-header,
	#donateModal .modal-body {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	#donateModal .roh-donation-body {
		padding: 1.25rem 1rem 1.5rem;
	}
}

/* Remove decorative stripe fields from the donate flow. */
.donation-modal-wrapper .modal-content,
#donateModal .modal-content.donate-modal,
#donateModal .roh-donation-body,
#donateModal .wpneo-donation-form-wrapper,
#donateModal .donation_field,
#donateModal .roh-donation-section {
	background-image: none !important;
}

#donateModal .modal-content.donate-modal {
	background-color: #ffffff !important;
}

#donateModal .roh-donation-body,
#donateModal .wpneo-donation-form-wrapper,
#donateModal .donation_field,
#donateModal .roh-donation-section {
	background-color: #ffffff !important;
}

/* Event-page aligned polish for the actual #donateModal shell. */
#donateModal.modal {
	background: rgba(24, 55, 52, 0.42);
}

#donateModal .modal-dialog {
	min-height: 100vh;
}

#donateModal .modal-content.donate-modal {
	background: #ffffff;
}

#donateModal .modal-content.donate-modal:before {
	background: linear-gradient(90deg, var(--gc-turquoise), var(--gc-crimson));
	height: 3px;
}

#donateModal .modal-header {
	align-items: center;
	background: transparent;
	border-bottom: 0;
	padding-bottom: 0.85rem;
	padding-top: 1.35rem;
}

#donateModal .modal-title {
	max-width: 760px;
}

#donateModal .btn-close {
	align-items: center;
	background-color: #ffffff;
	border: 1px solid rgba(49, 164, 151, 0.2);
	display: inline-flex;
	height: 40px;
	justify-content: center;
	width: 40px;
}

#donateModal .modal-body {
	padding-bottom: clamp(1.25rem, 4vw, 3rem);
}

#donateModal .roh-donation-body {
	background: #ffffff !important;
	border: 1px solid rgba(49, 164, 151, 0.16);
	border-radius: 8px;
	border-top: 0;
	box-shadow: 0 18px 46px rgba(24, 55, 52, 0.09);
	overflow: hidden;
	position: relative;
}

#donateModal .roh-donation-body:before {
	background: linear-gradient(90deg, var(--gc-turquoise), var(--gc-crimson));
	content: "";
	display: block;
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

#donateModal .roh-donation-header {
	border-bottom: 1px solid rgba(49, 164, 151, 0.14);
	max-width: none;
	padding: 1.6rem 0 1rem;
}

#donateModal .roh-donation-tabs {
	justify-content: center;
	width: 100%;
}

#donateModal .roh-donation-tab-btn,
#donateModal .roh-donation-preset-btn,
#donateModal .roh-tip-preset-btn,
#donateModal .roh-donation-frequency-btn,
#donateModal ul.wpcf_predefined_pledge_amount li a {
	border-color: rgba(49, 164, 151, 0.22);
	box-shadow: none;
	color: var(--gc-turquoise-deep);
}

#donateModal .roh-donation-tab-btn:hover,
#donateModal .roh-donation-tab-btn:focus,
#donateModal .roh-donation-preset-btn:hover,
#donateModal .roh-donation-preset-btn:focus,
#donateModal .roh-tip-preset-btn:hover,
#donateModal .roh-tip-preset-btn:focus,
#donateModal .roh-donation-frequency-btn:hover,
#donateModal .roh-donation-frequency-btn:focus,
#donateModal ul.wpcf_predefined_pledge_amount li a:hover,
#donateModal ul.wpcf_predefined_pledge_amount li a:focus {
	background: rgba(49, 164, 151, 0.08);
	border-color: var(--gc-turquoise);
	color: var(--gc-turquoise-dark);
}

#donateModal .roh-donation-tab-btn.is-active,
#donateModal .roh-donation-preset-btn.is-selected,
#donateModal .roh-donation-preset-btn.roh-donation-preset-custom.is-selected,
#donateModal .roh-tip-preset-btn.is-selected,
#donateModal .roh-donation-frequency-btn.is-active,
#donateModal .roh-donation-frequency-btn.is-selected {
	background: var(--gc-turquoise) !important;
	border-color: var(--gc-turquoise) !important;
	box-shadow: 0 10px 22px rgba(49, 164, 151, 0.18);
	color: #ffffff !important;
}

#donateModal .roh-donation-tab-panels {
	margin-top: 1.25rem;
}

#donateModal .roh-donation-section,
#donateModal .donation_field,
#donateModal .roh-donation-tip {
	background: #ffffff !important;
	border: 1px solid rgba(49, 164, 151, 0.14);
	border-radius: 8px;
	box-shadow: 0 10px 26px rgba(24, 55, 52, 0.05);
	padding: 1.15rem;
}

#donateModal .roh-donation-section + .roh-donation-section,
#donateModal .roh-donation-tip {
	margin-top: 1rem;
}

#donateModal .roh-donation-section-title {
	color: var(--gc-crimson);
	font-weight: 800;
	letter-spacing: 0;
}

#donateModal .roh-tip-text,
#donateModal .roh-total-row {
	color: var(--gc-ink);
}

#donateModal .roh-tip-subtext {
	color: var(--gc-muted);
}

#donateModal .roh-tip-popover-icon {
	background: var(--gc-turquoise-deep);
}

#donateModal .roh-donation-amount-input,
#donateModal .roh-tip-input,
#donateModal .input-text {
	border-color: rgba(49, 164, 151, 0.2);
}

#donateModal .roh-tip-save,
#donateModal .roh-donation-submit-wrapper .roh-donation-submit-button,
#donateModal .addtocart-btn .button,
#donateModal .single_add_to_cart_roh_button {
	background: var(--gc-turquoise) !important;
	border-color: var(--gc-turquoise) !important;
	box-shadow: 0 14px 30px rgba(49, 164, 151, 0.2) !important;
}

#donateModal .roh-tip-save:hover,
#donateModal .roh-tip-save:focus,
#donateModal .roh-donation-submit-wrapper .roh-donation-submit-button:hover,
#donateModal .roh-donation-submit-wrapper .roh-donation-submit-button:focus,
#donateModal .addtocart-btn .button:hover,
#donateModal .addtocart-btn .button:focus,
#donateModal .single_add_to_cart_roh_button:hover,
#donateModal .single_add_to_cart_roh_button:focus {
	background: var(--gc-turquoise-dark) !important;
	border-color: var(--gc-turquoise-dark) !important;
}

#donateModal .roh-total-value,
#donateModal .roh-tip-amount-display,
#donateModal .currency_symbol {
	color: var(--gc-turquoise-deep);
}

@media (max-width: 600px) {
	#donateModal .roh-donation-header {
		padding-top: 1.35rem;
	}

	#donateModal .roh-donation-tabs,
	#donateModal .roh-donation-presets,
	#donateModal .roh-donation-frequency-options {
		align-items: stretch;
		flex-direction: column;
	}

	#donateModal .roh-donation-tab-btn,
	#donateModal .roh-donation-preset-btn,
	#donateModal .roh-tip-preset-btn,
	#donateModal .roh-donation-frequency-btn {
		justify-content: center;
		width: 100%;
	}
}
