/**
 * Andaf Elementor Widgets — style frontend.
 * Semua nilai memakai custom property agar mudah ditimpa dari tema/kit Elementor.
 */

.elementor-widget-andaf-ocr-extractor,
.elementor-widget-andaf-hero-cta,
.elementor-widget-andaf-info-card,
.elementor-widget-andaf-stat-counter,
.elementor-widget-andaf-faq-accordion {
	--andaf-ink: #101820;
	--andaf-muted: #5c6a72;
	--andaf-surface: #ffffff;
	--andaf-accent: #0f6f5c;
	--andaf-accent-soft: #e6f2ee;
	--andaf-line: #e0e6e4;
	--andaf-radius: 14px;
	--andaf-speed: 220ms;
}

/* -----------------------------------------------------------------
 * Tombol bersama
 * ----------------------------------------------------------------- */
.andaf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color var(--andaf-speed) ease, color var(--andaf-speed) ease, transform var(--andaf-speed) ease;
}

.andaf-btn:focus-visible {
	outline: 2px solid var(--andaf-accent);
	outline-offset: 3px;
}

.andaf-btn--primary {
	background-color: var(--andaf-accent);
	color: #ffffff;
}

.andaf-btn--primary:hover,
.andaf-btn--primary:focus {
	background-color: var(--andaf-ink);
	color: #ffffff;
	transform: translateY(-1px);
}

.andaf-btn--ghost {
	background-color: transparent;
	border-color: var(--andaf-line);
	color: var(--andaf-ink);
}

.andaf-btn--ghost:hover,
.andaf-btn--ghost:focus {
	border-color: var(--andaf-accent);
	color: var(--andaf-accent);
}

/* -----------------------------------------------------------------
 * Hero CTA
 * ----------------------------------------------------------------- */
.andaf-hero {
	background-color: var(--andaf-surface);
	border-radius: var(--andaf-radius);
	color: var(--andaf-ink);
}

.andaf-hero__badge {
	display: inline-block;
	margin-bottom: 16px;
	padding: 6px 14px;
	border: 1px solid var(--andaf-accent);
	border-radius: 999px;
	color: var(--andaf-accent);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.andaf-hero__title {
	margin: 0 0 14px;
	font-size: clamp(28px, 4vw, 46px);
	line-height: 1.15;
}

.andaf-hero__desc {
	margin: 0;
	max-width: 60ch;
	color: var(--andaf-muted);
	font-size: 17px;
	line-height: 1.65;
}

.andaf-hero[style*="text-align: center"] .andaf-hero__desc,
.andaf-hero[style*="text-align:center"] .andaf-hero__desc {
	margin-inline: auto;
}

.andaf-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
	justify-content: inherit;
}

.andaf-hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.andaf-hero[style*="text-align: center"],
.andaf-hero[style*="text-align:center"] {
	align-items: center;
}

.andaf-hero[style*="text-align: right"],
.andaf-hero[style*="text-align:right"] {
	align-items: flex-end;
}

/* -----------------------------------------------------------------
 * Info Card
 * ----------------------------------------------------------------- */
.andaf-card {
	position: relative;
	display: flex;
	gap: 18px;
	background-color: var(--andaf-surface);
	border: 1px solid var(--andaf-line);
	border-radius: var(--andaf-radius);
	color: var(--andaf-ink);
	transition: transform var(--andaf-speed) ease, box-shadow var(--andaf-speed) ease, border-color var(--andaf-speed) ease;
	height: 100%;
}

.andaf-card--top {
	flex-direction: column;
	align-items: flex-start;
}

.andaf-card--left {
	flex-direction: row;
	align-items: flex-start;
}

.andaf-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2.2em;
	height: 2.2em;
	background-color: var(--andaf-accent-soft);
	border-radius: 12px;
	color: var(--andaf-accent);
	font-size: 26px;
}

.andaf-card__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.andaf-card__body {
	min-width: 0;
}

.andaf-card__title {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.3;
}

.andaf-card__desc {
	margin: 0;
	color: var(--andaf-muted);
	line-height: 1.65;
}

.andaf-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	color: var(--andaf-accent);
	font-weight: 600;
	text-decoration: none;
}

.andaf-card__arrow {
	transition: transform var(--andaf-speed) ease;
}

.andaf-card__link:hover .andaf-card__arrow {
	transform: translateX(4px);
}

.andaf-card--lift:hover {
	transform: translateY(-4px);
	border-color: var(--andaf-accent);
	box-shadow: 0 14px 30px rgba(16, 24, 32, 0.09);
}

/* Seluruh kartu dapat diklik: link diperluas memakai pseudo-element. */
.andaf-card--clickable .andaf-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

/* -----------------------------------------------------------------
 * Stat Counter
 * ----------------------------------------------------------------- */
.andaf-counter__number {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 2px;
	color: var(--andaf-ink);
	font-size: clamp(34px, 5vw, 52px);
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.andaf-counter[style*="text-align: left"] .andaf-counter__number,
.andaf-counter[style*="text-align:left"] .andaf-counter__number {
	justify-content: flex-start;
}

.andaf-counter[style*="text-align: right"] .andaf-counter__number,
.andaf-counter[style*="text-align:right"] .andaf-counter__number {
	justify-content: flex-end;
}

.andaf-counter__prefix,
.andaf-counter__suffix {
	color: var(--andaf-accent);
}

.andaf-counter__label {
	margin-top: 6px;
	color: var(--andaf-muted);
	font-size: 15px;
	letter-spacing: 0.02em;
}

/* -----------------------------------------------------------------
 * FAQ Accordion
 * ----------------------------------------------------------------- */
.andaf-faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.andaf-faq__item {
	background-color: var(--andaf-surface);
	border: 1px solid var(--andaf-line);
	border-radius: var(--andaf-radius);
	overflow: hidden;
	transition: border-color var(--andaf-speed) ease;
}

.andaf-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 18px 20px;
	background: none;
	border: 0;
	color: var(--andaf-ink);
	cursor: pointer;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	text-align: left;
	line-height: 1.4;
}

