/* Force light mode on all devices */
body.wds-checkout-page,
body.wds-checkout-page * {
	color-scheme: light only;
}

/* Hide dark mode toggle icon + dropdown */
body.wds-checkout-page [data-kt-element="theme-mode-menu"],
body.wds-checkout-page .position-absolute.top-0.end-0.mt-4.me-4 {
	display: none !important;
}

summary::-webkit-details-marker {
	display: none;
}

body.wds-checkout-page #kt_body .d-flex.flex-center.w-lg-50.pt-15.pt-lg-0.px-10 {
	display: none !important;
}

body.wds-checkout-page #kt_body .d-flex.flex-column-fluid {
	width: 100%;
	justify-content: center !important;
	padding: 20px 12px !important;
}

body.wds-checkout-page .bg-body.w-500px {
	width: min(540px, 100%) !important;
	max-width: 540px !important;
	border-radius: 20px !important;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: var(--cco-payment-bg) !important;
	box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
	padding: 20px !important;
}

body.wds-checkout-page .bg-body.w-500px>.d-flex.flex-center.text-center.px-lg-10 {
	display: none !important;
}

.card {
	border-radius: 20px;
}

.card .card-body {
	padding: 12px 15px !important;
}

.wds-checkout-header {
	margin: 0 0 16px;
	text-align: center;
}

.wds-checkout-header h1 {
	margin: 0;
	font-size: clamp(1.55rem, 5.3vw, 2rem);
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #0f172a;
	text-transform: uppercase;
}

.wds-checkout-header p {
	margin: 6px 0 0;
	color: #94a3b8;
	font-size: 0.875rem;
}

#checkout_form.wds-checkout-modern {
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wds-checkout-card {
	border: 1px solid #eef2f6;
	border-radius: 12px;
	background: #ffffff;
	padding: 12px 14px;
}

.wds-checkout-card.product {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 6px !important;
	margin-bottom: 8px !important;
}

.wds-section-title {
	margin: 0 0 14px;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4;
	color: #0f172a;
}


.wds-checkout-card.product .d-flex.flex-stack {
	gap: 12px;
	align-items: flex-start;
}

.wds-checkout-card .text-gray-700 {
	font-size: 0.95rem;
	color: #64748b !important;
	font-weight: 500;
}

.wds-accordion-summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
}

.wds-accordion-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.wds-payment-label {
	margin-bottom: 16px;
	margin-top: 14px;
}

.wds-payment-label .wds-accordion-title {
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #ffffff;
	margin: 0;
}

.wds-accordion-title {
	font-weight: 600;
}

.wds-accordion-subtitle,
.wds-payment-selected,
.wds-payment-note,
.wds-trust-note {
	font-size: 0.775rem;
	color: #94a3b8;
	line-height: 1.3;
}

.wds-accordion-chevron {
	display: inline-flex;
	color: #94a3b8;
}

.wds-accordion-chevron svg {
	width: 18px;
	height: 18px;
	transition: transform 0.2s ease;
}

details.wds-accordion[open] .wds-accordion-chevron svg {
	transform: rotate(180deg);
}

.wds-checkout-card.addon {
	border: 1px dashed #cbd5e1 !important;
	background: var(--cco-accordion-header-bg) !important;
}

.wds-checkout-card.coupon {
	padding: 0 !important;
	overflow: hidden;
}

.wds-coupon-summary {
	padding: 12px 16px !important;
	background: var(--cco-accordion-header-bg);
}

.wds-coupon-body {
	padding: 16px;
}

.wds-badge-optional {
	margin-left: auto;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	font-size: 10px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 6px;
	color: #64748b;
	text-transform: uppercase;
}

.wds-accordion-body {
	padding: 14px 12px;
}

.wds-addon-list {
	padding: 12px 0px 0px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wds-addon-item .form-check {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
	margin: 0;
	border-radius: 12px;
	border: 1px solid #e6e6e6 !important;
	background: #ffffff;
	transition: all 0.2s ease;
}

.wds-addon-item .form-check.is-selected {
	border-color: var(--cco-payment-border) !important;
	background: var(--cco-selected-bg);
}

.wds-addon-item .form-check-label {
	display: flex;
	flex: 1;
	justify-content: space-between;
	gap: 12px;
	color: #565656;
	font-size: 12px;
	font-weight: 500;
	margin-left: 0px;
}

.wds-addon-meta a {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--cco-btn-end);
	text-decoration: none;
}

.wds-coupon-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	color: #475569;
	background: var(--cco-payment-bg);
	flex-shrink: 0;
}

.wds-payment-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 12px;
	background: var(--cco-payment-bg);
	color: #475569;
}

