.csbk-booking-wizard {
	--csbk-primary: #0d9488;
	--csbk-secondary: #0f172a;
	--csbk-accent: #10b981;
	--csbk-panel: #1e293b;
	--csbk-panel-border: #334155;
	--csbk-muted: #94a3b8;
	--csbk-radius: 14px;
	max-width: 1080px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--csbk-secondary);
	box-sizing: border-box;
}
.csbk-booking-wizard *, .csbk-booking-wizard *::before, .csbk-booking-wizard *::after {
	box-sizing: inherit;
}
/* Force the native `hidden` attribute to win even if the active theme or
   Elementor's global button styles set their own `display` on buttons/links
   with equal or higher specificity (a common real-world cause of a hidden
   step's Next/Submit button staying visible). */
.csbk-booking-wizard [hidden] {
	display: none !important;
}

/* Progress bar */
.csbk-progress {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}
.csbk-progress-step {
	display: flex;
	align-items: center;
	gap: 8px;
}
.csbk-progress-step span {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #e2e8f0;
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 13px;
	transition: background .2s ease, color .2s ease;
}
.csbk-progress-step label {
	font-size: 12px;
	color: #94a3b8;
	display: none;
}
.csbk-progress-step.active span {
	background: var(--csbk-primary);
	color: #fff;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--csbk-primary) 18%, transparent);
}
.csbk-progress-step.complete span {
	background: var(--csbk-accent);
	color: #fff;
}
@media (min-width: 720px) {
	.csbk-progress-step label { display: inline; }
}

/* Two-column layout */
.csbk-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 24px;
	align-items: start;
}
@media (max-width: 860px) {
	.csbk-layout {
		grid-template-columns: 1fr;
	}
	.csbk-sidebar { order: 2; }
}

.csbk-main {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: var(--csbk-radius);
	padding: 28px;
}

.csbk-step h3 {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 700;
}

.csbk-category-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}
.csbk-category-tab {
	border: 1.5px solid #e5e7eb;
	background: #fff;
	color: #4b5563;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all .15s ease;
}
.csbk-category-tab:hover {
	border-color: var(--csbk-primary);
}
.csbk-category-tab.active {
	background: var(--csbk-primary);
	border-color: var(--csbk-primary);
	color: #fff;
}
.csbk-service-card.csbk-category-hidden {
	display: none;
}

.csbk-form-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	padding: 10px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
}

/* Service cards */
.csbk-service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
}
.csbk-service-card {
	cursor: pointer;
	display: block;
}
.csbk-service-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.csbk-service-card-inner {
	display: flex;
	flex-direction: column;
	gap: 4px;
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	padding: 16px;
	height: 100%;
	transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.csbk-service-icon {
	font-size: 22px;
	margin-bottom: 4px;
}
.csbk-service-card:hover .csbk-service-card-inner {
	border-color: var(--csbk-primary);
	transform: translateY(-1px);
}
.csbk-service-card input:checked + .csbk-service-card-inner {
	border-color: var(--csbk-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--csbk-primary) 18%, transparent);
	background: color-mix(in srgb, var(--csbk-primary) 5%, #fff);
}
.csbk-service-thumb img {
	width: 100%;
	border-radius: 8px;
	margin-bottom: 6px;
}
.csbk-service-desc {
	font-size: 13px;
	color: #6b7280;
}
.csbk-service-price {
	margin-top: 6px;
	font-weight: 700;
	color: var(--csbk-primary);
}

/* Fields */
.csbk-field-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin-bottom: 14px;
}
.csbk-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}
.csbk-field label {
	font-size: 13px;
	font-weight: 600;
}
.csbk-field input,
.csbk-field select,
.csbk-field textarea {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	width: 100%;
	font-family: inherit;
}
.csbk-field input:focus,
.csbk-field select:focus,
.csbk-field textarea:focus {
	outline: none;
	border-color: var(--csbk-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--csbk-primary) 15%, transparent);
}
.csbk-field input:disabled {
	background: #f3f4f6;
	color: #6b7280;
	cursor: not-allowed;
}
.csbk-field-note {
	margin-top: 4px;
	font-size: 11px;
	color: #6b7280;
}

