.rbp-booking-wizard {
	--rbp-primary: #b3492a;
	--rbp-secondary: #2a2a2a;
	max-width: 560px;
	margin: 0 auto;
	font-family: inherit;
	box-sizing: border-box;
}

.rbp-booking-wizard * {
	box-sizing: border-box;
}

.rbp-progress {
	display: flex;
	justify-content: space-between;
	margin-bottom: 2rem;
}

.rbp-progress-step {
	flex: 1;
	text-align: center;
	position: relative;
	opacity: 0.45;
}

.rbp-progress-step.is-active,
.rbp-progress-step.is-done {
	opacity: 1;
}

.rbp-progress-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #e2e2e2;
	color: #333;
	font-weight: 700;
	margin-bottom: 6px;
}

.rbp-progress-step.is-active .rbp-progress-number,
.rbp-progress-step.is-done .rbp-progress-number {
	background: var(--rbp-primary);
	color: #fff;
}

.rbp-progress-label {
	display: block;
	font-size: 0.8rem;
}

.rbp-step-panel h3 {
	margin-top: 0;
}

.rbp-help-text {
	color: #666;
	font-size: 0.85rem;
}

.rbp-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
	margin-bottom: 1rem;
}

.rbp-field {
	display: block;
	margin-bottom: 1rem;
}

.rbp-field span {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 0.9rem;
}

.rbp-textarea {
	resize: vertical;
	font-family: inherit;
}

.rbp-time-section {
	margin-top: 1.5rem;
}

.rbp-calendar {
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 14px;
	background: #fff;
}

.rbp-calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.rbp-calendar-title {
	font-weight: 700;
	text-transform: capitalize;
}

.rbp-calendar-nav {
	border: none;
	background: #f3f3f3;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	color: var( --rbp-secondary );
}

.rbp-calendar-nav:hover {
	background: var( --rbp-primary );
	color: #fff;
}

.rbp-calendar-weekdays,
.rbp-calendar-grid {
	display: grid;
	grid-template-columns: repeat( 7, 1fr );
	gap: 4px;
}

.rbp-calendar-weekdays span {
	text-align: center;
	font-size: 0.75rem;
	font-weight: 600;
	color: #888;
	padding-bottom: 6px;
}

.rbp-calendar-day {
	aspect-ratio: 1;
	border: 1px solid transparent;
	background: #f7f7f7;
	border-radius: 6px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.15s ease;
}

.rbp-calendar-day:hover:not(:disabled) {
	background: #ececec;
}

.rbp-calendar-day.is-today {
	border-color: var( --rbp-primary );
	font-weight: 700;
}

.rbp-calendar-day.is-selected {
	background: var( --rbp-primary );
	color: #fff;
}

.rbp-calendar-day.is-unavailable {
	background: transparent;
	color: #ccc;
	text-decoration: line-through;
	cursor: not-allowed;
}

.rbp-slot-group {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 1rem;
}

.rbp-slot-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.rbp-slot-availability {
	font-size: 0.85rem;
	color: #444;
}

.rbp-slot-availability.is-sold-out {
	color: #c0392b;
	font-weight: 700;
}

.rbp-time-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rbp-time-option {
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 6px;
	padding: 8px 14px;
	cursor: pointer;
	font-size: 0.9rem;
}

.rbp-time-option.is-selected {
	background: var(--rbp-primary);
	border-color: var(--rbp-primary);
	color: #fff;
}

.rbp-time-option:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.rbp-actions {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 1.5rem;
}

.rbp-btn {
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	font-size: 0.95rem;
	cursor: pointer;
}

.rbp-btn-primary {
	background: var(--rbp-primary);
	color: #fff;
	margin-left: auto;
}

.rbp-btn-primary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.rbp-btn-secondary {
	background: #eee;
	color: var(--rbp-secondary);
}

.rbp-summary {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 6px 12px;
	margin: 1rem 0;
}

.rbp-summary dt {
	font-weight: 600;
	color: #555;
}

.rbp-summary dd {
	margin: 0;
}

.rbp-field-error {
	color: #c0392b;
	font-size: 0.85rem;
}

.rbp-confirmation {
	text-align: center;
}

.rbp-confirmation-icon {
	width: 56px;
	height: 56px;
	line-height: 56px;
	border-radius: 50%;
	background: #2ecc71;
	color: #fff;
	font-size: 1.6rem;
	margin: 0 auto 1rem;
}

@media (max-width: 480px) {
	.rbp-progress-label {
		font-size: 0.7rem;
	}

	.rbp-summary {
		grid-template-columns: 1fr;
	}
}