.wds-payment-logo img,
.wds-payment-logo svg {
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.wds-coupon-row .form-control,
.wds-dark-panel .account .form-control {
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px;
	font-size: 0.95rem;
	background: #ffffff;
}

.wds-coupon-row .form-control:focus,
.wds-dark-panel .account .form-control:focus {
	border-color: var(--cco-btn-end);
	box-shadow: 0 0 0 3px rgba(var(--cco-btn-end-rgb), 0.16);
}

.wds-coupon-row .form-control::placeholder,
.wds-dark-panel .account .form-control::placeholder {
	color: #94a3b8;
}

.wds-coupon-row #apply_coupon {
	background: var(--cco-primary) !important;
	transition: all 0.2s ease;
	color: #ffff;
	border-radius: 10px;
	font-size: 13px;
}

.wds-coupon-row #apply_coupon:hover {
	background: var(--cco-primary-dark) !important;
}

.wds-dark-panel {
	border: 0;
	border-radius: 18px;
	padding: 20px 16px;
	background: var(--cco-primary);
	overflow-x: hidden;
}

.wds-dark-info {
	border: none;
	background: var(--cco-secondary);
	color: rgba(255, 255, 255, 0.92);
	border-radius: 12px;
	padding: 10px 12px;
	font-size: 0.8rem;
	line-height: 1.4;
	margin-bottom: 16px !important;
}

.wds-dark-panel .account .d-flex.flex-stack.fs-4.py-3.mb-3 {
	padding: 0 !important;
}

.wds-dark-panel .account {
	margin-bottom: 15px !important;
	margin-top: 25px !important;
}

.wds-dark-panel .account .d-flex.flex-stack.fs-4.py-3.mb-3 h2 {
	color: #ffffff !important;
	font-size: 1rem !important;
}

#checkout_form.wds-checkout-modern .wds-dark-panel .account .d-flex.flex-stack.fs-4.py-3.mb-3>a.btn.btn-sm.btn-light-primary {
	display: none !important;
}

.wds-dark-panel .account .input-group.fv-row {
	margin-bottom: 5px !important;
}

.wds-dark-panel .account .input-group-text {
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-right: 0;
	border-radius: 12px 0 0 12px;
	justify-content: center;
	color: #94a3b8;
}

.wds-dark-panel .account .text-muted.fs-7 {
	color: #ffffff !important;
	font-size: 0.74rem !important;
	margin: 4px 2px 10px;
	display: none;
}

/* FIX 4: Hide email helper text */
.wds-dark-panel .account .input-group~.small,
.wds-dark-panel .account .input-group~.description,
.wds-dark-panel .account .form-control~.text-muted {
	display: none !important;
}

/* FIX 5: Ensure all panel text is readable */
.wds-dark-panel .account label {
	color: #ffffff;
}

.wds-dark-panel .account .form-check-label {
	color: #ffffff;
}

.wds-dark-panel .account .text-gray-700,
.wds-dark-panel .account .text-gray-900 {
	color: #ffffff !important;
}

.wds-dark-panel .account .toggle-password {
	color: #cbd5e1 !important;
}

.wds-dark-panel .fv-plugins-message-container {
	margin-top: 4px;
	font-size: 0.74rem;
	color: #fee2e2;
}

.wds-dark-panel .wds-payment-label {
	margin-bottom: 12px;
}

.wds-dark-panel .wds-payment-label .wds-accordion-title {
	color: #ffffff;
}

.wds-dark-panel .wds-payment-accordion {
	border-radius: 12px;
	background: #ffffff;
	border: none;
	overflow: hidden;
}

.wds-dark-panel .wds-payment-accordion summary {
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background: var(--cco-accordion-header-bg);
}


.wds-dark-panel .wds-payment-selected {
	color: #475569;
	font-weight: 500;
	font-size: 13px;
}

.wds-payment-change-link {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--cco-secondary);
	text-decoration: none;
}