/* Quantity steppers (bedrooms/bathrooms) */
.csbk-stepper-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 12px;
}
.csbk-stepper-row label {
	font-weight: 600;
	font-size: 14px;
}
.csbk-stepper {
	display: flex;
	align-items: center;
	gap: 10px;
}
.csbk-stepper-btn {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 6px;
	border: 1px solid var(--csbk-primary);
	background: var(--csbk-primary);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	flex: 0 0 auto;
}
.csbk-stepper-btn:hover {
	filter: brightness(1.1);
}
.csbk-stepper input {
	width: 40px;
	flex: 0 0 auto;
	text-align: center;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 6px 4px;
	font-weight: 700;
	font-size: 15px;
	color: var(--csbk-secondary);
	background: #fff;
	-moz-appearance: textfield;
}
.csbk-stepper input::-webkit-outer-spin-button,
.csbk-stepper input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Frequency pills */
.csbk-pill-group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 10px;
}
.csbk-pill {
	position: relative;
	cursor: pointer;
}
.csbk-pill input {
	position: absolute;
	opacity: 0;
}
.csbk-pill span {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	border: 1.5px solid #e5e7eb;
	border-radius: 8px;
	padding: 10px 8px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}
.csbk-pill small {
	color: var(--csbk-accent);
	font-weight: 700;
	font-size: 11px;
}
.csbk-pill input:checked + span {
	border-color: var(--csbk-primary);
	background: color-mix(in srgb, var(--csbk-primary) 8%, #fff);
	color: var(--csbk-primary);
}

/* Slots */
.csbk-slot-label {
	font-size: 13px;
	font-weight: 600;
	display: block;
	margin: 4px 0 6px;
}
.csbk-slot-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}
.csbk-slot-btn {
	border: 1px solid #d1d5db;
	background: #fff;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 13px;
	cursor: pointer;
	transition: all .15s ease;
}
.csbk-slot-btn:hover {
	border-color: var(--csbk-primary);
}
.csbk-slot-btn.selected {
	background: var(--csbk-primary);
	border-color: var(--csbk-primary);
	color: #fff;
}
.csbk-slot-empty {
	font-size: 13px;
	color: #6b7280;
}

/* Add-ons */
.csbk-addon-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.csbk-addon-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 12px 14px;
	cursor: pointer;
}
.csbk-addon-item:hover {
	border-color: var(--csbk-primary);
}
.csbk-addon-item span.csbk-addon-price {
	font-weight: 600;
	color: var(--csbk-primary);
}

.csbk-review-note {
	color: #6b7280;
	font-size: 14px;
}
.csbk-review-summary {
	margin-top: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
}
.csbk-review-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	border-bottom: 1px solid #f1f5f9;
	font-size: 13px;
}
.csbk-review-row:last-child {
	border-bottom: none;
}
.csbk-review-row-label {
	color: #6b7280;
	font-weight: 600;
	flex: 0 0 auto;
}
.csbk-review-row-value {
	text-align: right;
	color: var(--csbk-secondary);
}

/* ---------------------------------------------------------------- */
/* Sticky dark price sidebar                                        */
/* ---------------------------------------------------------------- */
.csbk-sidebar {
	position: sticky;
	top: 20px;
}
.csbk-price-panel {
	background: var(--csbk-secondary);
	border: 1px solid var(--csbk-panel-border);
	border-radius: var(--csbk-radius);
	padding: 22px;
	color: #fff;
}
.csbk-price-panel h4 {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}
.csbk-price-empty {
	color: #6b7280;
	font-size: 13px;
}
.csbk-price-panel .csbk-price-empty {
	color: var(--csbk-muted);
}

/* Generic price row: dark text, suited to a light background (used by the
   Booking Status and Booking Confirmation widgets on regular pages). */
