/* RBFund — Frontend styles (lightweight, responsive, no dependencies) */
:root {
	--rbfund-primary: #16a34a;
	--rbfund-primary-dark: #15803d;
	--rbfund-progress: #16a34a;
	--rbfund-btn: #16a34a;
	--rbfund-btn-shortcode: #16a34a;
	--rbfund-bg: #ffffff;
	--rbfund-muted: #6b7280;
	--rbfund-border: #e5e7eb;
	--rbfund-radius: 12px;
}

.rbfund-campaign-card,
.rbfund-single,
.rbfund-single-form,
.rbfund-form {
	box-sizing: border-box;
}
.rbfund-campaign-card *,
.rbfund-form * { box-sizing: border-box; }

/* Progress bar */
.rbfund-progress {
	background: var(--rbfund-border);
	border-radius: 999px;
	height: 12px;
	overflow: hidden;
	margin: 12px 0;
}
.rbfund-progress-bar {
	background: linear-gradient(90deg, var(--rbfund-progress, var(--rbfund-primary)), var(--rbfund-progress, var(--rbfund-primary-dark)));
	height: 100%;
	border-radius: 999px;
	transition: width .6s ease;
	min-width: 2px;
}

/* Stats */
.rbfund-stats {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin: 12px 0 16px;
}
.rbfund-stat { display: flex; flex-direction: column; }
.rbfund-stat-value { font-size: 1.15rem; font-weight: 700; color: #111827; }
.rbfund-stat-label { font-size: .8rem; color: var(--rbfund-muted); }

/* Campaign card */
.rbfund-campaign-card {
	border: 1px solid var(--rbfund-border);
	border-radius: var(--rbfund-radius);
	overflow: hidden;
	background: var(--rbfund-bg);
	max-width: 640px;
}
.rbfund-campaign-thumb img { width: 100%; height: auto; display: block; }
.rbfund-campaign-body { padding: 20px; }
.rbfund-campaign-title { margin: 0 0 8px; font-size: 1.35rem; }

/* Form */
.rbfund-form { margin-top: 16px; }
.rbfund-field { margin-bottom: 14px; }
.rbfund-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.rbfund-field input,
.rbfund-field select,
.rbfund-field textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--rbfund-border);
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
}
.rbfund-field input:focus,
.rbfund-field select:focus,
.rbfund-field textarea:focus {
	outline: none;
	border-color: var(--rbfund-primary);
	box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}
.rbfund-row { display: flex; gap: 12px; }
.rbfund-row .rbfund-field { flex: 1; }

.rbfund-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.rbfund-preset {
	border: 1px solid var(--rbfund-border);
	background: #f9fafb;
	border-radius: 8px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: .9rem;
	transition: all .15s ease;
}
.rbfund-preset:hover { border-color: var(--rbfund-primary); }
.rbfund-preset.active {
	background: var(--rbfund-primary);
	color: #fff;
	border-color: var(--rbfund-primary);
}

.rbfund-check { display: flex; align-items: center; gap: 8px; font-size: .9rem; margin-bottom: 14px; }
.rbfund-check input { width: auto; }

.rbfund-submit {
	width: 100%;
	background: var(--rbfund-btn, var(--rbfund-primary));
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 14px;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s ease;
}
.rbfund-submit:hover { background: var(--rbfund-primary-dark); }
.rbfund-submit:disabled { opacity: .6; cursor: not-allowed; }

.rbfund-form-message {
	margin-top: 14px;
	padding: 14px;
	border-radius: 10px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	font-size: .92rem;
}
.rbfund-form-message.error { background: #fef2f2; border-color: #fecaca; }
.rbfund-form-message .rbfund-bank { margin: 8px 0; padding-left: 18px; }
.rbfund-form-message .rbfund-note { color: var(--rbfund-muted); font-size: .85rem; margin-top: 8px; }
.rbfund-qris { max-width: 220px; height: auto; margin: 8px 0; }

/* Grid */
.rbfund-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}
.rbfund-grid-item {
	border: 1px solid var(--rbfund-border);
	border-radius: var(--rbfund-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: var(--rbfund-bg);
	transition: transform .15s ease, box-shadow .15s ease;
}
.rbfund-grid-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.rbfund-grid-thumb img { width: 100%; height: 160px; object-fit: cover; display: block; }
.rbfund-grid-body { padding: 14px; }
.rbfund-grid-body h4 { margin: 0 0 6px; font-size: 1rem; line-height: 1.3; }
.rbfund-grid-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--rbfund-muted); }

/* Sticky button */
.rbfund-sticky-btn {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--rbfund-btn, var(--rbfund-primary));
	color: #fff !important;
	padding: 14px 32px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(22,163,74,.4);
	z-index: 9999;
}
.rbfund-sticky-btn:hover { background: var(--rbfund-primary-dark); }

.rbfund-progress-mini small { color: var(--rbfund-muted); }

/* Responsive */
@media (max-width: 560px) {
	.rbfund-row { flex-direction: column; gap: 0; }
	.rbfund-stats { gap: 12px; }
	.rbfund-campaign-body { padding: 16px; }
}

/* ============ Kabar & Doa ============ */
.rbfund-section { margin: 28px 0; }
.rbfund-section-title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--rbfund-primary, #16a34a);
	display: inline-block;
}

