/* WACH Order Form
 * All selectors are prefixed with .wachf[data-wachf] so theme / Elementor
 * button and heading styles (e.g. Hello Elementor's pink buttons) can't leak in.
 */

.wachf[data-wachf] {
	--wachf-accent: #FF7A1A;
	--wachf-accent-soft: rgba(255, 122, 26, .16);
	--wachf-on-accent: #fff;
	--wachf-text: #fff;
	--wachf-muted: rgba(255, 255, 255, .74);
	--wachf-faint: rgba(255, 255, 255, .5);
	--wachf-line: rgba(255, 255, 255, .34);
	--wachf-line-strong: rgba(255, 255, 255, .7);
	--wachf-surface: rgba(255, 255, 255, .06);
	--wachf-surface-hover: rgba(255, 255, 255, .11);
	--wachf-card: rgba(22, 20, 18, .66);
	--wachf-card-line: rgba(255, 255, 255, .22);
	--wachf-err: #ffb39e;
	--wachf-err-bg: rgba(255, 99, 71, .14);

	display: block;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	scroll-margin-top: 96px;
	color: var(--wachf-text);
	font-family: inherit;
	text-align: left;
	box-sizing: border-box;
}

.wachf--light[data-wachf] {
	--wachf-text: #1d1b18;
	--wachf-muted: #5d5850;
	--wachf-faint: #8c867c;
	--wachf-line: #d9d3ca;
	--wachf-line-strong: #a8a196;
	--wachf-surface: #faf8f5;
	--wachf-surface-hover: #f2eee8;
	--wachf-card: #fff;
	--wachf-card-line: #ebe6de;
	--wachf-err: #c2381e;
	--wachf-err-bg: #fdece8;
}

.wachf[data-wachf] *,
.wachf[data-wachf] *::before,
.wachf[data-wachf] *::after {
	box-sizing: border-box;
}

.wachf[data-wachf] [hidden] {
	display: none !important;
}

/* Neutralise theme button resets (Hello Elementor sets nowrap, letter-spacing, etc.) */
.wachf[data-wachf] button,
.wachf[data-wachf] .wachf-btn {
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
	letter-spacing: normal;
	text-shadow: none;
	user-select: none;
	-webkit-user-select: none;
	min-width: 0;
	width: auto;
}

/* Card */
.wachf[data-wachf] .wachf-card {
	position: relative;
	padding: 40px;
	border-radius: 32px;
	border: 1px solid var(--wachf-card-line);
	background: var(--wachf-card);
	-webkit-backdrop-filter: blur(18px) saturate(120%);
	backdrop-filter: blur(18px) saturate(120%);
	box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .45);
}

.wachf--light[data-wachf] .wachf-card {
	box-shadow: 0 24px 60px -30px rgba(40, 30, 10, .25);
}

