/**
 * Checkout Modal Stylesheet (Design System bliajae)
 * Sesuai dengan spesifikasi docs/contoh-1-produk.html s.d. contoh-4-produk.html
 *
 * @package Bliajae\Booking
 */

:root {
	--bliajae-accent: #8C7EFF;
	--bliajae-accent-soft: #F1EFFF;
	--bliajae-text: #1D1D1F;
	--bliajae-muted: #8A8A93;
	--bliajae-border: #E8E8ED;
	--bliajae-surface: #FFFFFF;
	--bliajae-surface-soft: #F7F7F9;
	--bliajae-success: #34A853;
	--bliajae-radius-popup: 24px;
	--bliajae-radius-card: 16px;
	--bliajae-radius-input: 12px;
	--bliajae-radius-button: 999px;
	--bliajae-popup-width: 560px;
	--bliajae-popup-height: 720px;
}

.bliajae-root {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	padding: 20px;
	box-sizing: border-box;
}

.bliajae-checkout-popup {
	position: relative;
	width: 100%;
	max-width: var(--bliajae-popup-width, 560px);
	height: var(--bliajae-popup-height, 720px);
	min-height: 620px;
	max-height: min(760px, 92vh);
	background: #FFFFFF;
	border-radius: var(--bliajae-radius-popup, 24px);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
	display: grid !important;
	grid-template-rows: auto 1fr auto !important;
	overflow: hidden;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--bliajae-text);
}

/* Close Button (32x32px circular, top: 10px, right: 10px) */
.bliajae-close-btn {
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	background: #F1F1F3 !important;
	border: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	z-index: 10 !important;
	padding: 0 !important;
	transition: background 0.15s ease, transform 0.15s ease;
}

.bliajae-close-btn:hover {
	background: #E5E5EA !important;
	transform: scale(1.05);
}

.bliajae-close-icon {
	width: 14px;
	height: 14px;
	stroke: #1D1D1F;
	stroke-width: 2;
	stroke-linecap: round;
	fill: none;
}

/* Row 1: Header with Step Navigation */
.bliajae-popup-header {
	padding: 16px 52px 14px 20px;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--bliajae-border);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.bliajae-step-navigation {
	width: 100%;
	max-width: 400px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
}

.bliajae-step,
.bliajae-checkout-popup .bliajae-progress-step,
.bliajae-step-navigation .bliajae-progress-step {
	min-width: 0;
	text-align: center;
	display: block !important;
	border: none !important;
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	min-height: 0 !important;
}

.bliajae-step-button {
	width: 100%;
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 4px !important;
	cursor: pointer;
	outline: none;
}

.bliajae-step-number {
	width: 26px !important;
	height: 26px !important;
	border-radius: 50% !important;
	background: #F0F0F3 !important;
	color: #888892 !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: 0.15s ease !important;
	border: none !important;
}

.bliajae-step-label {
	font-size: 10px !important;
	font-weight: 500 !important;
	color: var(--bliajae-muted) !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-width: 100% !important;
}

.bliajae-step.active .bliajae-step-number {
	background: var(--bliajae-accent) !important;
	color: #FFFFFF !important;
	box-shadow: 0 4px 12px rgba(140, 126, 255, 0.28) !important;
}

.bliajae-step.active .bliajae-step-label {
	color: var(--bliajae-text) !important;
	font-weight: 600 !important;
}

.bliajae-step.completed .bliajae-step-number {
	background: var(--bliajae-accent-soft) !important;
	color: var(--bliajae-accent) !important;
}

/* Row 2: Scrollable Content Body */
.bliajae-popup-content {
	overflow-y: auto !important;
	padding: 20px 22px 18px;
	box-sizing: border-box;
}

/* Row 3: 2-Sided Footer Actions */
.bliajae-popup-footer {
	padding: 12px 22px 16px;
	background: #FFFFFF;
	border-top: 1px solid var(--bliajae-border);
}

.bliajae-footer-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.bliajae-footer-left,
.bliajae-footer-right {
	display: flex;
	align-items: center;
}

.bliajae-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 22px;
	border-radius: var(--bliajae-radius-button);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
	user-select: none;
}

.bliajae-button-secondary {
	background: #F1F1F3;
	color: #1D1D1F;
}

.bliajae-button-secondary:hover {
	background: #E5E5EA;
}