.andaf-faq__question:focus-visible {
	outline: 2px solid var(--andaf-accent);
	outline-offset: -2px;
}

.andaf-faq__toggle {
	position: relative;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--andaf-accent);
}

.andaf-faq__toggle::before,
.andaf-faq__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	background-color: currentColor;
	transform: translate(-50%, -50%);
	transition: transform var(--andaf-speed) ease, opacity var(--andaf-speed) ease;
}

.andaf-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.andaf-faq__item.is-open .andaf-faq__toggle::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(0deg);
}

.andaf-faq__panel {
	padding: 0 20px 18px;
}

.andaf-faq__panel[hidden] {
	display: none;
}

.andaf-faq__answer {
	color: var(--andaf-muted);
	line-height: 1.7;
}

.andaf-faq__answer > *:first-child {
	margin-top: 0;
}

.andaf-faq__answer > *:last-child {
	margin-bottom: 0;
}

/* -----------------------------------------------------------------
 * Responsif & aksesibilitas
 * ----------------------------------------------------------------- */
@media (max-width: 767px) {
	.andaf-card--left {
		flex-direction: column;
	}

	.andaf-hero__actions .andaf-btn {
		flex: 1 1 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.andaf-btn,
	.andaf-card,
	.andaf-card__arrow,
	.andaf-faq__item,
	.andaf-faq__toggle::before,
	.andaf-faq__toggle::after {
		transition: none;
	}
}


/* -----------------------------------------------------------------
 * OCR Extractor
 * ----------------------------------------------------------------- */
.andaf-ocr {
	background-color: var(--andaf-surface);
	border-radius: var(--andaf-radius);
	color: var(--andaf-ink);
}

.andaf-ocr__head {
	margin-bottom: 18px;
}

.andaf-ocr__title {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.3;
}

.andaf-ocr__subtitle {
	margin: 0;
	color: var(--andaf-muted);
	line-height: 1.6;
}

.andaf-ocr__dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 190px;
	padding: 24px;
	background-color: #fafcfb;
	border: 2px dashed var(--andaf-line);
	border-radius: 12px;
	cursor: pointer;
	text-align: center;
	transition: background-color var(--andaf-speed) ease, border-color var(--andaf-speed) ease;
}

.andaf-ocr__dropzone:focus-visible {
	outline: 2px solid var(--andaf-accent);
	outline-offset: 3px;
}

.andaf-ocr__dropzone.is-dragover {
	background-color: var(--andaf-accent-soft);
	border-color: var(--andaf-accent);
}

.andaf-ocr__dz-icon svg {
	width: 40px;
	height: 40px;
	color: var(--andaf-accent);
}

.andaf-ocr__dz-text {
	font-size: 17px;
	font-weight: 600;
}

.andaf-ocr__dz-hint {
	color: var(--andaf-muted);
	font-size: 13px;
}

.andaf-ocr__browse {
	margin-top: 8px;
	pointer-events: none;
}

.andaf-ocr__progress {
	margin-top: 16px;
}

.andaf-ocr__bar {
	height: 6px;
	background-color: var(--andaf-line);
	border-radius: 999px;
	overflow: hidden;
}

.andaf-ocr__bar span {
	display: block;
	width: 0;
	height: 100%;
	background-color: var(--andaf-accent);
	border-radius: inherit;
	transition: width 180ms linear;
}

.andaf-ocr__status {
	margin: 8px 0 0;
	color: var(--andaf-muted);
	font-size: 13px;
}

.andaf-ocr__status.is-error {
	color: #b32d2e;
}

