/**
 * WiseBnB WaaS — Plan Configurator ([wb_configurator]).
 * All px values — Oxygen sets html { font-size: 62.5% }.
 */

/* ── Container ─────────────────────────────────────── */

.wbc {
	max-width: 700px;
	margin: 0 auto;
	padding: 0 24px 60px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--primary-color, #1a1a2e);
	min-height: 80vh;
}

.wbc *,
.wbc *::before,
.wbc *::after {
	box-sizing: border-box;
}

/* ── Header ────────────────────────────────────────── */

.wbc__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 0 48px;
}

.wbc__logo img {
	height: 36px;
	width: auto;
}

/* Step dots */
.wbc__steps-dots {
	display: flex;
	gap: 6px;
	align-items: center;
}

.wbc__dot {
	width: 24px;
	height: 6px;
	border-radius: 3px;
	background: #e0e0e0;
	transition: background 0.3s ease, width 0.3s ease;
}

.wbc__dot--active {
	background: #f06225;
	width: 32px;
}

.wbc__dot--done {
	background: #f06225;
}

/* Price tag */
.wbc__price-tag {

	font-size: 24px;
	font-weight: 700;
	color: var(--primary-color, #1a1a2e);
}

.wbc__price-period {
	font-size: 14px;
	font-weight: 400;
	color: #999;
}

/* ── Steps ─────────────────────────────────────────── */

.wbc__step {
	display: none;
}

.wbc__step--active {
	display: block;
	animation: wbcFadeIn 0.3s ease;
}

@keyframes wbcFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.wbc__step-label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: #f06225;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.wbc__title {
	font-size: 36px;
	font-weight: 700;
	color: var(--primary-color, #1a1a2e);
	margin: 0 0 12px;
	line-height: 1.2;
}

.wbc__subtitle {
	font-size: 16px;
	color: #888;
	margin: 0 0 36px;
	line-height: 1.5;
}

/* ── Billing cards (Step 1) ────────────────────────── */

.wbc__cards {
	display: flex;
	gap: 16px;
}

.wbc__card {
	flex: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 28px 20px;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 16px;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;

	text-align: center;
}

.wbc__card:hover {
	border-color: #ccc;
}

.wbc__card--selected {
	border-color: #f06225;
	background: #fff8f5;
	box-shadow: 0 0 0 1px #f06225;
}

.wbc__card-badge {
	position: absolute;
	top: -11px;
	right: 16px;
	background: #22c55e;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 3px 10px;
	border-radius: 6px;
}

.wbc__card-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--primary-color, #1a1a2e);
}

.wbc__card-line {
	font-size: 14px;
	color: #999;
}

.wbc__card-line--highlight {
	color: #f06225;
	font-weight: 600;
}

/* ── Quantity picker (Step 2) ──────────────────────── */

.wbc__qty {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin: 24px 0 12px;
}

.wbc__qty-btn {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 2px solid #e0e0e0;
	background: #fff;
	font-size: 24px;
	font-weight: 600;
	color: var(--primary-color, #1a1a2e);
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;

}

.wbc__qty-btn:hover:not(:disabled) {
	border-color: #f06225;
	background: #fff8f5;
}

.wbc__qty-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.wbc__qty-value {

	font-size: 48px;
	font-weight: 700;
	color: var(--primary-color, #1a1a2e);
	min-width: 60px;
	text-align: center;
}

.wbc__qty-hint {

	font-size: 14px;
	color: #999;
	text-align: center;
	margin: 0;
}

/* ── Add-ons (Step 3) ─────────────────────────────── */

.wbc__addons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wbc__addon {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 14px;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;

}

.wbc__addon:hover {
	border-color: #ccc;
}

.wbc__addon--selected {
	border-color: #f06225;
	background: #fff8f5;
}

.wbc__addon-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.wbc__addon-name {
	font-size: 16px;
	font-weight: 600;
	color: var(--primary-color, #1a1a2e);
}

.wbc__addon-desc {
	font-size: 13px;
	color: #22c55e;
	font-weight: 600;
}

.wbc__addon-price {
	font-size: 15px;
	font-weight: 600;
	color: #f06225;
	white-space: nowrap;
}

.wbc__addon-check {
	width: 22px;
	height: 22px;
	border-radius: 6px;
	border: 2px solid #ddd;
	background: #fff;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.wbc__addon--selected .wbc__addon-check {
	background: #f06225;
	border-color: #f06225;
}

.wbc__addon--selected .wbc__addon-check::after {
	content: '';
	display: block;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-top: -2px;
}

/* ── Summary (Step 4) ─────────────────────────────── */

.wbc__summary {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 16px;
	padding: 28px 24px;

}

.wbc__summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	font-size: 15px;
	color: #555;
}

.wbc__summary-row + .wbc__summary-row {
	border-top: 1px solid #f3f3f3;
}

.wbc__summary-row strong {
	color: var(--primary-color, #1a1a2e);
}

.wbc__summary-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0 0;
	margin-top: 8px;
	border-top: 2px solid var(--primary-color, #1a1a2e);
	font-size: 20px;
	font-weight: 700;
	color: var(--primary-color, #1a1a2e);
}

.wbc__summary-then {
	font-size: 14px;
	color: #888;
	text-align: right;
	padding: 6px 0 0;
}

.wbc__summary-note {
	font-size: 13px;
	color: #aaa;
	text-align: right;
	padding: 4px 0 0;
}

/* ── Navigation ────────────────────────────────────── */

.wbc__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 40px;
	gap: 16px;
}

.wbc__back {
	background: none;
	border: none;

	font-size: 15px;
	color: #888;
	cursor: pointer;
	padding: 12px 0;
	transition: color 0.2s ease;
}

.wbc__back:hover {
	color: var(--primary-color, #1a1a2e);
}

.wbc__next {
	flex: 1;
	max-width: 100%;
	padding: 16px 32px !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	text-align: center;
	border: none !important;
	cursor: pointer;
}

.wbc__next:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ── Message ───────────────────────────────────────── */

.wbc__message {
	margin-top: 16px;
	padding: 14px 18px;
	border-radius: 12px;

	font-size: 14px;
	text-align: center;
}

.wbc__message--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

/* ── Responsive ────────────────────────────────────── */

@media (max-width: 600px) {
	.wbc {
		padding: 0 16px 40px;
	}

	.wbc__header {
		padding: 16px 0 32px;
	}

	.wbc__title {
		font-size: 28px;
	}

	.wbc__cards {
		flex-direction: column;
	}

	.wbc__price-tag {
		font-size: 20px;
	}
}