/* Progress */
.wachf[data-wachf] .wachf-progress {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wachf[data-wachf] .wachf-seg {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wachf[data-wachf] .wachf-seg::before,
.wachf[data-wachf] .wachf-seg::marker {
	content: none;
}

.wachf[data-wachf] .wachf-seg__bar {
	display: block;
	height: 5px;
	border-radius: 99px;
	background: var(--wachf-line);
	transition: background-color .3s ease;
}

.wachf[data-wachf] .wachf-seg.is-active .wachf-seg__bar,
.wachf[data-wachf] .wachf-seg.is-complete .wachf-seg__bar {
	background: var(--wachf-accent);
}

.wachf[data-wachf] .wachf-seg.is-skipped .wachf-seg__bar {
	background: var(--wachf-line);
	opacity: .45;
}

.wachf[data-wachf] .wachf-seg__label {
	display: block;
	margin-top: 14px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--wachf-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wachf[data-wachf] .wachf-seg.is-active .wachf-seg__label,
.wachf[data-wachf] .wachf-seg.is-complete .wachf-seg__label {
	color: var(--wachf-text);
}

.wachf[data-wachf] .wachf-seg.is-skipped .wachf-seg__label {
	text-decoration: line-through;
	opacity: .55;
}

.wachf[data-wachf] .wachf-counter {
	margin: 18px 0 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
	color: var(--wachf-faint);
}

/* Steps */
.wachf[data-wachf] .wachf-form {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.wachf[data-wachf] .wachf-step {
	animation: wachf-in .32s ease both;
}

@keyframes wachf-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

.wachf[data-wachf] .wachf-title {
	margin: 18px 0 10px;
	padding: 0;
	font-family: inherit;
	font-size: clamp(26px, 5.2vw, 36px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: var(--wachf-text);
	text-transform: none;
}

.wachf[data-wachf] .wachf-title:focus {
	outline: none;
}

.wachf[data-wachf] .wachf-sub {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
	color: var(--wachf-muted);
}

.wachf[data-wachf] .wachf-sub:empty {
	display: none;
}

/* Bidang options (big cards) */
.wachf[data-wachf] .wachf-options {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 28px;
}

.wachf[data-wachf] .wachf-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 16px 20px 16px 22px;
	border: 1.5px solid var(--wachf-line);
	border-radius: 18px;
	background: var(--wachf-surface);
	color: var(--wachf-text);
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, transform .1s ease;
	-webkit-tap-highlight-color: transparent;
}

.wachf[data-wachf] .wachf-option:hover,
.wachf[data-wachf] .wachf-option:focus {
	border-color: var(--wachf-line-strong);
	background: var(--wachf-surface-hover);
	color: var(--wachf-text);
}

.wachf[data-wachf] .wachf-option:active {
	transform: scale(.99);
}

.wachf[data-wachf] .wachf-option.is-selected,
.wachf[data-wachf] .wachf-option.is-selected:hover,
.wachf[data-wachf] .wachf-option.is-selected:focus {
	border-color: var(--wachf-accent);
	background: var(--wachf-accent-soft);
	color: var(--wachf-text);
}

.wachf[data-wachf] .wachf-option__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.wachf[data-wachf] .wachf-option__label {
	display: block;
}

.wachf[data-wachf] .wachf-option__desc {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--wachf-muted);
}

.wachf[data-wachf] .wachf-option__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border: 1.5px solid var(--wachf-line);
	border-radius: 50%;
	color: transparent;
	transition: all .2s ease;
}

.wachf[data-wachf] .wachf-option__check svg {
	width: 16px;
	height: 16px;
}

.wachf[data-wachf] .wachf-option.is-selected .wachf-option__check {
	border-color: var(--wachf-accent);
	background: var(--wachf-accent);
	color: var(--wachf-on-accent);
}

/* Chips (layanan, skala) */
.wachf[data-wachf] .wachf-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.wachf[data-wachf] .wachf-field .wachf-chips {
	margin-top: 0;
}

.wachf[data-wachf] .wachf-chip {
	display: inline-flex;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 11px 18px;
	border: 1.5px solid var(--wachf-line);
	border-radius: 999px;
	background: var(--wachf-surface);
	color: var(--wachf-text);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, gap .2s ease;
	-webkit-tap-highlight-color: transparent;
}

.wachf[data-wachf] .wachf-chip:hover,
.wachf[data-wachf] .wachf-chip:focus {
	border-color: var(--wachf-line-strong);
	background: var(--wachf-surface-hover);
	color: var(--wachf-text);
}

.wachf[data-wachf] .wachf-chip.is-selected,
.wachf[data-wachf] .wachf-chip.is-selected:hover,
.wachf[data-wachf] .wachf-chip.is-selected:focus {
	gap: 8px;
	border-color: var(--wachf-accent);
	background: var(--wachf-accent-soft);
	color: var(--wachf-text);
}

.wachf[data-wachf] .wachf-chip__check {
	display: inline-flex;
	width: 0;
	height: 18px;
	overflow: hidden;
	color: var(--wachf-accent);
	transition: width .2s ease;
}

.wachf[data-wachf] .wachf-chip__check svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.wachf[data-wachf] .wachf-chip.is-selected .wachf-chip__check {
	width: 18px;
}

/* Fields */
.wachf[data-wachf] .wachf-field {
	margin-top: 22px;
}

.wachf[data-wachf] .wachf-step > .wachf-field:first-of-type {
	margin-top: 28px;
}

.wachf[data-wachf] .wachf-label {
	display: block;
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wachf-text);
}

.wachf[data-wachf] .wachf-optional {
	font-weight: 400;
	color: var(--wachf-faint);
}

.wachf[data-wachf] .wachf-input {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 16px;
	border: 1.5px solid var(--wachf-line);
	border-radius: 14px;
	background: var(--wachf-surface);
	color: var(--wachf-text);
	font-family: inherit;
	font-size: 16px; /* 16px stops iOS from zooming in on focus */
	line-height: 1.4;
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.wachf[data-wachf] textarea.wachf-input {
	min-height: 96px;
	resize: vertical;
}

.wachf[data-wachf] .wachf-input::placeholder {
	color: var(--wachf-faint);
	opacity: 1;
}

.wachf[data-wachf] .wachf-input:focus {
	outline: none;
	border-color: var(--wachf-accent);
	background: var(--wachf-surface);
	box-shadow: 0 0 0 3px var(--wachf-accent-soft);
	color: var(--wachf-text);
}

.wachf[data-wachf] .wachf-input[aria-invalid="true"] {
	border-color: var(--wachf-err);
}

.wachf[data-wachf] .wachf-err {
	margin: 8px 0 0;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--wachf-err);
}

.wachf[data-wachf] .wachf-note {
	margin: 20px 0 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--wachf-faint);
}

.wachf[data-wachf] .wachf-alert {
	margin: 20px 0 0;
	padding: 12px 14px;
	border: 1px solid var(--wachf-err);
	border-radius: 12px;
	background: var(--wachf-err-bg);
	font-size: 14px;
	line-height: 1.45;
	color: var(--wachf-err);
}

/* Navigation */
.wachf[data-wachf] .wachf-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 32px;
}

.wachf[data-wachf] .wachf-nav.is-first {
	justify-content: flex-end;
}

.wachf[data-wachf] .wachf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	margin: 0;
	padding: 14px 28px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, filter .2s ease, transform .1s ease;
	-webkit-tap-highlight-color: transparent;
}