.andaf-ocr__files {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.andaf-ocr__file {
	width: 92px;
	margin: 0;
}

.andaf-ocr__file img {
	display: block;
	width: 92px;
	height: 72px;
	border: 1px solid var(--andaf-line);
	border-radius: 8px;
	object-fit: cover;
}

.andaf-ocr__file figcaption {
	margin-top: 4px;
	color: var(--andaf-muted);
	font-size: 11px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.andaf-ocr__result {
	margin-top: 20px;
}

.andaf-ocr__result-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.andaf-ocr__result-title {
	margin: 0;
	font-size: 16px;
}

.andaf-ocr__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.andaf-ocr__actions .andaf-btn {
	padding: 8px 16px;
	font-size: 13px;
}

.andaf-ocr__text {
	max-height: 320px;
	padding: 16px;
	background-color: #f7faf9;
	border: 1px solid var(--andaf-line);
	border-radius: 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 14px;
	line-height: 1.7;
	overflow: auto;
	white-space: pre-wrap;
	word-break: break-word;
}

.andaf-ocr__text:focus-visible {
	outline: 2px solid var(--andaf-accent);
	outline-offset: 2px;
}

.andaf-ocr__data {
	margin-top: 14px;
}

.andaf-ocr__table-wrap {
	overflow-x: auto;
}

.andaf-ocr__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.andaf-ocr__table th,
.andaf-ocr__table td {
	padding: 10px 12px;
	border: 1px solid var(--andaf-line);
	vertical-align: top;
	word-break: break-word;
}

.andaf-ocr__table thead th {
	background-color: var(--andaf-accent-soft);
	color: var(--andaf-ink);
	font-weight: 600;
}

.andaf-ocr__nodata {
	margin: 0;
	color: var(--andaf-muted);
	font-size: 14px;
}

@media (max-width: 767px) {
	.andaf-ocr__actions {
		width: 100%;
	}

	.andaf-ocr__actions .andaf-btn {
		flex: 1 1 auto;
	}
}

/* -----------------------------------------------------------------
 * Widget dinamis
 * ----------------------------------------------------------------- */
.andaf-dyn__error {
	padding: 12px 14px;
	background: #fcf0f1;
	border: 1px solid #e6b3b4;
	border-radius: 8px;
	color: #b32d2e;
	font-size: 13px;
	line-height: 1.6;
}

/* -----------------------------------------------------------------
 * AI Translator
 * ----------------------------------------------------------------- */
.elementor-widget-andaf-ai-translator {
	--andaf-ink: #101820;
	--andaf-muted: #5c6a72;
	--andaf-surface: #ffffff;
	--andaf-accent: #0f6f5c;
	--andaf-accent-soft: #e6f2ee;
	--andaf-line: #e0e6e4;
	--andaf-radius: 14px;
	--andaf-speed: 220ms;
}

.andaf-tr {
	background-color: var(--andaf-surface);
	border-radius: var(--andaf-radius);
	color: var(--andaf-ink);
}

.andaf-tr__head { margin-bottom: 16px; }

.andaf-tr__title {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.3;
}

.andaf-tr__subtitle {
	margin: 0;
	color: var(--andaf-muted);
	line-height: 1.6;
}

.andaf-tr__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.andaf-tr__field { flex: 1 1 160px; }

.andaf-tr__select {
	width: 100%;
	padding: 10px 12px;
	background-color: #f7faf9;
	border: 1px solid var(--andaf-line);
	border-radius: 10px;
	color: inherit;
	font: inherit;
}

.andaf-tr__swap {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	background: var(--andaf-accent-soft);
	border: 0;
	border-radius: 50%;
	color: var(--andaf-accent);
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	transition: background-color var(--andaf-speed) ease;
}

.andaf-tr__swap:hover { background: var(--andaf-accent); color: #fff; }

.andaf-tr__panels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.andaf-tr__col { display: flex; flex-direction: column; gap: 6px; }

.andaf-tr__input,
.andaf-tr__output {
	min-height: 190px;
	padding: 14px;
	background-color: #f7faf9;
	border: 1px solid var(--andaf-line);
	border-radius: 12px;
	color: inherit;
	font: inherit;
	line-height: 1.7;
	white-space: pre-wrap;
	word-break: break-word;
}

.andaf-tr__input { resize: vertical; width: 100%; }

.andaf-tr__input:focus,
.andaf-tr__output:focus-visible {
	outline: 2px solid var(--andaf-accent);
	outline-offset: 2px;
}

.andaf-tr__output { overflow: auto; }

.andaf-tr__count {
	color: var(--andaf-muted);
	font-size: 12px;
	text-align: right;
}

.andaf-tr__count .andaf-btn { padding: 6px 14px; font-size: 12px; }

.andaf-tr__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
	flex-wrap: wrap;
}

.andaf-tr__status {
	margin: 0;
	color: var(--andaf-muted);
	font-size: 13px;
}

.andaf-tr__status.is-error { color: #b32d2e; }

.andaf-tr.is-busy .andaf-tr__go { opacity: 0.6; pointer-events: none; }

.andaf-tr.is-busy .andaf-tr__output::after {
	content: "…";
	color: var(--andaf-muted);
}

@media (max-width: 767px) {
	.andaf-tr__panels { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------
 * Animasi bersama
 * ----------------------------------------------------------------- */
.andaf-anim {
	--andaf-anim-duration: 600ms;
	--andaf-anim-delay: 0ms;
	--andaf-anim-easing: cubic-bezier(0.22, 1, 0.36, 1);
	--andaf-hover-speed: 250ms;
	--andaf-hover-color: #0f6f5c;
}

/* Keadaan awal hanya dipasang setelah JS siap, sehingga konten tetap
   terlihat bila JavaScript gagal dimuat. */
.andaf-anim--ready[data-andaf-anim] {
	opacity: 0;
	transition: opacity var(--andaf-anim-duration) var(--andaf-anim-easing) var(--andaf-anim-delay),
		transform var(--andaf-anim-duration) var(--andaf-anim-easing) var(--andaf-anim-delay),
		filter var(--andaf-anim-duration) var(--andaf-anim-easing) var(--andaf-anim-delay);
	will-change: opacity, transform;
}

.andaf-anim--ready[data-andaf-anim="fade-up"]    { transform: translateY(28px); }
.andaf-anim--ready[data-andaf-anim="fade-down"]  { transform: translateY(-28px); }
.andaf-anim--ready[data-andaf-anim="fade-left"]  { transform: translateX(-36px); }
.andaf-anim--ready[data-andaf-anim="fade-right"] { transform: translateX(36px); }
.andaf-anim--ready[data-andaf-anim="zoom-in"]    { transform: scale(0.9); }
.andaf-anim--ready[data-andaf-anim="zoom-out"]   { transform: scale(1.08); }
.andaf-anim--ready[data-andaf-anim="flip-up"]    { transform: perspective(800px) rotateX(24deg); transform-origin: bottom; }
.andaf-anim--ready[data-andaf-anim="blur-in"]    { filter: blur(10px); }

.andaf-anim--ready[data-andaf-anim].is-visible {
	opacity: 1;
	filter: none;
	transform: none;
}

/* Efek hover */
.andaf-anim[data-andaf-hover] {
	transition: transform var(--andaf-hover-speed) ease,
		box-shadow var(--andaf-hover-speed) ease,
		outline-color var(--andaf-hover-speed) ease;
}

.andaf-anim[data-andaf-hover="lift"]:hover   { transform: translateY(-6px); }
.andaf-anim[data-andaf-hover="grow"]:hover   { transform: scale(1.03); }
.andaf-anim[data-andaf-hover="shrink"]:hover { transform: scale(0.97); }
.andaf-anim[data-andaf-hover="tilt"]:hover   { transform: perspective(800px) rotate3d(1, 1, 0, 4deg); }

.andaf-anim[data-andaf-hover="glow"]:hover {
	box-shadow: 0 12px 34px color-mix(in srgb, var(--andaf-hover-color) 35%, transparent);
}

.andaf-anim[data-andaf-hover="border"] {
	outline: 2px solid transparent;
	outline-offset: 3px;
	border-radius: inherit;
}

.andaf-anim[data-andaf-hover="border"]:hover {
	outline-color: var(--andaf-hover-color);
}

.andaf-anim[data-andaf-hover="float"]:hover {
	animation: andaf-float 2s ease-in-out infinite;
}

@keyframes andaf-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
	.andaf-anim--ready[data-andaf-anim] {
		opacity: 1 !important;
		filter: none !important;
		transform: none !important;
		transition: none;
	}

	.andaf-anim[data-andaf-hover]:hover {
		animation: none;
		transform: none;
	}
}

/* -----------------------------------------------------------------
 * Price List
 * ----------------------------------------------------------------- */
.elementor-widget-andaf-price-list,
.elementor-widget-andaf-price-item,
.elementor-widget-andaf-comparison,
.elementor-widget-andaf-tier-item {
	--andaf-ink: #101820;
	--andaf-muted: #5c6a72;
	--andaf-surface: #ffffff;
	--andaf-accent: #0f6f5c;
	--andaf-accent-soft: #e6f2ee;
	--andaf-line: #e0e6e4;
	--andaf-radius: 14px;
	--andaf-speed: 220ms;
}

.andaf-pl { color: var(--andaf-ink); }

.andaf-pl__heading { margin: 0 0 20px; line-height: 1.3; }

.andaf-pl__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.andaf-pl__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

a.andaf-pl__item:hover .andaf-pl__name { color: var(--andaf-accent); }

.andaf-pl--divided .andaf-pl__item {
	padding-bottom: 18px;
	border-bottom: 1px solid var(--andaf-line);
}

.andaf-pl--divided .andaf-pl__item:last-child { border-bottom: 0; padding-bottom: 0; }

.andaf-pl__icon {
	flex: 0 0 auto;
	color: var(--andaf-accent);
	font-size: 20px;
	line-height: 1.4;
}

.andaf-pl__icon svg { width: 1em; height: 1em; fill: currentColor; }

.andaf-pl__body { flex: 1 1 auto; min-width: 0; }

.andaf-pl__row {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.andaf-pl__name {
	font-size: 17px;
	font-weight: 600;
	transition: color var(--andaf-speed) ease;
}

.andaf-pl__badge {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 10px;
	background-color: var(--andaf-accent-soft);
	border-radius: 999px;
	color: var(--andaf-accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	vertical-align: middle;
}

.andaf-pl__dots {
	flex: 1 1 auto;
	min-width: 20px;
	border-bottom: 2px dotted var(--andaf-line);
	transform: translateY(-4px);
}

.andaf-pl__price {
	flex: 0 0 auto;
	font-size: 17px;
	font-weight: 700;
	white-space: nowrap;
}

.andaf-pl__old {
	margin-right: 6px;
	color: var(--andaf-muted);
	font-size: 0.85em;
	font-weight: 400;
}

.andaf-pl__desc {
	margin: 4px 0 0;
	color: var(--andaf-muted);
	font-size: 14px;
	line-height: 1.6;
}

/* -----------------------------------------------------------------
 * Price Item
 * ----------------------------------------------------------------- */
.andaf-pi {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--andaf-surface);
	border: 1px solid var(--andaf-line);
	border-radius: var(--andaf-radius);
	color: var(--andaf-ink);
	text-align: center;
}

.andaf-pi--featured { border-width: 2px; border-color: var(--andaf-accent); }

.andaf-pi__ribbon {
	position: absolute;
	top: 0;
	left: 50%;
	padding: 4px 16px;
	background-color: var(--andaf-accent);
	border-radius: 0 0 10px 10px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	transform: translateX(-50%);
}

.andaf-pi__name { margin: 0 0 6px; font-size: 20px; line-height: 1.3; }

.andaf-pi__subtitle { margin: 0 0 18px; color: var(--andaf-muted); line-height: 1.6; }

.andaf-pi__price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.andaf-pi__old {
	width: 100%;
	color: var(--andaf-muted);
	font-size: 15px;
}

.andaf-pi__currency { color: var(--andaf-accent); font-size: 20px; font-weight: 600; }

.andaf-pi__amount {
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.andaf-pi__period { color: var(--andaf-muted); font-size: 15px; }

.andaf-pi__note { margin: 0 0 18px; color: var(--andaf-muted); font-size: 13px; }

.andaf-pi__features {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	text-align: left;
}

.andaf-pi__feature {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.6;
}

.andaf-pi__mark { flex: 0 0 auto; font-weight: 700; }

.andaf-pi__feature--included .andaf-pi__mark { color: var(--andaf-accent); }
.andaf-pi__feature--excluded { color: var(--andaf-muted); }
.andaf-pi__feature--excluded .andaf-pi__mark { color: #b32d2e; }
.andaf-pi__feature--partial .andaf-pi__mark { color: #b8860b; }

.andaf-pi__cta { margin-top: auto; }

/* -----------------------------------------------------------------
 * Comparison
 * ----------------------------------------------------------------- */
.andaf-cmp { color: var(--andaf-ink); }

.andaf-cmp__heading { margin: 0 0 18px; line-height: 1.3; }

.andaf-cmp__wrap { overflow-x: auto; }

.andaf-cmp__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.andaf-cmp__table th,
.andaf-cmp__table td {
	padding: 14px 16px;
	border: 1px solid var(--andaf-line);
	vertical-align: middle;
}

.andaf-cmp__table thead th {
	background-color: var(--andaf-accent-soft);
	text-align: center;
}

.andaf-cmp__plan { display: block; font-size: 16px; font-weight: 700; }

.andaf-cmp__price { display: block; margin-top: 2px; color: var(--andaf-muted); font-size: 13px; font-weight: 400; }

.andaf-cmp__feature { font-weight: 600; text-align: left; }

.andaf-cmp__note { display: block; margin-top: 2px; color: var(--andaf-muted); font-size: 12px; font-weight: 400; }

.andaf-cmp__table tbody td { text-align: center; }

.andaf-cmp__yes { color: var(--andaf-accent); font-size: 18px; font-weight: 700; }
.andaf-cmp__no  { color: #c0c7c4; font-size: 18px; }

.andaf-cmp__col--highlight { background-color: rgba(15, 111, 92, 0.06); }

.andaf-cmp--hover tbody tr { transition: background-color var(--andaf-speed) ease; }
.andaf-cmp--hover tbody tr:hover { background-color: var(--andaf-accent-soft); }

.andaf-cmp--sticky .andaf-cmp__feature,
.andaf-cmp--sticky .andaf-cmp__feature-head {
	position: sticky;
	left: 0;
	z-index: 1;
	background-color: var(--andaf-surface);
}

.andaf-cmp--sticky .andaf-cmp__feature-head { background-color: var(--andaf-accent-soft); }

/* -----------------------------------------------------------------
 * Tier Item
 * ----------------------------------------------------------------- */
.andaf-tier {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--andaf-surface);
	border: 1px solid var(--andaf-line);
	border-radius: var(--andaf-radius);
	color: var(--andaf-ink);
}

.andaf-tier__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	width: 2.2em;
	height: 2.2em;
	margin-bottom: 14px;
	background-color: var(--andaf-accent-soft);
	border-radius: 12px;
	color: var(--andaf-accent);
	font-size: 26px;
}

.andaf-tier__badge svg { width: 1em; height: 1em; fill: currentColor; }

.andaf-tier__name { margin: 0 0 4px; font-size: 20px; line-height: 1.3; }

.andaf-tier__range { margin: 0 0 10px; color: var(--andaf-accent); font-size: 14px; font-weight: 600; }

.andaf-tier__desc { margin: 0 0 16px; color: var(--andaf-muted); line-height: 1.65; }

.andaf-tier__progress { margin-bottom: 16px; }

.andaf-tier__bar {
	height: 8px;
	background-color: var(--andaf-line);
	border-radius: 999px;
	overflow: hidden;
}

.andaf-tier__bar span {
	display: block;
	width: 0;
	height: 100%;
	background-color: var(--andaf-accent);
	border-radius: inherit;
	transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.andaf-tier__progress-label { margin: 6px 0 0; color: var(--andaf-muted); font-size: 13px; }

.andaf-tier__benefits {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.andaf-tier__benefit {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.6;
}

.andaf-tier__benefit-icon { flex: 0 0 auto; color: var(--andaf-accent); font-weight: 700; }

.andaf-tier__benefit-icon svg { width: 1em; height: 1em; fill: currentColor; }

.andaf-tier__cta { margin-top: auto; align-self: flex-start; }

@media (max-width: 767px) {
	.andaf-pl__row { flex-wrap: wrap; }
	.andaf-pl__dots { display: none; }
	.andaf-cmp__table { font-size: 14px; }
}

/* -----------------------------------------------------------------
 * Testimoni & Video — variabel bersama
 * ----------------------------------------------------------------- */
.elementor-widget-andaf-quote-testimonial,
.elementor-widget-andaf-video-testimonial,
.elementor-widget-andaf-testimonial-slider,
.elementor-widget-andaf-video-carousel {
	--andaf-ink: #101820;
	--andaf-muted: #5c6a72;
	--andaf-surface: #ffffff;
	--andaf-accent: #0f6f5c;
	--andaf-accent-soft: #e6f2ee;
	--andaf-line: #e0e6e4;
	--andaf-radius: 14px;
	--andaf-speed: 220ms;
}

/* -----------------------------------------------------------------
 * Rating bintang (dipakai tiga widget testimoni)
 * ----------------------------------------------------------------- */
.andaf-stars {
	display: inline-flex;
	gap: 3px;
	margin: 6px 0;
}

.andaf-star {
	width: 16px;
	height: 16px;
}

.andaf-star.is-filled { fill: #f0ad4e; }
.andaf-star.is-empty { fill: #d8dedc; }

/* -----------------------------------------------------------------
 * Rasio aspek video (dipakai video testimonial & carousel)
 * ----------------------------------------------------------------- */
.andaf-ratio {
	position: relative;
	overflow: hidden;
	background-color: #0b1210;
	cursor: pointer;
}

.andaf-ratio--16-9 { aspect-ratio: 16 / 9; }
.andaf-ratio--4-3  { aspect-ratio: 4 / 3; }
.andaf-ratio--1-1  { aspect-ratio: 1 / 1; }
.andaf-ratio--9-16 { aspect-ratio: 9 / 16; }

.andaf-ratio.is-playing { cursor: default; }

.andaf-video-player,
.andaf-ratio .andaf-vt__poster,
.andaf-ratio .andaf-vc__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

/* -----------------------------------------------------------------
 * Quote Testimonial
 * ----------------------------------------------------------------- */
.andaf-qt {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 30px;
	background-color: var(--andaf-surface);
	border: 1px solid var(--andaf-line);
	border-radius: var(--andaf-radius);
	color: var(--andaf-ink);
	text-align: center;
}

.andaf-qt--left,
.andaf-qt--right {
	flex-direction: row;
	align-items: flex-start;
	text-align: left;
}

.andaf-qt--right { flex-direction: row-reverse; text-align: right; }

.andaf-qt__avatar {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	margin-bottom: 14px;
	border-radius: 50%;
	object-fit: cover;
}

.andaf-qt--left .andaf-qt__avatar,
.andaf-qt--right .andaf-qt__avatar { margin-bottom: 0; }

.andaf-qt__body { min-width: 0; }

.andaf-qt__mark {
	display: block;
	margin-bottom: 6px;
	color: var(--andaf-accent);
	font-size: 32px;
	font-style: italic;
	line-height: 1;
}

.andaf-qt__text {
	margin: 0 0 12px;
	font-size: 17px;
	line-height: 1.7;
}

.andaf-qt__profile {
	display: flex;
	flex-direction: column;
	margin-top: 8px;
}

.andaf-qt__name { font-weight: 700; }

.andaf-qt__role { color: var(--andaf-muted); font-size: 13px; }

/* -----------------------------------------------------------------
 * Video Testimonial
 * ----------------------------------------------------------------- */
.andaf-vt {
	display: flex;
	flex-direction: column;
	gap: 24px;
	color: var(--andaf-ink);
}

.andaf-vt--left,
.andaf-vt--right {
	flex-direction: row;
	align-items: center;
}

.andaf-vt--right { flex-direction: row-reverse; }

.andaf-vt--left .andaf-vt__frame,
.andaf-vt--right .andaf-vt__frame,
.andaf-vt--left .andaf-vt__body,
.andaf-vt--right .andaf-vt__body {
	flex: 1 1 50%;
	min-width: 0;
}

.andaf-vt__frame { border-radius: 14px; }

.andaf-vt__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	background-color: rgba(255, 255, 255, 0.92);
	border: 0;
	border-radius: 50%;
	color: var(--andaf-accent);
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: transform var(--andaf-speed) ease, background-color var(--andaf-speed) ease;
}

.andaf-vt__play svg { width: 40%; height: 40%; margin-left: 3px; }

.andaf-vt__play:hover { transform: translate(-50%, -50%) scale(1.08); }

.andaf-ratio.is-playing .andaf-vt__play { display: none; }

.andaf-vt__quote {
	margin: 0 0 8px;
	font-size: 17px;
	font-style: italic;
	line-height: 1.7;
}

.andaf-vt__profile { display: flex; flex-direction: column; margin-top: 8px; }

.andaf-vt__name { font-weight: 700; }

.andaf-vt__role { color: var(--andaf-muted); font-size: 13px; }

/* -----------------------------------------------------------------
 * Carousel bersama (Testimoni Slider & Video Carousel)
 * ----------------------------------------------------------------- */
.andaf-car {
	position: relative;
	padding: 0 4px;
}

.andaf-car__viewport { overflow: hidden; }

.andaf-car__track {
	display: flex;
	gap: 20px;
	touch-action: pan-y;
	transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.andaf-car__slide { min-width: 0; }

.andaf-car__arrow {
	position: absolute;
	top: 40%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: var(--andaf-surface);
	border: 1px solid var(--andaf-line);
	border-radius: 50%;
	color: var(--andaf-ink);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color var(--andaf-speed) ease, opacity var(--andaf-speed) ease;
}

.andaf-car__arrow svg { width: 18px; height: 18px; }

.andaf-car__arrow--prev { left: -6px; }
.andaf-car__arrow--next { right: -6px; }

.andaf-car__arrow:hover { background-color: var(--andaf-accent-soft); }

.andaf-car__arrow:disabled { opacity: 0.35; cursor: default; }

.andaf-car__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}

.andaf-car__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	background-color: var(--andaf-line);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color var(--andaf-speed) ease, transform var(--andaf-speed) ease;
}

.andaf-car__dot.is-active {
	background-color: var(--andaf-accent);
	transform: scale(1.25);
}

/* Kartu testimoni di dalam slider */
.andaf-ts-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	padding: 26px;
	background-color: var(--andaf-surface);
	border: 1px solid var(--andaf-line);
	border-radius: var(--andaf-radius);
	color: var(--andaf-ink);
}

.andaf-ts-card__avatar {
	width: 48px;
	height: 48px;
	margin-bottom: 12px;
	border-radius: 50%;
	object-fit: cover;
}

.andaf-ts-card__quote {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.7;
}

.andaf-ts-card__profile { display: flex; flex-direction: column; margin-top: auto; padding-top: 10px; }

.andaf-ts-card__name { font-weight: 700; }

.andaf-ts-card__role { color: var(--andaf-muted); font-size: 13px; }

/* Kartu video di dalam carousel */
.andaf-vc__frame { border-radius: 12px; }

.andaf-vc__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background-color: rgba(255, 255, 255, 0.92);
	border: 0;
	border-radius: 50%;
	color: var(--andaf-accent);
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: transform var(--andaf-speed) ease;
}

.andaf-vc__play svg { width: 40%; height: 40%; margin-left: 2px; }

.andaf-vc__play:hover { transform: translate(-50%, -50%) scale(1.08); }

.andaf-ratio.is-playing .andaf-vc__play { display: none; }

.andaf-vc__title { margin: 12px 0 2px; font-size: 16px; line-height: 1.4; }

.andaf-vc__caption { margin: 0; color: var(--andaf-muted); font-size: 13px; }

@media (max-width: 767px) {
	.andaf-qt--left,
	.andaf-qt--right { flex-direction: column; align-items: center; text-align: center; }

	.andaf-vt--left,
	.andaf-vt--right { flex-direction: column; }

	.andaf-car__arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.andaf-car__track { transition: none; }
}

/* -----------------------------------------------------------------
 * Testimonial Grid & Logo Carousel
 * ----------------------------------------------------------------- */
.elementor-widget-andaf-testimonial-grid,
.elementor-widget-andaf-logo-carousel {
	--andaf-ink: #101820;
	--andaf-muted: #5c6a72;
	--andaf-surface: #ffffff;
	--andaf-accent: #0f6f5c;
	--andaf-accent-soft: #e6f2ee;
	--andaf-line: #e0e6e4;
	--andaf-radius: 14px;
	--andaf-speed: 220ms;
}

.andaf-tg {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.andaf-tg-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	padding: 26px;
	background-color: var(--andaf-surface);
	border: 1px solid var(--andaf-line);
	border-radius: var(--andaf-radius);
	color: var(--andaf-ink);
}

.andaf-tg-card__avatar {
	width: 48px;
	height: 48px;
	margin-bottom: 12px;
	border-radius: 50%;
	object-fit: cover;
}

.andaf-tg-card__quote {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.7;
}

.andaf-tg-card__profile { display: flex; flex-direction: column; margin-top: auto; padding-top: 10px; }

.andaf-tg-card__name { font-weight: 700; }

.andaf-tg-card__role { color: var(--andaf-muted); font-size: 13px; }

/* Logo carousel */
.andaf-lc__link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.andaf-lc__img {
	height: 44px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	transition: opacity var(--andaf-speed) ease, filter var(--andaf-speed) ease;
}

.andaf-lc--grayscale .andaf-lc__img { filter: grayscale(100%); }

.andaf-lc--grayscale .andaf-car__slide:hover .andaf-lc__img {
	filter: grayscale(0%);
	opacity: 1 !important;
}

@media (max-width: 767px) {
	.andaf-tg { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
	.andaf-tg { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------
 * CTA Penutup
 * ----------------------------------------------------------------- */
.elementor-widget-andaf-cta-bottom {
	--andaf-ink: #101820;
	--andaf-muted: #5c6a72;
	--andaf-surface: #ffffff;
	--andaf-accent: #0f6f5c;
	--andaf-accent-soft: #e6f2ee;
	--andaf-line: #e0e6e4;
	--andaf-radius: 16px;
	--andaf-speed: 220ms;
}

.andaf-cta {
	position: relative;
	overflow: hidden;
	background-color: var(--andaf-accent-soft);
	border-radius: var(--andaf-radius);
	color: var(--andaf-ink);
}

.andaf-cta__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0;
}

.andaf-cta__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	padding: 56px 40px;
}

.andaf-cta--split .andaf-cta__inner {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	text-align: left;
}

.andaf-cta--split .andaf-cta__body { flex: 1 1 auto; min-width: 0; }

.andaf-cta__body { text-align: center; }

.andaf-cta--split .andaf-cta__body { text-align: left; }

.andaf-cta__eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 14px;
	background-color: var(--andaf-surface);
	border-radius: 999px;
	color: var(--andaf-accent);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.andaf-cta__title {
	margin: 0 0 10px;
	font-size: clamp(24px, 3.4vw, 38px);
	line-height: 1.2;
}

.andaf-cta__desc {
	margin: 0;
	max-width: 60ch;
	color: var(--andaf-muted);
	font-size: 16px;
	line-height: 1.65;
}

.andaf-cta__body { display: flex; flex-direction: column; align-items: center; }

.andaf-cta--split .andaf-cta__body { align-items: flex-start; }

.andaf-cta__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	justify-content: center;
}

.andaf-cta--split .andaf-cta__trust { justify-content: flex-start; }

.andaf-cta__trust-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--andaf-ink);
	font-size: 14px;
}

.andaf-cta__trust-icon {
	display: inline-flex;
	align-items: center;
	color: var(--andaf-accent);
	font-weight: 700;
}

.andaf-cta__trust-icon svg { width: 1em; height: 1em; fill: currentColor; }

.andaf-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	flex: 0 0 auto;
	justify-content: center;
}

.andaf-cta__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 28px;
	height: 28px;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--andaf-muted);
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
}

.andaf-cta__close:hover { color: var(--andaf-ink); }

/* Mode tempel di bawah layar */
.andaf-cta--sticky {
	position: fixed;
	left: 50%;
	bottom: 16px;
	z-index: 9990;
	width: min(1100px, calc(100vw - 32px));
	transform: translate(-50%, 140%);
	box-shadow: 0 18px 40px rgba(16, 24, 32, 0.18);
	transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1), opacity 380ms ease;
	opacity: 0;
	pointer-events: none;
}

.andaf-cta--sticky.is-visible {
	transform: translate(-50%, 0);
	opacity: 1;
	pointer-events: auto;
}

.andaf-cta--sticky .andaf-cta__inner { padding: 20px 26px; }

.andaf-cta--sticky .andaf-cta__title { font-size: clamp(18px, 2vw, 24px); margin-bottom: 4px; }

.andaf-cta--sticky .andaf-cta__desc { font-size: 14px; }

.andaf-cta--sticky .andaf-cta__trust { display: none; }

@media (max-width: 767px) {
	.andaf-cta--split .andaf-cta__inner { flex-direction: column; align-items: center; }
	.andaf-cta--split .andaf-cta__body { text-align: center; align-items: center; }
	.andaf-cta--split .andaf-cta__trust { justify-content: center; }
	.andaf-cta__actions { width: 100%; }
	.andaf-cta__actions .andaf-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	.andaf-cta--sticky { transition: none; }
}

/* -----------------------------------------------------------------
 * Template desain (preset)
 *
 * Preset bekerja dengan menimpa CSS custom property. Karena variabel
 * mewaris, mendefinisikannya di pembungkus preset otomatis mengubah
 * seluruh isi widget di dalamnya.
 * ----------------------------------------------------------------- */
.andaf-preset { display: block; }

.andaf-preset--minimal {
	--andaf-ink: #16181d;
	--andaf-muted: #6b7280;
	--andaf-surface: #ffffff;
	--andaf-accent: #16181d;
	--andaf-accent-soft: #f4f5f6;
	--andaf-line: #e6e8ea;
	--andaf-radius: 4px;
}

.andaf-preset--soft {
	--andaf-ink: #2a2440;
	--andaf-muted: #7a7391;
	--andaf-surface: #ffffff;
	--andaf-accent: #7c6bd6;
	--andaf-accent-soft: #f0edfb;
	--andaf-line: #e9e5f5;
	--andaf-radius: 22px;
}

.andaf-preset--bold {
	--andaf-ink: #0a0a0a;
	--andaf-muted: #3d3d3d;
	--andaf-surface: #ffffff;
	--andaf-accent: #e8452c;
	--andaf-accent-soft: #ffe8e4;
	--andaf-line: #0a0a0a;
	--andaf-radius: 2px;
}

.andaf-preset--dark {
	--andaf-ink: #f2f5f4;
	--andaf-muted: #a3b0ad;
	--andaf-surface: #171d1c;
	--andaf-accent: #3ddc97;
	--andaf-accent-soft: #22302c;
	--andaf-line: #2c3735;
	--andaf-radius: 12px;
}

.andaf-preset--outline {
	--andaf-ink: #101820;
	--andaf-muted: #5c6a72;
	--andaf-surface: transparent;
	--andaf-accent: #0f6f5c;
	--andaf-accent-soft: transparent;
	--andaf-line: #101820;
	--andaf-radius: 8px;
}

.andaf-preset--warm {
	--andaf-ink: #2e1c14;
	--andaf-muted: #7d6455;
	--andaf-surface: #fffaf6;
	--andaf-accent: #c05621;
	--andaf-accent-soft: #fbe9dd;
	--andaf-line: #efdccf;
	--andaf-radius: 14px;
}

.andaf-preset--ocean {
	--andaf-ink: #0d2438;
	--andaf-muted: #5a7a91;
	--andaf-surface: #f7fbfd;
	--andaf-accent: #1d7fb8;
	--andaf-accent-soft: #e2f1f9;
	--andaf-line: #d5e6ef;
	--andaf-radius: 14px;
}

.andaf-preset--elegant {
	--andaf-ink: #211f1a;
	--andaf-muted: #7a7368;
	--andaf-surface: #fdfcf9;
	--andaf-accent: #a8894c;
	--andaf-accent-soft: #f5efe3;
	--andaf-line: #e7dfcf;
	--andaf-radius: 6px;
}

/* Penyesuaian kecil khas tiap template yang tidak bisa diwakili variabel. */
.andaf-preset--bold .andaf-card,
.andaf-preset--bold .andaf-pi,
.andaf-preset--bold .andaf-tier,
.andaf-preset--bold .andaf-qt,
.andaf-preset--bold .andaf-ts-card,
.andaf-preset--bold .andaf-tg-card,
.andaf-preset--bold .andaf-cta {
	border-width: 2px;
}

.andaf-preset--outline .andaf-card,
.andaf-preset--outline .andaf-pi,
.andaf-preset--outline .andaf-tier,
.andaf-preset--outline .andaf-qt,
.andaf-preset--outline .andaf-ts-card,
.andaf-preset--outline .andaf-tg-card,
.andaf-preset--outline .andaf-cta {
	background-color: transparent;
	box-shadow: none;
}

.andaf-preset--soft .andaf-card,
.andaf-preset--soft .andaf-pi,
.andaf-preset--soft .andaf-tier,
.andaf-preset--soft .andaf-qt,
.andaf-preset--soft .andaf-ts-card,
.andaf-preset--soft .andaf-tg-card {
	border-color: transparent;
	box-shadow: 0 10px 30px rgba(42, 36, 64, 0.08);
}

.andaf-preset--dark .andaf-btn--primary { color: #0d1413; }

.andaf-preset--dark .andaf-star.is-empty { fill: #3a4744; }

.andaf-preset--dark .andaf-tr__select,
.andaf-preset--dark .andaf-tr__input,
.andaf-preset--dark .andaf-tr__output,
.andaf-preset--dark .andaf-ocr__text,
.andaf-preset--dark .andaf-ocr__dropzone {
	background-color: var(--andaf-accent-soft);
	color: var(--andaf-ink);
}

/* -----------------------------------------------------------------
 * Translator: unggah dokumen EPUB & PDF
 * ----------------------------------------------------------------- */
.andaf-tr__doc { margin-bottom: 14px; }

.andaf-tr__dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 20px;
	background-color: #f7faf9;
	border: 2px dashed var(--andaf-line);
	border-radius: 12px;
	cursor: pointer;
	text-align: center;
	transition: background-color var(--andaf-speed) ease, border-color var(--andaf-speed) ease;
}

.andaf-tr__dropzone:focus-visible {
	outline: 2px solid var(--andaf-accent);
	outline-offset: 3px;
}

.andaf-tr__dropzone.is-dragover {
	background-color: var(--andaf-accent-soft);
	border-color: var(--andaf-accent);
}

.andaf-tr__doc-icon {
	width: 28px;
	height: 28px;
	color: var(--andaf-accent);
}

.andaf-tr__doc-text { font-weight: 600; }

.andaf-tr__doc-hint { color: var(--andaf-muted); font-size: 13px; }

.andaf-tr__doc-progress {
	margin-top: 12px;
	padding: 12px 14px;
	background-color: var(--andaf-surface);
	border: 1px solid var(--andaf-line);
	border-radius: 12px;
}

.andaf-tr__doc-meta {
	margin-bottom: 8px;
	color: var(--andaf-muted);
	font-size: 13px;
	word-break: break-word;
}

.andaf-tr__doc-bar {
	height: 6px;
	background-color: var(--andaf-line);
	border-radius: 999px;
	overflow: hidden;
}

.andaf-tr__doc-bar span {
	display: block;
	width: 0;
	height: 100%;
	background-color: var(--andaf-accent);
	border-radius: inherit;
	transition: width 250ms ease;
}

.andaf-tr__doc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.andaf-tr__doc-actions .andaf-btn { padding: 6px 14px; font-size: 13px; }