.csbk-price-row {
	display: flex;
	justify-content: space-between;
	padding: 7px 0;
	font-size: 13px;
	color: var(--csbk-secondary);
	border-bottom: 1px dashed #e5e7eb;
}
.csbk-price-row:last-child {
	border-bottom: none;
}
.csbk-price-row.csbk-price-discount span:last-child {
	color: #16a34a;
}
.csbk-price-row.csbk-price-fee span:last-child {
	color: #b45309;
}

/* Total block: dark navy text on a tinted light background by default,
   flipped to white text when it sits inside the dark sidebar panel. */
.csbk-price-total {
	background: color-mix(in srgb, var(--csbk-accent) 12%, #fff);
	border: 1px solid color-mix(in srgb, var(--csbk-accent) 35%, transparent);
	border-radius: 10px;
	padding: 14px 16px;
	margin-top: 12px;
}
.csbk-price-total-label {
	font-size: 11px;
	font-weight: 700;
	color: var(--csbk-accent);
	text-transform: uppercase;
	letter-spacing: .05em;
	margin-bottom: 4px;
}
.csbk-price-total-amount {
	font-size: 24px;
	font-weight: 800;
	color: var(--csbk-secondary);
}

/* Sidebar-specific (dark) overrides. */
.csbk-price-panel .csbk-price-row {
	color: #cbd5e1;
	border-bottom-color: rgba(255,255,255,.08);
}
.csbk-price-panel .csbk-price-row.csbk-price-discount span:last-child {
	color: var(--csbk-accent);
}
.csbk-price-panel .csbk-price-row.csbk-price-fee span:last-child {
	color: #fbbf24;
}
.csbk-price-panel .csbk-price-total {
	background: color-mix(in srgb, var(--csbk-accent) 16%, transparent);
	border-color: color-mix(in srgb, var(--csbk-accent) 40%, transparent);
}
.csbk-price-panel .csbk-price-total-amount {
	color: #fff;
}
.csbk-price-trust {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: 12px;
	color: var(--csbk-muted);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Nav buttons */
.csbk-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 24px;
}
/* Hard safety net: whatever else happens, a [hidden] nav button must
   never render. (Belt-and-suspenders alongside the JS toggle logic.) */
.csbk-nav [hidden] {
	display: none !important;
}
.csbk-btn {
	border: none;
	border-radius: 8px;
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: filter .15s ease, transform .1s ease;
}
.csbk-btn:active {
	transform: translateY(1px);
}
.csbk-btn-primary {
	background: var(--csbk-primary);
	color: #fff;
	margin-left: auto;
}
.csbk-btn-primary:hover {
	filter: brightness(1.08);
}
.csbk-btn-primary:disabled {
	opacity: .6;
	cursor: not-allowed;
}
.csbk-btn-secondary {
	background: #f3f4f6;
	color: var(--csbk-secondary);
}

/* Confirmation */
.csbk-confirmation {
	text-align: center;
	padding: 40px 20px;
}
.csbk-confirmation h2 {
	color: var(--csbk-accent);
	margin-bottom: 10px;
}
.csbk-confirmation .csbk-ref {
	font-family: monospace;
	font-size: 18px;
	background: #f3f4f6;
	padding: 6px 12px;
	border-radius: 6px;
	display: inline-block;
	margin: 10px 0;
}

@media (max-width: 600px) {
	.csbk-nav { flex-direction: column-reverse; gap: 10px; }
	.csbk-btn { width: 100%; }
	.csbk-btn-primary { margin-left: 0; }
	.csbk-main { padding: 18px; }
}

/* Customer/cleaner dashboard status badges (shared class names) */
.csbk-status-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 11px;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	white-space: nowrap;
}
.csbk-status-confirmed, .csbk-status-paid, .csbk-status-completed { background: #edfaef; border-color: #b8e6be; }
.csbk-status-cancelled, .csbk-status-refunded { background: #fbeaea; border-color: #edb4b4; }
.csbk-status-pending_payment { background: #fff8e5; border-color: #f0dca0; }