.wachf[data-wachf] .wachf-btn:active {
	transform: scale(.98);
}

.wachf[data-wachf] .wachf-btn--primary,
.wachf[data-wachf] .wachf-btn--primary:hover,
.wachf[data-wachf] .wachf-btn--primary:focus,
.wachf[data-wachf] .wachf-btn--primary:visited {
	border-color: var(--wachf-accent);
	background: var(--wachf-accent);
	color: var(--wachf-on-accent);
	text-decoration: none;
}

.wachf[data-wachf] .wachf-btn--primary:hover {
	filter: brightness(1.08);
}

.wachf[data-wachf] .wachf-btn--primary:disabled {
	cursor: progress;
	opacity: .7;
}

.wachf[data-wachf] .wachf-btn--ghost {
	flex: 0 0 auto;
	white-space: nowrap;
}

.wachf[data-wachf] .wachf-btn--ghost,
.wachf[data-wachf] .wachf-btn--ghost:focus {
	border-color: var(--wachf-line);
	background: transparent;
	color: var(--wachf-text);
}

.wachf[data-wachf] .wachf-btn--ghost:hover {
	border-color: var(--wachf-line-strong);
	background: var(--wachf-surface-hover);
	color: var(--wachf-text);
}

.wachf[data-wachf] .wachf-btn__icon {
	display: inline-flex;
	width: 22px;
	height: 22px;
}

.wachf[data-wachf] .wachf-btn__icon svg {
	width: 22px;
	height: 22px;
}

.wachf[data-wachf] .wachf-option:focus-visible,
.wachf[data-wachf] .wachf-chip:focus-visible,
.wachf[data-wachf] .wachf-btn:focus-visible,
.wachf[data-wachf] .wachf-link:focus-visible {
	outline: 2px solid var(--wachf-accent);
	outline-offset: 3px;
}

/* Success */
.wachf[data-wachf] .wachf-card.is-done .wachf-progress {
	display: none;
}

.wachf[data-wachf] .wachf-success {
	padding: 12px 0 4px;
	text-align: center;
	animation: wachf-in .35s ease both;
}

.wachf[data-wachf] .wachf-success__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--wachf-accent);
	color: var(--wachf-on-accent);
}

.wachf[data-wachf] .wachf-success__icon svg {
	width: 34px;
	height: 34px;
}

.wachf[data-wachf] .wachf-success .wachf-title {
	margin-top: 22px;
}

.wachf[data-wachf] .wachf-success .wachf-sub {
	max-width: 460px;
	margin: 0 auto;
}

.wachf[data-wachf] .wachf-success .wachf-alert {
	max-width: 460px;
	margin: 18px auto 0;
	text-align: left;
}

.wachf[data-wachf] .wachf-btn--wa {
	margin-top: 28px;
	min-width: 240px;
}

.wachf[data-wachf] .wachf-link,
.wachf[data-wachf] .wachf-link:hover,
.wachf[data-wachf] .wachf-link:focus {
	display: block;
	margin: 18px auto 0;
	padding: 6px 10px;
	border: 0;
	background: none;
	color: var(--wachf-muted);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
}

/* Honeypot */
.wachf[data-wachf] .wachf-hp-wrap {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wachf[data-wachf] .wachf-noscript a {
	color: var(--wachf-accent);
}

/* Mobile */
@media (max-width: 600px) {
	.wachf[data-wachf] .wachf-card {
		padding: 28px 20px 24px;
		border-radius: 26px;
	}

	.wachf[data-wachf] .wachf-progress {
		gap: 8px;
	}

	.wachf[data-wachf] .wachf-seg__label {
		margin-top: 12px;
		font-size: 13px;
	}

	.wachf[data-wachf] .wachf-sub {
		font-size: 16px;
	}

	.wachf[data-wachf] .wachf-options {
		gap: 12px;
		margin-top: 24px;
	}

	.wachf[data-wachf] .wachf-option {
		min-height: 58px;
		padding: 14px 16px 14px 18px;
		border-radius: 16px;
		font-size: 16px;
	}

	.wachf[data-wachf] .wachf-option__desc {
		font-size: 13.5px;
	}

	.wachf[data-wachf] .wachf-chip {
		padding: 10px 15px;
		font-size: 14.5px;
	}

	.wachf[data-wachf] .wachf-nav {
		margin-top: 28px;
	}

	.wachf[data-wachf] .wachf-btn {
		min-height: 50px;
		padding: 13px 22px;
	}

	.wachf[data-wachf] .wachf-btn--primary {
		flex: 1 1 auto;
	}

	/* Last step: full-width submit on top, "Kembali" underneath. */
	.wachf[data-wachf] .wachf-nav.is-last {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 10px;
	}

	.wachf[data-wachf] .wachf-nav.is-last .wachf-btn {
		width: 100%;
	}

	.wachf[data-wachf] .wachf-btn--wa {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wachf[data-wachf] .wachf-step,
	.wachf[data-wachf] .wachf-success {
		animation: none;
	}

	.wachf[data-wachf] * {
		transition: none !important;
	}
}