/* Timeline kabar */
.rbfund-timeline { border-left: 2px solid #e6ebef; padding-left: 18px; }
.rbfund-update { position: relative; margin-bottom: 22px; }
.rbfund-update::before {
	content: "";
	position: absolute;
	left: -25px;
	top: 4px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--rbfund-primary, #16a34a);
	box-shadow: 0 0 0 3px #fff;
}
.rbfund-update-date { font-size: .8rem; color: #8a97a3; margin-bottom: 3px; }
.rbfund-update-title { margin: 0 0 8px; font-size: 1rem; }
.rbfund-update-img { width: 100%; border-radius: 10px; margin: 6px 0 10px; display: block; }
.rbfund-update-content { color: #47555f; line-height: 1.6; font-size: .95rem; }
.rbfund-update-content p { margin: 0 0 8px; }

/* Dinding doa */
.rbfund-doa-list { display: flex; flex-direction: column; gap: 14px; }
.rbfund-doa-item { display: flex; gap: 12px; align-items: flex-start; }
.rbfund-doa-avatar {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--rbfund-primary, #16a34a);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1rem;
}
.rbfund-doa-body {
	background: #f6f8fa;
	border-radius: 12px;
	padding: 12px 14px;
	flex: 1;
	min-width: 0;
}
.rbfund-doa-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.rbfund-doa-name { font-weight: 600; }
.rbfund-doa-meta { font-size: .78rem; color: #8a97a3; }
.rbfund-doa-message { margin: 0 0 8px; color: #3c4a54; line-height: 1.55; font-size: .95rem; }

.rbfund-aamiin-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid #d7dee4;
	border-radius: 999px;
	padding: 5px 13px;
	font-size: .82rem;
	color: #4b5a66;
	cursor: pointer;
	transition: all .15s;
}
.rbfund-aamiin-btn:hover { border-color: var(--rbfund-primary, #16a34a); color: var(--rbfund-primary, #16a34a); }
.rbfund-aamiin-btn.amiined {
	background: var(--rbfund-primary, #16a34a);
	border-color: var(--rbfund-primary, #16a34a);
	color: #fff;
	cursor: default;
}
.rbfund-aamiin-count {
	background: rgba(0, 0, 0, .08);
	border-radius: 999px;
	padding: 1px 8px;
	font-weight: 700;
	font-size: .78rem;
}
.rbfund-aamiin-btn.amiined .rbfund-aamiin-count { background: rgba(255, 255, 255, .25); }

@media (max-width: 600px) {
	.rbfund-doa-avatar { width: 36px; height: 36px; }
}

/* ============ Fundraiser + Referral ============ */
.rbfund-ref-note {
	background: #eef7ff;
	border: 1px solid #cfe6fb;
	color: #1e6fa8;
	border-radius: 10px;
	padding: 10px 14px;
	margin-bottom: 14px;
	font-size: .92rem;
}
.rbfund-ref-ic { margin-right: 4px; }

.rbfund-fr-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 16px;
}
.rbfund-fr-card {
	display: flex;
	gap: 10px;
	align-items: center;
	background: #f6f8fa;
	border-radius: 10px;
	padding: 10px 12px;
}
.rbfund-fr-avatar {
	width: 38px; height: 38px; flex: none;
	border-radius: 50%;
	background: var(--rbfund-primary, #16a34a);
	color: #fff; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.rbfund-fr-info { min-width: 0; }
.rbfund-fr-info strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbfund-fr-sub { font-size: .78rem; color: #7a8893; }

.rbfund-fr-cta { text-align: center; margin-top: 6px; }
.rbfund-fr-toggle {
	background: transparent;
	border: 2px dashed var(--rbfund-primary, #16a34a);
	color: var(--rbfund-primary, #16a34a);
	border-radius: 999px;
	padding: 10px 20px;
	font-weight: 600;
	cursor: pointer;
	font-size: .92rem;
}
.rbfund-fr-toggle:hover { background: var(--rbfund-primary, #16a34a); color: #fff; }
.rbfund-fr-collapse { margin-top: 14px; text-align: left; }

/* Form daftar fundraiser */
.rbfund-fr-intro { color: #556572; font-size: .92rem; margin: 0 0 10px; }
.rbfund-fr-fields { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.rbfund-fr-fields input {
	padding: 10px 12px;
	border: 1px solid #d5dde4;
	border-radius: 8px;
	font-size: .95rem;
}
.rbfund-fr-submit {
	background: var(--rbfund-primary, #16a34a);
	color: #fff; border: none;
	border-radius: 8px;
	padding: 10px 18px;
	font-weight: 600; cursor: pointer;
}
.rbfund-fr-msg { margin-top: 8px; font-size: .88rem; }

/* Dashboard fundraiser */
.rbfund-fr-panel {
	background: #f6faf7;
	border: 1px solid #d8ebde;
	border-radius: 12px;
	padding: 16px;
}
.rbfund-fr-hello { margin: 0 0 10px; }
.rbfund-fr-linkrow { display: flex; gap: 8px; margin-bottom: 12px; }
.rbfund-fr-link {
	flex: 1; min-width: 0;
	padding: 9px 11px;
	border: 1px solid #cdd7de;
	border-radius: 8px;
	background: #fff;
	font-size: .85rem;
}
.rbfund-fr-copy {
	background: var(--rbfund-primary, #16a34a);
	color: #fff; border: none;
	border-radius: 8px; padding: 0 16px;
	font-weight: 600; cursor: pointer; flex: none;
}
.rbfund-fr-stats { display: flex; gap: 10px; margin-bottom: 12px; }
.rbfund-fr-stat {
	flex: 1; background: #fff;
	border: 1px solid #e4ece7;
	border-radius: 10px;
	padding: 10px; text-align: center;
}
.rbfund-fr-num { display: block; font-weight: 700; color: var(--rbfund-primary, #16a34a); }
.rbfund-fr-lbl { font-size: .74rem; color: #7a8893; }
.rbfund-fr-sharelabel { margin: 0 0 6px; font-size: .82rem; color: #566; }
.rbfund-fr-share { display: flex; flex-wrap: wrap; gap: 8px; }
.rbfund-share {
	color: #fff; text-decoration: none;
	padding: 8px 14px; border-radius: 8px;
	font-size: .85rem; font-weight: 600;
}
.rbfund-share.wa { background: #25d366; }
.rbfund-share.fb { background: #1877f2; }
.rbfund-share.tw { background: #0f1419; }
.rbfund-share.tg { background: #229ed9; }
.rbfund-share:hover { opacity: .9; }

@media (max-width: 600px) {
	.rbfund-fr-list { grid-template-columns: 1fr; }
}

/* ============ Form style variants & lokasi ============ */
.rbfund-presets--list { display: flex; flex-direction: column; gap: 8px; }
.rbfund-presets--list .rbfund-preset { width: 100%; text-align: left; }

.rbfund-campaign-loc {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	font-size: .9rem;
	color: #5c6b76;
}
.rbfund-loc-map {
	color: var(--rbfund-primary, #16a34a);
	text-decoration: none;
	font-weight: 600;
}
.rbfund-loc-map:hover { text-decoration: underline; }

/* ==================================================================
   HALAMAN CAMPAIGN (single template)
   ================================================================== */
.rbfund-campaign-page {
	max-width: 1140px;
	margin: 24px auto;
	padding: 0 16px;
	color: #26333d;
}
.rbfund-cp-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 28px;
	align-items: start;
}

/* Cover */
.rbfund-cp-cover { position: relative; border-radius: 14px; overflow: hidden; }
.rbfund-cp-cover img { width: 100%; display: block; }
.rbfund-cp-cover-ph {
	background: linear-gradient(135deg, #1f2b6b, #16a34a);
	aspect-ratio: 65 / 35;
	display: flex; align-items: center; justify-content: center;
}
.rbfund-cp-cover-ph .dashicons { color: rgba(255,255,255,.6); font-size: 60px; width: 60px; height: 60px; }
.rbfund-cp-cover-actions {
	position: absolute;
	right: 14px; bottom: 14px;
	display: flex; gap: 10px;
}
.rbfund-cp-btn {
	display: inline-flex; align-items: center; gap: 6px;
	background: #fff; color: var(--rbfund-primary, #b91c1c);
	border: 1px solid rgba(0,0,0,.06);
	border-radius: 999px;
	padding: 8px 16px;
	font-weight: 600; font-size: .85rem;
	text-decoration: none; cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.rbfund-cp-btn .dashicons { font-size: 16px; width: 16px; height: 16px; }

.rbfund-cp-title { font-size: 1.25rem; font-weight: 800; margin: 18px 0 8px; line-height: 1.25; }
.rbfund-cp-loc { display: flex; align-items: center; gap: 5px; color: #8a97a3; font-size: .92rem; margin-bottom: 18px; }
.rbfund-cp-loc .dashicons { font-size: 17px; width: 17px; height: 17px; }
.rbfund-cp-loc a { color: var(--rbfund-primary, #16a34a); text-decoration: none; }

/* Tabs */
.rbfund-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #eef2f5;
	margin-bottom: 20px;
	overflow-x: auto;
}
.rbfund-tab {
	background: transparent;
	border: none;
	padding: 14px 22px;
	font-size: .98rem;
	font-weight: 600;
	color: #6b7280;
	cursor: pointer;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	transition: color .15s, border-color .15s;
}
.rbfund-tab:hover { color: var(--rbfund-primary, #2563eb); }
.rbfund-tab.active {
	color: var(--rbfund-primary, #2563eb);
	border-bottom-color: var(--rbfund-primary, #2563eb);
	background: transparent;
}
/* tabpane display is controlled in polish section below */

/* Konten + read more */
.rbfund-content-collapse { position: relative; max-height: 340px; overflow: hidden; transition: max-height .3s ease; }
.rbfund-content-collapse.expanded { max-height: none; }
.rbfund-content-inner img { max-width: 100%; height: auto; border-radius: 10px; }
.rbfund-content-fade {
	position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
	pointer-events: none;
}
.rbfund-content-collapse.expanded .rbfund-content-fade { display: none; }
.rbfund-readmore {
	display: block;
	margin: 14px auto 0;
	background: #fff;
	border: 1px solid var(--rbfund-primary, #b91c1c);
	color: var(--rbfund-primary, #b91c1c);
	border-radius: 999px;
	padding: 9px 26px;
	font-weight: 600;
	cursor: pointer;
}

.rbfund-empty { color: #8a97a3; font-style: italic; padding: 12px 0; }

/* Donatur rows */
.rbfund-donor-rows { display: flex; flex-direction: column; }
.rbfund-donor-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f3f5; }
.rbfund-donor-ava {
	width: 40px; height: 40px; border-radius: 50%; flex: none;
	background: var(--rbfund-primary, #16a34a); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.rbfund-donor-meta { flex: 1; min-width: 0; }
.rbfund-donor-meta strong { display: block; }
.rbfund-donor-meta span { font-size: .8rem; color: #8a97a3; }
.rbfund-donor-amt { font-weight: 700; color: var(--rbfund-primary, #16a34a); }

/* ============ Sidebar ============ */
.rbfund-cp-card {
	background: #fff;
	border: 1px solid #edf1f4;
	border-radius: 14px;
	padding: 20px;
	margin-bottom: 18px;
	box-shadow: 0 2px 12px rgba(20,40,60,.04);
}
.rbfund-cp-card-title { margin: 0 0 14px; font-size: 1.1rem; font-weight: 700; }

/* Donate card */
.rbfund-cp-donatecard {
	background: #fff;
	border: 1px solid #edf1f4;
	border-radius: 14px;
	padding: 22px;
	margin-bottom: 18px;
	box-shadow: 0 2px 12px rgba(20,40,60,.04);
}
.rbfund-cp-donatecard--mobile { display: none; }
.rbfund-dc-amounts { margin-bottom: 12px; }
.rbfund-dc-raised { display: block; font-size: 1.5rem; font-weight: 800; color: #1f2b33; }
.rbfund-dc-target { font-size: .85rem; color: #8a97a3; }
.rbfund-dc-bar { height: 8px; background: #eef2f5; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.rbfund-dc-bar span { display: block; height: 100%; background: var(--rbfund-primary, #b91c1c); border-radius: 999px; }
.rbfund-dc-meta { display: flex; justify-content: space-between; font-size: .88rem; color: #59666f; margin-bottom: 16px; }
.rbfund-dc-btn {
	width: 100%;
	background: var(--rbfund-primary, #b91c1c);
	color: #fff; border: none;
	border-radius: 10px;
	padding: 14px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}
.rbfund-dc-btn:hover { filter: brightness(.95); }

/* Organizer */
.rbfund-org { display: flex; align-items: center; gap: 12px; }
.rbfund-org-logo {
	width: 48px; height: 48px; border-radius: 12px; flex: none;
	background: #1f2b6b; color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem;
}
.rbfund-org-info strong { display: block; color: #1d4ed8; }
.rbfund-org-badge { font-size: .78rem; color: #16a34a; display: inline-flex; align-items: center; gap: 3px; }
.rbfund-org-badge .dashicons { font-size: 14px; width: 14px; height: 14px; }

/* Sidebar doa */
.rbfund-sidedoa {
	border: 1px solid #eef2f5;
	border-radius: 12px;
	padding: 14px;
	margin-bottom: 12px;
}
.rbfund-hidden-extra { display: none; }
.rbfund-sidedoa-list.expanded .rbfund-hidden-extra { display: block; }
.rbfund-sidedoa-head { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.rbfund-sidedoa-name { font-weight: 700; }
.rbfund-sidedoa-time { font-size: .76rem; color: #9aa5b1; white-space: nowrap; }
.rbfund-sidedoa-msg { margin: 0 0 10px; color: #47555f; font-size: .92rem; line-height: 1.5; }

.rbfund-loadmore {
	display: block; margin: 4px auto 0;
	background: #fff; border: 1px solid #d7dee4;
	border-radius: 999px; padding: 8px 22px;
	color: #59666f; cursor: pointer; font-weight: 600;
}

/* Sidebar fundraiser */
.rbfund-sidefr {
	border: 1px solid #eef2f5;
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 10px;
}
.rbfund-sidefr-name { display: block; color: var(--rbfund-primary, #b91c1c); }
.rbfund-sidefr-sub { display: block; font-size: .84rem; color: #59666f; margin: 2px 0 4px; }
.rbfund-sidefr-amt { font-weight: 700; }
.rbfund-frcta { text-align: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f0f3f5; }
.rbfund-frcta-text { font-size: .88rem; color: #59666f; margin: 0 0 12px; }
.rbfund-frcta-btn {
	width: 100%;
	background: var(--rbfund-primary, #b91c1c);
	color: #fff; border: none; border-radius: 10px;
	padding: 12px; font-weight: 700; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}

/* Modal */
.rbfund-modal { position: fixed; inset: 0; z-index: 99999; display: none; }
.rbfund-modal.open { display: block; }
.rbfund-modal-overlay { position: absolute; inset: 0; background: rgba(15,23,32,.55); }
.rbfund-modal-box {
	position: relative;
	max-width: 460px;
	margin: 5vh auto;
	background: #fff;
	border-radius: 16px;
	padding: 26px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.rbfund-modal-x {
	position: absolute; right: 16px; top: 12px;
	background: none; border: none; font-size: 26px; line-height: 1;
	color: #9aa5b1; cursor: pointer;
}
.rbfund-modal-title { margin: 0 0 16px; font-size: 1.25rem; }

/* Responsive */
@media (max-width: 900px) {
	.rbfund-cp-grid { grid-template-columns: 1fr; }
	.rbfund-cp-donatecard--desktop { display: none; }
	.rbfund-cp-donatecard--mobile { display: block; }
	.rbfund-cp-side .rbfund-cp-card { }
}

/* ============ Shortcode varian ============ */
.rbfund-info-box { border: 1px solid #edf1f4; border-radius: 12px; padding: 16px; }
.rbfund-info-title { margin: 0 0 4px; font-size: 1.05rem; }
.rbfund-info-loc { color: #8a97a3; font-size: .85rem; margin-bottom: 10px; }
.rbfund-info-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: .9rem; color: #566; }
.rbfund-info-stats strong { color: var(--rbfund-primary, #16a34a); }
.rbfund-sc-raised, .rbfund-sc-count { font-weight: 700; color: var(--rbfund-primary, #16a34a); }

.rbfund-listcard {
	display: flex; gap: 14px; align-items: center;
	text-decoration: none; color: inherit;
	border: 1px solid #edf1f4; border-radius: 12px; padding: 12px;
	max-width: 520px;
}
.rbfund-listcard-thumb {
	width: 90px; height: 64px; flex: none; border-radius: 8px;
	background-size: cover; background-position: center; background-color: #eef1f6;
}
.rbfund-listcard-body { flex: 1; min-width: 0; }
.rbfund-listcard-body strong { display: block; margin-bottom: 6px; }
.rbfund-listcard-meta { font-size: .85rem; color: #8a97a3; }
.rbfund-form-compact .rbfund-field { margin-bottom: 8px; }

/* ============ Tombol WhatsApp mengambang ============ */
.rbfund-wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 9999;
	display: flex; align-items: center; gap: 10px;
	text-decoration: none;
}
.rbfund-wa-bubble {
	background: #fff; color: #222; padding: 8px 12px; border-radius: 10px;
	box-shadow: 0 6px 20px rgba(0,0,0,.15); font-size: .85rem; max-width: 190px;
}
.rbfund-wa-ic {
	width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff; font-size: 30px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 20px rgba(37,211,102,.5); flex: none;
}
@media (max-width: 600px) { .rbfund-wa-bubble { display: none; } }

.rbfund-fr-desc { color: var(--rbfund-muted); font-size: .9rem; margin: 0 0 12px; }

/* ============ Kalkulator Zakat ============ */
.rbfund-zakat { border: 1px solid var(--rbfund-border); border-radius: 12px; padding: 16px; margin-bottom: 16px; background: #fbfdfc; }
.rbfund-z-info { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .82rem; color: var(--rbfund-muted); margin-bottom: 12px; }
.rbfund-z-info strong { color: var(--rbfund-primary); }
.rbfund-z-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rbfund-z-tab { background: #fff; border: 1px solid var(--rbfund-border); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: .85rem; font-weight: 600; color: #555; }
.rbfund-z-tab.active { background: var(--rbfund-primary); border-color: var(--rbfund-primary); color: #fff; }
.rbfund-z-panel { display: none; }
.rbfund-z-panel.active { display: block; }
.rbfund-z-panel label { display: block; font-size: .82rem; font-weight: 600; margin: 8px 0 4px; color: #444; }
.rbfund-z-panel input { width: 100%; padding: 9px 12px; border: 1px solid var(--rbfund-border); border-radius: 8px; box-sizing: border-box; }
.rbfund-z-hint { font-size: .78rem; color: var(--rbfund-muted); margin: 8px 0 0; }
.rbfund-z-result { background: #fff; border: 1px dashed var(--rbfund-primary); border-radius: 10px; padding: 12px; margin: 14px 0; text-align: center; }
.rbfund-z-reslabel { font-size: .82rem; color: var(--rbfund-muted); }
.rbfund-z-amount { display: block; font-size: 1.5rem; font-weight: 800; color: var(--rbfund-primary); margin: 4px 0; }
.rbfund-z-note { font-size: .8rem; color: var(--rbfund-muted); margin: 4px 0 0; }
.rbfund-z-pay { width: 100%; }

/* ============ Mode tampilan campaign (setting Themes > Campaign Style) ============ */
/* Desktop (default) = 2 kolom. Mobile = 1 kolom rapi (meski di layar lebar). */
.rbfund-view-mobile .rbfund-cp-grid {
	grid-template-columns: 1fr;
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
}
.rbfund-view-mobile .rbfund-cp-donatecard--desktop { display: none; }
.rbfund-view-mobile .rbfund-cp-donatecard--mobile { display: block; }

/* ===== Form paket (package / package2 / qurban) ===== */
.rbfund-pkg-select { background: #f6f8fa; border-radius: 10px; padding: 12px; }
.rbfund-pkg-choice { width: 100%; padding: 10px; border: 1px solid var(--rbfund-border); border-radius: 8px; margin-bottom: 10px; }
.rbfund-pkg-qty label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 4px; }
.rbfund-pkg-qtyinput { width: 100%; padding: 9px 12px; border: 1px solid var(--rbfund-border); border-radius: 8px; box-sizing: border-box; }
.rbfund-pkg-total { margin-top: 10px; font-size: .95rem; }
.rbfund-pkg-total strong { color: var(--rbfund-primary); }
.rbfund-amount[readonly] { background: #f1f5f9; color: #475569; }

/* ===== Halaman campaign standalone (tanpa header/footer tema) ===== */
body.rbfund-standalone {
	margin: 0;
	background: #eef1f5;
	color: #1f2937;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}
body.rbfund-standalone .rbfund-campaign-page { background: transparent; }
/* Kartu Penggalang Dana di atas tab */
.rbfund-cp-organizer { margin-bottom: 18px; }
.rbfund-view-mobile .rbfund-cp-organizer,
.rbfund-cp-main .rbfund-cp-organizer {
	background: #fff;
	border: 1px solid var(--rbfund-border);
	border-radius: 14px;
	padding: 18px 20px;
	box-shadow: 0 2px 10px rgba(20,40,60,.05);
}

/* ============ Sticky topbar (judul + home) ============ */
.rbfund-topbar {
	position: fixed; top: 0; left: 50%; z-index: 9000;
	width: 100%; max-width: 1140px; box-sizing: border-box;
	display: flex; align-items: center; gap: 12px;
	background: #fff; padding: 12px 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
	transform: translateX(-50%) translateY(-110%); transition: transform .25s ease;
}
.rbfund-topbar.show { transform: translateX(-50%) translateY(0); }
.rbfund-topbar-home { color: #26333d; text-decoration: none; display: flex; }
.rbfund-topbar-home .dashicons { font-size: 24px; width: 24px; height: 24px; }
.rbfund-topbar-title { font-weight: 700; color: #1f2937; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============ Bottom action bar ============ */
.rbfund-bottombar {
	position: fixed; left: 50%; bottom: 0; z-index: 9000;
	width: 100%; max-width: 1140px; box-sizing: border-box;
	transform: translateX(-50%);
	display: flex; gap: 12px; padding: 12px 16px;
	background: #fff; box-shadow: 0 -2px 14px rgba(0,0,0,.08);
}
.rbfund-bb-share {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
	background: #fff; color: #2563eb; border: 2px solid #2563eb;
	border-radius: 10px; padding: 10px 18px; font-weight: 700; cursor: pointer;
}
.rbfund-bb-donate {
	flex: 1; text-align: center; text-decoration: none;
	background: var(--rbfund-btn, var(--rbfund-primary)); color: #fff;
	border-radius: 10px; padding: 12px; font-weight: 800;
}
body.rbfund-standalone { padding-bottom: 72px; }

/* ============ Halaman Donasi ============ */
.rbfund-donatepage { max-width: 680px; margin: 0 auto; background: #fff; min-height: 100vh; }
.rbfund-dp-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eef1f5; position: sticky; top: 0; background: #fff; z-index: 10; }
.rbfund-dp-back { color: #26333d; display: flex; }
.rbfund-dp-back .dashicons { font-size: 24px; width: 24px; height: 24px; }
.rbfund-dp-toptitle { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbfund-dp-head { display: flex; gap: 14px; align-items: center; padding: 18px; border-bottom: 1px solid #eef1f5; }
.rbfund-dp-thumb { width: 120px; height: 78px; border-radius: 10px; background-size: cover; background-position: center; flex: none; }
.rbfund-dp-headlabel { display: block; color: #9aa5b1; font-size: .85rem; margin-bottom: 4px; }
.rbfund-dp-headinfo strong { font-size: 1.05rem; }
.rbfund-dp-form { padding: 18px 18px 96px; }
.rbfund-dp-secttitle { margin: 4px 0 14px; }
.rbfund-dp-noms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.rbfund-dp-nom {
	background: #fff; border: 1px solid #e6ebf0; border-radius: 12px; padding: 18px 8px;
	text-align: center; cursor: pointer; box-shadow: 0 2px 8px rgba(20,40,60,.05);
}
.rbfund-dp-nom.active { border-color: var(--rbfund-primary); box-shadow: 0 0 0 2px var(--rbfund-primary) inset; }
.rbfund-dp-nomval { display: block; font-weight: 700; }
.rbfund-dp-nomtag { display: block; font-size: .72rem; color: #9aa5b1; margin-top: 2px; }
.rbfund-dp-amount { width: 100%; padding: 12px; border: 1px solid #e6ebf0; border-radius: 10px; box-sizing: border-box; margin-bottom: 16px; }
.rbfund-dp-pay { display: flex; align-items: center; gap: 12px; background: #eef6ff; border-radius: 12px; padding: 14px; margin-bottom: 16px; }
.rbfund-dp-pay-ic { color: #2563eb; font-size: 24px; width: 24px; height: 24px; }
.rbfund-dp-pay-label { flex: 1; font-weight: 600; }
.rbfund-paymethod { padding: 8px 12px; border: 1px solid #b9d3f2; border-radius: 8px; color: #2563eb; background: #fff; }
.rbfund-dp-sapaan { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.rbfund-dp-sapaan-opts { display: inline-flex; border: 1px solid #e6ebf0; border-radius: 8px; overflow: hidden; }
.rbfund-sapaan-opt { background: #fff; border: none; padding: 10px 24px; cursor: pointer; font-weight: 600; color: #556; border-right: 1px solid #e6ebf0; }
.rbfund-sapaan-opt:last-child { border-right: none; }
.rbfund-sapaan-opt.active { background: var(--rbfund-btn, var(--rbfund-primary)); color: #fff; }
.rbfund-dp-anon { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 16px; }
.rbfund-switch { position: relative; display: inline-block; width: 52px; height: 30px; flex: none; }
.rbfund-switch input { display: none; }
.rbfund-switch-slider { position: absolute; inset: 0; background: #cbd5e1; border-radius: 30px; transition: .2s; }
.rbfund-switch-slider:before { content: ""; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.rbfund-switch input:checked + .rbfund-switch-slider { background: var(--rbfund-primary); }
.rbfund-switch input:checked + .rbfund-switch-slider:before { transform: translateX(22px); }
.rbfund-dp-form .rbfund-field input, .rbfund-dp-form .rbfund-field textarea { width: 100%; padding: 12px; border: 1px solid #e6ebf0; border-radius: 10px; box-sizing: border-box; }
.rbfund-dp-submitbar { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 18px; background: #fff; box-shadow: 0 -2px 14px rgba(0,0,0,.08); max-width: 680px; margin: 0 auto; }
.rbfund-dp-submit { width: 100%; padding: 14px; font-size: 1.05rem; font-weight: 800; background: var(--rbfund-btn, var(--rbfund-primary)); }
@media (max-width: 600px) { .rbfund-dp-noms { grid-template-columns: repeat(2, 1fr); } }

/* ============ Halaman Invoice ============ */
.rbfund-invoice { max-width: 560px; margin: 0 auto; padding: 24px 16px 60px; }
.rbfund-inv-box { background: #fff; border-radius: 18px; padding: 28px 24px; box-shadow: 0 8px 30px rgba(20,40,60,.08); text-align: center; }
.rbfund-inv-logo img { max-height: 60px; margin-bottom: 8px; }
.rbfund-inv-thanks { color: #556; margin: 8px 0 4px; }
.rbfund-inv-title { font-size: 1.2rem; margin: 4px 0 20px; }
.rbfund-inv-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #eef1f5; border-radius: 14px; padding: 16px; margin-bottom: 14px; text-align: left; }
.rbfund-inv-bankinfo { display: flex; flex-direction: column; }
.rbfund-inv-bankname { font-size: .8rem; color: #8a97a3; }
.rbfund-inv-bankno { font-size: 1.15rem; font-weight: 800; letter-spacing: .5px; }
.rbfund-inv-bankholder { font-size: .85rem; color: #556; }
.rbfund-inv-amount { justify-content: space-between; }
.rbfund-inv-amt { font-size: 1.5rem; font-weight: 800; }
.rbfund-inv-code { color: #ec4899; }
.rbfund-inv-copy { display: inline-flex; align-items: center; gap: 4px; background: none; border: none; color: #64748b; cursor: pointer; font-weight: 600; }
.rbfund-inv-copy .dashicons { font-size: 18px; width: 18px; height: 18px; }
.rbfund-inv-qris { flex-direction: column; align-items: center; }
.rbfund-inv-qris img { max-width: 220px; }
.rbfund-inv-note { font-size: .9rem; color: #64748b; margin: 8px 0 18px; }
.rbfund-inv-confirm { display: flex; align-items: center; justify-content: center; gap: 8px; background: #22c55e; color: #fff; text-decoration: none; border-radius: 12px; padding: 14px; font-weight: 800; margin-bottom: 16px; }
.rbfund-inv-deadline { display: flex; align-items: center; gap: 10px; background: #fff7e6; border-radius: 12px; padding: 12px 14px; color: #92710f; text-align: left; }
.rbfund-inv-deadline .dashicons { color: #d97706; }
.rbfund-inv-back { margin-top: 16px; }
.rbfund-inv-back a { color: #2563eb; text-decoration: none; }

/* Home icon di pojok kiri atas cover */
.rbfund-cp-cover { position: relative; }
.rbfund-cp-home {
	position: absolute; top: 14px; left: 14px; z-index: 5;
	width: 42px; height: 42px; border-radius: 50%;
	background: rgba(255,255,255,.92); color: #26333d;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 2px 10px rgba(0,0,0,.18); text-decoration: none;
}
.rbfund-cp-home .dashicons { font-size: 22px; width: 22px; height: 22px; }
.rbfund-cp-home:hover { background: #fff; }

/* ============ Halaman Sukses / Terima Kasih ============ */
.rbfund-success { max-width: 640px; margin: 0 auto; padding: 40px 16px 60px; text-align: center; }
.rbfund-succ-box {
	background: #fff; border-radius: 24px; padding: 40px 28px 48px;
	box-shadow: 0 10px 40px rgba(20,40,60,.08); overflow: hidden;
	background-image: radial-gradient(circle at 15% 12%, #ffffff 0 40%, transparent 41%), radial-gradient(circle at 90% 90%, #f3eefc 0 30%, transparent 31%);
}
.rbfund-succ-check { margin-bottom: 24px; }
.rbfund-succ-text { font-size: 1.15rem; color: #33475b; line-height: 1.7; margin: 0; }
.rbfund-succ-text strong { color: #1f2937; }
.rbfund-succ-more { margin-top: 26px; color: #9aa5b1; }
.rbfund-succ-more a { display: block; margin-top: 4px; color: #2563eb; font-weight: 700; text-decoration: none; }

/* ===== Pemilih rekening gaya topup ===== */
.rbfund-pay-trigger {
	background: #fff; border: 1px solid #b9d3f2; border-radius: 8px;
	color: #2563eb; padding: 8px 14px; font-weight: 700; cursor: pointer;
	display: inline-flex; align-items: center; gap: 4px;
}
.rbfund-pay-panel {
	border: 1px solid #e6ebf0; border-radius: 12px; margin: 0 0 16px;
	overflow: hidden; box-shadow: 0 6px 20px rgba(20,40,60,.08);
}
.rbfund-pay-opt {
	display: flex; align-items: center; gap: 12px; width: 100%;
	background: #fff; border: none; border-bottom: 1px solid #f0f3f6;
	padding: 12px 14px; cursor: pointer; text-align: left;
}
.rbfund-pay-opt:last-child { border-bottom: none; }
.rbfund-pay-opt:hover { background: #f6f9ff; }
.rbfund-pay-opt.active { background: #eef6ff; }
.rbfund-pay-logo {
	width: 40px; height: 40px; border-radius: 8px; flex: none;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-weight: 800; font-size: .8rem;
}
.rbfund-pay-logo .dashicons { color: #fff; }
.rbfund-pay-optname { display: flex; flex-direction: column; font-weight: 700; color: #26333d; }
.rbfund-pay-optname small { font-weight: 500; color: #8a97a3; font-size: .78rem; }

/* Countdown invoice */
.rbfund-inv-countdown { font-weight: 800; color: #b45309; }
.rbfund-inv-countdown.expired { color: #b32d2e; }

/* ===== Qurban khusus ===== */
.rbfund-dp-fieldlabel { display: block; font-weight: 700; margin: 0 0 8px; color: #33475b; }
.rbfund-dp-hint { font-size: .82rem; color: #8a97a3; margin: 6px 0 0; }
.rbfund-qurban-names { margin-top: 14px; }
.rbfund-qurban-names textarea { width: 100%; padding: 12px; border: 1px solid #e6ebf0; border-radius: 10px; box-sizing: border-box; }
.rbfund-inv-qurban { background: #f6f9ff; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; text-align: left; }
.rbfund-inv-qurban-label { display: block; font-size: .8rem; color: #8a97a3; }
.rbfund-succ-qurban { margin-top: 10px; color: #33475b; }

/* ===== Patungan (progress slot) ===== */
.rbfund-patungan { background: #f6f9ff; border: 1px solid #e3ecfa; border-radius: 12px; padding: 12px 14px; margin: 10px 0 4px; }
.rbfund-patungan-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.rbfund-patungan-remain { font-size: .85rem; font-weight: 700; color: #b45309; }
.rbfund-patungan-bar { height: 10px; border-radius: 6px; background: #e2e8f0; overflow: hidden; }
.rbfund-patungan-bar span { display: block; height: 100%; background: linear-gradient(90deg, #16a34a, #22c55e); border-radius: 6px; transition: width .3s; }
.rbfund-patungan-done { margin-top: 6px; font-size: .82rem; color: #16a34a; font-weight: 600; }

/* Kartu gateway di invoice */
.rbfund-inv-gateway { align-items: center; gap: 14px; }
.rbfund-inv-gw-ic { font-size: 28px; width: 28px; height: 28px; color: #1b8a5a; }
.rbfund-inv-gw-status { font-size: .85rem; color: #b45309; }

/* =====================================================================
   UI POLISH v1.26 — konsistensi token, input, tombol, kartu (ringan)
   ===================================================================== */
:root {
	--rbfund-ink: #1f2937;
	--rbfund-muted: #6b7280;
	--rbfund-border: #e6e9ee;
	--rbfund-surface: #ffffff;
	--rbfund-bg-soft: #f4f6f9;
	--rbfund-radius: 12px;
	--rbfund-radius-lg: 16px;
	--rbfund-shadow: 0 2px 10px rgba(20,40,60,.06);
	--rbfund-shadow-lg: 0 12px 34px rgba(20,40,60,.10);
	--rbfund-ring: 0 0 0 3px rgba(22,163,74,.18);
}

/* Reset ringan untuk area donor */
.rbfund-donatepage *, .rbfund-invoice *, .rbfund-success *, .rbfund-campaign-page * { box-sizing: border-box; }

/* Input seragam */
.rbfund-donatepage input, .rbfund-donatepage select, .rbfund-donatepage textarea,
.rbfund-form input, .rbfund-form select, .rbfund-form textarea {
	font-family: inherit;
	font-size: .95rem;
	color: var(--rbfund-ink);
	border: 1px solid var(--rbfund-border);
	border-radius: 10px;
	padding: 11px 13px;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
	box-sizing: border-box;
}
.rbfund-donatepage input:focus, .rbfund-donatepage select:focus, .rbfund-donatepage textarea:focus,
.rbfund-form input:focus, .rbfund-form select:focus, .rbfund-form textarea:focus {
	outline: none;
	border-color: var(--rbfund-primary);
	box-shadow: var(--rbfund-ring);
}
.rbfund-donatepage input::placeholder, .rbfund-donatepage textarea::placeholder { color: #9aa5b1; }

/* Tombol utama seragam + fokus aksesibel */
.rbfund-submit, .rbfund-dp-submit, .rbfund-bb-donate, .rbfund-inv-confirm, .rbfund-dc-btn {
	border-radius: var(--rbfund-radius);
	font-weight: 800;
	letter-spacing: .2px;
	transition: transform .12s ease, box-shadow .15s ease, background .15s ease, filter .15s ease;
}
.rbfund-submit:hover, .rbfund-dp-submit:hover, .rbfund-bb-donate:hover, .rbfund-inv-confirm:hover, .rbfund-dc-btn:hover { filter: brightness( .97 ); }
.rbfund-submit:active, .rbfund-dp-submit:active, .rbfund-bb-donate:active, .rbfund-dc-btn:active { transform: translateY( 1px ); }
.rbfund-submit:focus-visible, .rbfund-dp-submit:focus-visible, .rbfund-bb-donate:focus-visible,
.rbfund-inv-confirm:focus-visible, .rbfund-dc-btn:focus-visible, .rbfund-preset:focus-visible,
.rbfund-sapaan-opt:focus-visible, .rbfund-pay-opt:focus-visible, .rbfund-dp-nom:focus-visible { outline: none; box-shadow: var(--rbfund-ring); }

/* Kartu konsisten */
.rbfund-cp-card, .rbfund-inv-card, .rbfund-patungan, .rbfund-pkg-select, .rbfund-dp-pay {
	box-shadow: var(--rbfund-shadow);
}
.rbfund-inv-box, .rbfund-succ-box { box-shadow: var(--rbfund-shadow-lg); }

/* Bar melayang: sudut atas membulat & bayangan halus */
.rbfund-topbar { border-radius: 0 0 var(--rbfund-radius) var(--rbfund-radius); }
.rbfund-bottombar { border-radius: var(--rbfund-radius) var(--rbfund-radius) 0 0; }

/* Judul & teks lebih rapi */
.rbfund-cp-card-title, .rbfund-dp-secttitle, .rbfund-dp-fieldlabel { letter-spacing: .1px; }

/* Nominal card & preset: transisi halus */
.rbfund-preset, .rbfund-dp-nom, .rbfund-pay-opt, .rbfund-sapaan-opt { transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }

/* ===== Form: atas nama, terms, tombol proporsional (v1.27) ===== */
.rbfund-onbehalf-toggle { margin-top: 4px; }
.rbfund-onbehalf-field { margin-top: 10px; }
.rbfund-onbehalf-field textarea { width: 100%; }
.rbfund-charcount { text-align: right; font-size: .78rem; color: #9aa5b1; margin-top: 4px; }

.rbfund-dp-terms {
	display: flex; align-items: flex-start; gap: 10px;
	margin: 6px 0 4px; font-size: .95rem; color: #33475b; line-height: 1.5;
}
.rbfund-dp-terms input[type=checkbox] {
	width: 20px; height: 20px; margin: 1px 0 0; flex: none;
	accent-color: var(--rbfund-primary);
}
.rbfund-dp-terms a { color: var(--rbfund-primary); text-decoration: none; }
.rbfund-dp-terms a:hover { text-decoration: underline; }

/* Tombol donasi lebih proporsional (tidak terlalu tinggi/lebar) */
.rbfund-dp-submit {
	display: block;
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
	padding: 13px 22px;
	font-size: 1.02rem;
	border-radius: 12px;
}
.rbfund-dp-submitbar { padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); }

/* =====================================================================
   CAMPAIGN PAGE POLISH v1.38 — responsive, CTA, tabs, floating bar
   ===================================================================== */

/* Bottombar: muncul saat scroll, hidden awal, sesuai lebar campaign */
.rbfund-bottombar {
	position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
	width: 100%; max-width: 680px; box-sizing: border-box;
	display: flex; align-items: center; gap: 10px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
	background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.10);
	border-radius: 16px 16px 0 0;
	z-index: 999;
	transition: transform .3s ease, opacity .3s ease;
}
.rbfund-bb-hidden { transform: translateX(-50%) translateY(100%); opacity: 0; pointer-events: none; }

/* Share button (kiri) */
.rbfund-bb-share {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 18px; border-radius: 12px;
	border: 1.5px solid var(--rbfund-primary, #2563eb);
	background: #fff; color: var(--rbfund-primary, #2563eb);
	font-weight: 700; font-size: .95rem;
	cursor: pointer; text-decoration: none; white-space: nowrap;
}
.rbfund-bb-share .dashicons { font-size: 18px; width: 18px; height: 18px; }

/* Donasi CTA (kanan, full-width) */
.rbfund-bb-donate {
	flex: 1; text-align: center; text-decoration: none !important;
	padding: 13px 18px; border-radius: 12px;
	background: var(--rbfund-btn, var(--rbfund-primary, #2563eb));
	color: #fff !important; font-weight: 800; font-size: 1.05rem;
	display: block;
}
.rbfund-bb-donate:hover, .rbfund-bb-donate:focus { text-decoration: none !important; filter: brightness(.96); }

/* Donasi Sekarang inside card — full width, no underline */
.rbfund-dc-btn {
	display: block; width: 100%; text-align: center;
	padding: 13px 18px; border-radius: 12px; box-sizing: border-box;
	background: var(--rbfund-btn, var(--rbfund-primary, #2563eb));
	color: #fff !important; font-weight: 800; font-size: 1rem;
	text-decoration: none !important; border: none; cursor: pointer;
}
.rbfund-dc-btn:hover { text-decoration: none !important; }

/* ===== Tabs ===== */
.rbfund-tabs {
	display: flex; gap: 0; border-bottom: 2px solid #e6e9ee;
	margin-bottom: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.rbfund-tab {
	flex: none; padding: 10px 18px; border: none; background: none;
	font-weight: 600; color: #6b7280; cursor: pointer; font-size: .95rem;
	white-space: nowrap; border-bottom: 3px solid transparent;
	transition: color .15s, border-color .15s;
}
.rbfund-tab:hover { color: var(--rbfund-primary, #2563eb); }
.rbfund-tab.active {
	color: var(--rbfund-primary, #2563eb);
	border-bottom-color: var(--rbfund-primary, #2563eb);
}

/* ===== Campaign page: responsive ===== */
.rbfund-campaign-page {
	width: 100%; max-width: 680px; margin: 0 auto;
	padding: 0 16px; box-sizing: border-box;
}
.rbfund-cp-cover {
	width: calc(100% + 32px); margin-left: -16px;
	min-height: 200px; background-size: cover; background-position: center;
	border-radius: 0 0 16px 16px; position: relative;
}
.rbfund-cp-home {
	position: absolute; top: 14px; left: 14px;
	width: 38px; height: 38px; border-radius: 50%;
	background: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center;
	text-decoration: none; color: #26333d;
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.rbfund-cp-title { font-size: 1.25rem; font-weight: 800; margin: 18px 0 6px; color: #1f2937; line-height: 1.3; }
.rbfund-cp-loc { font-size: .9rem; color: #6b7280; margin-bottom: 18px; }
.rbfund-cp-loc a { color: var(--rbfund-primary, #2563eb); text-decoration: none; }

/* Card progress */
.rbfund-cp-card {
	background: #fff; border-radius: 16px; padding: 20px;
	box-shadow: 0 2px 12px rgba(20,40,60,.06);
	margin-bottom: 20px;
}

/* Share & Edit buttons on cover */
.rbfund-cp-cover-actions {
	position: absolute; bottom: 14px; right: 14px;
	display: flex; gap: 8px;
}
.rbfund-cp-cover-actions a, .rbfund-cp-cover-actions button {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 7px 14px; border-radius: 999px;
	background: rgba(255,255,255,.92); color: #26333d;
	font-weight: 600; font-size: .85rem; text-decoration: none; border: none; cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

/* Topbar: match campaign width */
.rbfund-topbar {
	max-width: 680px; border-radius: 0 0 12px 12px;
}

/* Content area under tabs — kartu putih seperti Penggalang Dana */
.rbfund-tabpane {
	background: #fff; border-radius: 16px; padding: 20px;
	box-shadow: 0 2px 12px rgba(20,40,60,.06);
	margin-bottom: 20px;
}
.rbfund-tabpane { display: none; }
.rbfund-tabpane.active { display: block; }
.rbfund-tabpane .rbfund-cp-content { line-height: 1.7; color: #33475b; }
.rbfund-tabpane .rbfund-cp-content img { max-width: 100%; height: auto; border-radius: 10px; }

/* Update/kabar items */
.rbfund-update { border-bottom: 1px solid #f0f3f6; padding-bottom: 16px; margin-bottom: 16px; }
.rbfund-update:last-child { border-bottom: none; }
.rbfund-update-title { font-weight: 700; margin: 6px 0 8px; }
.rbfund-update-img { width: 100%; border-radius: 10px; margin-bottom: 8px; }
.rbfund-update-content { color: #33475b; line-height: 1.7; }

/* Donatur list in tab */
.rbfund-doawall { display: flex; flex-direction: column; gap: 14px; }

/* Mobile responsive */
@media (max-width: 720px) {
	.rbfund-campaign-page { padding: 0 10px; }
	.rbfund-cp-cover { width: calc(100% + 20px); margin-left: -10px; min-height: 180px; }
	.rbfund-cp-title { font-size: 1.1rem; }
	.rbfund-bottombar { max-width: 100%; border-radius: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); }
	.rbfund-topbar { max-width: 100%; border-radius: 0; }
	.rbfund-cp-card { padding: 16px; }
	.rbfund-tabs { gap: 0; }
	.rbfund-tab { padding: 9px 14px; font-size: .88rem; }
	.rbfund-bb-share { padding: 9px 14px; font-size: .88rem; }
	.rbfund-bb-donate { padding: 12px 14px; font-size: .98rem; }
}

/* Spacer bottom agar konten tidak tertutup bar melayang */
.rbfund-campaign-page { padding-bottom: 80px; }

/* CTA disabled (campaign berakhir) */
.rbfund-dc-btn-off {
	background: #9ca3af !important; cursor: not-allowed; pointer-events: none; opacity: .7;
}
.rbfund-bb-donate-off {
	background: #9ca3af !important; cursor: not-allowed; pointer-events: none; opacity: .7;
}

/* Video embed responsive 16:9 */
.rbfund-cp-video {
	position: relative; width: 100%; padding-bottom: 56.25%; margin-bottom: 18px;
	border-radius: 12px; overflow: hidden; background: #000;
}
.rbfund-cp-video iframe {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

/* ==================================================================
   HALAMAN /campaign/ (arsip) & /profile/  — v1.47.0
   Mengikuti wrapper .rbfund-campaign-page (max-width 1140px).
   ================================================================== */

/* Topbar statis (selalu tampak) untuk halaman list & profile */
.rbfund-topbar-static {
	position: static !important;
	transform: none !important;
	max-width: 1140px;
	margin: 0 auto;
	box-shadow: 0 1px 4px rgba(0,0,0,.06);
	border-radius: 0 0 12px 12px;
}
body.rbfund-archive-body,
body.rbfund-profile-body {
	background: #eef1f5;
	margin: 0;
}

/* Header halaman list */
.rbfund-listpage .rbfund-listhead {
	text-align: center;
	padding: 24px 8px 8px;
}
.rbfund-listhead-title {
	font-size: 1.6rem;
	font-weight: 800;
	margin: 0 0 6px;
	color: #1f2937;
}
.rbfund-listhead-sub {
	color: #64748b;
	font-size: .95rem;
	margin: 0 auto;
	max-width: 640px;
	line-height: 1.55;
}

/* Toolbar filter/sort */
.rbfund-listbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 20px 0 18px;
	padding: 12px 14px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(20,40,60,.05);
}
.rbfund-listbar-cats {
	display: flex; flex-wrap: wrap; gap: 6px;
}
.rbfund-listbar-chip {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #334155;
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	transition: all .15s ease;
}
.rbfund-listbar-chip:hover {
	background: #e2e8f0;
	color: #1e293b;
}
.rbfund-listbar-chip.active {
	background: var(--rbfund-primary, #16a34a);
	color: #fff;
}
.rbfund-listbar-sort {
	display: flex; align-items: center; gap: 8px;
	font-size: .9rem; color: #475569;
}
.rbfund-listbar-sort select {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 6px 10px;
	font-size: .9rem;
	background: #fff;
	color: #1e293b;
}

/* Grid kartu campaign */
.rbfund-cardgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.rbfund-cardgrid--compact {
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.rbfund-listcard-v2 {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(20,40,60,.06);
	display: flex;
	flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
	text-decoration: none;
	color: inherit;
}
.rbfund-listcard-v2:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(20,40,60,.1);
}
.rbfund-listcard-v2.is-ended { opacity: .78; }

.rbfund-listcard-v2-cover {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #f1f5f9;
	overflow: hidden;
	display: block;
}
.rbfund-listcard-v2-cover img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.rbfund-listcard-v2-cover-ph {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #1f2b6b, #16a34a);
}
.rbfund-listcard-v2-cover-ph .dashicons {
	font-size: 46px; width: 46px; height: 46px;
	color: rgba(255,255,255,.65);
}
.rbfund-listcard-v2-badge {
	position: absolute;
	top: 10px; left: 10px;
	padding: 4px 10px;
	font-size: .72rem;
	font-weight: 700;
	color: #fff;
	border-radius: 999px;
	backdrop-filter: blur(6px);
}
.rbfund-listcard-v2-badge--ended { background: rgba(107,114,128,.9); }
.rbfund-listcard-v2-badge--urgent { background: rgba(220,38,38,.92); }

.rbfund-listcard-v2-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.rbfund-listcard-v2-title {
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
	margin: 0;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}
.rbfund-listcard-v2-title a {
	color: inherit; text-decoration: none;
}
.rbfund-listcard-v2-title a:hover { color: var(--rbfund-primary, #16a34a); }

.rbfund-listcard-v2 .rbfund-progress {
	height: 6px;
	background: #eef2f7;
	border-radius: 999px;
	overflow: hidden;
	position: relative;
}
.rbfund-listcard-v2 .rbfund-progress-bar {
	display: block;
	height: 100%;
	background: var(--rbfund-progress, var(--rbfund-primary, #16a34a));
	border-radius: 999px;
}

.rbfund-listcard-v2-meta { display: flex; flex-direction: column; gap: 4px; }
.rbfund-listcard-v2-meta-row {
	display: flex; justify-content: space-between; align-items: center;
}
.rbfund-listcard-v2-raised {
	font-weight: 800; color: #0f172a; font-size: 1rem;
}
.rbfund-listcard-v2-pct {
	font-weight: 700; color: var(--rbfund-primary, #16a34a);
	font-size: .9rem;
}
.rbfund-listcard-v2-meta-sub {
	font-size: .82rem; color: #64748b;
}
.rbfund-listcard-v2-donors { display: inline-flex; align-items: center; gap: 4px; }
.rbfund-listcard-v2-donors .dashicons {
	font-size: 15px; width: 15px; height: 15px;
}

.rbfund-listcard-v2-cta {
	margin-top: 4px;
	display: block;
	text-align: center;
	padding: 10px 12px;
	background: var(--rbfund-btn, var(--rbfund-primary, #16a34a));
	color: #fff !important;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
	font-size: .92rem;
}
.rbfund-listcard-v2-cta:hover { filter: brightness(.94); }
.rbfund-listcard-v2-cta--off {
	background: #e5e7eb; color: #9ca3af !important;
	cursor: not-allowed;
}

/* Compact mini card (di sidebar/profile) */
.rbfund-listcard-v2--mini { border-radius: 12px; }
.rbfund-listcard-v2--mini .rbfund-listcard-v2-title {
	font-size: .92rem; min-height: 0;
}
.rbfund-listcard-v2--mini .rbfund-listcard-v2-body { padding: 10px 12px 12px; gap: 8px; }
.rbfund-listcard-v2--mini .rbfund-listcard-v2-raised { font-size: .9rem; }

/* Pagination */
.rbfund-pagination {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
	margin: 28px 0 12px;
}
.rbfund-pagination-item .page-numbers,
.rbfund-pagination-item a,
.rbfund-pagination-item span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; height: 36px;
	padding: 0 10px;
	border-radius: 8px;
	background: #fff;
	color: #334155;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 1px 3px rgba(20,40,60,.05);
}
.rbfund-pagination-item .current {
	background: var(--rbfund-primary, #16a34a);
	color: #fff;
}
.rbfund-pagination-item a:hover { background: #f1f5f9; }

/* Empty state */
.rbfund-empty-state {
	text-align: center; padding: 60px 20px;
	color: #64748b;
}
.rbfund-empty-state .dashicons {
	font-size: 48px; width: 48px; height: 48px;
	color: #cbd5e1;
	margin-bottom: 12px;
}
.rbfund-empty-state h2 {
	color: #334155; margin: 8px 0 6px;
}

/* Footer halaman list/profile */
.rbfund-listfoot {
	text-align: center; padding: 24px 8px 32px;
	color: #94a3b8; font-size: .82rem;
}

/* ============ /profile/ ============ */
.rbfund-profilepage { padding-bottom: 20px; }
.rbfund-profile-hero {
	background: #fff;
	border-radius: 16px;
	padding: 26px;
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 20px 0 16px;
	box-shadow: 0 1px 6px rgba(20,40,60,.06);
}
.rbfund-profile-hero-logo {
	flex: 0 0 96px;
	width: 96px; height: 96px;
	border-radius: 20px;
	background: linear-gradient(135deg, #1f2b6b, var(--rbfund-primary, #16a34a));
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
	color: #fff; font-weight: 800; font-size: 2.4rem;
}
.rbfund-profile-hero-logo img {
	width: 100%; height: 100%; object-fit: contain; background: #fff;
}
.rbfund-profile-hero-info { flex: 1; min-width: 0; }
.rbfund-profile-hero-name {
	margin: 0 0 4px;
	font-size: 1.5rem;
	font-weight: 800;
	color: #0f172a;
	display: flex; align-items: center; gap: 8px;
	flex-wrap: wrap;
}
.rbfund-profile-verified {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--rbfund-primary, #16a34a);
	color: #fff;
}
.rbfund-profile-verified .dashicons {
	font-size: 14px; width: 14px; height: 14px;
}
.rbfund-profile-hero-tagline {
	color: #475569; margin: 0 0 6px; font-size: .98rem;
}

/* Legalitas lembaga: daftar nomor izin berurutan rapi */
.rbfund-profile-legal {
	line-height: 1.7;
	color: #374151;
	counter-reset: rbfund-legal;
}
.rbfund-profile-legal p {
	position: relative;
	margin: 0;
	padding: 10px 12px 10px 40px;
	border-bottom: 1px solid #eef2f7;
}
.rbfund-profile-legal p:last-child { border-bottom: 0; }
.rbfund-profile-legal p::before {
	counter-increment: rbfund-legal;
	content: counter(rbfund-legal);
	position: absolute;
	left: 10px;
	top: 10px;
	width: 22px; height: 22px;
	display: flex; align-items: center; justify-content: center;
	background: var(--rbfund-primary, #16a34a);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	border-radius: 50%;
}

/* Card head with "more" link */
.rbfund-cp-card-head {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 12px;
	gap: 10px;
}
.rbfund-cp-card-head .rbfund-cp-card-title { margin: 0; }
.rbfund-cp-card-more {
	color: var(--rbfund-primary, #16a34a);
	font-size: .88rem; font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.rbfund-cp-card-more:hover { text-decoration: underline; }

/* About text */
.rbfund-profile-about {
	line-height: 1.7;
	color: #374151;
}
.rbfund-profile-about p { margin: 0 0 12px; }
.rbfund-profile-about p:last-child { margin-bottom: 0; }

/* Contact list */
.rbfund-profile-contact {
	list-style: none; margin: 0 0 12px; padding: 0;
	display: flex; flex-direction: column; gap: 12px;
}
.rbfund-profile-contact li {
	display: flex; align-items: flex-start; gap: 10px;
	font-size: .92rem;
	color: #334155;
	line-height: 1.5;
}
.rbfund-profile-contact li .dashicons {
	flex: 0 0 20px;
	color: var(--rbfund-primary, #16a34a);
	font-size: 20px; width: 20px; height: 20px;
	margin-top: 1px;
}
.rbfund-profile-contact li a {
	color: #1e293b; text-decoration: none;
}
.rbfund-profile-contact li a:hover {
	color: var(--rbfund-primary, #16a34a);
	text-decoration: underline;
}
.rbfund-profile-contact li a[href^="http"]:not([href*="wa.me"]) { color: var(--rbfund-primary, #16a34a); }

/* Social buttons */
.rbfund-profile-social {
	display: flex; flex-wrap: wrap; gap: 8px;
	padding-top: 12px;
	border-top: 1px solid #eef2f7;
}
.rbfund-social-btn {
	width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: #f1f5f9;
	color: #334155;
	font-weight: 800;
	font-size: .78rem;
	text-decoration: none;
	transition: all .15s ease;
}
.rbfund-social-btn:hover { transform: translateY(-2px); box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.rbfund-social-instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.rbfund-social-facebook  { background: #1877f2; color: #fff; }
.rbfund-social-youtube   { background: #ff0000; color: #fff; }
.rbfund-social-tiktok    { background: #000;    color: #fff; }
.rbfund-social-twitter   { background: #1da1f2; color: #fff; }

/* CTA card */
.rbfund-profile-cta { text-align: center; }
.rbfund-profile-cta p { color: #64748b; font-size: .92rem; margin: 0 0 14px; }
.rbfund-profile-cta-btn {
	display: inline-block; width: 100%;
	background: var(--rbfund-btn, var(--rbfund-primary, #16a34a));
	color: #fff !important;
	padding: 12px 16px;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
	font-size: .95rem;
	box-sizing: border-box;
}
.rbfund-profile-cta-btn:hover { filter: brightness(.94); }

/* Responsive */
@media (max-width: 900px) {
	.rbfund-cardgrid { grid-template-columns: repeat(2, 1fr); }
	.rbfund-cardgrid--compact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.rbfund-cardgrid { grid-template-columns: 1fr; gap: 14px; }
	.rbfund-cardgrid--compact { grid-template-columns: 1fr; }
	.rbfund-listhead-title { font-size: 1.35rem; }
	.rbfund-listbar { flex-direction: column; align-items: stretch; }
	.rbfund-listbar-sort { justify-content: space-between; }
	.rbfund-profile-hero {
		flex-direction: column; text-align: center; padding: 20px;
	}
	.rbfund-profile-hero-name { justify-content: center; }
}

/* ============ Popup Syarat & Ketentuan (form donasi) ============ */
.rbfund-terms-link { cursor: pointer; }
.rbfund-terms-modal {
	position: fixed; inset: 0; z-index: 10000;
	display: none;
	align-items: center; justify-content: center;
	padding: 16px;
}
.rbfund-terms-modal.show { display: flex; }
.rbfund-terms-overlay {
	position: absolute; inset: 0;
	background: rgba(15, 23, 42, .55);
	backdrop-filter: blur(2px);
}
.rbfund-terms-box {
	position: relative;
	background: #fff;
	width: 100%; max-width: 520px;
	max-height: 85vh;
	border-radius: 16px;
	display: flex; flex-direction: column;
	box-shadow: 0 20px 60px rgba(0,0,0,.3);
	overflow: hidden;
	animation: rbfund-terms-in .2s ease;
}
@keyframes rbfund-terms-in {
	from { transform: translateY(16px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}
.rbfund-terms-head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #eef2f7;
	flex: 0 0 auto;
}
.rbfund-terms-head h3 {
	margin: 0; font-size: 1.1rem; font-weight: 800; color: #0f172a;
}
.rbfund-terms-x {
	background: none; border: 0; cursor: pointer;
	font-size: 1.7rem; line-height: 1; color: #94a3b8;
	padding: 0 4px;
}
.rbfund-terms-x:hover { color: #475569; }
.rbfund-terms-content {
	padding: 18px 20px;
	overflow-y: auto;
	flex: 1 1 auto;
	line-height: 1.7;
	color: #374151;
	font-size: .95rem;
}
.rbfund-terms-content p { margin: 0 0 12px; }
.rbfund-terms-content p:last-child { margin-bottom: 0; }
.rbfund-terms-content ul,
.rbfund-terms-content ol { margin: 0 0 12px; padding-left: 20px; }
.rbfund-terms-content h1,
.rbfund-terms-content h2,
.rbfund-terms-content h3,
.rbfund-terms-content h4 { margin: 16px 0 8px; color: #1e293b; }
.rbfund-terms-foot {
	padding: 14px 20px;
	border-top: 1px solid #eef2f7;
	flex: 0 0 auto;
}
.rbfund-terms-agree {
	width: 100%;
	background: var(--rbfund-btn, var(--rbfund-primary, #16a34a));
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 12px 16px;
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
}
.rbfund-terms-agree:hover { filter: brightness(.94); }