.wds-dark-panel .payment-method .row.wds-payment-grid {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.wds-dark-panel .payment-method .col-md-6 {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	flex: none;
	max-width: none;
}

.wds-dark-panel .payment-method label.btn {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px 12px !important;
	margin: 0;
	border-radius: 12px;
	border: 1.6px solid #e2e8f0 !important;
	background: #ffffff;
	transition: all 0.2s ease;
	cursor: pointer;
	text-align: left;
}

.wds-dark-panel .payment-method label.btn.btn-outline-primary {
	border-color: var(--cco-payment-border) !important;
	background: var(--cco-selected-bg);
}

.wds-dark-panel .payment-method label.btn .d-flex.align-items-center {
	display: flex !important;
	flex-direction: row;
	align-items: center !important;
	width: 100%;
	margin: 0 !important;
}

.wds-dark-panel .payment-method .form-check {
	margin: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wds-dark-panel .payment-method .form-check-input {
	margin-right: 10px;
	display: none;
}

.wds-dark-panel .payment-method .wds-payment-content {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
	width: 100%;
}

.wds-dark-panel .wds-payment-logo {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--cco-payment-bg);
}

.wds-dark-panel .wds-payment-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.wds-dark-panel .wds-payment-logo .wds-payment-textonly {
	font-size: 0.75rem;
	font-weight: 700;
	color: #475569;
	text-align: center;
	line-height: 1;
}

.wds-dark-panel .wds-payment-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.wds-dark-panel .wds-payment-name {
	font-size: 0.9rem;
	font-weight: 600;
	color: #0f172a;
	line-height: 1.3;
}

.wds-dark-panel .wds-payment-note {
	font-size: 0.75rem;
	color: #94a3b8;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

/* Ringkasan */
.wds-dark-panel .summary.wds-summary {
	margin: 10px 0 0 0 !important;
}

.wds-dark-panel .summary.wds-summary .wds-section-title {
	color: #ffffff;
	margin-bottom: 12px;
}

.wds-dark-panel .summary.wds-summary .notice {
	background: transparent !important;
	border: none !important;
}

.wds-dark-panel .summary.wds-summary #sum-data>div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.95rem;
	color: #ffffff;
	margin-bottom: 8px;
}

.wds-dark-panel .summary.wds-summary #sum-data .title,
.wds-dark-panel .summary.wds-summary #sum-data .value {
	color: #ffffff !important;
}

.wds-dark-panel .summary.wds-summary #sum-data .discount .title,
.wds-dark-panel .summary.wds-summary #sum-data .discount .value {
	color: var(--cco-unique-color) !important;
}

.wds-dark-panel .summary.wds-summary #sum-data .unique .title,
.wds-dark-panel .summary.wds-summary #sum-data .unique .value {
	color: var(--cco-unique-color) !important;
}

.wds-dark-panel .summary.wds-summary #sum-data .addon .title,
.wds-dark-panel .summary.wds-summary #sum-data .addon .value {
	color: var(--cco-addon-color) !important;
}

.wds-dark-panel .summary.wds-summary #sum-data .total {
	margin-top: 12px;
	padding-top: 0;
}

.wds-dark-panel .summary.wds-summary #sum-data .total .title,
.wds-dark-panel .summary.wds-summary #sum-data .total .value {
	color: #ffffff !important;
	font-size: 1.25rem !important;
	font-weight: 700 !important;
}

.wds-dark-panel .summary.wds-summary #sum-data .value {
	font-weight: 600;
	text-align: right;
}

.wds-dark-panel .summary.wds-summary #sum-placeholder .placeholder {
	height: 12px;
	border-radius: 999px;
	display: block;
	margin-bottom: 8px;
}

/* CTA */

