/* ==========================================================================
   SPMB Yayasan — Public Frontend Styles (v2.0 Modern Edition)
   Design system tunggal: biru premium + aksen hijau/oranye, glassmorphism,
   animasi halus, sepenuhnya responsif. Ditulis ulang dari nol agar rapi,
   ringan, dan mudah dikembangkan (tidak ada lapisan override !important).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

.spmb-wrap, .spmb-wrap * { box-sizing: border-box; }

.spmb-wrap {
	--spmb-primary: #1769e0;
	--spmb-primary-dark: #0d47a1;
	--spmb-primary-darker: #082b67;
	--spmb-primary-light: #eaf3ff;
	--spmb-primary-mid: #cfe2ff;
	--spmb-accent: #f97316;
	--spmb-accent-2: #38bdf8;
	--spmb-success: #16a34a;
	--spmb-success-light: #f0fdf4;
	--spmb-danger: #dc2626;
	--spmb-danger-light: #fef2f2;
	--spmb-warning: #f59e0b;
	--spmb-warning-light: #fffbeb;
	--spmb-purple: #8b5cf6;
	--spmb-purple-light: #f5f3ff;
	--spmb-info: #3b82f6;
	--spmb-info-light: #eff6ff;
	--spmb-neutral: #64748b;
	--spmb-neutral-light: #f1f5f9;
	--spmb-text: #0f172a;
	--spmb-text-muted: #64748b;
	--spmb-border: #dbe5f1;
	--spmb-bg: #f4f8fc;
	--spmb-white: #ffffff;
	--spmb-radius: 22px;
	--spmb-radius-sm: 14px;
	--spmb-shadow: 0 12px 32px rgba(15, 76, 145, .09);
	--spmb-shadow-lg: 0 24px 60px rgba(15, 76, 145, .16);
	--spmb-grad: linear-gradient(135deg, #0d47a1 0%, #1769e0 55%, #38bdf8 100%);
	--spmb-grad-hero: linear-gradient(135deg, #082b67 0%, #0d47a1 38%, #1769e0 72%, #38bdf8 100%);
	--spmb-grad-success: linear-gradient(90deg, #16a34a, #22c55e, #4ade80);
	--spmb-grad-soft: linear-gradient(135deg, #edf5ff 0%, #f7fbff 100%);

	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--spmb-text);
	max-width: 900px;
	margin: 0 auto;
	padding: 20px 16px 72px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	background: radial-gradient(circle at 50% -10%, rgba(56,189,248,.09), transparent 34%), var(--spmb-bg);
	border-radius: 26px;
}

.spmb-wrap h1, .spmb-wrap h2, .spmb-wrap h3 { font-family: 'Sora', 'Plus Jakarta Sans', sans-serif; }
.spmb-muted { color: var(--spmb-text-muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
	.spmb-wrap * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@keyframes spmb-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spmb-float { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-12px,14px) scale(1.05); } }
@keyframes spmb-pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(249,115,22,.35); } 70% { box-shadow: 0 0 0 8px rgba(249,115,22,0); } 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); } }
@keyframes spmb-spin { to { transform: rotate(360deg); } }
@keyframes spmb-modal-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes spmb-modal-card-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

.spmb-wrap > * { animation: spmb-fade-up .5s ease both; }
.spmb-units-grid { animation-delay: .05s; }
.spmb-auth-section { animation-delay: .1s; }

/* ---------- HERO ---------- */
.spmb-hero, .spmb-portal-hero {
	background: var(--spmb-grad-hero);
	background-size: 180% 180%;
	border-radius: 28px;
	padding: 52px 28px;
	color: #fff;
	text-align: center;
	margin-bottom: 28px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 26px 70px rgba(13,71,161,.22);
}
.spmb-hero::before, .spmb-portal-hero::before {
	content: ""; position: absolute; width: 340px; height: 340px;
	background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 70%);
	border-radius: 50%; top: -160px; right: -80px;
	animation: spmb-float 9s ease-in-out infinite;
}
.spmb-hero::after, .spmb-portal-hero::after {
	content: ""; position: absolute; width: 260px; height: 260px;
	background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 70%);
	border-radius: 50%; bottom: -130px; left: -60px;
	animation: spmb-float 11s ease-in-out infinite reverse;
}
.spmb-hero-badge {
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(255,255,255,.13); backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,.30);
	padding: 7px 18px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
	letter-spacing: .2px; margin-bottom: 18px; position: relative;
}
.spmb-hero-title {
	font-family: 'Sora', Arial, sans-serif !important;
	font-weight: 800 !important;
	font-size: clamp(32px, 5.2vw, 48px) !important;
	line-height: 1.05 !important;
	letter-spacing: -1.4px !important;
	text-wrap: balance;
	margin: 0 0 14px;
}
.spmb-hero-title span { color: #fff; }
.spmb-hero p { max-width: 560px; margin: 0 auto; opacity: .95; font-size: 15.5px; position: relative; }

.spmb-portal-hero {
	display: grid;
	grid-template-columns: minmax(0,1.05fr) minmax(330px,.95fr);
	align-items: center; gap: 22px; padding: 42px 46px 38px; text-align: left; min-height: 330px;
}
.spmb-hero-copy { position: relative; z-index: 3; }
.spmb-portal-hero .spmb-hero-title { margin: 0 0 16px; }
.spmb-portal-hero .spmb-hero-copy > p { margin: 0; max-width: 610px; }
.spmb-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--spmb-success); box-shadow: 0 0 0 5px rgba(22,163,74,.15); }
.spmb-hero-points { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; justify-content: flex-start; }
.spmb-hero-points span {
	display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px;
	border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1);
	border-radius: 999px; font-size: 12px; font-weight: 700; backdrop-filter: blur(8px);
}
.spmb-hero-visual { position: relative; z-index: 2; min-height: 285px; display: flex; align-items: center; justify-content: center; }
.spmb-hero-visual svg { width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 20px 28px rgba(20,30,80,.2)); }
.spmb-hero-visual-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%); filter: blur(3px); }
.spmb-hero-floating-card {
	position: absolute; right: 2%; bottom: 6%; display: flex; align-items: center; gap: 9px;
	padding: 11px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 14px;
	background: rgba(255,255,255,.16); backdrop-filter: blur(14px); box-shadow: 0 12px 30px rgba(20,30,80,.18);
}
.spmb-hero-floating-card > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.22); }
.spmb-hero-floating-card strong { display: block; font-size: 11px; color: #fff; }
.spmb-hero-floating-card small { display: block; margin-top: 2px; color: rgba(255,255,255,.82); font-size: 9px; }
.spmb-hero-custom-image { width: 100%; max-width: 520px; height: 300px; object-fit: cover; border-radius: 28px; display: block; position: relative; z-index: 2; box-shadow: 0 24px 50px rgba(15,23,42,.24); border: 1px solid rgba(255,255,255,.28); }

.spmb-process-strip {
	display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px;
	margin: -16px auto 28px; position: relative; z-index: 3; max-width: 930px; padding: 14px 18px;
	border: 1px solid var(--spmb-border); border-radius: 18px; background: rgba(255,255,255,.92);
	backdrop-filter: blur(14px); box-shadow: 0 16px 36px rgba(44,42,91,.10);
}
.spmb-process-strip > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; align-items: center; }
.spmb-process-strip > div span { grid-row: 1/3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--spmb-primary-light); color: var(--spmb-primary); font-size: 11px; font-weight: 900; }
.spmb-process-strip strong { font-size: 12px; line-height: 1.1; }
.spmb-process-strip small { color: #98a2b3; font-size: 9.5px; margin-top: 3px; }
.spmb-process-strip i { width: 24px; height: 1px; background: #c9d9eb; }

.spmb-section-heading { text-align: center; margin: 8px 0 16px; }
.spmb-section-eyebrow { color: var(--spmb-primary); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.spmb-section-heading h2 { margin: 4px 0 5px; font-size: 22px; letter-spacing: -.5px; }
.spmb-section-heading p { margin: 0; color: #7a8096; font-size: 12px; }

/* ---------- UNIT CARDS ---------- */
.spmb-units-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.spmb-unit-card {
	background: var(--spmb-white); border: 1px solid var(--spmb-border); border-radius: var(--spmb-radius);
	padding: 22px 18px; box-shadow: var(--spmb-shadow);
	transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
	position: relative;
}
.spmb-unit-card:hover { transform: translateY(-6px); box-shadow: var(--spmb-shadow-lg); border-color: #9fc5f7; }
.spmb-unit-icon {
	font-size: 30px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
	background: var(--spmb-grad-soft); border-radius: 16px; margin-bottom: 14px; transition: transform .25s ease;
}
.spmb-unit-card:hover .spmb-unit-icon { transform: scale(1.08) rotate(-4deg); }
.spmb-unit-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.spmb-unit-desc { font-size: 13.5px; color: var(--spmb-text-muted); margin: 0 0 14px; min-height: 34px; }
.spmb-unit-gelombang { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--spmb-primary-dark); margin-bottom: 4px; }
.spmb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--spmb-accent); display: inline-block; animation: spmb-pulse-dot 2s infinite; }
.spmb-unit-date { font-size: 12.5px; color: var(--spmb-text-muted); margin-bottom: 16px; }
.spmb-unit-logo-image { width: 56px; height: 56px; object-fit: contain; border-radius: 16px; padding: 6px; background: #fff; border: 1px solid rgba(226,232,240,.9); box-shadow: 0 8px 20px rgba(15,23,42,.07); }
.spmb-unit-card .spmb-unit-icon.spmb-has-logo { width: 64px; height: 64px; background: #fff !important; display: flex; align-items: center; justify-content: center; }
.spmb-radio-logo { width: 34px; height: 34px; object-fit: contain; border-radius: 10px; padding: 3px; background: #fff; border: 1px solid #e7e9f0; }

/* ---------- BUTTONS ---------- */
.spmb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border-radius: 12px; border: none; font-family: inherit; font-weight: 700; font-size: 14.5px;
	padding: 13px 20px; cursor: pointer; transition: all .2s cubic-bezier(.2,.8,.2,1); text-decoration: none;
}
.spmb-btn-block { width: 100%; }
.spmb-btn-lg { padding: 15px 20px; font-size: 15.5px; border-radius: 13px; }
.spmb-btn-sm { padding: 9px 14px; font-size: 13px; }
.spmb-btn-primary, .spmb-btn-submit {
	background: var(--spmb-grad); background-size: 160% 160%; color: #fff;
	box-shadow: 0 10px 24px rgba(23,105,224,.24); border: 1px solid rgba(23,105,224,.15);
}
.spmb-btn-primary:hover, .spmb-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(23,105,224,.32); background-position: 100% 0; }
.spmb-btn-primary:active { transform: translateY(0); }
.spmb-btn-secondary { background: var(--spmb-primary-light); color: var(--spmb-primary-dark); }
.spmb-btn-secondary:hover { background: var(--spmb-primary-mid); }
.spmb-btn-outline { background: transparent; color: var(--spmb-primary); border: 1.5px solid var(--spmb-primary-mid); }
.spmb-btn-outline:hover { background: var(--spmb-primary-light); border-color: var(--spmb-primary); color: var(--spmb-primary-dark); }
.spmb-btn-ghost { background: transparent; color: var(--spmb-text-muted); border: 1.5px solid var(--spmb-border); }
.spmb-btn-ghost:hover { background: #f2f4f8; }
.spmb-btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

.spmb-spinner { width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spmb-spin .7s linear infinite; }
.spmb-btn-outline .spmb-spinner, .spmb-btn-secondary .spmb-spinner, .spmb-btn-ghost .spmb-spinner { border: 2.5px solid rgba(23,105,224,.25); border-top-color: var(--spmb-primary); }

/* ---------- AUTH SECTION ---------- */
.spmb-auth-section { display: flex; flex-direction: column; gap: 20px; max-width: 780px; margin: 0 auto; }
.spmb-auth-card, .spmb-status-card {
	background: var(--spmb-white); border: 1px solid var(--spmb-border); border-radius: var(--spmb-radius);
	padding: 30px 26px; box-shadow: 0 12px 35px rgba(15,76,145,.06);
}
.spmb-status-card h3 { margin-top: 0; display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; }
.spmb-icon-search::before { content: "🔎"; }
.spmb-auth-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.spmb-auth-card-top h3 { margin: 2px 0 0; font-size: 19px; letter-spacing: -.3px; }
.spmb-auth-kicker { font-size: 9px; font-weight: 900; color: var(--spmb-primary); letter-spacing: .12em; }
.spmb-secure-pill { padding: 6px 10px; border-radius: 999px; background: var(--spmb-success-light); color: #067647; font-size: 10px; font-weight: 800; }

.spmb-tabs { display: flex; gap: 6px; margin-bottom: 24px; background: var(--spmb-bg); padding: 5px; border-radius: 14px; }
.spmb-tab-btn { flex: 1; padding: 11px; border: none; background: transparent; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--spmb-text-muted); cursor: pointer; transition: all .2s; font-family: inherit; }
.spmb-tab-btn.active { background: var(--spmb-white); color: var(--spmb-primary); box-shadow: 0 4px 12px rgba(23,105,224,.14); }
.spmb-tab-panel { display: none; }
.spmb-tab-panel.active { display: block; animation: spmb-fade-up .35s ease both; }

.spmb-label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: var(--spmb-text); }
.spmb-input {
	width: 100%; padding: 13px 15px; border: 1.5px solid var(--spmb-border); border-radius: 12px;
	font-family: inherit; font-size: 14.5px; margin-bottom: 16px; background: #fbfcff;
	min-height: 48px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.spmb-input:hover { border-color: #b9cdea; }
.spmb-input:focus { outline: none; border-color: var(--spmb-primary); background: #fff; box-shadow: 0 0 0 4px rgba(23,105,224,.12); }
textarea.spmb-input { resize: vertical; min-height: 90px; }

.spmb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spmb-form-group { margin-bottom: 0; }

.spmb-select-unit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.spmb-radio-card {
	border: 1.5px solid var(--spmb-border); border-radius: 15px; padding: 14px 6px; text-align: center;
	cursor: pointer; font-size: 12.5px; font-weight: 700; position: relative; background: #fbfcff;
	min-height: 74px; transition: all .2s;
}
.spmb-radio-card:hover { border-color: #9fc5f7; transform: translateY(-2px); box-shadow: 0 9px 20px rgba(23,105,224,.08); }
.spmb-radio-card input { position: absolute; opacity: 0; }
.spmb-radio-emoji { display: block; font-size: 22px; margin-bottom: 4px; }
.spmb-radio-card:has(input:checked) {
	border-color: var(--spmb-primary); background: linear-gradient(135deg,#edf5ff,#fff);
	color: var(--spmb-primary-dark); box-shadow: 0 8px 20px rgba(23,105,224,.16);
}

.spmb-gelombang-preview { margin-top: 14px; margin-bottom: 6px; padding: 14px; border: 1px solid #e9edf5; border-radius: 15px; background: #fafbff; }
.spmb-gelombang-list-inline { margin-bottom: 10px; }
.spmb-gelombang-item { border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; font-size: 13.5px; background: #fff; border: 1.5px dashed var(--spmb-primary-mid); }
.spmb-gel-name { font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.spmb-badge { background: var(--spmb-primary); color: #fff; font-size: 11px; padding: 3px 9px; border-radius: 999px; font-weight: 700; }
.spmb-gelombang-item.status-ditutup .spmb-badge { background: #94a3b8; }
.spmb-gelombang-item.status-akan_datang .spmb-badge { background: var(--spmb-warning); }
.spmb-gel-date, .spmb-gel-fee { color: var(--spmb-text-muted); font-size: 12.5px; margin-top: 2px; }
.spmb-gel-status-info { display:flex; gap:10px; align-items:flex-start; margin-top:12px; padding:10px 12px; border-radius:10px; background:#f8fafc; border-left:4px solid var(--spmb-primary); color:var(--spmb-text); }
.spmb-gel-status-icon { font-size:18px; line-height:1.25; }
.spmb-gel-status-info strong { display:block; font-size:12.5px; margin-bottom:3px; }
.spmb-gel-status-info p { margin:0; font-size:12px; line-height:1.45; color:var(--spmb-text-muted); }
.spmb-gelombang-item.status-akan_datang .spmb-gel-status-info { background:#fffbeb; border-left-color:var(--spmb-warning); }
.spmb-gelombang-item.status-ditutup .spmb-gel-status-info { background:#f8fafc; border-left-color:#94a3b8; }
.spmb-gelombang-item.status-aktif .spmb-gel-status-info { background:#f0fdf4; border-left-color:#22c55e; }

.spmb-fineprint { font-size: 12px; color: var(--spmb-text-muted); text-align: center; margin-top: 14px; }

.spmb-alert { padding: 13px 15px; border-radius: 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; }
.spmb-alert.success { background: var(--spmb-success-light); color: #067647; border: 1px solid #abefc6; }
.spmb-alert.error { background: var(--spmb-danger-light); color: #b42318; border: 1px solid #fecdca; }

.spmb-payment-notice { display: flex; flex-direction: column; gap: 4px; margin: 16px 0; padding: 14px 16px; border-radius: 13px; border: 1px solid #dbe7ff; background: #f7faff; color: #344054; font-size: 13px; }
.spmb-payment-notice strong { color: var(--spmb-primary); }
.spmb-payment-notice.is-free { border-color: #d7eadf; background: #f5fbf7; }
.spmb-payment-notice.is-free strong { color: #16834d; }
.spmb-payment-notice:not(.is-free) { border-color: #fecdca; background: #fff6f5; color: #b42318; }
.spmb-payment-notice:not(.is-free) strong, .spmb-payment-notice:not(.is-free) span, .spmb-payment-notice:not(.is-free) b { color: #b42318; }

/* ---------- MODALS (shared) ---------- */
.spmb-modal, .spmb-action-modal {
	display: none; position: fixed; inset: 0; background: rgba(15,23,42,.6); backdrop-filter: blur(6px);
	z-index: 99999; align-items: center; justify-content: center; padding: 20px;
}
.spmb-modal.open, .spmb-action-modal.open { display: flex; animation: spmb-modal-in .18s ease both; }
.spmb-modal-content {
	background: #fff; border-radius: 20px; padding: 28px; max-width: 480px; width: 100%; position: relative;
	max-height: 80vh; overflow-y: auto; box-shadow: var(--spmb-shadow-lg); animation: spmb-fade-up .3s ease both;
}
.spmb-modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--spmb-text-muted); }
.spmb-modal-title { margin: 0 0 16px; font-size: 18px; font-weight: 800; }

.spmb-action-modal-card {
	position: relative; width: min(430px, 100%); background: #fff; border: 1px solid rgba(255,255,255,.7);
	border-radius: 26px; padding: 32px 28px 26px; text-align: center; box-shadow: 0 30px 90px rgba(15,23,42,.24);
	animation: spmb-modal-card-in .22s cubic-bezier(.2,.8,.2,1) both;
}
.spmb-action-modal-icon { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; font-weight: 900; background: var(--spmb-primary-light); color: var(--spmb-primary); }
.spmb-action-modal.success .spmb-action-modal-icon { background: var(--spmb-success-light); color: var(--spmb-success); }
.spmb-action-modal.error .spmb-action-modal-icon { background: var(--spmb-danger-light); color: var(--spmb-danger); }
.spmb-action-modal-title { margin: 0 0 8px !important; font: 800 21px/1.2 'Sora','Plus Jakarta Sans',sans-serif !important; color: var(--spmb-text); }
.spmb-action-modal-message { margin: 0 auto 22px; max-width: 340px; color: var(--spmb-text-muted); font-size: 14px; line-height: 1.65; }
.spmb-action-modal-ok { width: 100%; border: 0; border-radius: 14px; padding: 12px 18px; background: var(--spmb-grad); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(23,105,224,.22); }
.spmb-action-modal-close { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 12px; background: #f5f6fa; color: #667085; font-size: 24px; line-height: 1; cursor: pointer; }

/* ---------- STATUS RESULT (cek status widget) ---------- */
.spmb-status-result { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--spmb-bg); }
.spmb-status-result .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13.5px; border-bottom: 1px dashed var(--spmb-border); }
.spmb-status-result .row:last-child { border-bottom: none; }
.spmb-status-result .pill { padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; }

/* ==========================================================================
   DASHBOARD (Pendaftar)
   ========================================================================== */
.spmb-wrap.spmb-dashboard { max-width: 1240px; width: calc(100% - 32px); padding: 28px 0 72px; margin-left: auto; margin-right: auto; }

.spmb-dash-header {
	position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center;
	margin-bottom: 22px; flex-wrap: wrap; gap: 12px; padding: 28px 30px; border-radius: 26px;
	background: var(--spmb-grad); box-shadow: 0 18px 45px rgba(13,71,161,.20); color: #fff;
	border: 1px solid rgba(255,255,255,.15);
}
.spmb-dash-header::after {
	content: ""; position: absolute; width: 260px; height: 260px; right: -95px; top: -115px;
	border-radius: 50%; background: rgba(255,255,255,.10); pointer-events: none;
}
.spmb-dash-header > * { position: relative; z-index: 1; }
.spmb-dash-welcome { font-size: clamp(22px,3vw,30px); letter-spacing: -.5px; font-family: 'Sora', sans-serif; }
.spmb-dash-sub { color: rgba(255,255,255,.85); margin-top: 7px; font-size: 13.5px; }
.spmb-dash-sub strong { color: #fff; }
.spmb-dash-header-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spmb-dashboard #spmb-logout-btn { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.10); backdrop-filter: blur(8px); }
.spmb-dashboard #spmb-logout-btn:hover { background: rgba(255,255,255,.18); }

.spmb-dashboard-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 0 0 20px; }
.spmb-summary-item {
	min-width: 0; display: flex; align-items: center; gap: 12px; padding: 15px 16px; background: #fff;
	border: 1px solid #e5e7f2; border-radius: 17px; box-shadow: 0 8px 24px rgba(23,105,224,.06);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.spmb-summary-item:hover { transform: translateY(-2px); border-color: #b9cdea; box-shadow: 0 12px 30px rgba(23,105,224,.10); }
.spmb-summary-icon { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--spmb-primary-light); color: var(--spmb-primary); font-size: 18px; font-weight: 800; }
.spmb-summary-item small { display: block; color: #858aa3; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; margin-bottom: 3px; }
.spmb-summary-item strong { display: block; color: #25264a; font-size: 13px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spmb-summary-number .spmb-summary-icon { background: var(--spmb-grad); color: #fff; font-size: 14px; }

.spmb-card { background: #fff; border: 1px solid var(--spmb-border); border-radius: var(--spmb-radius); box-shadow: var(--spmb-shadow); padding: 26px; margin-bottom: 20px; transition: box-shadow .2s ease; }
.spmb-card:hover { box-shadow: 0 16px 42px rgba(15,76,145,.12); }
.spmb-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.spmb-card h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.2px; }

.spmb-status-pill { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 12.5px; }

.spmb-progress-card { position: relative; overflow: hidden; }
.spmb-progress-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--spmb-grad); }
.spmb-progress-bar-track { height: 12px; background: #eeeef8; border-radius: 999px; overflow: hidden; margin-bottom: 26px; box-shadow: inset 0 1px 2px rgba(30,30,70,.05); }
.spmb-progress-bar-fill { height: 100%; background: var(--spmb-grad-success); border-radius: 999px; transition: width .4s ease; box-shadow: 0 3px 10px rgba(22,163,74,.22); }

.spmb-progress-steps { display: flex; justify-content: space-between; position: relative; }
.spmb-progress-steps::before { content: ""; position: absolute; top: 17px; left: 0; right: 0; height: 2px; background: #bbf7d0; z-index: 0; }
.spmb-progress-step { flex: 1; text-align: center; position: relative; z-index: 1; min-width: 0; }
.spmb-step-dot { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--spmb-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-weight: 700; font-size: 13px; color: var(--spmb-text-muted); box-shadow: 0 4px 12px rgba(50,50,90,.06); transition: all .25s ease; }
.spmb-progress-step.active .spmb-step-dot { border-color: var(--spmb-success); color: #15803d; background: var(--spmb-success-light); box-shadow: 0 0 0 5px rgba(22,163,74,.10); }
.spmb-progress-step.done .spmb-step-dot { background: linear-gradient(135deg,#16a34a,#22c55e); border-color: transparent; color: #fff; box-shadow: 0 7px 16px rgba(22,163,74,.20); }
.spmb-step-label { font-size: 12px; font-weight: 600; color: var(--spmb-text-muted); }
.spmb-progress-step.active .spmb-step-label, .spmb-progress-step.done .spmb-step-label { color: var(--spmb-text); }

.spmb-catatan-admin { margin-top: 20px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 12px 16px; font-size: 13.5px; }
.spmb-catatan-admin p { margin: 4px 0 0; color: #9a3412; }

.spmb-observasi-card { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px; border: 1px solid #e9ddff; background: linear-gradient(135deg,#faf7ff,#f5f3ff); border-radius: 16px; }
.spmb-observasi-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: #fff; font-size: 22px; box-shadow: 0 5px 16px rgba(76,29,149,.08); }
.spmb-observasi-card small { display: block; color: #7c3aed; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.spmb-observasi-card strong { display: block; margin-top: 4px; font-size: 15px; color: #1f2937; }
.spmb-observasi-card span { display: block; margin-top: 3px; color: #64748b; font-size: 12px; }

.spmb-dash-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 6px; margin: 0 0 18px; border: 1px solid #dbe5f1; border-radius: 16px; background: #eef5fc; }
.spmb-dash-tab-btn { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid transparent; border-radius: 13px; background: transparent; color: #666b84; font-weight: 800; font-size: 14px; cursor: pointer; font-family: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: all .2s; }
.spmb-dash-tab-btn:hover { color: var(--spmb-primary); background: rgba(255,255,255,.72); }
.spmb-dash-tab-btn.active { background: var(--spmb-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(23,105,224,.22); }

.spmb-dash-panel { display: none; min-height: 220px; }
.spmb-dash-panel.active { display: block; animation: spmb-fade-up .35s ease both; }
.spmb-dash-panel > h3 { margin-bottom: 7px; }
.spmb-dash-panel > .spmb-muted { margin-top: 0; margin-bottom: 18px; }

.spmb-form-section-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; color: var(--spmb-primary-dark); margin: 28px 0 14px; padding: 10px 12px; border-radius: 10px; background: linear-gradient(90deg,#edf5ff 0%,#f7fbff 70%,transparent 100%); letter-spacing: .1px; }
.spmb-form-section-title::before { content: ""; width: 4px; height: 18px; border-radius: 99px; background: linear-gradient(180deg,#0d47a1,#2196f3); flex: 0 0 auto; }
.spmb-form-section-title:first-of-type { margin-top: 12px; }

.spmb-berkas-list { display: flex; flex-direction: column; gap: 14px; }
.spmb-berkas-item { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid #e7e7f0; border-radius: 14px; padding: 16px 18px; flex-wrap: wrap; gap: 10px; position: relative; background: linear-gradient(180deg,#fff,#fcfcff); transition: border-color .2s, box-shadow .2s; }
.spmb-berkas-item:hover { border-color: #9fc5f7; box-shadow: 0 8px 22px rgba(23,105,224,.08); }
.spmb-berkas-info { display: flex; align-items: center; gap: 12px; }
.spmb-berkas-icon { font-size: 22px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--spmb-primary-light); }
.spmb-berkas-label { font-weight: 700; font-size: 14px; }
.spmb-berkas-filename { font-size: 12.5px; color: var(--spmb-text-muted); }
.spmb-berkas-action { display: flex; gap: 8px; }
.spmb-upload-label { cursor: pointer; margin: 0; }
.spmb-berkas-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--spmb-bg); border-radius: 0 0 14px 14px; overflow: hidden; }
.spmb-berkas-progress-fill { height: 100%; width: 0%; background: var(--spmb-grad); transition: width .2s; }

.spmb-status-detail { margin-bottom: 24px; padding: 4px 16px; border: 1px solid var(--spmb-border); border-radius: 15px; background: #fbfbfe; }
.spmb-status-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px dashed var(--spmb-border); font-size: 14px; }
.spmb-status-row:last-child { border-bottom: none; }
.spmb-status-row span { color: var(--spmb-text-muted); }

.spmb-timeline { position: relative; padding: 18px 20px 4px 34px; border: 1px solid var(--spmb-border); border-radius: 15px; background: #fff; }
.spmb-timeline::before { content: ""; position: absolute; left: 5px; top: 4px; bottom: 4px; width: 2px; background: var(--spmb-border); }
.spmb-timeline-item { position: relative; padding-bottom: 20px; }
.spmb-timeline-dot { position: absolute; left: -24px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--spmb-primary); border: 3px solid var(--spmb-primary-light); }
.spmb-timeline-status { font-weight: 700; font-size: 14px; }
.spmb-timeline-note { font-size: 13px; color: var(--spmb-text-muted); margin-top: 2px; }
.spmb-timeline-date { font-size: 11.5px; color: #98a2b3; margin-top: 3px; }

.spmb-notice { background: #fff; border: 1px solid var(--spmb-border); border-radius: 18px; padding: 26px; text-align: center; box-shadow: var(--spmb-shadow); }

/* ---------- STANDALONE PAGE (no theme header/footer) ---------- */
html body.spmb-standalone-page {
	margin: 0 !important; padding: 0 !important; min-height: 100vh;
	background-color: var(--spmb-bg, #f4f8fc) !important;
	background-image:
		radial-gradient(circle at 6% 10%, rgba(23,105,224,.10), transparent 40%),
		radial-gradient(circle at 94% 16%, rgba(249,115,22,.09), transparent 38%),
		radial-gradient(circle at 50% 100%, rgba(56,189,248,.10), transparent 46%),
		linear-gradient(135deg, rgba(13,71,161,.05) 1px, transparent 1px),
		linear-gradient(45deg, rgba(13,71,161,.05) 1px, transparent 1px) !important;
	background-size: auto, auto, auto, 46px 46px, 46px 46px !important;
	background-attachment: fixed, fixed, fixed, fixed, fixed;
	background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat;
}
/* Bentuk geometris dekoratif yang mengambang di halaman standalone. */
.spmb-shape { position: absolute; z-index: 0; opacity: .55; pointer-events: none; animation: spmb-float 12s ease-in-out infinite; }
.spmb-shape-tri { width: 0; height: 0; border-left: 46px solid transparent; border-right: 46px solid transparent; border-bottom: 80px solid rgba(56,189,248,.16); filter: drop-shadow(0 10px 18px rgba(23,105,224,.08)); }
.spmb-shape-hex { width: 64px; height: 64px; background: linear-gradient(135deg, rgba(249,115,22,.18), rgba(249,115,22,.05)); clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.spmb-shape-circle { width: 90px; height: 90px; border-radius: 50%; border: 2px dashed rgba(23,105,224,.22); }
.spmb-shape-square { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(139,92,246,.05)); transform: rotate(18deg); }
.spmb-shape-1 { top: 2%; left: 2%; animation-duration: 10s; }
.spmb-shape-2 { top: 40%; right: 1%; animation-duration: 13s; animation-direction: reverse; }
.spmb-shape-3 { bottom: 6%; left: 4%; animation-duration: 15s; }
.spmb-shape-4 { top: 12%; right: 12%; animation-duration: 9s; animation-direction: reverse; }
@media (max-width: 780px) { .spmb-shape { display: none; } }
body.spmb-standalone-page #spmb-standalone-content { width: 100%; max-width: none; margin: 0; padding: 0; }
body.spmb-standalone-page #spmb-standalone-content > .spmb-wrap { width: 100%; max-width: 1100px; margin-left: auto; margin-right: auto; }
body.spmb-standalone-page .site-header, body.spmb-standalone-page header.site-header,
body.spmb-standalone-page .site-footer, body.spmb-standalone-page footer.site-footer,
body.spmb-standalone-page #masthead, body.spmb-standalone-page #colophon,
body.spmb-standalone-page .elementor-location-header, body.spmb-standalone-page .elementor-location-footer,
body.spmb-standalone-page .wp-site-blocks > header, body.spmb-standalone-page .wp-site-blocks > footer { display: none !important; }
body.spmb-standalone-page .entry-title, body.spmb-standalone-page .page-title, body.spmb-standalone-page .entry-header { display: none !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
	.spmb-units-grid { grid-template-columns: repeat(2, 1fr); }
	.spmb-wrap.spmb-dashboard { width: calc(100% - 24px); }
}
@media (max-width: 780px) {
	.spmb-portal-hero { grid-template-columns: 1fr; padding: 34px 24px 28px; text-align: center; }
	.spmb-portal-hero .spmb-hero-copy > p { margin-left: auto; margin-right: auto; }
	.spmb-hero-points { justify-content: center; }
	.spmb-hero-visual { min-height: 220px; margin-top: -8px; }
	.spmb-hero-floating-card { right: 0; bottom: 0; transform: scale(.9); transform-origin: right bottom; }
	.spmb-process-strip { grid-template-columns: 1fr 1fr; margin-top: -10px; gap: 10px; padding: 12px; }
	.spmb-process-strip i { display: none; }
}
@media (max-width: 900px) { .spmb-dashboard-summary { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) {
	.spmb-wrap { padding: 14px 12px 56px; }
	.spmb-hero { padding: 36px 20px; border-radius: 22px; margin-bottom: 20px; }
	.spmb-hero-title { font-size: clamp(28px, 8vw, 34px) !important; letter-spacing: -1px !important; }
	.spmb-hero p { font-size: 14.5px; }
	.spmb-units-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
	.spmb-unit-card { padding: 18px 16px; display: flex; flex-direction: column; }
	.spmb-form-row { grid-template-columns: 1fr; gap: 0; }
	.spmb-select-unit { grid-template-columns: repeat(2, 1fr); }
	.spmb-auth-card, .spmb-status-card, .spmb-card { padding: 20px 16px; border-radius: 18px; }
	.spmb-auth-section { gap: 16px; }
	.spmb-dash-header { flex-direction: column; align-items: flex-start; padding: 22px 20px; border-radius: 19px; }
	.spmb-dash-header-actions { width: 100%; }
	.spmb-dash-header-actions .spmb-btn { flex: 1; justify-content: center; }
	.spmb-progress-steps { flex-wrap: nowrap; gap: 4px; }
	.spmb-progress-step { min-width: 0; }
	.spmb-step-label { font-size: 10px; line-height: 1.25; }
	.spmb-step-dot { width: 32px; height: 32px; }
	.spmb-berkas-item { flex-direction: column; align-items: flex-start; }
	.spmb-berkas-action { width: 100%; }
	.spmb-berkas-action .spmb-btn { flex: 1; }
	.spmb-dash-tabs { grid-template-columns: 1fr; overflow: visible; padding: 5px; }
	.spmb-dash-tab-btn { padding: 11px 14px; white-space: normal; min-height: 44px; }
	.spmb-tabs { border-radius: 12px; }
	.spmb-dashboard-summary { grid-template-columns: 1fr; gap: 9px; }
	.spmb-summary-item { padding: 13px 14px; }
	.spmb-summary-item strong { white-space: normal; }
	.spmb-card-head { flex-wrap: wrap; }
	.spmb-status-pill { margin-left: auto; }
	.spmb-observasi-card { align-items: flex-start; }
	.spmb-hero-custom-image { height: 220px; border-radius: 22px; }
	.spmb-hero-visual { width: 100%; }
	.spmb-portal-guest { width: calc(100% - 18px); padding-top: 14px; }
	.spmb-portal-hero { min-height: 360px; padding: 42px 18px; }
	.spmb-portal-hero h1 { font-size: 30px; }
	.spmb-auth-card { padding: 20px 16px; }
	body.spmb-standalone-page #spmb-standalone-content > .spmb-wrap { max-width: 100%; }
}
.spmb-portal-guest { position: relative; overflow: hidden; max-width: 1180px; width: calc(100% - 28px); padding-top: 28px; }
.spmb-portal-guest > .spmb-hero, .spmb-portal-guest > .spmb-process-strip, .spmb-portal-guest > .spmb-units-grid, .spmb-portal-guest > .spmb-auth-section { position: relative; z-index: 1; }

/* ==========================================================================
   HALAMAN CEK STATUS PENDAFTARAN (standalone, modern)
   ========================================================================== */
.spmb-status-page { position: relative; overflow: hidden; max-width: 760px; width: calc(100% - 24px); padding-top: 26px; }
.spmb-status-hero, .spmb-status-search-card, .spmb-status-footer-cta { position: relative; z-index: 1; }

.spmb-status-hero { padding: 46px 30px 40px; }
.spmb-status-hero p { margin: 0 auto 6px; }
.spmb-hero-geo { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.spmb-hero-geo span { position: absolute; border-radius: 6px; background: rgba(255,255,255,.14); }
.spmb-hero-geo span:nth-child(1) { width: 18px; height: 18px; top: 18%; left: 8%; transform: rotate(20deg); animation: spmb-float 7s ease-in-out infinite; }
.spmb-hero-geo span:nth-child(2) { width: 12px; height: 12px; border-radius: 50%; top: 68%; left: 14%; animation: spmb-float 9s ease-in-out infinite reverse; }
.spmb-hero-geo span:nth-child(3) { width: 24px; height: 24px; border-radius: 50%; top: 12%; right: 10%; background: rgba(255,255,255,.10); animation: spmb-float 8s ease-in-out infinite; }
.spmb-hero-geo span:nth-child(4) { width: 14px; height: 14px; top: 74%; right: 16%; transform: rotate(45deg); animation: spmb-float 10s ease-in-out infinite reverse; }
.spmb-hero-geo span:nth-child(5) { width: 9px; height: 9px; border-radius: 50%; top: 42%; right: 26%; background: rgba(255,255,255,.18); animation: spmb-pulse-dot 3s infinite; }

.spmb-hero-actions { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.spmb-btn-ico { font-size: 15px; }
.spmb-btn-glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); }
.spmb-btn-glass:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }

.spmb-status-search-card { margin-top: -22px; }
.spmb-status-search-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.spmb-status-search-icon { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--spmb-grad-soft); font-size: 21px; box-shadow: 0 8px 18px rgba(23,105,224,.10); }
.spmb-status-search-head h3 { margin: 3px 0 0; font-size: 18.5px; font-weight: 800; letter-spacing: -.2px; }

.spmb-input-icon-group { position: relative; margin-bottom: 14px; }
.spmb-input-icon-group .spmb-input { padding-left: 42px; }
.spmb-input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 16px; opacity: .8; }

/* ---------- HASIL PENCARIAN: ikon + warna sesuai status ---------- */
.spmb-result-hero { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--spmb-bg); border: 1px solid var(--spmb-border); animation: spmb-fade-up .35s ease both; }
.spmb-result-hero { background: color-mix(in srgb, var(--rc, #64748b) 10%, #fff); border: 1px solid color-mix(in srgb, var(--rc, #64748b) 28%, #fff); }
.spmb-result-icon { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; font-size: 26px; background: var(--spmb-primary-light); }
.spmb-result-icon { background: color-mix(in srgb, var(--rc, #64748b) 18%, #fff); box-shadow: 0 8px 18px color-mix(in srgb, var(--rc, #64748b) 22%, transparent); }
.spmb-result-hero-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.spmb-result-hero-text strong { font-size: 15.5px; font-weight: 800; color: var(--spmb-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spmb-result-hero-text .spmb-status-pill { display: inline-flex; width: fit-content; }
.spmb-result-progress-track { margin: 14px 0 4px; }
.spmb-result-details { margin-top: 14px; }

.spmb-status-footer-cta { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 22px; border-radius: 18px; background: var(--spmb-grad-soft); border: 1px solid var(--spmb-border); }
.spmb-status-footer-cta strong { display: block; font-size: 14.5px; }
.spmb-status-footer-cta span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--spmb-text-muted); }

@media (max-width: 640px) {
	.spmb-status-hero { padding: 34px 20px 30px; }
	.spmb-hero-actions { flex-direction: column; }
	.spmb-hero-actions .spmb-btn { width: 100%; }
	.spmb-status-search-card { margin-top: -16px; }
	.spmb-status-footer-cta { flex-direction: column; align-items: flex-start; }
	.spmb-status-footer-cta .spmb-btn { width: 100%; justify-content: center; }
}