.bliajae-button-secondary.bliajae-disabled,
.bliajae-button-secondary:disabled {
	opacity: 0.4 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.bliajae-button-primary {
	background: var(--bliajae-accent, #8C7EFF);
	color: #FFFFFF;
	border: 1px solid transparent;
	box-shadow: 0 4px 14px rgba(140, 126, 255, 0.35);
	transition: all 0.2s ease, backdrop-filter 0.2s ease, -webkit-backdrop-filter 0.2s ease;
}

.bliajae-button-primary:hover {
	background: rgba(140, 126, 255, 0.08);
	color: var(--bliajae-accent, #8C7EFF);
	border: 1px solid var(--bliajae-accent, #8C7EFF);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(140, 126, 255, 0.2);
}

.bliajae-voucher-button,
.bliajae-btn-apply-voucher {
	background: var(--bliajae-accent, #8C7EFF);
	color: #FFFFFF;
	border: 1px solid transparent;
	border-radius: var(--bliajae-radius-button, 999px);
	padding: 0 16px;
	height: 36px;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease, backdrop-filter 0.2s ease, -webkit-backdrop-filter 0.2s ease;
}

.bliajae-voucher-button:hover,
.bliajae-btn-apply-voucher:hover {
	background: rgba(140, 126, 255, 0.08);
	color: var(--bliajae-accent, #8C7EFF);
	border: 1px solid var(--bliajae-accent, #8C7EFF);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transform: translateY(-1px);
}

.bliajae-spinner,
.bliajae-spinner {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #FFFFFF;
	border-radius: 50%;
	animation: bliajae-spin 0.65s linear infinite;
	margin-right: 6px;
	vertical-align: -2px;
	box-sizing: border-box;
}

@keyframes bliajae-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Step 1: Product Card */
.bliajae-product-card {
	background: #FFFFFF;
	border: 1px solid var(--bliajae-border);
	border-radius: var(--bliajae-radius-card);
	padding: 18px 18px 14px;
	margin-bottom: 14px;
}

.bliajae-product-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.bliajae-product-info {
	flex: 1;
}

.bliajae-product-name {
	font-size: 17px;
	font-weight: 700;
	color: var(--bliajae-text);
	margin: 0;
	line-height: 1.3;
}

.bliajae-product-price {
	text-align: right;
	flex-shrink: 0;
}

.bliajae-price-label {
	display: block;
	font-size: 10px;
	color: var(--bliajae-muted);
}

.bliajae-price-value {
	font-size: 15px;
	font-weight: 700;
	color: var(--bliajae-text);
}

/* Eyebrow & Description */
.bliajae-eyebrow {
	display: block;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--bliajae-accent, #8C7EFF);
	margin-bottom: 4px;
}

.bliajae-product-description {
	font-size: 11px;
	color: var(--bliajae-muted, #8A8A93);
	margin: 4px 0 0 0;
	line-height: 1.4;
}

/* Variant & Addon Sections inside Product Card */
.bliajae-variant-section,
.bliajae-addon-section,
.bliajae-includes-section,
.bliajae-option-group-section {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #F0F0F2;
}

.bliajae-variant-header,
.bliajae-addon-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.bliajae-variant-title,
.bliajae-addon-title {
	font-size: 12px;
	font-weight: 650;
	color: var(--bliajae-text, #1D1D1F);
}

.bliajae-variant-hint,
.bliajae-addon-hint {
	font-size: 10px;
	color: var(--bliajae-muted, #8A8A93);
}

.bliajae-variant-list,
.bliajae-addon-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Variant Option (Radio Card) */
.bliajae-variant-option {
	position: relative;
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1.5px solid var(--bliajae-border, #E8E8ED);
	border-radius: 12px;
	background: #FAFAFB;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.bliajae-variant-option:hover {
	border-color: #D8D4FF;
	background: #FCFBFF;
}

.bliajae-variant-option.is-selected {
	border-color: var(--bliajae-accent, #8C7EFF) !important;
	background: var(--bliajae-accent-soft, #F1EFFF) !important;
	box-shadow: 0 3px 10px rgba(140, 126, 255, 0.08);
}

/* Variant Pill Button (<= 3 Variants Compact Grid) */
.bliajae-variant-pill-button {
	position: relative;
	cursor: pointer;
	box-sizing: border-box;
	font-family: inherit;
	border: 1px solid var(--bliajae-border, #E8E8ED);
	border-radius: 12px;
	background: #FAFAFB;
	transition: all 0.15s ease;
	outline: none;
	min-height: 44px;
}

.bliajae-variant-pill-button:hover:not(:disabled) {
	border-color: #D8D4FF;
	background: #FCFBFF;
}

.bliajae-variant-pill-button.is-selected {
	border-color: var(--bliajae-accent, #8C7EFF) !important;
	background: var(--bliajae-accent-soft, #F1EFFF) !important;
	box-shadow: 0 3px 10px rgba(140, 126, 255, 0.08);
}

.bliajae-variant-pill-button:focus-visible {
	box-shadow: 0 0 0 3px rgba(140, 126, 255, 0.25);
}

/* Deliverables Accordion Header & Toggle */
.bliajae-deliverables-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

.bliajae-deliverables-toggle-btn {
	background: none;
	border: none;
	padding: 0;
	font-size: 10px;
	font-weight: 600;
	color: var(--bliajae-accent, #8C7EFF);
	cursor: pointer;
}

.bliajae-desc-toggle-btn {
	background: none;
	border: none;
	padding: 2px 0 0;
	font-size: 10px;
	font-weight: 600;
	color: var(--bliajae-accent, #8C7EFF);
	cursor: pointer;
}

/* Hide native radio / checkbox */
.bliajae-variant-radio,
.bliajae-variant-checkbox,
.bliajae-addon-checkbox {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
}

/* Radio Indicator for Variants */
.bliajae-variant-radio-indicator,
.bliajae-checkmark {
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	flex: 0 0 18px !important;
	border: 1.5px solid #D9D9E0 !important;
	border-radius: 50% !important;
	background: #FFFFFF !important;
	position: relative;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	transition: all 0.15s ease;
}

.bliajae-variant-option.is-selected .bliajae-variant-radio-indicator,
.bliajae-variant-option.is-selected .bliajae-checkmark {
	border-color: var(--bliajae-accent, #8C7EFF) !important;
	background: var(--bliajae-accent, #8C7EFF) !important;
}

.bliajae-radio-inner {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #FFFFFF;
	display: block;
	opacity: 0;
	transform: scale(0.5);
	transition: all 0.15s ease;
}

.bliajae-variant-option.is-selected .bliajae-radio-inner {
	opacity: 1;
	transform: scale(1);
}

/* Addon Option (Checkbox Card) */
.bliajae-addon-option {
	position: relative;
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1.5px solid var(--bliajae-border, #E8E8ED);
	border-radius: 12px;
	background: #FAFAFB;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.bliajae-addon-option:hover {
	border-color: #D8D4FF;
	background: #FCFBFF;
}

.bliajae-addon-option.is-checked {
	border-color: var(--bliajae-accent, #8C7EFF) !important;
	background: var(--bliajae-accent-soft, #F1EFFF) !important;
	box-shadow: 0 3px 10px rgba(140, 126, 255, 0.08);
}

/* Checkbox Indicator for Addons */
.bliajae-addon-check {
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	flex: 0 0 18px !important;
	border: 1.5px solid #D9D9E0 !important;
	border-radius: 5px !important;
	background: #FFFFFF !important;
	position: relative;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	transition: all 0.15s ease;
}

.bliajae-addon-option.is-checked .bliajae-addon-check {
	border-color: var(--bliajae-accent, #8C7EFF) !important;
	background: var(--bliajae-accent, #8C7EFF) !important;
}

.bliajae-addon-check::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 2px;
	width: 4px;
	height: 8px;
	border: solid #FFFFFF;
	border-width: 0 1.8px 1.8px 0;
	opacity: 0;
	transform: rotate(45deg) scale(0.6);
	transition: all 0.15s ease;
}

.bliajae-addon-option.is-checked .bliajae-addon-check::after {
	opacity: 1;
	transform: rotate(45deg) scale(1);
}

/* Info container: Title & Description */
.bliajae-variant-info,
.bliajae-addon-info {
	min-width: 0 !important;
	flex: 1 1 auto !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
}

.bliajae-variant-name,
.bliajae-addon-name {
	font-size: 12px;
	font-weight: 600;
	color: var(--bliajae-text, #1D1D1F);
	line-height: 1.35;
	overflow-wrap: break-word;
	word-break: break-word;
}

.bliajae-variant-description,
.bliajae-addon-description {
	font-size: 10px;
	color: var(--bliajae-muted, #8A8A93);
	line-height: 1.35;
	overflow-wrap: break-word;
	word-break: break-word;
}

.bliajae-variant-price,
.bliajae-addon-price {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 700;
	color: var(--bliajae-text, #1D1D1F);
	white-space: nowrap;
	margin-left: auto;
}

.bliajae-variant-option.is-selected .bliajae-variant-price,
.bliajae-addon-option.is-checked .bliajae-addon-price {
	color: var(--bliajae-accent, #8C7EFF);
}

/* Deliverables / Includes items */
.bliajae-deliverables-list,
.bliajae-includes-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
}

.bliajae-deliverable-item,
.bliajae-include-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	background: #FAFAFB;
	border-radius: 10px;
	border: 1px solid #E8E8ED;
	font-size: 11px;
}

.bliajae-deliverable-item-left {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.bliajae-deliverable-icon {
	color: var(--bliajae-accent, #8C7EFF);
	font-weight: bold;
	flex-shrink: 0;
}

.bliajae-deliverable-title {
	font-weight: 500;
	color: #1D1D1F;
	overflow-wrap: break-word;
	word-break: break-word;
}

.bliajae-deliverable-badge {
	font-size: 10px;
	color: var(--bliajae-accent, #8C7EFF);
	font-weight: 600;
	flex-shrink: 0;
}

/* Item quantity stepper (inside addon / service row) */
.bliajae-item-qty-control {
	display: inline-flex;
	align-items: center;
	background: #F1F1F3;
	border-radius: 999px;
	padding: 2px;
	margin-left: 8px;
	flex-shrink: 0;
}

.bliajae-item-qty-control.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.bliajae-item-qty-btn {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: none;
	background: #FFFFFF;
	color: #1D1D1F;
	font-size: 12px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.bliajae-item-qty-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.bliajae-item-qty-input {
	width: 24px;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	color: #1D1D1F;
	background: transparent;
	border: none;
	outline: none;
	padding: 0;
}

/* Quantity Stepper inside Card */
.bliajae-product-quantity {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	margin-top: 14px;
	border-top: 1px solid #F0F0F2;
}

.bliajae-quantity-info {
	display: flex;
	flex-direction: column;
}

.bliajae-quantity-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--bliajae-text);
}

.bliajae-quantity-description {
	font-size: 10px;
	color: var(--bliajae-muted);
}

.bliajae-quantity-control {
	display: inline-flex;
	align-items: center;
	background: #F1F1F3;
	border-radius: 999px;
	padding: 3px;
}

.bliajae-quantity-button {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: none;
	background: #FFFFFF;
	color: #1D1D1F;
	font-size: 14px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: background 0.15s ease, opacity 0.15s ease;
}

.bliajae-quantity-button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.bliajae-quantity-value input,
.bliajae-quantity-value {
	min-width: 32px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: #1D1D1F;
	background: transparent;
	border: none;
	outline: none;
}

/* Step 2: Form Intro & Grid */
.bliajae-form-intro {
	margin-bottom: 16px;
}

.bliajae-form-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--bliajae-text);
	margin: 0 0 4px 0;
}

.bliajae-form-description {
	font-size: 12px;
	color: var(--bliajae-muted);
	margin: 0;
	line-height: 1.4;
}

.bliajae-form-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bliajae-field {
	display: flex;
	flex-direction: column;
}

.bliajae-field-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--bliajae-text);
	margin-bottom: 5px;
}

.bliajae-required {
	color: #e74c3c;
	margin-left: 2px;
}

.bliajae-field-input,
.bliajae-field-select {
	width: 100%;
	height: 42px !important;
	border-radius: var(--bliajae-radius-input) !important;
	border: 1px solid var(--bliajae-border) !important;
	background: #FAFAFB !important;
	padding: 0 12px !important;
	font-size: 12px !important;
	color: var(--bliajae-text) !important;
	box-sizing: border-box;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.bliajae-field-input:focus,
.bliajae-field-select:focus {
	border-color: var(--bliajae-accent) !important;
	background: #FFFFFF !important;
	box-shadow: 0 0 0 3px rgba(140, 126, 255, 0.15);
}

/* Notification Section at bottom of form */
.bliajae-notification-section {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid #F0F0F2;
}

.bliajae-notification-title {
	font-size: 11px;
	font-weight: 600;
	color: var(--bliajae-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bliajae-notification-checkboxes {
	display: flex;
	gap: 18px;
	align-items: center;
}

.bliajae-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 500;
	color: var(--bliajae-text);
	cursor: pointer;
}

.bliajae-checkbox-label input[type="checkbox"] {
	accent-color: var(--bliajae-accent);
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.bliajae-notification-fields {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 4px;
}

.bliajae-notification-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* ==========================================================================
   STEP 3: NOTA PESANAN (Single Unified Digital Receipt)
   ========================================================================== */
.bliajae-receipt-card,
.bliajae-receipt,
.bliajae-summary-card,
.bliajae-receipt-container {
	background: #FFFFFF;
	border: 1px solid var(--bliajae-border, #E8E8ED);
	border-radius: var(--bliajae-radius-card, 16px);
	padding: 18px 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-sizing: border-box;
	position: relative;
}

/* Ticket Side Notches / Perforated Divider */
.bliajae-receipt-perforated,
.bliajae-receipt__perforation,
.bliajae-receipt-divider {
	position: relative;
	border-top: 1.5px dashed var(--bliajae-border, #E8E8ED);
	margin: 8px -20px;
	height: 0;
}

.bliajae-receipt-perforated::before,
.bliajae-receipt-perforated::after,
.bliajae-receipt__perforation::before,
.bliajae-receipt__perforation::after,
.bliajae-receipt-divider::before,
.bliajae-receipt-divider::after,
.bliajae-receipt-perforated .bliajae-notch-left,
.bliajae-receipt-perforated .bliajae-notch-right,
.bliajae-notch-left,
.bliajae-notch-right {
	content: "";
	position: absolute;
	top: -6px;
	width: 12px;
	height: 12px;
	background: var(--bliajae-surface-soft, #FAFAFB);
	border: 1px solid var(--bliajae-border, #E8E8ED);
	border-radius: 50%;
	box-sizing: border-box;
	z-index: 2;
}

.bliajae-receipt-perforated::before,
.bliajae-receipt__perforation::before,
.bliajae-receipt-divider::before,
.bliajae-receipt-perforated .bliajae-notch-left,
.bliajae-notch-left {
	left: -6px;
	border-left-color: transparent;
}

.bliajae-receipt-perforated::after,
.bliajae-receipt__perforation::after,
.bliajae-receipt-divider::after,
.bliajae-receipt-perforated .bliajae-notch-right,
.bliajae-notch-right {
	right: -6px;
	border-right-color: transparent;
}

.bliajae-receipt-header,
.bliajae-receipt-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 2px;
}

.bliajae-receipt-title,
.bliajae-receipt-title {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--bliajae-muted, #8A8A93);
	margin: 0;
	text-transform: uppercase;
}

.bliajae-receipt-order-id,
.bliajae-order-id-badge,
.bliajae-receipt__order-badge {
	font-size: 11px;
	font-weight: 700;
	background: var(--bliajae-accent-soft, #F1EFFF);
	color: var(--bliajae-accent, #8C7EFF);
	padding: 3px 8px;
	border-radius: 6px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.bliajae-order-id-prefix {
	font-weight: 500;
	color: var(--bliajae-muted, #8A8A93);
	font-size: 10px;
}

.bliajae-receipt-divider {
	border-top: 1px dashed var(--bliajae-border, #E8E8ED);
	margin: 4px 0;
}

.bliajae-receipt-divider-thick {
	border-top: 1.5px solid var(--bliajae-text, #1D1D1F);
	margin: 4px 0;
}

/* Customer Profile (Humanized Single Surface) */
.bliajae-receipt-customer-profile,
.bliajae-receipt-customer-section,
.bliajae-customer-info-section,
.bliajae-customer-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 2px 0;
}

.bliajae-customer-name,
.bliajae-customer-name-display {
	font-size: 16px;
	font-weight: 700;
	color: var(--bliajae-text, #1D1D1F);
	line-height: 1.3;
}

.bliajae-customer-meta {
	font-size: 12px;
	font-weight: 500;
	color: #52525B;
	line-height: 1.4;
}

.bliajae-customer-social {
	font-size: 12px;
	font-weight: 500;
	color: #71717A;
	line-height: 1.4;
}

.bliajae-customer-contact,
.bliajae-customer-phone-display,
.bliajae-customer-email-display {
	font-size: 12px;
	color: var(--bliajae-muted, #8A8A93);
	line-height: 1.4;
}

.bliajae-customer-schedule,
.bliajae-schedule-display {
	font-size: 12px;
	font-weight: 500;
	color: #52525B;
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 2px;
}

.bliajae-customer-extra-field {
	font-size: 12px;
	color: #52525B;
	line-height: 1.4;
}

.bliajae-extra-label {
	font-weight: 500;
	color: var(--bliajae-muted, #8A8A93);
}

.bliajae-extra-val {
	font-weight: 600;
	color: var(--bliajae-text, #1D1D1F);
}

/* Itemized Product & Add-ons */
.bliajae-receipt-items-section,
.bliajae-receipt-product-section {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bliajae-receipt-item-main,
.bliajae-summary-line.bliajae-line-base {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px;
}

.bliajae-item-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bliajae-item-name,
.bliajae-variation-name,
.bliajae-receipt-product-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--bliajae-text, #1D1D1F);
	line-height: 1.3;
}

.bliajae-item-submeta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #71717A;
}

.bliajae-badge-sub,
.bliajae-variant-badge,
.bliajae-receipt__variant-badge {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 600;
	background: var(--bliajae-surface-soft, #F7F7F9);
	color: #64748B;
	border: 1px solid var(--bliajae-border, #E8E8ED);
	border-radius: 6px;
	padding: 2px 8px;
}

.bliajae-item-qty {
	font-size: 12px;
	color: #71717A;
	font-weight: 500;
}

.bliajae-item-price,
.bliajae-base-total {
	font-size: 15px;
	font-weight: 700;
	color: var(--bliajae-text, #1D1D1F);
	white-space: nowrap;
}

/* Strikethrough & Pricing Badges */
.bliajae-receipt__price-original,
.bliajae-receipt__price-original,
.bliajae-price-original {
	font-size: 12px;
	color: #8A8A93;
	text-decoration: line-through;
	font-weight: 500;
	margin-right: 6px;
}

.bliajae-receipt__savings-badge,
.bliajae-savings-badge,
.bliajae-savings-badge {
	background: #ECFDF5;
	color: #059669;
	border: 1px solid #A7F3D0;
	font-weight: 700;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 11px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.bliajae-receipt-addons-list,
.bliajae-receipt-addon-section {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-left: 2px;
}

.bliajae-addon-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #52525B;
	padding: 1px 0;
}

.bliajae-addon-name {
	font-weight: 500;
}

.bliajae-addon-price {
	font-weight: 600;
	color: var(--bliajae-text, #1D1D1F);
}

/* Deliverables / Features Checklist */
.bliajae-receipt-deliverables,
.bliajae-receipt-deliverables {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 6px;
	padding-left: 2px;
}

.bliajae-deliverable-item,
.bliajae-deliverable-item {
	font-size: 11px;
	color: #64748B;
	display: flex;
	align-items: center;
	gap: 6px;
}

.bliajae-check,
.bliajae-check {
	color: #10B981;
	font-weight: 700;
	font-size: 12px;
}

/* Financial Breakdown & Hero Total */
.bliajae-receipt-financials {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.bliajae-financial-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #52525B;
}

.bliajae-fin-label {
	font-weight: 500;
}

.bliajae-fin-value {
	font-weight: 600;
	color: var(--bliajae-text, #1D1D1F);
}

.bliajae-row-discount .bliajae-discount-value {
	color: #34A853;
	font-weight: 700;
}

.bliajae-badge-voucher-code,
.bliajae-voucher-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	background: #ECFDF5;
	color: #059669;
	border: 1px solid #A7F3D0;
	border-radius: 4px;
	padding: 2px 6px;
	font-size: 10px;
	font-weight: 700;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Hero Total Island Box */
.bliajae-hero-total-island,
.bliajae-receipt-total-section,
.bliajae-grand-total-section {
	background: var(--bliajae-surface-soft, #F8F8FA);
	border: 1px solid #EEEEF1;
	border-radius: 12px;
	padding: 12px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 6px;
}

.bliajae-total-label,
.bliajae-receipt-total-label {
	font-size: 11px;
	font-weight: 800;
	color: var(--bliajae-text, #1D1D1F);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bliajae-total-amount,
.bliajae-receipt-total-amount,
.bliajae-grand-total-amount {
	font-size: 22px;
	font-weight: 800;
	color: var(--bliajae-accent, #8C7EFF);
	letter-spacing: -0.02em;
}

.bliajae-receipt-footer {
	display: flex;
	justify-content: center;
	font-size: 11px;
	color: var(--bliajae-muted, #8A8A93);
	margin-top: 2px;
	font-weight: 500;
}

/* ==========================================================================
   STEP 4: PEMBAYARAN (Payment-First UI & Visual Stepper)
   ========================================================================== */
.bliajae-payment-flow-container {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bliajae-payment-total-banner,
.bliajae-payment-total-box,
.bliajae-payment-total-banner {
	background: var(--bliajae-surface-soft, #F8F8FA);
	border: 1px solid #EEEEF1;
	border-radius: 14px;
	padding: 12px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bliajae-total-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bliajae-banner-label,
.bliajae-payment-total-label {
	font-size: 10px;
	font-weight: 700;
	color: var(--bliajae-muted, #8A8A93);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bliajae-banner-amount,
.bliajae-payment-total-amount {
	font-size: 22px;
	font-weight: 800;
	color: var(--bliajae-accent, #8C7EFF);
	letter-spacing: -0.01em;
}

.bliajae-btn-copy-pill,
.bliajae-btn-copy-nominal {
	background: #1D1D1F !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: var(--bliajae-radius-button, 999px) !important;
	padding: 6px 14px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: all 0.15s ease;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	user-select: none;
}

.bliajae-btn-copy-pill:hover,
.bliajae-btn-copy-nominal:hover {
	background: #333336 !important;
	transform: translateY(-1px);
}

.bliajae-btn-copy-pill.is-copied,
.bliajae-btn-copy-nominal.is-copied {
	background: var(--bliajae-success, #34A853) !important;
	color: #FFFFFF !important;
}

.bliajae-payment-section {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bliajae-payment-section-title {
	font-size: 10px;
	font-weight: 700;
	color: var(--bliajae-muted, #8A8A93);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* 2-Column Grid for Payment Methods */
.bliajae-payment-methods-grid,
.bliajae-payment-methods {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.bliajae-payment-method-card,
.bliajae-payment-option {
	background: #FFFFFF;
	border: 1.5px solid var(--bliajae-border, #E8E8ED);
	border-radius: 12px;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
	user-select: none;
	box-sizing: border-box;
}

.bliajae-payment-method-card:hover,
.bliajae-payment-option:hover {
	border-color: #C4C4CC;
	background: #FAFAFC;
}

.bliajae-payment-method-card.active,
.bliajae-payment-method-card.selected,
.bliajae-payment-method-card.is-selected,
.bliajae-payment-option.active,
.bliajae-payment-option.selected,
.bliajae-payment-option.is-selected {
	border-color: var(--bliajae-accent, #8C7EFF);
	background: var(--bliajae-accent-soft, #F1EFFF);
	box-shadow: 0 0 0 3px rgba(140, 126, 255, 0.15), 0 4px 14px rgba(140, 126, 255, 0.12);
}

.bliajae-payment-radio-circle {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1.5px solid #C4C4CC;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: #FFFFFF;
	transition: border-color 0.15s ease;
}

.bliajae-payment-method-card.active .bliajae-payment-radio-circle,
.bliajae-payment-method-card.selected .bliajae-payment-radio-circle,
.bliajae-payment-method-card.is-selected .bliajae-payment-radio-circle,
.bliajae-payment-option.active .bliajae-payment-radio-circle,
.bliajae-payment-option.selected .bliajae-payment-radio-circle,
.bliajae-payment-option.is-selected .bliajae-payment-radio-circle {
	border-color: var(--bliajae-accent, #8C7EFF);
}

.bliajae-radio-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bliajae-accent, #8C7EFF);
}

.bliajae-payment-method-name {
	font-size: 12px;
	font-weight: 600;
	color: var(--bliajae-text, #1D1D1F);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bliajae-badge-channel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 20px;
	padding: 0 6px;
	border-radius: 4px;
	font-weight: 800;
	font-size: 10px;
	color: #FFFFFF;
	flex-shrink: 0;
}

.bliajae-badge-bca { background: #005EAA; }
.bliajae-badge-mandiri { background: #002D62; color: #FDB813; }
.bliajae-badge-bni { background: #F15A24; }
.bliajae-badge-bri { background: #00529C; }
.bliajae-badge-qris { background: #E11D48; }
.bliajae-badge-gopay { background: #00AED6; }
.bliajae-badge-shopee { background: #EE4D2D; }
.bliajae-badge-ovo { background: #4C3494; }
.bliajae-badge-dana { background: #118EEA; }
.bliajae-badge-generic { background: #F1F5F9; color: #475569; }

/* Payment Destination Box */
.bliajae-payment-dest-box,
.bliajae-payment-dest-card,
.bliajae-payment-destination-section {
	background: var(--bliajae-surface-soft, #F8F8FA);
	border: 1px solid #EEEEF1;
	border-radius: 14px;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bliajae-payment-dest-header,
.bliajae-dest-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: var(--bliajae-text, #1D1D1F);
}

.bliajae-payment-channel-title,
.bliajae-dest-bank {
	font-size: 13px;
	font-weight: 700;
}

.bliajae-payment-account-holder,
.bliajae-dest-holder {
	font-size: 12px;
	color: var(--bliajae-muted, #8A8A93);
	font-weight: 500;
}

.bliajae-payment-copy-row,
.bliajae-account-number-row,
.bliajae-copy-field-box {
	background: #FFFFFF;
	border: 1px solid var(--bliajae-border, #E8E8ED);
	border-radius: 10px;
	padding: 8px 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}

.bliajae-payment-copy-info,
.bliajae-copy-field-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bliajae-payment-copy-label,
.bliajae-copy-field-label {
	font-size: 10px;
	font-weight: 600;
	color: var(--bliajae-muted, #8A8A93);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.bliajae-payment-copy-val,
.bliajae-account-number-value,
.bliajae-copy-field-val {
	font-size: 14px;
	font-weight: 700;
	color: var(--bliajae-text, #1D1D1F);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	letter-spacing: 0.02em;
	word-break: break-all;
}

.bliajae-nominal-val {
	font-family: inherit;
	color: var(--bliajae-accent, #8C7EFF);
}

.bliajae-btn-copy,
.bliajae-btn-copy-account {
	background: #1D1D1F !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: var(--bliajae-radius-button, 999px) !important;
	padding: 6px 14px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: all 0.15s ease;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	user-select: none;
}

.bliajae-btn-copy:hover,
.bliajae-btn-copy-account:hover {
	background: #333336 !important;
	transform: translateY(-1px);
}

.bliajae-btn-copy:active,
.bliajae-btn-copy-account:active {
	transform: scale(0.96) !important;
}

.bliajae-btn-copy.is-copied,
.bliajae-btn-copy-account.is-copied {
	background: var(--bliajae-success, #34A853) !important;
	color: #FFFFFF !important;
}

/* Connected Visual Stepper Timeline */
.bliajae-payment-stepper-timeline,
.bliajae-payment-steps {
	list-style: none;
	margin: 8px 0 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
}

.bliajae-stepper-step,
.bliajae-payment-instruction-item {
	display: flex;
	gap: 10px;
	position: relative;
	padding-bottom: 14px;
}

.bliajae-stepper-step:last-child,
.bliajae-payment-instruction-item:last-child {
	padding-bottom: 0;
}

.bliajae-stepper-step:not(:last-child)::after,
.bliajae-payment-instruction-item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 22px;
	left: 10px;
	bottom: 0;
	width: 2px;
	background: #E8E8ED;
	z-index: 1;
}

.bliajae-stepper-marker {
	width: 22px;
	height: 22px;
	min-width: 22px;
	border-radius: 50%;
	background: var(--bliajae-accent-soft, #F1EFFF);
	color: var(--bliajae-accent, #8C7EFF);
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
	flex-shrink: 0;
}

.bliajae-stepper-content {
	font-size: 12px;
	color: #3A3A3C;
	line-height: 1.45;
	padding-top: 2px;
	flex: 1;
}

.bliajae-payment-instruction-list {
	margin: 6px 0 0 0;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	line-height: 1.5;
	color: #475569;
}

/* Trust Badge */
.bliajae-payment-trust-badge,
.bliajae-trust-badge {
	font-size: 11px;
	color: var(--bliajae-muted, #8A8A93);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
	text-align: center;
}

.bliajae-payment-trust-badge svg,
.bliajae-trust-icon {
	width: 14px;
	height: 14px;
	color: var(--bliajae-success, #34A853);
	flex-shrink: 0;
}

/* ==========================================================================
   STEP 3 -> 4 TRANSITION PROGRESS OVERLAY & CIRCULAR INTERACTIVE LOADER
   ========================================================================== */
.bliajae-dl-overlay,
.bliajae-transition-overlay {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 36px 20px;
	min-height: 340px;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: inherit;
	animation: bliajae-fade-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
	width: 100%;
}

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

.bliajae-dl-inner,
.bliajae-circular-progress-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 400px;
	width: 100%;
	background: #FFFFFF;
	border-radius: 20px;
	padding: 32px 24px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	border: 1px solid #E2E8F0;
	box-sizing: border-box;
}

/* ── Circular Interactive Loading Ring ── */
.bliajae-circular-progress-wrap,
.bliajae-dl-icon-wrap {
	position: relative;
	width: 88px;
	height: 88px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.bliajae-circular-ring-track,
.bliajae-dl-ring-track {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 4px solid #EEF2F6;
	box-sizing: border-box;
}

.bliajae-circular-ring-glow,
.bliajae-dl-ring {
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	border: 4px solid transparent;
	border-top-color: var(--bliajae-accent, #8C7EFF);
	border-right-color: #6366F1;
	animation: bliajae-glow-spin 0.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
	filter: drop-shadow(0 0 8px rgba(140, 126, 255, 0.45));
	box-sizing: border-box;
}

@keyframes bliajae-glow-spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.bliajae-circular-center-icon,
.bliajae-dl-icon {
	position: relative;
	z-index: 2;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	stroke: var(--bliajae-accent, #8C7EFF);
	stroke-linecap: round;
	stroke-linejoin: round;
	animation: bliajae-float-pulse 1.4s ease-in-out infinite;
}

@keyframes bliajae-float-pulse {
	0%, 100% {
		transform: translateY(0) scale(1);
		opacity: 0.9;
	}
	50% {
		transform: translateY(-3px) scale(1.05);
		opacity: 1;
	}
}

@keyframes bliajae-scale-pop {
	0% {
		transform: scale(0.6);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes bliajae-dot-blink {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.4;
		transform: scale(0.8);
	}
}

/* ── Dominant & Context Typography ── */
.bliajae-progress-title-dominant {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	color: #0F172A;
	letter-spacing: -0.01em;
	line-height: 1.3;
	text-align: center;
}

.bliajae-progress-subtitle-context {
	margin: 0 0 20px;
	font-size: 13px;
	color: #64748B;
	line-height: 1.45;
	max-width: 320px;
	text-align: center;
}

/* ── Milestone Stepper & Pills ── */
.bliajae-milestone-stepper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding-top: 16px;
	border-top: 1px solid #F1F5F9;
}

.bliajae-milestone-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 500;
	background: #F8FAFC;
	color: #94A3B8;
	border: 1px solid #E2E8F0;
	transition: all 0.25s ease;
}

.bliajae-milestone-pill.active {
	background: #F5F3FF;
	color: #7C3AED;
	border: 1px solid #DDD6FE;
	font-weight: 600;
}

.bliajae-milestone-pill.done {
	background: #F0FDF4;
	color: #16A34A;
	border: 1px solid #BBF7D0;
	font-weight: 600;
}

.bliajae-milestone-pill.error {
	background: #FEF2F2;
	color: #DC2626;
	border: 1px solid #FECACA;
}

/* Process Status Timeline (Classic Fallback) */
.bliajae-dl-steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
}

.bliajae-dl-step {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px solid #F1F5F9;
	opacity: 0.35;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.bliajae-dl-step:last-child {
	border-bottom: none;
}

.bliajae-dl-step.active,
.bliajae-dl-step.done,
.bliajae-dl-step.error {
	opacity: 1;
}

/* Dot Indicator */
.bliajae-dl-step-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #CBD5E1;
	flex-shrink: 0;
	transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.bliajae-dl-step.active .bliajae-dl-step-dot {
	background: var(--bliajae-accent, #8C7EFF);
	animation: bliajae-dot-pulse 1s ease infinite;
}

@keyframes bliajae-dot-pulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(140, 126, 255, 0.4);
	}
	50% {
		transform: scale(1.2);
		box-shadow: 0 0 0 6px rgba(140, 126, 255, 0);
	}
}

.bliajae-dl-step.done .bliajae-dl-step-dot {
	background: #10B981;
}

.bliajae-dl-step.error .bliajae-dl-step-dot {
	background: #F59E0B;
}

/* Step Text */
.bliajae-dl-step-text {
	font-size: 13px;
	color: #64748B;
	font-weight: 500;
	line-height: 1.35;
}

.bliajae-dl-step.active .bliajae-dl-step-text {
	color: #1D1D1F;
	font-weight: 600;
}

.bliajae-dl-step.done .bliajae-dl-step-text {
	color: #10B981;
	font-weight: 600;
}

.bliajae-dl-step.done .bliajae-dl-step-text::after {
	content: ' ✓';
	font-weight: 800;
}

.bliajae-dl-step.error .bliajae-dl-step-text {
	color: #D97706;
	font-weight: 600;
}

/* ==========================================================================
   NAVIGATION FOOTER & ACTION BUTTONS
   ========================================================================== */
.bliajae-button-download-nota,
.bliajae-btn-download-nota,
.bliajae-modal-btn.bliajae-btn-download-nota {
	background: #F1EFFF !important;
	color: var(--bliajae-accent, #8C7EFF) !important;
	border: 1px solid #D8D2FF !important;
	height: 40px;
	padding: 0 18px;
	border-radius: var(--bliajae-radius-button, 999px);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: all 0.15s ease;
	user-select: none;
	box-shadow: 0 2px 6px rgba(140, 126, 255, 0.08);
}

.bliajae-button-download-nota:hover,
.bliajae-btn-download-nota:hover,
.bliajae-modal-btn.bliajae-btn-download-nota:hover {
	background: #E5E0FF !important;
	border-color: #C2BAFF !important;
	color: #7968FF !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(140, 126, 255, 0.15);
}

.bliajae-button-whatsapp,
.bliajae-btn-whatsapp,
.bliajae-btn-wa,
.bliajae-modal-btn.bliajae-btn-whatsapp {
	background: var(--bliajae-accent, #8C7EFF) !important;
	color: #FFFFFF !important;
	border: 1px solid transparent !important;
	height: 40px;
	padding: 0 22px;
	border-radius: var(--bliajae-radius-button, 999px);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-shadow: 0 4px 14px rgba(140, 126, 255, 0.35);
	transition: all 0.2s ease, backdrop-filter 0.2s ease, -webkit-backdrop-filter 0.2s ease;
	user-select: none;
}

.bliajae-button-whatsapp:hover,
.bliajae-btn-whatsapp:hover,
.bliajae-btn-wa:hover,
.bliajae-modal-btn.bliajae-btn-whatsapp:hover {
	background: rgba(140, 126, 255, 0.08) !important;
	color: var(--bliajae-accent, #8C7EFF) !important;
	border: 1px solid var(--bliajae-accent, #8C7EFF) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(140, 126, 255, 0.2);
}

.bliajae-button-whatsapp .bliajae-wa-icon,
.bliajae-btn-whatsapp .bliajae-wa-icon,
.bliajae-modal-btn.bliajae-btn-whatsapp .bliajae-wa-icon {
	fill: currentColor;
}

/* ==========================================================================
   RESPONSIVE DESIGN RULES
   ========================================================================== */
@media (max-width: 640px) {
	.bliajae-root {
		padding: 10px;
		align-items: flex-end;
	}

	.bliajae-checkout-popup {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: 92vh !important;
		border-radius: 20px 20px 0 0 !important;
	}

	.bliajae-popup-header {
		padding: 14px 44px 12px 16px;
	}

	.bliajae-popup-content {
		padding: 16px 16px 14px;
	}

	.bliajae-popup-footer {
		padding: 12px 16px max(14px, env(safe-area-inset-bottom));
	}

	.bliajae-footer-actions,
	.bliajae-footer-actions {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		flex-wrap: wrap;
		width: 100%;
	}

	.bliajae-footer-left {
		flex: 0 0 auto;
	}

	.bliajae-footer-right,
	.bliajae-footer-center-right {
		display: flex;
		align-items: center;
		gap: 8px;
		flex: 1 1 auto;
		justify-content: flex-end;
		flex-wrap: wrap;
	}

	.bliajae-button,
	.bliajae-modal-btn {
		height: 44px;
		padding: 0 16px;
		font-size: 13px;
	}

	.bliajae-button-download-nota,
	.bliajae-btn-download-nota {
		height: 44px;
		padding: 0 14px;
		font-size: 12px;
	}

	.bliajae-button-whatsapp,
	.bliajae-btn-whatsapp,
	.bliajae-btn-wa {
		height: 44px;
		padding: 0 18px;
		font-size: 13px;
	}

	.bliajae-receipt-card {
		padding: 16px 16px;
		border-radius: 14px;
	}

	.bliajae-receipt-perforated,
	.bliajae-receipt__perforation,
	.bliajae-receipt-divider {
		margin: 8px -16px;
	}

	.bliajae-receipt-total-section,
	.bliajae-hero-total-island {
		padding: 10px 14px;
	}

	.bliajae-receipt-total-amount,
	.bliajae-grand-total-amount {
		font-size: 20px;
	}

	.bliajae-payment-methods-grid,
	.bliajae-payment-methods {
		grid-template-columns: repeat(2, 1fr);
		gap: 6px;
	}

	.bliajae-payment-method-card,
	.bliajae-payment-option {
		padding: 8px 10px;
	}

	.bliajae-payment-total-box,
	.bliajae-payment-total-banner {
		padding: 12px 14px;
	}

	.bliajae-payment-total-amount,
	.bliajae-banner-amount {
		font-size: 20px;
	}

	.bliajae-payment-dest-box,
	.bliajae-payment-dest-card {
		padding: 12px 14px;
	}

	.bliajae-payment-copy-row,
	.bliajae-account-number-row {
		padding: 8px 10px;
	}

	.bliajae-payment-copy-val,
	.bliajae-account-number-value {
		font-size: 13px;
	}

	.bliajae-dl-overlay {
		padding: 32px 16px;
		min-height: 280px;
	}

	.bliajae-dl-inner {
		gap: 20px;
	}
}

@media (max-width: 380px) {
	.bliajae-root {
		padding: 0;
	}

	.bliajae-checkout-popup {
		max-height: 96vh !important;
		border-radius: 16px 16px 0 0 !important;
	}

	.bliajae-step-navigation {
		gap: 2px;
	}

	.bliajae-step-number {
		width: 22px !important;
		height: 22px !important;
		font-size: 10px !important;
	}

	.bliajae-step-label {
		font-size: 9px !important;
	}

	.bliajae-footer-actions,
	.bliajae-footer-actions {
		flex-direction: column !important;
		gap: 8px !important;
		width: 100% !important;
	}

	.bliajae-footer-left,
	.bliajae-footer-right,
	.bliajae-footer-center-right {
		width: 100% !important;
		flex-direction: column !important;
		gap: 8px !important;
		margin: 0 !important;
	}

	.bliajae-button,
	.bliajae-modal-btn,
	.bliajae-button-secondary,
	.bliajae-btn-secondary,
	.bliajae-button-download-nota,
	.bliajae-btn-download-nota,
	.bliajae-button-whatsapp,
	.bliajae-btn-whatsapp,
	.bliajae-btn-wa {
		width: 100% !important;
		justify-content: center !important;
		text-align: center !important;
		height: 44px !important;
	}

	.bliajae-receipt-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.bliajae-receipt-total-section,
	.bliajae-hero-total-island {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.bliajae-receipt-total-amount,
	.bliajae-grand-total-amount {
		font-size: 18px;
	}

	.bliajae-payment-methods-grid,
	.bliajae-payment-methods {
		grid-template-columns: 1fr;
	}

	.bliajae-payment-dest-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.bliajae-payment-copy-row,
	.bliajae-account-number-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.bliajae-btn-copy,
	.bliajae-btn-copy-account,
	.bliajae-btn-copy-pill,
	.bliajae-btn-copy-nominal {
		width: 100% !important;
		text-align: center;
		justify-content: center;
	}

	.bliajae-customer-profile-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
}