.wds-dark-panel .wds-benefit-notice {
	width: 100%;
	max-width: 100%;
	position: relative;
	display: block;
	margin: 0 0 12px;
	padding: 12px 13px;
	border-radius: 14px;
	border: 1px dashed #fecaca;
	background: linear-gradient(180deg, #ffffff 0%, #fef2f2 100%);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.wds-dark-panel .wds-benefit-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.wds-dark-panel .wds-benefit-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #dc2626;
	font-size: 0;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wds-dark-panel .wds-benefit-badge::before {
	content: '🎁 BONUS HARI INI';
	font-size: 0.64rem;
	line-height: 1.2;
	letter-spacing: 0.06em;
}

.wds-dark-panel .wds-benefit-timer {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3px 8px;
	border-radius: 999px;
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #dc2626;
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	white-space: nowrap;
}

.wds-dark-panel .wds-benefit-title {
	display: block;
	margin-top: 5px;
	color: #0f172a;
	font-size: 1.02rem;
	line-height: 1.25;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.wds-dark-panel .wds-benefit-copy {
	display: block;
	margin-top: 3px;
	color: #475569;
	font-size: 0.8rem;
	line-height: 1.5;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.wds-dark-panel .checkout-cro-wrap {
	width: 100%;
	display: block;
	position: relative;
	overflow: hidden;
	margin-top: 12px;
}

.wds-dark-panel .checkout-cro-wrap,
.wds-dark-panel .checkout-cro-wrap *,
.wds-dark-panel .checkout-cro-wrap *::before,
.wds-dark-panel .checkout-cro-wrap *::after {
	box-sizing: border-box;
}

.wds-cta-btn {
	width: 100%;
	min-height: 56px;
	border: 0 !important;
	border-radius: 12px !important;
	background: linear-gradient(90deg, var(--cco-btn-start) 0%, var(--cco-btn-end) 100%) !important;
	color: #ffffff !important;
	font-size: 1.3rem;
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(var(--cco-btn-start-rgb), 0.25);
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.wds-cta-btn:hover {
	background: var(--cco-btn-end) !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(var(--cco-btn-end-rgb), 0.35);
}

.wds-cta-btn .indicator-progress {
	color: rgba(255, 255, 255, 0.9);
}

/* Trust Text */
.wds-trust-note {
	margin-top: 16px;
	margin-bottom: 20px;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.75);
	text-align: center;
	font-weight: 500;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
}

.wds-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.wds-trust-check {
	color: #22c55e;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
}

.wds-trust-sep {
	color: rgba(255, 255, 255, 0.48);
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-slider {
	width: 100%;
	max-width: 100%;
	position: relative;
	display: block;
	overflow: hidden;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-viewport {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-track {
	display: flex;
	align-items: stretch;
	gap: 1px;
	transition: transform 0.45s ease;
	will-change: transform;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-card {
	width: 82%;
	max-width: 82%;
	min-width: 82%;
	flex: 0 0 82%;
	padding: 14px;
	border-radius: 16px;
	border: 1px solid rgba(var(--cco-payment-border-rgb, 59, 130, 246), 0.35);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
	overflow: hidden;
	opacity: 0.55;
	transform: scale(0.94);
	transition: transform 0.32s ease, opacity 0.32s ease, border-color 0.32s ease;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-card * {
	overflow-wrap: anywhere;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-card.is-active {
	opacity: 1;
	transform: scale(1);
	border-color: rgba(var(--cco-payment-border-rgb, 59, 130, 246), 0.7);
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-avatar {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	background: linear-gradient(135deg, rgba(var(--cco-btn-start-rgb, 14, 165, 233), 0.94) 0%, rgba(var(--cco-btn-end-rgb, 37, 99, 235), 0.94) 100%);
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-meta {
	flex: 1;
	min-width: 0;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-name {
	margin: 0;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-verified {
	display: inline-flex;
	margin-top: 2px;
	padding: 1px 7px;
	border-radius: 999px;
	background: rgba(34, 197, 94, 0.14);
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.62rem;
	font-weight: 600;
	line-height: 1.25;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-rating {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	margin-left: auto;
	color: #facc15;
	flex-shrink: 0;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-rating span {
	font-size: 0.68rem;
	line-height: 1;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-quote {
	margin: 0;
	color: rgba(255, 255, 255, 0.94);
	font-size: 0.8rem;
	line-height: 1.52;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.wds-dark-panel .checkout-cro-wrap .wds-testimonial-footer {
	margin: 10px 0 0;
	padding-top: 8px;
	border-top: 1px solid rgba(var(--cco-payment-border-rgb, 59, 130, 246), 0.34);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

@media (min-width: 992px) {
	.wds-dark-panel .checkout-cro-wrap .wds-testimonial-card {
		width: 82%;
		max-width: 82%;
		min-width: 82%;
		flex-basis: 82%;
		padding: 15px 16px;
	}

	.wds-dark-panel .checkout-cro-wrap .wds-testimonial-quote {
		max-width: 52ch;
		font-size: 0.78rem;
		line-height: 1.48;
	}
}

.wds-dark-panel #wds-referred {
	margin-top: 10px;
	text-align: center;
}

.wds-dark-panel #wds-referred .text-muted {
	color: rgba(255, 255, 255, 0.6) !important;
	font-size: 0.75rem;
}

@media (max-width: 640px) {
	.wds-dark-panel .payment-method label.btn {
		padding: 12px 10px;
		gap: 10px;
	}

	.wds-dark-panel .payment-method .wds-payment-content {
		gap: 10px;
	}

	.wds-dark-panel .wds-payment-logo {
		width: 36px;
		height: 36px;
	}

	.wds-dark-panel .wds-payment-name {
		font-size: 0.85rem;
	}

	.wds-dark-panel .wds-payment-note {
		font-size: 0.7rem;
	}

	.wds-dark-panel .summary.wds-summary .notice {
		padding: 10px !important;
	}

	.wds-dark-panel .wds-benefit-title {
		font-size: 0.98rem;
	}

	.wds-dark-panel .wds-benefit-copy {
		font-size: 0.78rem;
	}

	.wds-dark-panel .checkout-cro-wrap .wds-testimonial-card {
		width: 84%;
		max-width: 84%;
		min-width: 84%;
		flex-basis: 84%;
		padding: 13px;
	}

	.wds-dark-panel .checkout-cro-wrap .wds-testimonial-rating {
		width: auto;
		margin-left: auto;
	}

	.wds-trust-note {
		margin-bottom: 16px;
	}
}
